/* ===== Self-Shoot Systems page ===== */
/* Reuses tokens from styles.css — only page-specific styles here */

/* HERO ====================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  color: #fff;
  overflow: hidden;
  padding: 140px 0 80px;
  background: #060810;
  display: flex;
  align-items: center;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero__bg::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url('assets/selfshoot-hero.png');
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
}
.hero__bg::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(95deg, rgba(6,8,16,0.96) 0%, rgba(6,8,16,0.78) 35%, rgba(6,8,16,0.25) 70%, rgba(6,8,16,0) 100%),
    linear-gradient(180deg, rgba(6,8,16,0.4) 0%, rgba(6,8,16,0) 30%, rgba(6,8,16,0.6) 100%);
}
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(circle at 30% 50%, black, transparent 70%);
  -webkit-mask-image: radial-gradient(circle at 30% 50%, black, transparent 70%);
  opacity: 0.5;
}

.hero__inner {
  position: relative; z-index: 2;
  display: block;
  max-width: var(--max);
}
.hero__copy { max-width: 620px; }

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 8px 16px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(20,23,27,0.5);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  margin-bottom: 28px;
}
.hero__eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(53,92,132,0.3);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 4px rgba(53,92,132,0.25); }
  50% { box-shadow: 0 0 0 8px rgba(53,92,132,0); }
}
.hero__eyebrow-sub { color: rgba(255,255,255,0.7); border-left: 1px solid rgba(255,255,255,0.2); padding-left: 14px; }

.hero__title {
  font-size: clamp(38px, 5.4vw, 76px);
  font-weight: 600;
  line-height: 1.0;
  letter-spacing: -0.025em;
  margin: 0 0 28px;
  text-wrap: balance;
}
.hero__title-accent { color: var(--blue-soft); }

.hero__lede {
  font-size: 17px;
  line-height: 1.55;
  color: rgba(255,255,255,0.78);
  max-width: 540px;
  margin: 0 0 36px;
}

.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }

.hero__scroll {
  position: absolute;
  left: var(--pad); bottom: 32px;
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.5);
  z-index: 3;
}
.hero__scroll-line { display: block; width: 80px; height: 1px; background: linear-gradient(90deg, rgba(255,255,255,0.4), rgba(255,255,255,0)); }

/* PHONES ==================================================== */
.phone {
  --phoneW: 200px;
  --phoneH: 400px;
  width: var(--phoneW);
  height: var(--phoneH);
  background: #0a0c0f;
  border-radius: 28px;
  border: 2px solid #2a2f36;
  position: relative;
  box-shadow:
    0 30px 60px -20px rgba(0,0,0,0.7),
    inset 0 0 0 1px rgba(255,255,255,0.04);
  padding: 8px;
  transition: transform 0.4s ease;
}
.phone__notch {
  position: absolute;
  top: 12px; left: 50%;
  transform: translateX(-50%);
  width: 70px; height: 18px;
  background: #000;
  border-radius: 12px;
  z-index: 3;
}
.phone__screen {
  width: 100%; height: 100%;
  border-radius: 22px;
  overflow: hidden;
  background: #000;
  position: relative;
}
.phone__screen-svg { display: block; width: 100%; height: 100%; }
.phone__btn {
  position: absolute;
  background: #1a1d22;
  border-radius: 1px;
}
.phone__btn--side { right: -3px; top: 80px; width: 3px; height: 50px; }
.phone__btn--vol1 { left: -3px; top: 70px; width: 3px; height: 30px; }
.phone__btn--vol2 { left: -3px; top: 110px; width: 3px; height: 50px; }

