/* Dark theme variables */
:root {
  --bg: #0b0f1a;           /* base */
  --surface: #0f172a;      /* cards/nav */
  --surface-2: #111827;    /* alt */
  --muted: #94a3b8;        /* slate-400 */
  --text: #e5e7eb;         /* slate-200 */
  --heading: #f8fafc;      /* slate-50 */
  --primary: #6366f1;      /* indigo-500 */
  --primary-2: #22d3ee;    /* cyan-400 */
  --border: #1f2937;       /* slate-800 */
  --ring: rgba(99, 102, 241, 0.35);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji";
  background: radial-gradient(1200px 800px at 80% -10%, rgba(34,211,238,0.06), transparent 60%),
              radial-gradient(900px 600px at 0% -20%, rgba(99,102,241,0.08), transparent 60%),
              var(--bg);
  color: var(--text);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: min(1120px, 92%); margin-inline: auto; }
.muted { color: var(--muted); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(15,23,42,0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; gap: 20px; padding: 14px 0; }
.brand .brand-mark { font-weight: 800; letter-spacing: 0.2px; background: linear-gradient(135deg, #fff, #c7cafa 40%, #a5b4fc 60%); -webkit-background-clip: text; background-clip: text; color: transparent; font-size: 20px; }
.brand .brand-mark.big { font-size: 28px; }

.nav { margin-left: auto; }
.nav-toggle { display: none; background: none; border: 1px solid var(--border); color: var(--text); padding: 6px 10px; border-radius: 8px; }
.nav-list { display: flex; gap: 18px; list-style: none; margin: 0; padding: 0; }
.nav-list a { color: var(--muted); font-weight: 500; }
.nav-list a:hover, .nav-list a.active { color: #fff; }
.header-cta { margin-left: 8px; }

/* Buttons */
.btn { appearance: none; border: none; cursor: pointer; font-weight: 600; border-radius: 12px; padding: 12px 18px; transition: transform .08s ease, box-shadow .2s ease, background .2s ease, color .2s ease; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: linear-gradient(135deg, var(--primary), var(--primary-2)); color: #0b1020; box-shadow: 0 10px 24px -10px var(--ring), inset 0 1px 0 rgba(255,255,255,0.25); }
.btn-primary:hover { filter: brightness(1.05); }
.btn-outline { background: transparent; color: var(--text); border: 1px solid var(--border); }
.btn-outline:hover { background: rgba(255,255,255,0.04); }
.btn-ghost { background: rgba(255,255,255,0.04); color: #fff; border: 1px solid rgba(255,255,255,0.05); }
.btn-ghost:hover { background: rgba(255,255,255,0.07); }
.btn-block { width: 100%; }

/* Hero */
.hero { padding: 84px 0; border-bottom: 1px solid var(--border); background: radial-gradient(900px 600px at 70% -20%, rgba(99,102,241,0.15), transparent 50%); }
.hero.compact { padding: 60px 0; }
.hero-title { font-size: clamp(36px, 6vw, 56px); line-height: 1.05; font-weight: 900; color: var(--heading); letter-spacing: -0.02em; text-align: center; }
.hero-sub { margin: 16px auto 0; color: var(--muted); max-width: 800px; text-align: center; }
.hero-cta { display: flex; gap: 12px; justify-content: center; margin-top: 28px; flex-wrap: wrap; }

/* Sections */
.section { padding: 72px 0; }
.section-alt { background: linear-gradient(to bottom, rgba(255,255,255,0.02), rgba(255,255,255,0.0)); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-title { font-size: clamp(24px, 4.5vw, 36px); font-weight: 800; color: #fff; letter-spacing: -0.01em; text-align: center; }
.section-sub { color: var(--muted); text-align: center; margin: 8px auto 30px; max-width: 760px; }

/* Feature grid */
.features-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; margin-top: 28px; }
.feature { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 22px; }
.feature .icon { font-size: 26px; }
.feature h3 { margin: 10px 0 6px; color: #fff; }
.feature p { color: var(--muted); margin: 0; }

/* Logos */
.logo-row { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 16px; list-style: none; padding: 0; margin: 20px 0 0; text-align: center; }
.logo-row li { color: #cbd5e1; opacity: .6; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 16px; }

/* Two column section */
.two-col { display: grid; grid-template-columns: 1.2fr .8fr; gap: 26px; align-items: start; }
.checklist { list-style: none; padding-left: 0; margin-top: 14px; }
.checklist li { position: relative; padding-left: 28px; margin: 12px 0; color: var(--text); }
.checklist li::before { content: "✔"; position: absolute; left: 0; top: 0; color: var(--primary-2); }

.cta-card { background: linear-gradient(180deg, rgba(99,102,241,0.08), rgba(34,211,238,0.08)); border: 1px solid var(--border); border-radius: 16px; padding: 22px; }
.cta-card h3 { margin: 0 0 6px; }
.cta-card p { margin: 0 0 16px; color: var(--muted); }

/* FAQs */
.faqs { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.faq { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 18px 20px; }
.faq h3 { margin: 0 0 8px; }
.faq p { margin: 0; color: var(--muted); }

/* Pricing plans */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.plan { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 22px; display: flex; flex-direction: column; }
.plan .badge { font-weight: 700; color: #fff; margin-bottom: 10px; }
.plan.popular { outline: 2px solid rgba(99,102,241,0.5); box-shadow: 0 25px 60px -35px var(--ring); }
.price-row { display: flex; align-items: baseline; gap: 8px; margin-bottom: 6px; }
.price { font-size: 36px; font-weight: 800; letter-spacing: -0.02em; }
.unit { color: var(--muted); font-size: 14px; font-weight: 600; }
.plan-list { list-style: none; padding: 0; margin: 10px 0 18px; }
.plan-list li { margin: 8px 0; position: relative; padding-left: 22px; color: var(--text); }
.plan-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--primary-2); }

/* Footer */
.site-footer { border-top: 1px solid var(--border); background: rgba(15,23,42,0.6); margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr repeat(4, minmax(0,1fr)); gap: 22px; padding: 36px 0; }
.footer-grid h4 { margin: 0 0 8px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.footnote { color: var(--muted); text-align: center; padding: 14px 0 26px; border-top: 1px solid var(--border); }

.hmh { background: linear-gradient(90deg, #a78bfa, #f59e0b, #fb7185); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 800; }

/* Responsive */
@media (max-width: 960px) {
  .features-grid, .faqs, .plans { grid-template-columns: 1fr 1fr; }
  .two-col { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .logo-row { grid-auto-flow: row; grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-toggle { display: inline-flex; }
  .nav-list { display: none; position: absolute; right: 4%; top: 60px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 10px; }
  .nav-list.open { display: grid; gap: 8px; }
}

