/* PassDrills marketing + auth pages — light theme, navy bookends. */
:root {
  --navy: #0B2239; --navy2: #0d2c4a; --blue: #2E7CF6; --sky: #4f9cf9;
  --green: #12B76A; --green-dark: #0d9d5c; --red: #E5484D;
  --ink: #1D2B3A; --muted: #5B7186; --band: #F5F8FB; --line: #DCE6EF;
  --card: #ffffff; --radius: 16px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: #fff; color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px; line-height: 1.6; -webkit-text-size-adjust: 100%;
}
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0; }
h2 { font-size: 2rem; font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0; }
a { color: var(--blue); text-decoration: none; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 1.25rem; }
.muted { color: var(--muted); }
.center { text-align: center; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50; background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav-in { display: flex; align-items: center; gap: 1.5rem; height: 64px; }
.logo { color: #fff; font-weight: 800; font-size: 1.25rem; letter-spacing: -0.02em; }
.logo .dot { color: var(--green); }
.nav-links { display: flex; gap: 1.4rem; margin-left: 1rem; }
.nav-links a { color: #c7d5e4; font-size: 0.95rem; font-weight: 500; }
.nav-links a:hover { color: #fff; }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 0.7rem; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; border: none; cursor: pointer; font-weight: 700;
  font-size: 1rem; padding: 0.8rem 1.5rem; border-radius: 12px;
  transition: transform 0.05s ease, background 0.15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: var(--green-dark); }
.btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.35); }
.btn-ghost:hover { border-color: #fff; }
.btn-outline { background: transparent; color: var(--navy); border: 1.5px solid var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-login { background: transparent; color: #fff; padding: 0.55rem 1rem; font-weight: 600; }
.btn-login:hover { background: rgba(255,255,255,0.1); }
.btn-sm { padding: 0.55rem 1.1rem; font-size: 0.95rem; border-radius: 10px; }

/* ---------- hero ---------- */
.hero { background: linear-gradient(180deg, var(--navy) 0%, var(--navy2) 100%); color: #fff; }
.hero-in {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 3rem;
  padding-top: 4.5rem; padding-bottom: 4rem; align-items: center;
}
.hero h1 { font-size: 3.1rem; font-weight: 800; }
.hero h1 .hl { color: var(--sky); }
.hero .sub { color: #c7d5e4; font-size: 1.15rem; margin: 1.2rem 0 1.8rem; max-width: 34rem; }
.hero-ctas { display: flex; gap: 0.8rem; flex-wrap: wrap; }
.microline { margin-top: 1.1rem; color: #8fa8c0; font-size: 0.92rem; }

/* question card (product mock + interactive) */
.qcard {
  background: #fff; color: var(--ink); border-radius: var(--radius);
  padding: 1.4rem; box-shadow: 0 24px 60px rgba(0,0,0,0.35);
}
.qcard .qtag {
  display: inline-block; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--blue); background: #EAF2FE;
  padding: 0.25rem 0.65rem; border-radius: 999px; margin-bottom: 0.8rem;
}
.qcard .qstem { font-size: 1.08rem; font-weight: 600; line-height: 1.45; }
.qopts { display: grid; gap: 0.55rem; margin-top: 1rem; }
.qopt {
  display: flex; gap: 0.7rem; align-items: flex-start; text-align: left; width: 100%;
  background: #fff; border: 1.5px solid var(--line); color: var(--ink);
  padding: 0.7rem 0.9rem; border-radius: 10px; font-size: 0.98rem; cursor: pointer;
  font-family: inherit; line-height: 1.4;
}
.qopt .letter {
  font-weight: 800; color: var(--muted); border: 1.5px solid var(--line);
  border-radius: 7px; width: 1.6rem; height: 1.6rem; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 0.85rem;
}
.qopt:hover:not(:disabled) { border-color: var(--blue); }
.qopt.correct { border-color: var(--green); background: #EBFAF2; }
.qopt.correct .letter { background: var(--green); border-color: var(--green); color: #fff; }
.qopt.wrong { border-color: var(--red); background: #FDECEC; }
.qopt.wrong .letter { background: var(--red); border-color: var(--red); color: #fff; }
.qopt:disabled { cursor: default; }
.qexplain {
  margin-top: 1rem; background: var(--band); border-left: 4px solid var(--green);
  padding: 0.85rem 1rem; border-radius: 0 10px 10px 0; font-size: 0.95rem;
}
.qexplain b { color: var(--green-dark); }

/* ---------- fact strip ---------- */
.facts { background: #fff; border-bottom: 1px solid var(--line); }
.facts-in {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
  padding-top: 1.8rem; padding-bottom: 1.8rem; text-align: center;
}
.fact .num { font-size: 1.7rem; font-weight: 800; letter-spacing: -0.02em; color: var(--navy); }
.fact .lbl { color: var(--muted); font-size: 0.9rem; }

/* ---------- sections ---------- */
section.band { background: var(--band); }
.section { padding: 4.2rem 0; }
.section-head { max-width: 42rem; margin-bottom: 2.2rem; }
.section-head.center { margin-left: auto; margin-right: auto; }
.section-head p { color: var(--muted); margin-top: 0.7rem; font-size: 1.05rem; }
.eyebrow {
  font-size: 0.8rem; font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 0.6rem;
}

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.step {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem;
}
section.band .step { background: #fff; }
.step .n {
  width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--navy); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 800; margin-bottom: 0.9rem;
}
.step p { color: var(--muted); font-size: 0.97rem; margin-top: 0.4rem; }

/* state cards */
.states { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.state-card {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; background: #fff;
}
.state-card .abbr { font-size: 2rem; font-weight: 800; color: var(--navy); letter-spacing: -0.02em; }
.state-card p { color: var(--muted); font-size: 0.95rem; margin-top: 0.35rem; }
.state-card.national { background: var(--navy); border-color: var(--navy); }
.state-card.wide { grid-column: 1 / -1; }
.state-card.national .abbr { color: #fff; }
.state-card.national p { color: #c7d5e4; }

/* features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.feature { padding: 1.4rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.feature .ico { font-size: 1.5rem; margin-bottom: 0.6rem; }
.feature p { color: var(--muted); font-size: 0.95rem; margin-top: 0.35rem; }

/* comparison */
.compare {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; max-width: 880px; margin: 0 auto;
}
.compare .col { border-radius: var(--radius); padding: 1.6rem; }
.compare .them { background: #fff; border: 1px solid var(--line); }
.compare .us { background: var(--navy); color: #fff; }
.compare h3 { margin-bottom: 1rem; }
.compare ul { list-style: none; margin: 0; padding: 0; }
.compare li { padding: 0.55rem 0; border-bottom: 1px solid var(--line); font-size: 0.98rem; }
.compare .us li { border-bottom-color: rgba(255,255,255,0.14); }
.compare li:last-child { border-bottom: none; }
.compare .them li { color: var(--muted); }

/* pricing */
.pricing-band { background: var(--navy); color: #fff; }
.price-card {
  background: #fff; color: var(--ink); border-radius: 20px; max-width: 480px;
  margin: 0 auto; padding: 2.2rem; text-align: center;
  box-shadow: 0 24px 60px rgba(0,0,0,0.35);
}
.price-card .price { font-size: 3.4rem; font-weight: 800; letter-spacing: -0.03em; color: var(--navy); }
.price-card .once { color: var(--muted); font-weight: 600; margin-top: -0.4rem; }
.price-card ul { list-style: none; margin: 1.4rem 0; padding: 0; text-align: left; }
.price-card li { padding: 0.45rem 0 0.45rem 1.7rem; position: relative; font-size: 0.99rem; }
.price-card li::before { content: "✓"; position: absolute; left: 0.2rem; color: var(--green); font-weight: 800; }
.price-card .btn { width: 100%; }
.pricing-band .under { text-align: center; color: #8fa8c0; margin-top: 1.2rem; font-size: 0.95rem; }
.pricing-band .under a { color: #fff; font-weight: 600; text-decoration: underline; }
.pricing-band h2, .final h2 { color: #fff; }
.pricing-band .section-head p { color: #c7d5e4; }

/* faq */
.faq { max-width: 760px; margin: 0 auto; }
.faq details { border: 1px solid var(--line); border-radius: 12px; padding: 1rem 1.2rem; margin-bottom: 0.7rem; background: #fff; }
.faq summary { font-weight: 700; cursor: pointer; font-size: 1.02rem; }
.faq details p { color: var(--muted); margin-top: 0.6rem; font-size: 0.97rem; }

/* final cta */
.final { background: linear-gradient(180deg, var(--navy2), var(--navy)); color: #fff; text-align: center; }
.final .sub { color: #c7d5e4; margin: 0.9rem auto 1.8rem; max-width: 34rem; }

/* footer */
footer { background: var(--navy); color: #8fa8c0; border-top: 1px solid rgba(255,255,255,0.08); }
.foot-in { display: flex; gap: 1.5rem; flex-wrap: wrap; align-items: center; padding-top: 1.6rem; padding-bottom: 1.6rem; font-size: 0.92rem; }
.foot-in a { color: #c7d5e4; }
.foot-in .right { margin-left: auto; }

/* ---------- login page ---------- */
.auth-wrap {
  min-height: calc(100vh - 64px); display: grid; grid-template-columns: 1fr 1fr;
}
.auth-side {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy2) 100%); color: #fff;
  padding: 4rem 3rem; display: flex; flex-direction: column; justify-content: center;
}
.auth-side h1 { font-size: 2.3rem; font-weight: 800; }
.auth-side .sub { color: #c7d5e4; margin: 1rem 0 2rem; max-width: 26rem; }
.auth-side ul { list-style: none; margin: 0; padding: 0; }
.auth-side li { padding: 0.5rem 0 0.5rem 1.8rem; position: relative; color: #e6eef7; }
.auth-side li::before { content: "✓"; position: absolute; left: 0.2rem; color: var(--green); font-weight: 800; }
.auth-main { display: flex; align-items: center; justify-content: center; padding: 3rem 1.25rem; background: var(--band); }
.auth-card {
  background: #fff; border: 1px solid var(--line); border-radius: 20px;
  padding: 2.2rem; width: 100%; max-width: 430px; box-shadow: 0 12px 40px rgba(11,34,57,0.08);
}
.auth-card h2 { font-size: 1.5rem; margin-bottom: 0.3rem; }
.auth-card .muted { font-size: 0.95rem; }
.auth-card label { display: block; margin: 1rem 0 0; font-size: 0.9rem; font-weight: 600; color: var(--ink); }
.auth-card input {
  display: block; width: 100%; margin-top: 0.35rem; padding: 0.75rem 0.9rem;
  border-radius: 10px; border: 1.5px solid var(--line); background: #fff;
  color: var(--ink); font-size: 1rem; font-family: inherit;
}
.auth-card input:focus { outline: none; border-color: var(--blue); }
.auth-card .btn { width: 100%; margin-top: 1.4rem; }
.auth-error {
  display: none; margin-top: 1rem; padding: 0.75rem 0.95rem; border-radius: 10px;
  background: #FDECEC; border: 1px solid var(--red); color: #8f1d22; font-size: 0.93rem;
}
.auth-error.show { display: block; }
.auth-toggle { text-align: center; margin-top: 1.2rem; font-size: 0.95rem; color: var(--muted); }
.hidden { display: none !important; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero-in { grid-template-columns: 1fr; gap: 2.2rem; padding-top: 3rem; padding-bottom: 3rem; }
  .hero h1 { font-size: 2.2rem; }
  .facts-in { grid-template-columns: repeat(2, 1fr); }
  .steps, .features { grid-template-columns: 1fr; }
  .states { grid-template-columns: repeat(2, 1fr); }
  .compare { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .auth-wrap { grid-template-columns: 1fr; }
  .auth-side { padding: 2.5rem 1.5rem; }
  .auth-side ul { display: none; }
  h2 { font-size: 1.6rem; }
  body { font-size: 16px; }
}
