:root {
  --bg: #0a0a0c;
  --bg-raised: #121217;
  --bg-card: #16161d;
  --border: #25252f;
  --text: #f2f3f5;
  --muted: #9a9ca3;
  --accent: #2878ff;
  --accent-hover: #4a8fff;
  --accent-soft: rgba(40, 120, 255, 0.12);
  --radius: 14px;
  --max: 1120px;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }
img, svg { display: block; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(10, 10, 12, 0.85); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; font-size: 1.1rem; }
.brand:hover { color: var(--text); }
.brand img { width: 34px; height: 34px; border-radius: 8px; }
.nav { display: flex; align-items: center; gap: 24px; }
.nav a:not(.btn) { color: var(--muted); font-size: 0.95rem; }
.nav a:not(.btn):hover { color: var(--text); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 18px; border-radius: 10px; font-weight: 600; font-size: 0.95rem; border: 1px solid transparent; transition: background 0.15s, border-color 0.15s; cursor: pointer; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); color: #fff; }
.btn-ghost { border-color: var(--border); color: var(--text); }
.btn-ghost:hover { border-color: var(--muted); color: var(--text); }
.btn-lg { padding: 14px 24px; font-size: 1rem; }
.btn[aria-disabled="true"] { opacity: 0.6; cursor: default; }

/* Hero */
.hero { padding: 96px 0 72px; text-align: center; background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(40, 120, 255, 0.18), transparent 70%); }
.hero-banner { width: 100%; max-width: 1000px; height: auto; margin: -40px auto 36px; --fade-x: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent); --fade-y: linear-gradient(to bottom, transparent, #000 18%, #000 82%, transparent); -webkit-mask-image: var(--fade-x), var(--fade-y); -webkit-mask-composite: source-in; mask-image: var(--fade-x), var(--fade-y); mask-composite: intersect; }
.eyebrow { display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: 0.85rem; font-weight: 600; margin-bottom: 20px; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.1; letter-spacing: -0.02em; max-width: 780px; margin: 0 auto 20px; }
.hero p { color: var(--muted); font-size: 1.15rem; max-width: 620px; margin: 0 auto 32px; }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Sections */
section { padding: 72px 0; scroll-margin-top: 64px; }
.section-head { text-align: center; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); letter-spacing: -0.01em; margin-bottom: 10px; }
.section-head p { color: var(--muted); max-width: 580px; margin: 0 auto; }

/* Features */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }
.feature { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.feature .icon { width: 40px; height: 40px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-size: 1.25rem; margin-bottom: 14px; }
.feature h3 { font-size: 1.05rem; margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: 0.95rem; }
.soon { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); border: 1px solid var(--border); border-radius: 6px; padding: 1px 6px; margin-left: 6px; vertical-align: middle; }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: stretch; }
@media (max-width: 1000px) { .plans { grid-template-columns: repeat(2, 1fr); row-gap: 28px; } }
@media (max-width: 560px) { .plans { grid-template-columns: 1fr; } }
.plan { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 24px; display: flex; flex-direction: column; }
.plan.featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 20px 50px -20px rgba(40, 120, 255, 0.4); position: relative; }
.plan.featured::before { content: "Most popular"; position: absolute; top: -12px; left: 24px; background: var(--accent); color: #fff; font-size: 0.75rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.plan h3 { font-size: 1.1rem; margin-bottom: 4px; }
.plan .tagline { color: var(--muted); font-size: 0.9rem; margin-bottom: 18px; min-height: 2.8em; }
.price { font-size: 2.4rem; font-weight: 800; letter-spacing: -0.02em; }
.price span { font-size: 0.95rem; font-weight: 500; color: var(--muted); }
.plan ul { list-style: none; padding: 0; margin: 22px 0 26px; flex: 1; }
.plan li { padding: 6px 0 6px 26px; position: relative; font-size: 0.93rem; color: #d6d7db; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.plan .btn { width: 100%; }
.pricing-note { text-align: center; color: var(--muted); font-size: 0.9rem; margin-top: 28px; }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--border); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin-top: 10px; }

/* CTA */
.cta { text-align: center; background: var(--bg-raised); border: 1px solid var(--border); border-radius: 20px; padding: 56px 24px; }
.cta h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 12px; }
.cta p { color: var(--muted); margin-bottom: 28px; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 40px 0; margin-top: 40px; color: var(--muted); font-size: 0.9rem; }
.site-footer .wrap { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer-brand { display: flex; flex-direction: column; gap: 6px; }
.footer-brand img { width: 220px; height: auto; mix-blend-mode: lighten; }
.site-footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--text); }

/* Legal pages */
.legal { max-width: 760px; margin: 0 auto; padding: 64px 20px 32px; }
.legal h1 { font-size: 2.2rem; letter-spacing: -0.01em; margin-bottom: 6px; }
.legal .updated { color: var(--muted); margin-bottom: 36px; }
.legal h2 { font-size: 1.25rem; margin: 32px 0 10px; }
.legal p, .legal li { color: #c9cace; margin-bottom: 10px; }
.legal ul { padding-left: 22px; margin-bottom: 10px; }

@media (max-width: 720px) {
  .nav a:not(.btn) { display: none; }
  .hero { padding: 64px 0 48px; }
  section { padding: 56px 0; }
}
