/* TimerPilot marketing — matches app theme (slate-950 dark, blue/emerald accents) */
:root {
  --bg: #020617;          /* slate-950 */
  --panel: #0f172a;       /* slate-900 */
  --panel-2: #1e293b;     /* slate-800 */
  --border: #1e293b;
  --border-soft: #334155; /* slate-700 */
  --text: #f1f5f9;        /* slate-100 */
  --muted: #94a3b8;       /* slate-400 */
  --dim: #64748b;         /* slate-500 */
  --blue: #3b82f6;
  --blue-hover: #2563eb;
  --emerald: #34d399;
  --amber: #fbbf24;
  --red: #f87171;
  --radius: 10px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---------- header ---------- */
header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(2, 6, 23, 0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 1.15rem; color: var(--text);
}
.logo:hover { text-decoration: none; }
.logo svg { flex: none; }
.nav-links { display: flex; align-items: center; gap: 22px; font-size: 0.95rem; font-weight: 600; }
.nav-links a { color: var(--muted); }
.nav-links a:hover { color: var(--text); text-decoration: none; }

.btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: background 0.15s ease, border-color 0.15s ease;
  cursor: pointer;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-hover); }
.btn-ghost { border: 1px solid var(--border-soft); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--dim); background: var(--panel); }
.btn-lg { padding: 14px 28px; font-size: 1.05rem; }

/* ---------- hero ---------- */
.hero { padding: 88px 0 64px; text-align: center; }
.hero h1 {
  font-size: clamp(2.1rem, 5.5vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.12;
  max-width: 800px;
  margin: 0 auto;
}
.hero h1 .accent { color: var(--blue); }
.hero p.sub {
  margin: 22px auto 0;
  max-width: 620px;
  font-size: 1.15rem;
  color: var(--muted);
}
.hero .cta-row { margin-top: 36px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero .fineprint { margin-top: 14px; font-size: 0.85rem; color: var(--dim); }

/* timer mock */
.timer-mock {
  margin: 56px auto 0;
  max-width: 560px;
  background: var(--panel);
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  padding: 32px 24px;
  box-shadow: 0 24px 60px -24px rgba(59, 130, 246, 0.25);
}
.timer-mock .label { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); }
.timer-mock .time {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: clamp(3rem, 9vw, 4.5rem);
  font-weight: 700;
  color: var(--emerald);
  line-height: 1.1;
  margin: 8px 0 4px;
}
.timer-mock .target { font-size: 0.95rem; color: var(--muted); }
.timer-mock .target strong { color: var(--emerald); }
.timer-mock .zones { display: flex; gap: 6px; margin-top: 20px; }
.timer-mock .zones span { height: 8px; border-radius: 4px; flex: 1; }
.zone-green { background: var(--emerald); }
.zone-yellow { background: var(--amber); opacity: 0.85; }
.zone-red { background: var(--red); opacity: 0.85; }

/* ---------- sections ---------- */
section { padding: 72px 0; }
section.alt { background: var(--panel); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-head h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); font-weight: 800; letter-spacing: -0.01em; }
.section-head p { margin-top: 12px; color: var(--muted); font-size: 1.05rem; }

/* features grid */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.feature {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
section.alt .feature { background: var(--bg); }
.feature .icon {
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 10px;
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.35);
  margin-bottom: 14px;
  font-size: 1.2rem;
}
.feature h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 6px; }
.feature p { font-size: 0.95rem; color: var(--muted); }

/* ---------- pricing ---------- */
.pricing { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; max-width: 760px; margin: 0 auto; }
.plan {
  background: var(--panel);
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  padding: 32px 28px;
  display: flex; flex-direction: column;
}
.plan.featured { border-color: rgba(59, 130, 246, 0.6); box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.35), 0 20px 50px -20px rgba(59, 130, 246, 0.3); position: relative; }
.plan .badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--blue); color: #fff;
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 4px 12px; border-radius: 999px;
}
.plan h3 { font-size: 1.2rem; font-weight: 800; }
.plan .price { margin: 14px 0 2px; font-size: 2.6rem; font-weight: 800; letter-spacing: -0.02em; }
.plan .price span { font-size: 1rem; font-weight: 600; color: var(--muted); }
.plan .alt-price { font-size: 0.88rem; color: var(--dim); margin-bottom: 18px; }
.plan ul { list-style: none; margin: 8px 0 28px; flex: 1; }
.plan li { padding: 7px 0; font-size: 0.95rem; color: var(--muted); display: flex; gap: 10px; align-items: flex-start; }
.plan li::before { content: "✓"; color: var(--emerald); font-weight: 800; flex: none; }
.plan .btn { text-align: center; }

/* ---------- FAQ ---------- */
.faq { max-width: 720px; margin: 0 auto; }
.faq details {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq summary {
  padding: 18px 20px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--dim); font-size: 1.3rem; font-weight: 400; flex: none; }
.faq details[open] summary::after { content: "–"; }
.faq .answer { padding: 0 20px 18px; color: var(--muted); font-size: 0.97rem; }

/* ---------- final CTA ---------- */
.final-cta { text-align: center; }
.final-cta h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); font-weight: 800; max-width: 640px; margin: 0 auto; }
.final-cta p { color: var(--muted); margin: 14px auto 32px; max-width: 520px; }

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--border); padding: 36px 0; font-size: 0.9rem; color: var(--dim); }
.footer-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-row .links { display: flex; gap: 20px; }
.footer-row a { color: var(--muted); }

/* ---------- legal pages ---------- */
.legal { max-width: 760px; margin: 0 auto; padding: 56px 20px 80px; }
.legal h1 { font-size: 2rem; font-weight: 800; margin-bottom: 6px; }
.legal .updated { color: var(--dim); font-size: 0.9rem; margin-bottom: 36px; }
.legal h2 { font-size: 1.25rem; font-weight: 700; margin: 32px 0 10px; }
.legal p, .legal li { color: var(--muted); font-size: 0.97rem; margin-bottom: 10px; }
.legal ul { padding-left: 22px; margin-bottom: 12px; }

@media (max-width: 640px) {
  .nav-links a.hide-sm { display: none; }
  .hero { padding: 56px 0 40px; }
  section { padding: 52px 0; }
}
