:root {
  --bg: #0a0d18;
  --bg2: #0e1224;
  --panel: rgba(255, 255, 255, 0.045);
  --ink: #f2f4ff;
  --muted: #9aa3c0;
  --line: rgba(255, 255, 255, 0.1);
  --violet: #7c5cff;
  --cyan: #00d4ff;
  --grad: linear-gradient(135deg, #7c5cff, #00d4ff);
  --sans: "Space Grotesk", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
  --wrap: 1180px;
  --r: 18px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg); color: var(--ink);
  font-family: var(--body); font-size: 16.5px; line-height: 1.65;
  overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 800px; }
h1, h2, h3 { font-family: var(--sans); letter-spacing: -0.02em; line-height: 1.08; }

/* nav */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; backdrop-filter: blur(16px); background: rgba(10, 13, 24, 0.75); border-bottom: 1px solid var(--line); }
.nav-inner { max-width: var(--wrap); margin: 0 auto; padding: 14px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-family: var(--sans); font-weight: 700; font-size: 19px; }
.logo-mark { width: 34px; height: 34px; border-radius: 10px; background: var(--grad); display: grid; place-items: center; font-weight: 700; color: #fff; font-size: 17px; }
.demo-pill { font-size: 10px; font-weight: 700; letter-spacing: 0.14em; border: 1px solid var(--cyan); color: var(--cyan); padding: 3px 9px; border-radius: 999px; }
.nav-links { display: flex; gap: 26px; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 15px; }
.nav-links a:hover { color: var(--ink); }
.nav-right { display: flex; gap: 10px; }

/* buttons */
.btn { display: inline-block; text-decoration: none; font-weight: 600; font-size: 15px; padding: 13px 26px; border-radius: 12px; border: 1px solid transparent; transition: transform 0.16s ease, box-shadow 0.16s ease; cursor: pointer; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn-grad { background: var(--grad); color: #fff; box-shadow: 0 8px 28px rgba(124, 92, 255, 0.35); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: var(--panel); }
.btn-small { padding: 9px 18px; font-size: 14px; border-radius: 10px; }
.btn-big { padding: 17px 42px; font-size: 17px; border-radius: 14px; }

/* hero */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: 140px 0 80px; overflow: hidden; }
.orb { position: absolute; border-radius: 50%; filter: blur(110px); opacity: 0.5; pointer-events: none; }
.orb-1 { width: 520px; height: 520px; background: #7c5cff; top: -160px; right: -120px; }
.orb-2 { width: 420px; height: 420px; background: #00d4ff; bottom: -160px; left: -120px; opacity: 0.3; }
.eyebrow { font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--cyan); margin-bottom: 24px; font-weight: 600; }
.hero h1 { font-size: clamp(46px, 8vw, 104px); font-weight: 700; margin-bottom: 24px; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { color: var(--muted); font-size: clamp(16px, 2vw, 20px); max-width: 620px; margin-bottom: 34px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 60px; }
.stats { display: flex; gap: 56px; flex-wrap: wrap; }
.stats div { display: grid; gap: 4px; }
.stats strong { font-family: var(--sans); font-size: 34px; }
.stats span { color: var(--muted); font-size: 14px; }

/* sections */
.section { padding: 100px 0; }
.section.alt { background: var(--bg2); }
.kicker { font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--cyan); font-weight: 700; margin-bottom: 16px; }
.section h2 { font-size: clamp(32px, 5vw, 60px); font-weight: 700; margin-bottom: 14px; }
.section .lede { margin-bottom: 40px; }

/* tabs + services */
.tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 34px; }
.tab { background: var(--panel); border: 1px solid var(--line); color: var(--muted); padding: 10px 22px; border-radius: 999px; font-size: 14px; font-weight: 600; cursor: pointer; font-family: var(--sans); }
.tab.active, .tab:hover { background: var(--grad); color: #fff; border-color: transparent; }
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.svc { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 28px 24px; display: flex; flex-direction: column; gap: 10px; transition: transform 0.18s ease, border-color 0.18s ease; }
.svc:hover { transform: translateY(-4px); border-color: rgba(124, 92, 255, 0.6); }
.svc.hidden { display: none; }
.svc-ico { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-weight: 700; font-family: var(--sans); font-size: 18px; color: #fff; margin-bottom: 6px; }
.ig { background: linear-gradient(135deg, #f9ce34, #ee2a7b, #6228d7); }
.yt { background: linear-gradient(135deg, #ff4e45, #b31217); }
.tt { background: linear-gradient(135deg, #25f4ee, #010101 60%, #fe2c55); }
.tg { background: linear-gradient(135deg, #37aee2, #1e96c8); }
.svc h3 { font-size: 18px; }
.svc p { color: var(--muted); font-size: 14.5px; }
.svc .rate { color: var(--muted); }
.svc .rate strong { color: var(--ink); font-size: 19px; }
.svc .btn { margin-top: auto; align-self: flex-start; }

/* steps + features */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 70px; }
.step { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 30px 26px; }
.step-no { font-family: var(--sans); font-weight: 700; font-size: 15px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; letter-spacing: 0.1em; margin-bottom: 12px; }
.step h3 { font-size: 19px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 14.5px; }
.feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feat { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 28px 26px; }
.feat-ico { font-size: 30px; margin-bottom: 12px; }
.feat h3 { font-size: 18px; margin-bottom: 6px; }
.feat p { color: var(--muted); font-size: 14.5px; }

/* pricing table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); }
table { width: 100%; border-collapse: collapse; min-width: 680px; }
th, td { padding: 18px 22px; text-align: left; border-bottom: 1px solid var(--line); font-size: 15px; }
thead th { color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: 0.1em; }
tbody tr:last-child td { border-bottom: none; }
tbody tr:hover { background: rgba(124, 92, 255, 0.06); }
.tag { background: rgba(0, 212, 255, 0.12); color: var(--cyan); padding: 4px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; }

/* quotes */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.quote { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 30px 28px; }
.quote blockquote { font-family: var(--sans); font-size: 18px; line-height: 1.45; margin-bottom: 16px; }
.quote figcaption { color: var(--muted); font-size: 14px; }
.quote figcaption span { color: var(--cyan); }

/* faq */
.faq details { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; margin-bottom: 12px; overflow: hidden; }
.faq summary { padding: 20px 24px; cursor: pointer; font-family: var(--sans); font-weight: 600; font-size: 16.5px; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; color: var(--cyan); }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 24px 22px; color: var(--muted); }

/* cta + footer */
.cta { text-align: center; padding: 120px 0; position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; width: 640px; height: 640px; border-radius: 50%; background: #7c5cff; filter: blur(140px); opacity: 0.35; top: 50%; left: 50%; transform: translate(-50%, -50%); pointer-events: none; }
.cta h2 { font-size: clamp(40px, 7vw, 88px); margin-bottom: 18px; position: relative; }
.cta .lede { margin: 0 auto 34px; position: relative; }
.cta .btn-big { position: relative; }
.fine { color: var(--muted); font-size: 14px; margin-top: 18px; position: relative; }
.footer { border-top: 1px solid var(--line); padding: 30px 0; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; }
.footer p { color: var(--muted); font-size: 14px; }
.footer nav { display: flex; gap: 20px; }
.footer nav a { color: var(--muted); text-decoration: none; font-size: 14px; }
.footer nav a:hover { color: var(--ink); }

/* reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

@media (max-width: 1000px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .feats, .quotes { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .svc-grid, .steps, .feats, .quotes { grid-template-columns: 1fr; }
  .section { padding: 70px 0; }
  .stats { gap: 28px; }
}
