:root {
  --bg: #ffffff;
  --bg-alt: #f5f7fb;
  --panel: #ffffff;
  --panel-2: #f1f4fa;
  --line: #e4e8f1;
  --text: #0f1424;
  --muted: #5b6478;
  --brand: #5b4ef0;
  --brand-2: #0ea5c4;
  --accent: #10b981;
  --grad: linear-gradient(120deg, #6d5efc 0%, #22d3ee 55%, #34d399 100%);
  --radius: 16px;
  --shadow: 0 20px 50px -24px rgba(20, 30, 60, 0.22);
  --maxw: 1160px;
  --ghost-bg: #f4f6fb;
  --ghost-bg-hover: #eaeef7;
  --nav-bg: rgba(255, 255, 255, 0.75);
  --hair: #fafbfe;
  --code-bg: #0d0f18;
  --code-bar: #171a27;
  --code-line: #23273a;
  --code-text: #cdd3e8;
  color-scheme: light;
}
[data-theme="dark"] {
  --bg: #07080d;
  --bg-alt: #0d0f18;
  --panel: #12141f;
  --panel-2: #171a27;
  --line: #23273a;
  --text: #e8eaf2;
  --muted: #9aa0b8;
  --brand: #6d5efc;
  --brand-2: #22d3ee;
  --accent: #34d399;
  --shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.6);
  --ghost-bg: rgba(255, 255, 255, 0.04);
  --ghost-bg-hover: rgba(255, 255, 255, 0.08);
  --nav-bg: rgba(7, 8, 13, 0.72);
  --hair: rgba(255, 255, 255, 0.015);
  --code-bg: #0d0f18;
  --code-bar: #171a27;
  --code-line: #23273a;
  --code-text: #cdd3e8;
  color-scheme: dark;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background .3s ease, color .3s ease;
}
a { color: inherit; text-decoration: none; }
img, svg, video { max-width: 100%; height: auto; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: 999px; font-weight: 600; font-size: 15px;
  border: 1px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--grad); color: #06121a; box-shadow: 0 10px 30px -8px rgba(109, 94, 252, .6); }
