*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0a0e1a;
  --surface: #121826;
  --surface-2: #0e1420;
  --surface-3: #171f30;
  --border: #232c3f;
  --border-soft: #1b2333;
  --text: #f4f6fb;
  --muted: #8b93a6;
  --muted-2: #626b7e;
  --orange: #ff6a2c;
  --orange-2: #ff8a3d;
  --orange-soft: rgba(255,106,44,.12);
  --green: #22c55e;
  --green-ink: #34d399;
  --green-soft: rgba(34,197,94,.12);
  --amber: #f5ba2f;
  --app-w: 430px;
  --ease: cubic-bezier(.22,.9,.32,1);
}

html {
  min-height: 100%;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

button, input { font: inherit; }
button {
  border: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
a { color: var(--orange); text-decoration-thickness: 1px; }
img { max-width: 100%; }

/* ============================================================
   MARKETING LANDING
   ============================================================ */
.landing {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  justify-content: center;
  background:
    radial-gradient(120% 60% at 50% -5%, rgba(255,106,44,.12), transparent 60%),
    radial-gradient(90% 40% at 50% 30%, rgba(30,58,120,.14), transparent 70%),
    var(--bg);
}
body.quiz-open .landing { display: none; }

.lp-shell {
  width: 100%;
  max-width: var(--app-w);
  padding: 0 24px calc(20px + env(safe-area-inset-bottom));
}

.lp-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 18px 0 14px;
  position: sticky;
  top: 0;
  z-index: 20;
  background: linear-gradient(180deg, rgba(10,14,26,.96), rgba(10,14,26,.72) 70%, transparent);
  backdrop-filter: blur(6px);
}

.lp-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 800;
  white-space: nowrap;
}
.lp-brand.center { justify-content: center; }
.lp-brand-logo { width: 26px; height: 26px; flex: 0 0 auto; }
.lp-brand-name { color: var(--text); }
.lp-brand-sep { color: var(--muted-2); font-weight: 400; }
.lp-brand-sub { color: var(--muted); font-weight: 600; }

.lp-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(34,197,94,.28);
  background: var(--green-soft);
  color: var(--green-ink);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.lp-status-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green-ink);
  box-shadow: 0 0 0 0 rgba(52,211,153,.6);
  animation: pulseDot 2s ease-out infinite;
}
@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(52,211,153,.5); }
  100% { box-shadow: 0 0 0 7px rgba(52,211,153,0); }
}

.lp-sec { padding: 30px 0; }
.lp-hero { padding-top: 14px; text-align: center; }

.lp-badge {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255,106,44,.3);
  background: var(--orange-soft);
  color: var(--orange-2);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .2px;
}

.lp-h1 {
  margin: 22px auto 0;
  max-width: 360px;
  font-size: 40px;
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -.5px;
}
.lp-h1 .accent {
  color: var(--orange);
}

.lp-hero-copy {
  max-width: 340px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.6;
}
.lp-hero-copy strong { color: var(--text); font-weight: 700; }

.lp-cta {
  width: 100%;
  max-width: 340px;
  min-height: 58px;
  margin: 26px auto 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 17px 22px;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--orange-2), #ff5f1e);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: .2px;
  box-shadow: 0 16px 36px rgba(255,106,44,.34);
  transition: transform .16s var(--ease), box-shadow .2s var(--ease);
}
.lp-cta:active { transform: scale(.98); }
.lp-cta .arr { font-size: 18px; transition: transform .2s var(--ease); }
.lp-cta:hover .arr { transform: translateX(3px); }

.lp-cta.pulse { position: relative; overflow: hidden; }
.lp-cta.pulse::after {
  content: "";
  position: absolute;
  top: -30%; bottom: -30%; left: -45%;
  width: 38%;
  transform: skewX(-18deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent);
  animation: shine 3.4s ease-in-out infinite;
}
@keyframes shine {
  0%, 35% { left: -45%; }
  60%, 100% { left: 120%; }
}

.lp-cta-note {
  margin-top: 14px;
  color: var(--muted-2);
  font-size: 12.5px;
}

