/* Landing-specific styles, hero preview, steps, tools */

/* ── Hero ─────────────────────────── */
.hero {
  padding: 56px 0 80px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 80% 0%, var(--accent-soft), transparent 60%),
    radial-gradient(ellipse 60% 40% at 0% 100%, var(--bg-tint), transparent 60%);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}
.hero-copy { display: flex; flex-direction: column; gap: 28px; }
.hl {
  background: linear-gradient(90deg, var(--accent), color-mix(in oklab, var(--accent) 60%, var(--text)));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-actions {
  display: flex; align-items: center; gap: 18px;
  flex-wrap: wrap;
}
.hero-fine { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; }
.hero-trust {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px 24px;
  font-size: 14px; color: var(--text-mid);
}
.hero-trust li { display: inline-flex; gap: 8px; align-items: center; }

/* Hero preview composition */
.hero-preview {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  min-height: 520px;
}
.hp-card {
  width: 100%;
  max-width: 480px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  position: relative;
  z-index: 1;
  transform: rotate(-1.2deg);
}
.hp-head {
  display: flex; align-items: center; gap: 6px;
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-sunken);
}
.hp-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); }
.hp-url { font-size: 11px; color: var(--text-mute); margin-left: 10px; }
.hp-body { padding: 22px; display: flex; flex-direction: column; gap: 18px; }
.hp-row { display: flex; justify-content: space-between; align-items: center; }
.hp-bignum {
  display: flex; align-items: flex-end; gap: 18px;
  padding: 8px 0 4px;
}
.hp-num {
  font-family: var(--font-display);
  font-size: 88px; line-height: 0.9;
  font-weight: 700; letter-spacing: -0.04em;
  color: var(--text);
}
.hp-num-meta { padding-bottom: 6px; }
.hp-num-label { font-size: 14px; color: var(--text); line-height: 1.3; font-weight: 600; }
.hp-num-sub { font-size: 12px; color: var(--text-mute); margin-top: 2px; }
.hp-breakdown { display: flex; flex-direction: column; gap: 8px; }
.bd {
  display: grid;
  grid-template-columns: 4px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  background: var(--bg-sunken);
  border-radius: 10px;
}
.bd-bar { width: 4px; height: 22px; border-radius: 2px; }
.bd-bad { background: var(--bad); }
.bd-warn { background: var(--warn); }
.bd-accent { background: var(--accent); }
.bd-label { font-size: 13px; color: var(--text-mid); }
.bd-value { font-weight: 700; font-size: 15px; }
.hp-paywall {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px;
  background: var(--accent-soft);
  color: var(--accent-text);
  border-radius: 12px;
}