.btn--ghost { background: var(--ghost-bg); border-color: var(--line); color: var(--text); }
.btn--ghost:hover { background: var(--ghost-bg-hover); }
.btn--lg { padding: 15px 28px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--link { background: transparent; border: none; color: var(--muted); padding: 8px 0 0; font-size: 13px; text-decoration: none; }
.btn--link:hover { color: var(--text); text-decoration: underline; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  background: var(--nav-bg);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background .3s ease;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 800; font-size: 19px; letter-spacing: -.02em; }
.brand__mark { color: var(--brand-2); font-size: 18px; filter: drop-shadow(0 0 8px rgba(34,211,238,.6)); }
.nav__links { display: flex; gap: 26px; font-size: 15px; color: var(--muted); }
.nav__links a { transition: color .15s ease; }
.nav__links a:hover { color: var(--text); }
.nav__cta { display: flex; gap: 10px; }
.nav__burger { display: none; background: none; border: none; color: var(--text); font-size: 22px; cursor: pointer; }

/* Hero */
.hero { position: relative; padding: 88px 0 0; overflow: hidden; }
.hero__bg {
  position: absolute; inset: -20% -10% auto -10%; height: 720px; z-index: 0;
  background:
    radial-gradient(600px 340px at 18% 20%, rgba(109,94,252,.30), transparent 70%),
    radial-gradient(560px 320px at 82% 8%, rgba(34,211,238,.22), transparent 70%),
    radial-gradient(500px 300px at 60% 60%, rgba(52,211,153,.14), transparent 70%);
  filter: blur(8px); pointer-events: none;
}
.hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; padding-bottom: 40px; }
.hero__copy, .hero__card { min-width: 0; }
.hero h1 { overflow-wrap: break-word; }
.pill {
  display: inline-block; padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 600;
  background: rgba(109,94,252,.12); border: 1px solid rgba(109,94,252,.35); color: #c7c0ff; margin-bottom: 22px;
}
.hero h1 { font-size: clamp(38px, 5.4vw, 62px); line-height: 1.04; letter-spacing: -.03em; font-weight: 900; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { color: var(--muted); font-size: 19px; margin: 22px 0 30px; max-width: 560px; }
.lede strong { color: var(--text); }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__stats { display: flex; gap: 34px; margin-top: 40px; flex-wrap: wrap; }
.hero__stats b { display: block; font-size: 34px; font-weight: 800; letter-spacing: -.02em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__stats span { font-size: 13.5px; color: var(--muted); }

/* Terminal card */
.hero__card { position: relative; }
.term { background: var(--code-bg); border: 1px solid var(--code-line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; max-width: 100%; min-width: 0; }
.term__bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: var(--code-bar); border-bottom: 1px solid var(--code-line); }
.term__bar i { width: 12px; height: 12px; border-radius: 50%; background: #3a3f55; }
.term__bar i:nth-child(1){ background:#ff5f57;} .term__bar i:nth-child(2){ background:#febc2e;} .term__bar i:nth-child(3){ background:#28c840;}
.term__bar span { margin-left: auto; font-size: 12.5px; color: #9aa0b8; font-family: ui-monospace, monospace; }
.term__body { padding: 20px; font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 14px; line-height: 1.7; color: var(--code-text); overflow-x: auto; }
.term__body .c { color: #6b7394; }
.term__body .s { color: #fca5a5; }
.term__body .g { color: var(--accent); font-weight: 700; }

/* Marquee */
.marquee { margin-top: 20px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; background: var(--hair); }
.marquee__track { display: flex; gap: 48px; white-space: nowrap; padding: 16px 0; width: max-content; animation: scroll 28s linear infinite; }
.marquee__track span { color: var(--muted); font-weight: 600; font-size: 15px; opacity: .8; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* Sections */
.section { padding: 96px 0; }
.section--alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section__head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-2); margin-bottom: 14px; }
.section__head h2 { font-size: clamp(28px, 3.6vw, 42px); letter-spacing: -.02em; font-weight: 800; line-height: 1.12; }
.section__head p { color: var(--muted); font-size: 18px; margin-top: 16px; }

/* Grids */
.grid { display: grid; gap: 22px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* Product cards */
.pcard { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; transition: transform .2s ease, border-color .2s ease; }
.pcard:hover { transform: translateY(-4px); border-color: rgba(109,94,252,.5); }
.pcard--featured { background: linear-gradient(180deg, rgba(109,94,252,.10), var(--panel)); border-color: rgba(109,94,252,.4); }
.pcard__badge { position: absolute; top: 18px; right: 18px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: var(--grad); color: #06121a; }
.pcard__icon { font-size: 34px; margin-bottom: 12px; }
.pcard h3 { font-size: 22px; letter-spacing: -.01em; margin-bottom: 8px; }
.pcard p { color: var(--muted); font-size: 15px; margin-bottom: 16px; }
.soon { font-size: 11px; font-weight: 700; color: var(--brand-2); border: 1px solid rgba(34,211,238,.4); padding: 2px 8px; border-radius: 999px; vertical-align: middle; margin-left: 6px; }
.pcard__link { font-weight: 600; color: var(--brand-2); }
.pcard__link--muted { color: var(--muted); }
.ticks { list-style: none; margin-bottom: 18px; }
.ticks li { position: relative; padding-left: 26px; font-size: 14.5px; color: var(--text); margin-bottom: 8px; }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--accent); font-weight: 800; }

/* Features */
.feature { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; transition: transform .2s ease, border-color .2s ease; }
.feature:hover { transform: translateY(-4px); border-color: rgba(34,211,238,.4); }
.feature__icon { font-size: 28px; margin-bottom: 10px; }
.feature h4 { font-size: 17px; margin-bottom: 6px; letter-spacing: -.01em; }
.feature p { color: var(--muted); font-size: 14px; }

/* Demo */
.section--demo { background: radial-gradient(800px 400px at 50% 0%, rgba(109,94,252,.10), transparent 70%), var(--bg); }
.videowrap {
  max-width: 940px; margin: 0 auto; border-radius: 20px; overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow); background: #000;
  position: relative;
}
.videowrap::before {
  content: ""; position: absolute; inset: 0; border-radius: 20px; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.04);
}
.videowrap video { display: block; width: 100%; height: auto; }
.demo__chips { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }
.demo__chips span { font-size: 13.5px; color: var(--text); background: var(--panel-2); border: 1px solid var(--line); padding: 8px 15px; border-radius: 999px; }

/* Steps */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: s; }
.steps li { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; position: relative; }
.steps__n { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 12px; background: var(--grad); color: #06121a; font-weight: 800; font-size: 18px; margin-bottom: 14px; }
.steps h4 { font-size: 17px; margin-bottom: 6px; }
.steps p { color: var(--muted); font-size: 14px; }

/* Pricing */
.pricing .plan { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; display: flex; flex-direction: column; }
.plan--pop { border-color: rgba(109,94,252,.5); background: linear-gradient(180deg, rgba(109,94,252,.10), var(--panel)); position: relative; }
.plan__tag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); font-size: 12px; font-weight: 700; padding: 5px 14px; border-radius: 999px; background: var(--grad); color: #06121a; }
.plan h3 { font-size: 20px; margin-bottom: 6px; }
.plan__price { font-size: 40px; font-weight: 800; letter-spacing: -.02em; margin: 8px 0; }
.plan__price span { font-size: 16px; color: var(--muted); font-weight: 500; }
.plan p { color: var(--muted); font-size: 14.5px; margin-bottom: 18px; }
.plan .ticks { flex: 1; }

/* CTA */
.cta { padding: 96px 0; background: linear-gradient(120deg, rgba(109,94,252,.14), rgba(34,211,238,.10)); border-top: 1px solid var(--line); }
.cta__inner { text-align: center; max-width: 640px; }
.cta h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 800; letter-spacing: -.02em; }
.cta p { color: var(--muted); font-size: 18px; margin: 14px 0 28px; }
.cta__form { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cta__form input { flex: 1; min-width: 240px; max-width: 340px; padding: 15px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--panel); color: var(--text); font-size: 15px; font-family: inherit; }
.cta__form input:focus { outline: none; border-color: var(--brand); }
.cta__msg { display: block; margin-top: 14px; color: var(--accent); font-weight: 600; min-height: 20px; }
.cta__contact { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; margin-top: 22px; font-size: 15.5px; font-weight: 600; }
.cta__contact a { color: var(--text); transition: color .15s ease; }
.cta__contact a:hover { color: var(--brand); }
.cta__dot { color: var(--muted); }

/* Footer */
.footer { background: var(--bg-alt); border-top: 1px solid var(--line); padding: 56px 0 26px; }
.footer__inner { display: grid; grid-template-columns: 1.4fr 2fr; gap: 40px; }
.footer__brand p { color: var(--muted); font-size: 14.5px; margin-top: 12px; max-width: 320px; }
.footer__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.footer__cols h5 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 14px; }
.footer__cols a { display: block; color: var(--text); font-size: 14.5px; margin-bottom: 9px; opacity: .85; }
.footer__cols a:hover { opacity: 1; color: var(--brand-2); }
.footer__bottom { display: flex; justify-content: space-between; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13.5px; flex-wrap: wrap; gap: 10px; }

/* Reveal animation */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
[data-reveal].in { opacity: 1; transform: none; }

/* Hide mobile-only CTA on desktop */
.nav__mobilecta { display: none; }

/* Responsive */
@media (max-width: 960px) {
  .hero__inner { grid-template-columns: minmax(0, 1fr); }
  .hero__card { order: -1; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .nav__links { display: none; }
  .nav__cta .btn { display: none; }          /* hide text buttons in the top bar */
  .nav__cta { display: flex; gap: 8px; }     /* keep the theme toggle visible */
  .nav__burger { display: block; }
  .nav__links.open {
    display: flex; position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; background: var(--bg-alt);
    border-bottom: 1px solid var(--line); padding: 18px 24px; gap: 14px;
    box-shadow: var(--shadow);
  }
  .nav__links.open a { padding: 6px 0; font-size: 16px; }
  .nav__mobilecta { display: inline-flex; justify-content: center; margin-top: 6px; }
  .nav__links.open a.nav__mobilecta { color: #06121a; padding: 13px; font-size: 15px; }
  .grid--3, .grid--4, .steps { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: repeat(2, 1fr); }
  .hero__stats { gap: 22px 28px; }
  .section { padding: 60px 0; }
  .hero { padding-top: 56px; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }
  .cta__form { flex-direction: column; align-items: stretch; }
  .cta__form input { max-width: none; min-width: 0; width: 100%; }
  .cta__form .btn { width: 100%; }
  .modal { padding: 14px; }
  .modal__card { padding: 22px 18px; }
  .term__body { font-size: 12.5px; padding: 16px; }
}
@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .footer__cols { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; }
  .hero__stats { gap: 18px; }
  .hero__stats b { font-size: 28px; }
  .section__head { margin-bottom: 40px; }
  .demo__chips span { font-size: 12.5px; padding: 7px 12px; }
  .cta__contact { flex-direction: column; gap: 8px; }
  .cta__dot { display: none; }
  .plan { padding: 26px 20px; }
}

/* Theme toggle */
.theme-toggle {
  width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--ghost-bg); color: var(--text); font-size: 17px; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .2s ease, transform .15s ease;
}
.theme-toggle:hover { background: var(--ghost-bg-hover); transform: translateY(-2px); }

/* Pricing extras */
.plan__who { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--brand-2); margin-bottom: 10px; }
.pricing__note { max-width: 760px; margin: 30px auto 0; text-align: center; color: var(--muted); font-size: 14.5px; }
.pricing__note { padding: 16px 22px; border: 1px dashed var(--line); border-radius: var(--radius); background: var(--hair); }