/* hero chart */
.lp-chart {
  position: relative;
  margin-top: 34px;
  height: 260px;
  border-radius: 18px;
  border: 1px solid var(--border-soft);
  background: linear-gradient(180deg, #0e1524, #0b1120);
  overflow: hidden;
}
.lp-chart-svg { width: 100%; height: 100%; display: block; }
.lp-line {
  stroke-dasharray: 900;
  stroke-dashoffset: 900;
  animation: drawLine 2.2s var(--ease) .2s forwards;
}
@keyframes drawLine { to { stroke-dashoffset: 0; } }
.lp-nodes circle { opacity: 0; animation: nodeIn .3s ease forwards; }
.lp-nodes circle:nth-child(1){ animation-delay: 1.1s; }
.lp-nodes circle:nth-child(2){ animation-delay: 1.4s; }
.lp-nodes circle:nth-child(3){ animation-delay: 1.7s; }
.lp-nodes circle:nth-child(4){ animation-delay: 2s; }
@keyframes nodeIn { from { opacity: 0; } to { opacity: 1; } }

.lp-chart-tag {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 9px 12px;
  border-radius: 11px;
  border: 1px solid var(--border);
  background: rgba(18,24,38,.85);
  backdrop-filter: blur(4px);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .4px;
  color: var(--muted);
}
.lp-chart-tag b, .lp-chart-tag em { font-style: normal; font-size: 12px; }
.lp-chart-tag--tl { top: 14px; left: 14px; color: var(--green-ink); }
.lp-chart-tag--tl b { color: var(--text); }
.lp-chart-dot {
  display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  background: var(--green-ink); margin-right: 5px; vertical-align: middle;
}
.lp-chart-tag--tr { top: 14px; right: 14px; align-items: flex-end; }
.lp-chart-tag--tr em { color: var(--orange); font-size: 14px; }

/* stats bar */
.lp-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 20px;
  padding: 18px 10px;
  border-radius: 16px;
  border: 1px solid var(--border-soft);
  background: var(--surface);
}
.lp-stat { text-align: center; display: grid; gap: 4px; }
.lp-stat + .lp-stat { border-left: 1px solid var(--border-soft); }
.lp-stat b { font-size: 21px; font-weight: 900; }
.lp-stat b.green { color: var(--green-ink); }
.lp-stat small { color: var(--muted-2); font-size: 11.5px; line-height: 1.3; }

/* section headings */
.lp-pill {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--orange-soft);
  color: var(--orange-2);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.lp-pill.green { background: var(--green-soft); color: var(--green-ink); }
.lp-pill.muted { background: rgba(255,255,255,.05); color: var(--muted); }
.lp-pill.center { display: block; width: fit-content; margin: 0 auto; }

.lp-h2 {
  margin-top: 16px;
  font-size: 27px;
  line-height: 1.18;
  font-weight: 900;
  letter-spacing: -.3px;
}
.lp-h2.center { text-align: center; }
.lp-sec > .lp-pill + .lp-h2 { margin-bottom: 4px; }

/* how it works */
.lp-steps, .lp-cards { display: grid; gap: 16px; margin-top: 24px; }
.lp-step, .lp-card {
  padding: 22px;
  border-radius: 18px;
  border: 1px solid var(--border-soft);
  background: var(--surface);
}
.lp-step-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.lp-icon {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 13px;
  background: var(--orange-soft);
  color: var(--orange);
}
.lp-icon svg { width: 22px; height: 22px; }
.lp-icon.soft-green { background: var(--green-soft); color: var(--green-ink); }
.lp-step-num {
  font-size: 34px;
  font-weight: 900;
  color: rgba(255,255,255,.08);
  line-height: 1;
}
.lp-step h3, .lp-card h3 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 8px;
}
.lp-step p, .lp-card p {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.55;
}
.lp-card {
  display: grid;
  grid-template-columns: 46px 1fr;
  column-gap: 16px;
  align-items: start;
}
.lp-card .lp-icon { grid-row: span 2; }
.lp-card h3 { margin-bottom: 6px; align-self: center; }
.lp-card p { grid-column: 2; }

