/* ============================================================================
   Zeitra — Aurora dark-glass marketing site
   ========================================================================= */
:root {
  --bg: #07080d;
  --bg-2: #0b0d15;
  --fg: #f4f6fb;
  --muted: #9aa3b8;
  --muted-2: #6b7488;
  --glass: rgba(255, 255, 255, 0.045);
  --glass-2: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.09);
  --border-2: rgba(255, 255, 255, 0.14);
  --coral: #ff6b35;
  --coral-2: #ff8c42;
  --coral-3: #ff5a5f;
  --teal: #22d3ee;
  --violet: #8b7cf6;
  --radius: 18px;
  --radius-sm: 12px;
  --maxw: 1140px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --sans: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --display: 'Space Grotesk', var(--sans);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

a { color: inherit; text-decoration: none; transition: color 0.2s var(--ease); }
img, svg { display: block; max-width: 100%; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--coral); color: #0b0c12; padding: 10px 16px; border-radius: 0 0 8px 0; font-weight: 600;
}
.skip-link:focus { left: 0; }

/* ── Aurora background ───────────────────────────────────────────────── */
.aurora { position: fixed; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; }
.aurora::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(139, 124, 246, 0.10), transparent 60%),
    radial-gradient(900px 500px at 10% 110%, rgba(34, 211, 238, 0.08), transparent 60%);
}
.aurora span {
  position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.5;
  animation: drift 26s var(--ease) infinite alternate;
}
.aurora span:nth-child(1) { width: 520px; height: 520px; top: -120px; right: -80px;
  background: radial-gradient(circle, rgba(255, 107, 53, 0.55), transparent 70%); }
.aurora span:nth-child(2) { width: 460px; height: 460px; top: 30%; left: -140px;
  background: radial-gradient(circle, rgba(139, 124, 246, 0.45), transparent 70%); animation-delay: -8s; }
.aurora span:nth-child(3) { width: 420px; height: 420px; bottom: -120px; left: 45%;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.30), transparent 70%); animation-delay: -16s; }
@keyframes drift { to { transform: translate3d(40px, 50px, 0) scale(1.12); } }
@media (prefers-reduced-motion: reduce) { .aurora span { animation: none; } }

/* ── Buttons ─────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--sans); font-weight: 600; font-size: 16px; line-height: 1;
  padding: 15px 26px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
  white-space: nowrap;
}
.btn-sm { padding: 11px 18px; font-size: 14.5px; }
.btn-primary {
  color: #160a04; background: linear-gradient(135deg, var(--coral-2), var(--coral-3));
  box-shadow: 0 10px 30px -8px rgba(255, 107, 53, 0.55);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -8px rgba(255, 107, 53, 0.7); }
.btn-ghost { color: var(--fg); background: var(--glass); border-color: var(--border-2); }
.btn-ghost:hover { background: var(--glass-2); transform: translateY(-2px); }

/* ── Header / nav ────────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  background: rgba(7, 8, 13, 0.6); border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; font-size: 21px; letter-spacing: -0.02em; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--muted); font-size: 15px; font-weight: 500; }
.nav-links a:hover, .nav-links a[aria-current='page'] { color: var(--fg); }
.nav-links .btn { color: #160a04; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--fg); border-radius: 2px; transition: 0.25s var(--ease); }

/* ── Layout primitives ───────────────────────────────────────────────── */
section { position: relative; padding: 92px 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--coral-2);
  padding: 7px 14px; border: 1px solid var(--border-2); border-radius: 999px; background: var(--glass);
}
h1, h2, h3 { font-family: var(--display); letter-spacing: -0.025em; line-height: 1.08; font-weight: 700; }
.section-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(30px, 4.4vw, 46px); margin: 18px 0 14px; }
.section-head p { color: var(--muted); font-size: 18px; }

.glass {
  background: var(--glass); border: 1px solid var(--border); border-radius: var(--radius);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}

[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1; transform: none; } }