/* FLEET grid in hero */
.fleet { position: relative; }
.fleet__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px 12px;
  justify-items: center;
}
.fleet__cell {
  opacity: 0;
  animation: phonein 0.7s cubic-bezier(0.34, 1.4, 0.64, 1) forwards;
}
.fleet__cell:nth-child(even) { transform: translateY(28px); }
@keyframes phonein {
  from { opacity: 0; transform: translateY(40px) scale(0.9); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.fleet__cell:nth-child(even) {
  animation-name: phoneinAlt;
}
@keyframes phoneinAlt {
  from { opacity: 0; transform: translateY(60px) scale(0.9); }
  to   { opacity: 1; transform: translateY(28px) scale(1); }
}
.fleet__cell .phone {
  --phoneW: 150px;
  --phoneH: 300px;
}

.fleet__single,
.fleet__closeup {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.fleet__caption {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.55);
}

@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .fleet__grid { grid-template-columns: repeat(3, 1fr); }
  .fleet__cell .phone { --phoneW: 110px; --phoneH: 220px; }
}

/* PROBLEM =================================================== */
.problem {
  padding: 120px 0;
  background: var(--white);
}
.problem__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}
.problem__lead .h-display { margin-top: 20px; }
.problem__body p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--charcoal-2);
  margin: 0 0 16px;
}
.problem__pain {
  display: flex;
  flex-direction: column;
  margin: 32px 0 24px;
  border: 1px solid var(--gray-line);
  background: var(--gray-paper);
}
.problem__pain-row {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--gray-line);
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--charcoal-1);
  letter-spacing: 0.02em;
}
.problem__pain-row:last-child { border-bottom: none; }
.problem__pain-row svg { color: #B45A2A; flex: 0 0 auto; }

.problem__pull {
  margin-top: 28px !important;
  padding-left: 20px;
  border-left: 3px solid var(--accent);
  font-size: 22px !important;
  font-weight: 500;
  color: var(--charcoal-1) !important;
  letter-spacing: -0.01em;
}

@media (max-width: 880px) {
  .problem__grid { grid-template-columns: 1fr; gap: 32px; }
}

/* CAST CAMERA =============================================== */
.castcam {
  padding: 130px 0;
  background: #060810;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.castcam::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 60%, rgba(53,92,132,0.22), transparent 65%);
  pointer-events: none;
}
.castcam__head {
  max-width: 880px; margin-bottom: 80px;
  position: relative; z-index: 2;
}
.castcam__head .h-display {
  color: #fff; margin-top: 18px;
}
.text-blue-light { color: var(--blue-soft); }
.castcam__lede {
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255,255,255,0.7);
  max-width: 720px;
}

.castcam__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative; z-index: 2;
}
@media (max-width: 980px) {
  .castcam__layout { grid-template-columns: 1fr; }
}

.castcam__phone {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 540px;
}
.castcam__phone-img {
  width: 100%;
  height: auto;
  max-width: 560px;
  display: block;
}

.anno {
  position: absolute;
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--blue-soft);
  pointer-events: none;
}
.anno__line {
  height: 1px; width: 60px;
  background: linear-gradient(90deg, transparent, var(--blue-soft));
}
.anno__pill {
  padding: 6px 10px;
  border: 1px solid rgba(122,155,194,0.4);
  background: rgba(53,92,132,0.15);
  white-space: nowrap;
}
.anno--top-left {
  top: 80px; right: 60%;
  flex-direction: row-reverse;
}
.anno--top-left .anno__line {
  background: linear-gradient(90deg, var(--blue-soft), transparent);
}
.anno--top-right { top: 80px; left: 60%; }
.anno--mid {
  bottom: 130px; right: 50%;
  flex-direction: row-reverse;
}
.anno--mid .anno__line {
  background: linear-gradient(90deg, var(--blue-soft), transparent);
  width: 80px;
}

.castcam__fields {
  display: flex; flex-direction: column;
  gap: 8px;
}
.field {
  display: grid;
  grid-template-columns: 40px 40px 1fr;
  gap: 18px;
  padding: 20px 24px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.02);
  align-items: start;
  transition: background 0.2s, border-color 0.2s, transform 0.25s;
}
.field:hover {
  background: rgba(53,92,132,0.1);
  border-color: rgba(122,155,194,0.3);
  transform: translateX(4px);
}
.field__num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--blue-soft);
  padding-top: 6px;
}
.field__icon { color: var(--blue-soft); padding-top: 2px; }
.field__label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: #fff;
  margin-bottom: 8px;
  font-weight: 500;
}
.field__body p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255,255,255,0.7);
}