/* Modal */
.modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 24px; }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(4,6,12,.6); backdrop-filter: blur(4px); }
.modal__card {
  position: relative; z-index: 1; width: 100%; max-width: 620px; max-height: 88vh; overflow-y: auto;
  background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 30px; box-shadow: var(--shadow);
}
.modal__x { position: absolute; top: 14px; right: 16px; background: none; border: none; color: var(--muted); font-size: 26px; line-height: 1; cursor: pointer; }
.modal__x:hover { color: var(--text); }
.modal__card h3 { font-size: 23px; letter-spacing: -.01em; }
.modal__sub { color: var(--muted); font-size: 14.5px; margin: 8px 0 20px; }
.code { border: 1px solid var(--code-line); border-radius: 12px; overflow: hidden; margin-bottom: 16px; background: var(--code-bg); }
.code__bar { display: flex; align-items: center; justify-content: space-between; padding: 9px 14px; background: var(--code-bar); border-bottom: 1px solid var(--code-line); font-size: 12.5px; color: #9aa0b8; font-family: ui-monospace, monospace; }
.code__copy { background: rgba(255,255,255,.06); border: 1px solid var(--code-line); color: #cdd3e8; font-size: 12px; padding: 4px 10px; border-radius: 7px; cursor: pointer; font-family: inherit; }
.code__copy:hover { background: rgba(255,255,255,.12); }
.code pre { margin: 0; padding: 16px; overflow-x: auto; }
.code code { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 13px; line-height: 1.7; color: var(--code-text); white-space: pre; }