/* expert */
.lp-expert-head { text-align: center; margin-top: 26px; display: grid; justify-items: center; gap: 6px; }
.lp-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  overflow: hidden; flex: 0 0 auto;
  display: grid; place-items: center;
  background: linear-gradient(135deg, #26304a, #171f30);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 13px; font-weight: 800;
}
.lp-avatar img { width: 100%; height: 100%; object-fit: cover; }
.lp-avatar.no-img::after { content: attr(data-initial); }
.lp-avatar--lg { width: 96px; height: 96px; font-size: 26px; margin-bottom: 6px; box-shadow: 0 10px 30px rgba(0,0,0,.4); }
.lp-expert-name { font-size: 18px; font-weight: 800; }
.lp-expert-role { color: var(--muted); font-size: 13.5px; }

.lp-quote {
  position: relative;
  margin-top: 22px;
  padding: 26px 22px 24px;
  border-radius: 18px;
  border: 1px solid var(--border-soft);
  background: var(--surface);
}
.lp-quote-mark {
  position: absolute;
  top: 6px; left: 18px;
  font-size: 60px;
  line-height: 1;
  color: rgba(255,106,44,.25);
  font-family: Georgia, serif;
}
.lp-quote h3 {
  position: relative;
  font-size: 17px;
  line-height: 1.35;
  font-weight: 800;
  margin-bottom: 14px;
  padding-top: 6px;
}
.lp-quote p { color: var(--muted); font-size: 14.5px; line-height: 1.6; }

/* reviews carousel */
.lp-reviews { margin-top: 24px; overflow: hidden; }
.lp-reviews-track {
  display: flex;
  transition: transform .45s var(--ease);
}
.lp-review {
  flex: 0 0 100%;
  padding: 24px 22px;
  border-radius: 18px;
  border: 1px solid var(--border-soft);
  background: var(--surface);
}
.lp-stars { color: var(--orange); font-size: 17px; letter-spacing: 3px; }
.lp-review p { margin-top: 14px; color: var(--text); font-size: 15px; line-height: 1.6; }
.lp-review-author { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.lp-review-author span { display: grid; }
.lp-review-author b { font-size: 14.5px; font-weight: 800; }
.lp-review-author small { color: var(--muted); font-size: 12.5px; }

.lp-reviews-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
}
.lp-arrow {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-size: 22px;
  line-height: 1;
  transition: background-color .18s var(--ease), border-color .18s var(--ease);
}
.lp-arrow:active { background: var(--surface-3); }
.lp-dots { display: flex; gap: 7px; }
.lp-dot {
  width: 8px; height: 8px; border-radius: 999px;
  background: var(--border);
  transition: width .3s var(--ease), background-color .3s var(--ease);
}
.lp-dot.active { width: 22px; background: var(--orange); }

/* simulator */
.lp-sim {
  padding: 26px 22px;
  border-radius: 22px;
  border: 1px solid var(--border-soft);
  background: linear-gradient(180deg, var(--surface), #0e1420);
}
.lp-sim-options { display: grid; gap: 12px; margin-top: 22px; }
.lp-sim-opt {
  width: 100%;
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 18px;
  border-radius: 13px;
  border: 1.5px solid var(--border);
  background: var(--surface-2);
  color: var(--text);
  font-size: 16px;
  font-weight: 700;
  position: relative;
  transition: border-color .18s var(--ease), background-color .18s var(--ease);
}
.lp-sim-opt.selected {
  border-color: var(--orange);
  background: linear-gradient(180deg, rgba(255,106,44,.14), rgba(255,106,44,.05));
  color: var(--orange-2);
}
.lp-sim-opt.selected::after {
  content: "✓";
  position: absolute;
  right: 16px;
  width: 22px; height: 22px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}
.lp-sim-gain {
  margin-top: 20px;
  padding: 22px;
  border-radius: 16px;
  border: 1px solid var(--border-soft);
  background: var(--surface-2);
  text-align: center;
  display: grid;
  gap: 4px;
}
.lp-sim-gain small { color: var(--muted); font-size: 13px; }
.lp-sim-gain b { color: var(--orange); font-size: 40px; font-weight: 900; line-height: 1.05; }
.lp-sim-gain span { color: var(--muted-2); font-size: 12.5px; }
.lp-sim-note { margin-top: 16px; color: var(--muted-2); font-size: 11.5px; line-height: 1.5; text-align: center; }
.lp-sim .lp-cta { margin-top: 18px; }

/* footer */
.lp-footer {
  margin-top: 20px;
  padding: 30px 0 10px;
  border-top: 1px solid var(--border-soft);
  text-align: center;
  display: grid;
  gap: 12px;
}
.lp-copy { color: var(--muted-2); font-size: 12px; line-height: 1.5; }
.lp-links { font-size: 12.5px; }
.lp-links a { color: var(--muted); text-decoration: none; }
.lp-links a:hover { color: var(--orange); }

/* section reveal on scroll */
.lp-sec { opacity: 1; }
.reveal { opacity: 0; transform: translateY(22px); }
.reveal.in { opacity: 1; transform: none; transition: opacity .6s var(--ease), transform .6s var(--ease); }

/* ============================================================
   QUIZ (phone-shell) — dark theme
   ============================================================ */
svg.qi { display: block; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.page-wrap {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  justify-content: center;
  background:
    radial-gradient(90% 40% at 50% -5%, rgba(255,106,44,.1), transparent 60%),
    var(--bg);
}
.quiz-wrap[hidden] { display: none; }
body.quiz-open { overflow-x: hidden; }

.phone-shell {
  width: 100%;
  max-width: var(--app-w);
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  position: relative;
}

.topbar {
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: calc(12px + env(safe-area-inset-top)) 22px 12px;
  border-bottom: 1px solid var(--border-soft);
  background: rgba(10,14,26,.9);
  backdrop-filter: blur(6px);
  flex-shrink: 0;
  z-index: 5;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--text);
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}
.brand-mark i { color: var(--muted); font-style: normal; font-weight: 600; }
.brand-logo { width: 28px; height: 28px; flex: 0 0 auto; display: block; }

.secure-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid rgba(34,197,94,.26);
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green-ink);
  font-size: 12.5px;
  line-height: 1;
  white-space: nowrap;
  transition: opacity .2s var(--ease), transform .2s var(--ease);
}
.secure-pill img { width: 12px; height: 12px; display: block; }
.phone-shell.intro-active .secure-pill { opacity: 0; transform: translateY(-2px); pointer-events: none; }