.logstrip {
  margin-top: 80px;
  padding: 28px 32px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.02);
  position: relative; z-index: 2;
}
.logstrip__head {
  display: flex; justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.5);
  margin-bottom: 20px;
  flex-wrap: wrap; gap: 12px;
}
.logstrip__head span:last-child { color: var(--blue-soft); }
.logstrip__row {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.logstrip__pill {
  padding: 8px 14px;
  border: 1px solid rgba(255,255,255,0.15);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.85);
  background: rgba(20,23,27,0.6);
}

@media (max-width: 980px) {
  .castcam__layout { grid-template-columns: 1fr; gap: 40px; }
  .anno { display: none; }
}

/* HOW IT WORKS ============================================== */
.how {
  padding: 130px 0;
  background: var(--gray-paper);
}
.how__head { margin-bottom: 64px; max-width: 880px; }
.how__head .h-display { margin-top: 18px; }

.how__rail {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.howstep {
  background: #fff;
  border: 1px solid var(--gray-line);
  padding: 32px 28px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.25s, box-shadow 0.25s;
}
.howstep:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -20px rgba(20,23,27,0.18);
}
.howstep__index {
  display: flex; align-items: baseline; gap: 12px;
  margin-bottom: 24px;
}
.howstep__num {
  font-family: var(--font-mono);
  font-size: 32px;
  font-weight: 600;
  color: var(--charcoal-1);
  letter-spacing: -0.02em;
}
.howstep__tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--accent);
}
.howstep__title {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.15;
  margin: 0 0 14px;
}
.howstep__desc {
  font-size: 14px;
  line-height: 1.55;
  color: var(--charcoal-2);
  margin: 0 0 24px;
  flex: 1;
}
.howstep__meta {
  display: flex; flex-direction: column; gap: 6px;
  margin-bottom: 0;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.3s ease, margin-bottom 0.3s ease;
}
.howstep:hover .howstep__meta {
  max-height: 200px;
  opacity: 1;
  margin-bottom: 24px;
}
.howstep__meta-pill {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--charcoal-2);
  transform: translateY(6px);
  transition: transform 0.35s ease;
}
.howstep:hover .howstep__meta-pill { transform: translateY(0); }
.howstep__meta-pill::before { content: '— '; color: var(--accent); }

.howstep__progress {
  height: 2px;
  background: var(--gray-line);
  position: relative;
}
.howstep__progress-bar {
  display: block;
  height: 100%;
  background: var(--accent);
  transition: width 0.6s ease;
}

@media (max-width: 1080px) { .how__rail { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .how__rail { grid-template-columns: 1fr; } }

/* HARDWARE ================================================== */
.hardware {
  padding: 120px 0;
  background: #fff;
}
.hardware__head { margin-bottom: 56px; max-width: 880px; }
.hardware__head .h-display { margin-top: 18px; }
.hardware__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--gray-line);
}
.hwcard {
  padding: 36px 32px;
  display: flex; flex-direction: column;
  border-right: 1px solid var(--gray-line);
  transition: background 0.25s;
}
.hwcard:last-child { border-right: none; }
.hwcard:hover { background: var(--gray-paper); }

.hwcard__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: 24px;
}
.hwcard__title {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.2;
  margin: 0 0 14px;
}
.hwcard__desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--charcoal-2);
  margin: 0 0 28px;
  flex: 1;
}
.hwcard__stat {
  border-top: 1px solid var(--gray-line);
  padding-top: 20px;
}
.hwcard__stat-v {
  font-size: 36px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--charcoal-1);
  line-height: 1;
}
.hwcard__stat-l {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--ink-mute);
  margin-top: 8px;
}

@media (max-width: 980px) {
  .hardware__grid { grid-template-columns: 1fr; }
  .hwcard { border-right: none; border-bottom: 1px solid var(--gray-line); }
  .hwcard:last-child { border-bottom: none; }
}