/* ── Hero ────────────────────────────────────────────────────────────── */
.hero { padding: 84px 0 72px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(38px, 6vw, 68px); margin: 22px 0; }
.hero h1 .grad {
  background: linear-gradient(120deg, var(--coral-2), var(--violet) 90%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero p.lede { font-size: 20px; color: var(--muted); max-width: 540px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.store-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.store-badge {
  display: inline-flex; align-items: center; gap: 11px; padding: 11px 18px; border-radius: 14px;
  background: var(--glass); border: 1px solid var(--border-2); color: var(--fg);
}
.store-badge svg { width: 24px; height: 24px; flex: none; }
.store-badge .sb-top { font-size: 11px; color: var(--muted); line-height: 1.2; }
.store-badge .sb-main { font-family: var(--display); font-weight: 600; font-size: 16px; line-height: 1.2; }
.store-badge .tag { margin-left: 6px; font-size: 10px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--coral-2); border: 1px solid var(--border-2); padding: 2px 7px; border-radius: 999px; }

/* Phone mockup */
.hero-art { display: flex; justify-content: center; }
.phone {
  position: relative; width: 290px; aspect-ratio: 9 / 19; border-radius: 38px; padding: 12px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.03));
  border: 1px solid var(--border-2); box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.8);
}
.phone-screen {
  height: 100%; border-radius: 28px; overflow: hidden; position: relative;
  background: radial-gradient(120% 80% at 20% 0%, #16203a, #0a0d18 60%); padding: 22px 18px;
  display: flex; flex-direction: column; gap: 14px;
}
.phone-screen .ps-time { font-family: var(--display); font-weight: 600; font-size: 13px; color: var(--muted); }
.phone-screen .ps-title { font-family: var(--display); font-weight: 700; font-size: 20px; }
.ps-card { border-radius: 14px; padding: 13px 14px; border: 1px solid var(--border); background: rgba(255, 255, 255, 0.05); }
.ps-card.live { border-color: rgba(255, 140, 66, 0.5); background: linear-gradient(135deg, rgba(255, 107, 53, 0.18), rgba(255, 90, 95, 0.06)); }
.ps-card .pc-tag { font-size: 10px; letter-spacing: 0.07em; text-transform: uppercase; color: var(--coral-2); font-weight: 700; }
.ps-card .pc-main { font-weight: 600; font-size: 14.5px; margin-top: 3px; }
.ps-card .pc-sub { font-size: 12px; color: var(--muted); margin-top: 2px; }
.ps-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--coral-2); display: inline-block; box-shadow: 0 0 0 4px rgba(255, 140, 66, 0.18); }

/* ── Stat strip ──────────────────────────────────────────────────────── */
.stats { padding: 0 0 24px; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat { padding: 26px 22px; text-align: center; }
.stat .num { font-family: var(--display); font-weight: 700; font-size: clamp(26px, 3.4vw, 36px);
  background: linear-gradient(120deg, var(--coral-2), var(--teal)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat .lbl { color: var(--muted); font-size: 14px; margin-top: 6px; }

/* ── Problem ─────────────────────────────────────────────────────────── */
.problem .glass { padding: 44px; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
.problem h2 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 16px; }
.problem p { color: var(--muted); margin-bottom: 14px; }
.problem .vs { display: grid; gap: 14px; }
.vs-row { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 14px; border: 1px solid var(--border); background: rgba(255, 255, 255, 0.03); }
.vs-row .clock { font-family: var(--display); font-weight: 700; font-size: 18px; min-width: 64px; }
.vs-row.bad { border-color: rgba(255, 90, 95, 0.35); } .vs-row.bad .clock { color: var(--coral-3); }
.vs-row.good { border-color: rgba(34, 211, 238, 0.35); } .vs-row.good .clock { color: var(--teal); }

/* ── Feature cards ───────────────────────────────────────────────────── */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { padding: 30px 26px; transition: transform 0.3s var(--ease), border-color 0.3s var(--ease); }
.feature:hover { transform: translateY(-4px); border-color: var(--border-2); }
.feature .ficon { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; font-size: 24px;
  background: linear-gradient(135deg, rgba(255, 140, 66, 0.22), rgba(139, 124, 246, 0.18)); border: 1px solid var(--border-2); margin-bottom: 18px; }
.feature h3 { font-size: 20px; margin-bottom: 9px; }
.feature p { color: var(--muted); font-size: 15.5px; }

/* ── Shift types ─────────────────────────────────────────────────────── */
.shifts-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.shift { padding: 26px 22px; text-align: center; transition: transform 0.3s var(--ease); }
.shift:hover { transform: translateY(-4px); }
.shift .si { font-size: 30px; margin-bottom: 12px; }
.shift h3 { font-size: 17px; margin-bottom: 6px; }
.shift p { color: var(--muted); font-size: 13.5px; }

/* ── Pricing ─────────────────────────────────────────────────────────── */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { padding: 34px 28px; display: flex; flex-direction: column; }
.plan.featured { border-color: rgba(255, 140, 66, 0.55); box-shadow: 0 30px 70px -34px rgba(255, 107, 53, 0.55); }
.plan .ribbon { align-self: flex-start; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--coral-2); border: 1px solid var(--border-2); padding: 4px 11px; border-radius: 999px; margin-bottom: 14px; }
.plan h3 { font-size: 22px; }
.plan .price { font-family: var(--display); font-weight: 700; font-size: 40px; margin: 10px 0 4px; }
.plan .price span { font-size: 16px; color: var(--muted); font-weight: 500; }
.plan .plan-note { color: var(--muted); font-size: 14px; margin-bottom: 20px; }
.plan ul { list-style: none; display: grid; gap: 11px; margin-bottom: 26px; }
.plan li { display: flex; gap: 10px; font-size: 15px; color: #d4d9e6; }
.plan li::before { content: '✓'; color: var(--coral-2); font-weight: 700; flex: none; }
.plan .btn { margin-top: auto; width: 100%; }
.pricing-foot { text-align: center; color: var(--muted-2); font-size: 14px; margin-top: 26px; }

/* ── Waitlist CTA ────────────────────────────────────────────────────── */
.waitlist .glass { padding: 56px 44px; text-align: center; position: relative; overflow: hidden; }
.waitlist h2 { font-size: clamp(28px, 4vw, 44px); margin-bottom: 14px; }
.waitlist p { color: var(--muted); font-size: 18px; max-width: 540px; margin: 0 auto 30px; }
#waitlist-form { display: flex; gap: 12px; max-width: 480px; margin: 0 auto; flex-wrap: wrap; }
#waitlist-form input {
  flex: 1; min-width: 220px; padding: 15px 20px; border-radius: 999px; font-size: 16px; font-family: var(--sans);
  background: rgba(255, 255, 255, 0.06); border: 1px solid var(--border-2); color: var(--fg);
}
#waitlist-form input::placeholder { color: var(--muted-2); }
#waitlist-form input:focus { outline: none; border-color: var(--coral-2); box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.2); }
.form-status { min-height: 22px; margin-top: 16px; color: var(--coral-2); font-size: 14.5px; font-weight: 500; }
.form-fine { color: var(--muted-2); font-size: 13px; margin-top: 6px; }

/* ── Prose (legal + support) ─────────────────────────────────────────── */
.main-prose { padding: 56px 0 88px; }
.prose { max-width: 820px; }
.prose h1 { font-size: clamp(30px, 5vw, 44px); margin-bottom: 8px; }
.prose h2 { font-size: 25px; margin: 40px 0 14px; padding-top: 18px; border-top: 1px solid var(--border); }
.prose h3 { font-size: 19px; margin: 26px 0 10px; }
.prose p, .prose li { color: #cdd3e0; }
.prose p { margin: 14px 0; }
.prose ul, .prose ol { margin: 14px 0; padding-left: 24px; }
.prose li { margin: 7px 0; }
.prose strong { color: var(--fg); }
.prose a { color: var(--coral-2); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--coral); }
.prose code { background: rgba(255, 255, 255, 0.08); padding: 2px 7px; border-radius: 6px; font-size: 0.9em; }
.prose blockquote { border-left: 3px solid var(--coral); padding: 4px 18px; margin: 18px 0; color: var(--muted); background: var(--glass); border-radius: 0 10px 10px 0; }
.prose hr { border: 0; border-top: 1px solid var(--border); margin: 32px 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 14.5px; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--border); padding: 10px 13px; text-align: left; }
.prose th { background: var(--glass-2); font-family: var(--display); }
.prose .meta { color: var(--muted-2); font-size: 14px; }

/* Support FAQ */
.faq { display: grid; gap: 14px; max-width: 820px; }
.faq details { padding: 4px 24px; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 0; font-family: var(--display); font-weight: 600; font-size: 18px; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--coral-2); font-size: 24px; transition: transform 0.2s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 20px; margin: 0; }
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.contact-card { padding: 26px; }
.contact-card h3 { font-size: 17px; margin-bottom: 6px; }
.contact-card a { color: var(--coral-2); font-weight: 600; }
.contact-card p { color: var(--muted); font-size: 14px; }

