:root {
  --bg: #0b0f14;
  --panel: #11161d;
  --muted: #0e1319;
  --text: #e6edf3;
  --text-dim: #9aa4af;
  --brand: #6aa7ff;
  --brand-strong: #4a90ff;
  --accent: #22c55e;
  --border: #202a36;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35), 0 2px 10px rgba(0, 0, 0, 0.25);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: radial-gradient(1200px 600px at 10% -10%, #0e1420, transparent 60%),
              radial-gradient(1000px 500px at 110% 10%, #0d1623, transparent 60%),
              var(--bg);
  line-height: 1.6;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(1.2) blur(8px);
  background: color-mix(in oklab, var(--bg), transparent 30%);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark { width: 24px; height: 24px; fill: var(--brand); }
.brand-name { font-weight: 700; letter-spacing: 0.3px; }
.nav { display: flex; align-items: center; gap: 18px; }
.nav a { color: var(--text-dim); text-decoration: none; font-weight: 500; }
.nav a:hover { color: var(--text); }

/* Mobile menu toggle */
.menu-toggle { display: none; background: var(--panel); border: 1px solid var(--border); color: var(--text); border-radius: 10px; width: 40px; height: 40px; align-items: center; justify-content: center; padding: 0; }
.menu-icon { width: 22px; height: 22px; fill: var(--text); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; border-radius: 10px; border: 1px solid var(--border); padding: 10px 14px; color: var(--text); background: linear-gradient(180deg, #111825, #0f1520); box-shadow: inset 0 1px 0 rgba(255,255,255,0.06); transition: transform .15s ease, background .2s ease, border-color .2s ease; }
.btn:hover { transform: translateY(-1px); border-color: color-mix(in oklab, var(--brand), white 10%); }
.btn:active { transform: translateY(0); }
.btn-sm { padding: 8px 12px; font-size: 14px; border-radius: 8px; }
.btn-lg { padding: 12px 18px; font-size: 16px; }
.btn-primary { background: linear-gradient(180deg, var(--brand), var(--brand-strong)); border-color: color-mix(in oklab, var(--brand), black 20%); color: #09111d; font-weight: 700; }
.btn-ghost { background: transparent; }
.btn-block { width: 100%; }

/* Sections */
.section { padding: 72px 0; }
.section-muted { background: linear-gradient(180deg, var(--muted), transparent); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-header { text-align: center; max-width: 720px; margin: 0 auto 36px; }
.section-header h2 { margin: 0 0 8px; font-size: clamp(22px, 2.6vw, 32px); }
.section-header p { margin: 0; color: var(--text-dim); }

/* Hero */
.hero { padding-top: 100px; }
.grid-2 { display: grid; grid-template-columns: 1.2fr 1fr; gap: 36px; align-items: center; }
.hero-title { font-size: clamp(28px, 5vw, 48px); line-height: 1.1; margin: 0 0 12px; }
.hero-subtitle { margin: 0 0 20px; color: var(--text-dim); font-size: clamp(16px, 2.2vw, 18px); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 6px 0 6px; }
.hero-note { color: var(--text-dim); font-size: 14px; margin-top: 6px; }

.hero-visual { display: grid; place-items: center; }
.mockup { width: min(520px, 100%); background: var(--panel); border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow); overflow: hidden; }
.mockup-header { display: flex; gap: 8px; padding: 10px; background: #0b1320; border-bottom: 1px solid var(--border); }
.mockup-header .dot { width: 10px; height: 10px; border-radius: 50%; background: #2a384b; }
.mockup-body { padding: 18px; display: grid; gap: 12px; }
.task { display: flex; align-items: center; gap: 12px; padding: 12px; border: 1px solid var(--border); border-radius: 12px; background: #0f1623; }
.task span { flex: 1; }
.task input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--brand); }
.task-done { opacity: 0.7; text-decoration: none; }

/* Features */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { background: var(--panel); border: 1px solid var(--border); padding: 18px; border-radius: 14px; box-shadow: var(--shadow); }
.feature .icon { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: rgba(106,167,255,0.12); border: 1px solid color-mix(in oklab, var(--brand), black 60%); margin-bottom: 10px; }
.feature .icon svg { width: 22px; height: 22px; fill: var(--brand); }
.feature h3 { margin: 0 0 6px; font-size: 18px; }
.feature p { margin: 0; color: var(--text-dim); }

/* Testimonials */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.testimonial { background: var(--panel); border: 1px solid var(--border); padding: 18px; border-radius: 14px; box-shadow: var(--shadow); display: grid; gap: 16px; }
.testimonial blockquote { margin: 0; font-size: 16px; line-height: 1.5; }
.testimonial figcaption { display: flex; align-items: center; gap: 12px; color: var(--text-dim); }
.testimonial img { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border); }
.testimonial strong { color: var(--text); display: block; }
.testimonial span { font-size: 13px; }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.plan { background: var(--panel); border: 1px solid var(--border); padding: 18px; border-radius: 14px; box-shadow: var(--shadow); position: relative; display: grid; gap: 12px; }
.plan-featured { border-color: color-mix(in oklab, var(--brand), white 12%); box-shadow: 0 12px 40px rgba(74, 144, 255, 0.25); transform: translateY(-2px); }
.badge { position: absolute; top: -10px; right: 14px; background: var(--brand); color: #09111d; font-weight: 700; padding: 6px 10px; border-radius: 999px; font-size: 12px; border: 1px solid color-mix(in oklab, var(--brand), black 20%); }
.plan-name { margin: 0; font-size: 18px; }
.plan-price { margin: -4px 0 6px; font-size: 28px; font-weight: 800; letter-spacing: -0.5px; }
.plan-price span { color: var(--text-dim); font-weight: 600; font-size: 14px; margin-left: 4px; }
.plan-features { list-style: none; padding: 0; margin: 0 0 6px; display: grid; gap: 6px; color: var(--text-dim); }

/* Footer */
.footer { border-top: 1px solid var(--border); background: #0a0f15; margin-top: 40px; }
.footer-inner { display: grid; grid-template-columns: 1fr auto auto; gap: 16px; align-items: center; padding: 20px 0; }
.footer-links { display: flex; gap: 16px; }
.footer a { color: var(--text-dim); text-decoration: none; }
.footer a:hover { color: var(--text); }
.social { display: flex; gap: 12px; }
.social-link { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 8px; background: var(--panel); border: 1px solid var(--border); }
.social-link svg { width: 18px; height: 18px; fill: var(--text-dim); }
.legal { text-align: center; color: var(--text-dim); font-size: 13px; padding: 10px 0 28px; border-top: 1px solid var(--border); }

/* Reveal Animations */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 960px) {
  .grid-2 { grid-template-columns: 1fr; }
  .hero { padding-top: 72px; }
  .menu-toggle { display: inline-flex; }
  .nav { position: absolute; right: 4%; top: 64px; display: grid; gap: 10px; background: var(--panel); border: 1px solid var(--border); padding: 10px; border-radius: 12px; box-shadow: var(--shadow); width: calc(92% - 8px); max-width: 420px; opacity: 0; transform: translateY(-8px); pointer-events: none; transition: opacity .2s ease, transform .2s ease; }
  .nav.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .nav a { padding: 10px 12px; border-radius: 8px; background: transparent; }
  .nav a.btn { background: linear-gradient(180deg, var(--brand), var(--brand-strong)); color: #09111d; border-color: color-mix(in oklab, var(--brand), black 20%); }
}

@media (max-width: 800px) {
  .features-grid, .testimonials-grid, .pricing-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; justify-items: center; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { transition: none; }
}