/* Phone */
.hp-phone {
  position: absolute;
  right: -10px;
  bottom: 10px;
  width: 200px;
  height: 410px;
  border-radius: 34px;
  background: #0e0f10;
  padding: 10px;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(0,0,0,0.5);
  transform: rotate(6deg);
  z-index: 2;
}
.hp-phone-screen {
  width: 100%; height: 100%;
  border-radius: 26px;
  background: linear-gradient(180deg, #17191b 0%, #0e0f10 100%);
  color: #f3f3f0;
  padding: 14px;
  display: flex; flex-direction: column; gap: 10px;
  position: relative;
  overflow: hidden;
}
.hp-phone-time { font-size: 12px; font-weight: 600; text-align: center; }
.hp-phone-title { font-size: 13px; color: #c5c6c2; font-weight: 500; }
.hp-phone-counter { display: flex; align-items: baseline; gap: 8px; }
.hp-phone-count { font-family: var(--font-display); font-size: 36px; font-weight: 700; letter-spacing: -0.03em; }
.hp-phone-count-sub { font-size: 11px; color: #898a86; }
.hp-phone-viewfinder {
  flex: 1;
  border-radius: 14px;
  background: repeating-linear-gradient(45deg, #1d1f22 0 6px, #17191b 6px 12px);
  position: relative;
  overflow: hidden;
}
.hp-phone-corner {
  position: absolute; width: 18px; height: 18px;
  border: 2px solid oklch(72% 0.16 252);
}
.hp-phone-corner.tl { top: 14px; left: 14px; border-right: 0; border-bottom: 0; border-top-left-radius: 6px; }
.hp-phone-corner.tr { top: 14px; right: 14px; border-left: 0; border-bottom: 0; border-top-right-radius: 6px; }
.hp-phone-corner.bl { bottom: 14px; left: 14px; border-right: 0; border-top: 0; border-bottom-left-radius: 6px; }
.hp-phone-corner.br { bottom: 14px; right: 14px; border-left: 0; border-top: 0; border-bottom-right-radius: 6px; }
.hp-phone-scan {
  position: absolute; left: 14px; right: 14px;
  height: 2px; background: oklch(72% 0.16 252);
  box-shadow: 0 0 12px oklch(72% 0.16 252 / 0.6);
  animation: scan 2.6s ease-in-out infinite;
}
@keyframes scan {
  0%, 100% { top: 18px; opacity: 0.4; }
  50% { top: calc(100% - 20px); opacity: 1; }
}
.hp-phone-dm {
  position: absolute;
  left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 70px; height: 70px;
  background:
    linear-gradient(135deg, transparent 49%, #fff 49% 51%, transparent 51%),
    linear-gradient(45deg, transparent 49%, #fff 49% 51%, transparent 51%);
  background-size: 8px 8px;
  opacity: 0.18;
  border-radius: 4px;
}
.hp-phone-toast {
  position: absolute; left: 14px; right: 14px; bottom: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.10);
  backdrop-filter: blur(8px);
  font-size: 11.5px; font-weight: 600;
  display: inline-flex; align-items: center; gap: 8px;
}
.hp-phone-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: oklch(70% 0.16 155);
  box-shadow: 0 0 6px oklch(70% 0.16 155 / 0.8);
}

/* ── section heads ─────────────────────────── */
.section-head {
  display: flex; flex-direction: column; gap: 12px;
  margin-bottom: 56px;
}
.section-head.row {
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
}

/* ── Steps ─────────────────────────── */
.steps {
  list-style: none; padding: 0; margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.step {
  position: relative;
  padding: 0 24px;
  display: flex; flex-direction: column; gap: 14px;
  border-left: 1px solid var(--line);
}
.step:first-child { border-left: 0; padding-left: 0; }
.step:last-child { padding-right: 0; }
.step-rail {
  display: flex; align-items: center; gap: 12px;
}
.step-n {
  font-size: 14px;
  color: var(--accent);
  font-weight: 600;
}
.step-rail::after {
  content: ""; flex: 1; height: 1px; background: var(--line);
}
.step-title-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.step-desc {
  margin: 0;
  color: var(--text-mid);
  font-size: 14.5px;
  line-height: 1.55;
}
@media (max-width: 980px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .step:nth-child(3) { border-left: 0; padding-left: 0; }
}

/* ── Tools ─────────────────────────── */
.tool-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.tool {
  grid-column: span 2;
  padding: 22px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  display: flex; flex-direction: column; gap: 12px;
  transition: border-color 0.15s ease, transform 0.06s ease;
}
.tool:hover { border-color: var(--line-strong); }
.tool-free { background: var(--bg-sunken); }
.tool:nth-child(1), .tool:nth-child(2) { grid-column: span 2; }
.tool-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.tool-desc { margin: 0; color: var(--text-mid); font-size: 14px; line-height: 1.5; }
.tool-foot { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 8px; }
.tool-price { font-family: var(--font-display); font-weight: 700; font-size: 18px; letter-spacing: -0.02em; }
.tool-link { border: 0; background: transparent; padding: 0; color: var(--accent-text); font-weight: 600; font-size: 13.5px; }
@media (max-width: 980px) {
  .tool-grid { grid-template-columns: 1fr 1fr; }
  .tool { grid-column: span 1 !important; }
}

/* ── Funnel ─────────────────────────── */
.funnel-track {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding: 12px 0;
  color: var(--text-faint);
}
.fstep {
  flex-shrink: 0;
  padding: 18px 22px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  min-width: 180px;
  display: flex; flex-direction: column; gap: 4px;
}
.fstep-hl {
  background: var(--accent-soft);
  border-color: transparent;
  color: var(--accent-text);
}
.fstep-label { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.015em; font-size: 16px; color: var(--text); }
.fstep-hl .fstep-label { color: var(--accent-text); }
.fstep-caption { font-size: 12px; color: var(--text-mute); }
.fstep-hl .fstep-caption { color: var(--accent-text); opacity: 0.7; }

/* ── CTA ─────────────────────────── */
.cta-card {
  padding: 56px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  display: flex; flex-direction: column; gap: 22px;
  position: relative;
  overflow: hidden;
}
.cta-card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 50% 80% at 100% 50%, var(--accent-soft), transparent 60%);
  opacity: 0.8;
}
.cta-card > * { position: relative; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-fine {
  display: flex; gap: 22px; flex-wrap: wrap;
  font-size: 13px; color: var(--text-mute);
}
.cta-fine span { display: inline-flex; align-items: center; gap: 6px; }

/* ── Footer ─────────────────────────── */
.footer {
  padding: 28px 0;
  border-top: 1px solid var(--line);
}
.footer-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-meta { display: flex; gap: 20px; font-size: 13px; color: var(--text-mute); }

@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-preview { min-height: 480px; }
  .section-head.row { flex-direction: column; align-items: flex-start; }
  .cta-card { padding: 32px; }
}