.app-stage { flex: 1; min-height: 0; position: relative; display: flex; }

.screen {
  width: 100%;
  flex: 1;
  display: none;
  flex-direction: column;
  min-height: 0;
  padding: 22px 24px calc(22px + env(safe-area-inset-bottom));
}
.screen.active { display: flex; }
.screen.enter-forward { animation: screenForward .42s var(--ease) both; }
.screen.enter-back { animation: screenBack .42s var(--ease) both; }
@keyframes screenForward { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: translateX(0); } }
@keyframes screenBack { from { opacity: 0; transform: translateX(-24px); } to { opacity: 1; transform: translateX(0); } }

.intro-screen { padding-top: 40px; text-align: center; overflow: hidden; }
.intro-center { display: flex; flex-direction: column; align-items: center; }

.hero-chip {
  position: relative;
  width: 100px; height: 100px;
  display: grid; place-items: center;
  margin: 2px auto 30px;
  animation: floatIn .65s var(--ease) both;
}
.hero-logo {
  width: 100px; height: 100px; display: block;
  animation: tilePulse 3.6s ease-in-out infinite;
  filter: drop-shadow(0 12px 26px rgba(255,106,44,.35));
}
.check-badge {
  position: absolute;
  right: -4px; top: -6px;
  width: 30px; height: 30px;
  border-radius: 50%;
  display: grid; place-items: center;
  padding: 3px;
  background: var(--bg);
  box-shadow: 0 8px 18px rgba(34,197,94,.3);
  animation: badgePop .58s cubic-bezier(.34,1.56,.64,1) .28s both;
}
.check-badge img { width: 24px; height: 24px; display: block; }
@keyframes floatIn { from { opacity: 0; transform: translateY(12px) scale(.94); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes tilePulse { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes badgePop { from { opacity: 0; transform: scale(.55) rotate(-18deg); } to { opacity: 1; transform: scale(1) rotate(0); } }

.protocol-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 30px;
  padding: 7px 15px;
  border: 1px solid rgba(255,106,44,.3);
  border-radius: 999px;
  background: var(--orange-soft);
  color: var(--orange-2);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .7px;
  text-transform: uppercase;
  animation: fadeRise .45s ease .12s both;
}
.protocol-pill span, .license-pill span { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }

.intro-screen h1 {
  max-width: 340px;
  margin: 22px auto 0;
  font-size: 25px;
  line-height: 1.16;
  font-weight: 900;
  animation: fadeRise .45s ease .18s both;
}
.intro-copy {
  max-width: 320px;
  margin: 16px auto 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.56;
  animation: fadeRise .45s ease .24s both;
}

.feature-row { display: flex; justify-content: center; gap: 18px; margin-top: 34px; animation: fadeRise .45s ease .3s both; }
.feature-item { display: grid; justify-items: center; gap: 8px; min-width: 42px; }
.feature-item span {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: var(--surface-3);
  border: 1px solid var(--border-soft);
  color: var(--orange);
}
.feature-item img { width: 21px; height: 21px; display: block; }
.feature-item small { color: var(--muted); font-size: 11px; font-weight: 700; }
@keyframes fadeRise { from { opacity: 0; transform: translateY(9px); } to { opacity: 1; transform: translateY(0); } }

.bottom-action { margin-top: auto; padding-top: 22px; }

.primary-btn {
  width: 100%;
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  padding: 15px 18px;
  color: #fff;
  background: var(--surface-3);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: .4px;
  text-transform: uppercase;
  text-align: center;
  transition: transform .16s var(--ease), background-color .2s var(--ease), box-shadow .2s var(--ease), color .2s var(--ease), opacity .2s var(--ease);
  user-select: none;
}
.primary-btn:active { transform: scale(.985); }
.primary-btn.blue, .primary-btn.is-ready {
  background: linear-gradient(135deg, var(--orange-2), #ff5f1e);
  box-shadow: 0 14px 32px rgba(255,106,44,.32);
}
.primary-btn:disabled {
  color: #5a6272;
  background: #161d2c;
  box-shadow: none;
  cursor: not-allowed;
}
.primary-btn:not(:disabled).pulse { position: relative; overflow: hidden; }
.primary-btn:not(:disabled).pulse::after {
  content: "";
  position: absolute;
  inset: -30% auto -30% -45%;
  width: 38%;
  transform: skewX(-18deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.4), transparent);
  animation: shine 3.2s ease-in-out infinite;
}

.trust-line, .form-trust {
  max-width: 300px;
  margin: 16px auto 0;
  color: var(--muted-2);
  font-size: 11px;
  line-height: 1.45;
  text-align: center;
}

.quiz-screen h2 {
  margin-top: 7px;
  color: var(--text);
  font-size: 20px;
  line-height: 1.33;
  font-weight: 900;
  animation: fadeRise .42s ease .06s both;
}

.progress-wrap { margin-bottom: 28px; animation: fadeRise .35s ease both; }
.progress-track { width: 100%; height: 6px; border-radius: 999px; background: #1a2233; overflow: hidden; }
.progress-fill {
  display: block; width: 0; height: 100%; border-radius: inherit;
  background: linear-gradient(90deg, #ff5f1e, var(--orange-2));
  transition: width .75s var(--ease);
}
.progress-value { margin-top: 7px; color: var(--orange); font-size: 13px; font-weight: 900; text-align: right; }
.step-label { color: var(--orange); font-size: 12px; font-weight: 900; letter-spacing: 1.15px; text-transform: uppercase; animation: fadeRise .42s ease .02s both; }

.select-box { position: relative; margin-top: 34px; z-index: 3; animation: fadeRise .42s ease .1s both; }
.select-trigger {
  width: 100%;
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 16px;
  border: 1.5px solid var(--border);
  border-radius: 15px;
  background: var(--surface-2);
  color: var(--muted);
  font-size: 16px;
  text-align: left;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease), color .18s var(--ease);
}
.select-arrow { width: 18px; height: 18px; flex: 0 0 auto; transition: transform .18s var(--ease); }
.select-box.open .select-trigger, .select-trigger.has-value {
  border-color: var(--orange);
  color: var(--text);
  box-shadow: 0 0 0 4px rgba(255,106,44,.1);
}
.select-box.open .select-arrow { transform: rotate(180deg); }
.select-menu {
  display: none;
  position: absolute;
  left: 0; right: 0;
  top: calc(100% + 10px);
  max-height: 280px;
  overflow-y: auto;
  border-radius: 15px;
  background: var(--surface);
  box-shadow: 0 18px 40px rgba(0,0,0,.5);
  border: 1px solid var(--border);
  padding: 4px 0;
}
.select-box.open .select-menu { display: block; animation: menuIn .22s var(--ease) both; }
@keyframes menuIn { from { opacity: 0; transform: translateY(-6px) scale(.985); } to { opacity: 1; transform: translateY(0) scale(1); } }
.select-menu button {
  width: 100%;
  min-height: 48px;
  padding: 0 16px;
  background: transparent;
  color: var(--text);
  font-size: 14px;
  text-align: left;
  border-bottom: 1px solid var(--border-soft);
  transition: background-color .16s var(--ease), color .16s var(--ease);
}
.select-menu button:last-child { border-bottom: 0; }
.select-menu button:active, .select-menu button:hover { background: var(--surface-3); color: var(--orange); }

.notice-card {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  padding: 16px;
  border: 1px solid rgba(255,106,44,.22);
  border-radius: 14px;
  background: var(--orange-soft);
  color: var(--muted);
  animation: fadeRise .42s ease .14s both;
}
.notice-card img, .info-panel img { width: 18px; height: 18px; flex: 0 0 auto; margin-top: 2px; }
.notice-card p, .info-panel p { font-size: 14px; line-height: 1.43; }
.notice-card strong { color: var(--orange-2); }

.option-list { display: grid; gap: 16px; margin-top: 34px; }
.option-card {
  width: 100%;
  min-height: 96px;
  display: grid;
  grid-template-columns: 48px 1fr 22px;
  align-items: center;
  gap: 16px;
  padding: 20px;
  border: 1.5px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
  color: var(--text);
  text-align: left;
  transition: transform .16s var(--ease), border-color .2s var(--ease), background-color .2s var(--ease), box-shadow .2s var(--ease);
  animation: cardIn .4s var(--ease) both;
}
.option-card:nth-child(2) { animation-delay: .07s; }
.option-card:active { transform: scale(.985); }
.option-card.selected {
  border-color: var(--orange);
  background: linear-gradient(180deg, rgba(255,106,44,.12), rgba(255,106,44,.04));
  box-shadow: 0 8px 22px rgba(255,106,44,.12);
}
.option-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  display: grid; place-items: center;
  background: var(--surface-3);
  border: 1px solid var(--border-soft);
  color: var(--orange);
}
.option-icon img { width: 23px; height: 23px; display: block; }
.option-text { min-width: 0; display: grid; gap: 7px; }
.option-text strong { color: var(--text); font-size: 16px; line-height: 1.18; }
.option-card.selected .option-text strong { color: var(--orange-2); }
.option-text small { color: var(--muted); font-size: 14px; line-height: 1.42; }
.radio-img { width: 20px; height: 20px; display: block; flex: 0 0 auto; }

.option-list.compact { margin-top: 26px; gap: 16px; }
.option-list.compact .option-card { min-height: 64px; grid-template-columns: 22px 1fr; padding: 18px 20px; }
.option-list.compact .option-text strong { font-size: 14px; line-height: 1.38; }
@keyframes cardIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

.info-panel {
  display: flex;
  gap: 13px;
  margin-top: 6px;
  padding: 16px;
  border: 1px solid rgba(255,106,44,.22);
  border-radius: 14px;
  background: var(--orange-soft);
  color: var(--muted);
  animation: fadeRise .42s ease .08s both;
}
.info-panel strong { color: var(--orange-2); }

.analysis-screen { justify-content: center; padding-top: 40px; }
.analysis-center { width: 100%; display: grid; justify-items: center; transform: translateY(-12px); }
.analysis-orbit {
  width: 76px; height: 76px;
  display: grid; place-items: center;
  margin-bottom: 46px;
  border: 6px solid var(--orange);
  border-radius: 50%;
  position: relative;
  animation: orbitBreathe 1.6s ease-in-out infinite;
}
.analysis-orbit::after {
  content: "";
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 1px solid rgba(255,106,44,.2);
  animation: orbitRing 1.7s ease-out infinite;
}
.analysis-orbit img { width: 64px; height: 64px; display: block; max-width: none; }
@keyframes orbitBreathe { 0%,100% { transform: scale(1); } 50% { transform: scale(1.045); } }
@keyframes orbitRing { from { opacity: .8; transform: scale(.86); } to { opacity: 0; transform: scale(1.22); } }
.analysis-center h2 { margin-bottom: 28px; font-size: 19px; font-weight: 900; }

.analysis-list { width: min(100%, 312px); display: grid; gap: 18px; margin: 0 auto; }
.analysis-list div {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.3;
  opacity: 0;
  animation: statusReveal .36s var(--ease) forwards;
}
.analysis-list div:nth-child(1) { animation-delay: .25s; }
.analysis-list div:nth-child(2) { animation-delay: .75s; }
.analysis-list div:nth-child(3) { animation-delay: 1.25s; }
.analysis-list span { width: 20px; height: 20px; flex: 0 0 auto; display: grid; place-items: center; }
.analysis-list img { width: 20px; height: 20px; display: block; }
@keyframes statusReveal { from { opacity: 0; transform: translateX(-8px); } to { opacity: 1; transform: translateX(0); } }

.benefit-list { display: grid; gap: 16px; margin-top: 34px; }
.benefit-card {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 16px;
  align-items: center;
  padding: 20px;
  border: 1px solid var(--border-soft);
  border-radius: 15px;
  background: var(--surface);
  animation: cardIn .42s var(--ease) both;
}
.benefit-card:nth-child(2) { animation-delay: .07s; }
.benefit-card:nth-child(3) { animation-delay: .14s; }
.benefit-card > span {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: var(--surface-3);
  border: 1px solid var(--border-soft);
  color: var(--orange);
}
.benefit-card img { width: 22px; height: 22px; display: block; }
.benefit-card h3 { margin-bottom: 6px; font-size: 16px; line-height: 1.18; }
.benefit-card p { color: var(--muted); font-size: 14px; line-height: 1.42; }

.result-btn { background: #161d2c; box-shadow: none; }
.result-btn.ready {
  background: linear-gradient(135deg, var(--orange-2), #ff5f1e);
  box-shadow: 0 14px 32px rgba(255,106,44,.32);
}

.result-screen { padding: 0; background: var(--bg); }
.result-hero {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 28px 24px;
  text-align: center;
  background:
    radial-gradient(circle at 82% 20%, rgba(34,197,94,.16), transparent 180px),
    radial-gradient(circle at 15% 10%, rgba(255,106,44,.1), transparent 180px);
}
.access-card {
  width: 258px;
  min-height: 96px;
  display: grid; place-items: center;
  gap: 8px;
  padding: 16px 18px;
  border-radius: 14px;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #fff;
  box-shadow: 0 18px 40px rgba(22,163,74,.35);
  animation: successIn .55s cubic-bezier(.34,1.56,.64,1) both;
}
.access-check { width: 30px; height: 30px; display: grid; place-items: center; }
.access-check img { width: 30px; height: 30px; display: block; }
.access-card strong { font-size: 23px; line-height: 1; font-weight: 950; letter-spacing: 1.3px; text-transform: uppercase; }
@keyframes successIn { from { opacity: 0; transform: translateY(12px) scale(.94); } to { opacity: 1; transform: translateY(0) scale(1); } }

.license-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 30px;
  margin-top: 12px;
  padding: 7px 15px;
  border: 1px solid rgba(245,186,47,.4);
  border-radius: 999px;
  background: rgba(245,186,47,.12);
  color: var(--amber);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  animation: fadeRise .4s ease .12s both;
}
.license-pill span { background: var(--amber); }
.result-hero h2 { margin-top: 18px; font-size: 19px; font-weight: 900; animation: fadeRise .4s ease .17s both; }
.result-hero p { max-width: 335px; margin-top: 8px; color: var(--muted); font-size: 15px; line-height: 1.48; animation: fadeRise .4s ease .22s both; }

.form-area { padding: 22px 24px calc(24px + env(safe-area-inset-bottom)); }
.important-card {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  padding: 18px 16px;
  border: 1px solid rgba(255,106,44,.3);
  border-radius: 14px;
  background: var(--orange-soft);
  color: var(--muted);
  margin-bottom: 24px;
  animation: cardIn .42s var(--ease) both;
}
.important-phone { width: 22px; height: 22px; display: block; margin-top: 1px; object-fit: contain; }
.important-card p { font-size: 14px; line-height: 1.4; }
.important-card b { color: var(--orange-2); }
.important-card strong { display: block; margin-bottom: 8px; color: var(--orange-2); font-size: 13px; font-weight: 950; text-transform: uppercase; }

.field { margin-bottom: 15px; }
.field label { display: block; margin-bottom: 8px; color: var(--muted); font-size: 14px; font-weight: 500; }
.field input {
  width: 100%;
  height: 54px;
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 0 16px;
  outline: none;
  background: var(--surface-2);
  color: var(--text);
  font-size: 16px;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease), background-color .18s var(--ease);
}
.field input::placeholder { color: var(--muted-2); }
.field input:focus { border-color: var(--orange); background: #10182880; box-shadow: 0 0 0 4px rgba(255,106,44,.1); }
.field input.error { border-color: #ef4444; box-shadow: 0 0 0 4px rgba(239,68,68,.1); }
.field-error { display: block; min-height: 16px; margin-top: 5px; color: #f87171; font-size: 12px; line-height: 1.25; }

#f-website { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.consent-row {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  align-items: start;
  margin: 6px 0 24px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.36;
  cursor: pointer;
  user-select: none;
}
.consent-row a { color: var(--orange-2); }
.checkbox {
  width: 20px; height: 20px;
  display: grid; place-items: center;
  margin-top: 1px;
  border: 2px solid var(--muted-2);
  border-radius: 5px;
  color: #fff;
  transition: background-color .16s var(--ease), border-color .16s var(--ease), transform .16s var(--ease);
}
.checkbox svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; opacity: 0; }
.consent-row.checked .checkbox { border-color: var(--orange); background: var(--orange); transform: scale(1.05); }
.consent-row.checked .checkbox svg { opacity: 1; }

.api-error { min-height: 18px; margin-bottom: 10px; color: #f87171; font-size: 13px; text-align: center; }
.submit-btn:not(:disabled) { background: linear-gradient(135deg, var(--orange-2), #ff5f1e); box-shadow: 0 14px 32px rgba(255,106,44,.32); }

.spinner {
  width: 20px; height: 20px;
  border-radius: 50%;
  border: 3px solid rgba(255,255,255,.4);
  border-top-color: #fff;
  animation: spin .75s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================================
   THANK YOU
   ============================================================ */
.ty-screen { justify-content: center; align-items: center; text-align: center; padding: 24px; }
.ty-inner { width: 100%; display: grid; justify-items: center; transform: translateY(-8px); }
.ty-card {
  width: 100%;
  max-width: 300px;
  padding: 26px 22px;
  border-radius: 18px;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #fff;
  box-shadow: 0 20px 44px rgba(22,163,74,.35);
  display: grid;
  justify-items: center;
  gap: 12px;
  animation: successIn .55s cubic-bezier(.34,1.56,.64,1) both;
}
.ty-card-check {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.7);
}
.ty-card-check svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.ty-card strong { font-size: 20px; font-weight: 900; letter-spacing: .2px; }
.ty-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid rgba(245,186,47,.4);
  background: rgba(245,186,47,.12);
  color: var(--amber);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.3;
  animation: fadeRise .4s ease .15s both;
}
.ty-pill span { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); flex: 0 0 auto; }
.ty-text {
  max-width: 320px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
  animation: fadeRise .4s ease .22s both;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (min-width: 560px) {
  .page-wrap { padding: 28px 0; }
  .phone-shell { min-height: 860px; border-radius: 26px; box-shadow: 0 30px 80px rgba(0,0,0,.5); overflow: hidden; }
}

@media (max-width: 374px) {
  .lp-shell { padding-left: 20px; padding-right: 20px; }
  .lp-h1 { font-size: 34px; }
  .lp-h2 { font-size: 24px; }
  .lp-stat b { font-size: 18px; }
  .topbar { padding-left: 18px; padding-right: 18px; }
  .screen { padding-left: 20px; padding-right: 20px; }
  .intro-screen h1 { font-size: 22px; }
  .primary-btn { font-size: 14px; padding-left: 14px; padding-right: 14px; }
  .option-card { grid-template-columns: 44px 1fr 20px; gap: 12px; padding: 17px; }
  .option-text strong { font-size: 15px; }
  .benefit-card { grid-template-columns: 40px 1fr; gap: 13px; padding: 17px; }
  .form-area { padding-left: 20px; padding-right: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001s !important;
    scroll-behavior: auto !important;
  }
}