/* ── Footer ──────────────────────────────────────────────────────────── */
.site-footer { border-top: 1px solid var(--border); padding: 56px 0 36px; margin-top: 40px; background: var(--bg-2); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand p { color: var(--muted); font-size: 14.5px; margin-top: 14px; max-width: 320px; }
.footer-col h4 { font-family: var(--display); font-size: 14px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted-2); margin-bottom: 14px; }
.footer-col a { display: block; color: var(--muted); font-size: 15px; margin-bottom: 10px; }
.footer-col a:hover { color: var(--fg); }
.footer-base { display: flex; justify-content: space-between; gap: 16px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border); color: var(--muted-2); font-size: 13.5px; flex-wrap: wrap; }

/* ── Responsive ──────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .nav-links {
    position: fixed; inset: 68px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(7, 8, 13, 0.97); backdrop-filter: blur(14px); border-bottom: 1px solid var(--border);
    padding: 12px 24px 22px; transform: translateY(-130%); transition: transform 0.32s var(--ease); visibility: hidden;
  }
  .site-header.nav-open .nav-links { transform: none; visibility: visible; }
  .nav-links a { padding: 14px 0; border-bottom: 1px solid var(--border); }
  .nav-links .btn { margin-top: 14px; text-align: center; }
  .nav-toggle { display: flex; }
  .site-header.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .site-header.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .site-header.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hero-grid, .problem .glass { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .phone { width: 240px; }
  .features-grid, .shifts-grid, .pricing-grid, .stat-grid, .contact-cards { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  section { padding: 68px 0; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .features-grid, .shifts-grid, .pricing-grid, .stat-grid, .contact-cards, .footer-grid { grid-template-columns: 1fr; }
  .problem .glass, .waitlist .glass { padding: 32px 22px; }
  .hero-cta .btn { width: 100%; }
}
