:root {
  --bg: #031126;
  --bg-deep: #020b18;
  --panel: rgba(11, 29, 55, 0.72);
  --panel-strong: rgba(8, 24, 48, 0.9);
  --line: rgba(148, 185, 227, 0.16);
  --text: #f7f9ff;
  --muted: #aeb9ca;
  --pink: #f233cb;
  --purple: #9f4cff;
  --blue: #1f8fff;
  --cyan: #17d6ef;
  --green: #28e3a5;
  --radius: 18px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 68% 8%, rgba(87, 46, 188, 0.11), transparent 26%),
    radial-gradient(circle at 15% 18%, rgba(15, 96, 194, 0.09), transparent 30%),
    linear-gradient(180deg, #041229 0%, #031126 58%, #020b18 100%);
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }

::selection { background: rgba(242, 51, 203, 0.35); color: white; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }

.page-noise {
  position: fixed; inset: 0; pointer-events: none; opacity: 0.08; z-index: 999;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.18'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.container { width: min(calc(100% - 56px), var(--container)); margin-inline: auto; }
.section-space { padding: 74px 0 28px; }
.section { padding: 34px 0; }

.site-header {
  position: sticky; top: 0; z-index: 100; height: 76px;
  background: rgba(3, 17, 38, 0.78); backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 10px 40px rgba(0,0,0,.18); }
.nav-wrap { height: 100%; display: flex; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-size: 31px; letter-spacing: -1.8px; }
.brand-text { color: #fff; }
.brand-mark { position: relative; width: 45px; height: 33px; display: inline-block; }
.brand-mark i, .brand-mark b, .brand-mark em { position: absolute; display: block; font-style: normal; }
.brand-mark i { left: 0; top: 2px; width: 42px; height: 9px; border-radius: 9px 9px 2px 2px; background: linear-gradient(90deg, var(--green), #58b8ff 45%, var(--pink)); box-shadow: 0 0 17px rgba(145, 72, 255, .35); }
.brand-mark i::before { content: ""; position: absolute; left: 0; top: 0; width: 9px; height: 31px; border-radius: 9px 2px 2px 2px; background: linear-gradient(180deg, #6ce6df, var(--green)); }
.brand-mark b { left: 20px; top: 14px; width: 8px; height: 19px; background: linear-gradient(180deg, #8bd7ff, #4f86ff); }
.brand-mark em { right: 0; bottom: 0; width: 8px; height: 8px; background: linear-gradient(180deg, #9ae1ff, #6c54ef); box-shadow: 0 0 10px rgba(103, 95, 255, .5); }
.main-nav { margin-left: auto; display: flex; align-items: center; gap: 42px; }
.main-nav a { position: relative; color: #eef3fb; font-size: 14px; font-weight: 500; padding: 28px 0 24px; }
.main-nav a::after { content: ""; position: absolute; left: 50%; bottom: 18px; width: 0; height: 2px; transform: translateX(-50%); background: linear-gradient(90deg, var(--pink), var(--cyan)); transition: width .25s ease; }
.main-nav a:hover::after, .main-nav a.active::after { width: 34px; }
.nav-cta { margin-left: 28px; }
.mobile-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.03); color: white; }
.mobile-toggle span { display: block; width: 20px; height: 2px; margin: 5px auto; background: currentColor; transition: transform .25s ease; }

.btn { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 14px; padding: 0 22px; border-radius: 9px; font-weight: 700; font-size: 14px; border: 1px solid transparent; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: white; background: linear-gradient(115deg, #ef25c5 0%, #b044ff 38%, #2bd6f0 72%, #2adf9f 100%); box-shadow: 0 10px 34px rgba(191, 54, 235, .14); }
.btn-primary:hover { box-shadow: 0 12px 38px rgba(191, 54, 235, .27); }
.btn-secondary { background: rgba(5,17,36,.56); border-color: rgba(176,197,228,.35); color: #f5f7fb; }
.btn-secondary:hover { border-color: rgba(46,215,237,.6); }

.hero-grid { display: grid; grid-template-columns: .93fr 1.07fr; align-items: center; min-height: 430px; gap: 36px; }
.eyebrow { display: inline-flex; gap: 8px; align-items: center; padding: 7px 12px; border: 1px solid rgba(76,160,225,.18); border-radius: 7px; color: #4ec7ff; font-size: 11px; font-weight: 700; letter-spacing: .75px; text-transform: uppercase; background: rgba(3,15,33,.55); }
.eyebrow span:nth-child(2) { color: var(--pink); }
.eyebrow span:nth-child(4) { color: var(--green); }
.hero h1 { margin: 20px 0 16px; font-size: clamp(48px, 5.2vw, 72px); line-height: .98; letter-spacing: -4.5px; }
.gradient-text { background: linear-gradient(90deg, #26d2d0, #4f8bff 46%, #d446f0 86%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-copy > p { max-width: 560px; margin: 0; color: var(--muted); font-size: 16px; line-height: 1.65; }
.hero-actions { display: flex; gap: 16px; margin-top: 30px; flex-wrap: wrap; }
.play-dot { width: 21px; height: 21px; display: grid; place-items: center; border: 1px solid rgba(238,62,220,.55); border-radius: 50%; color: var(--pink); font-size: 8px; }

.hero-art { position: relative; min-height: 430px; isolation: isolate; display: grid; place-items: center; }
.hero-art::before { content: ""; position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(70,47,225,.2), rgba(23,131,236,.08) 42%, transparent 66%); filter: blur(8px); }
.hero-logo-stage { position: absolute; z-index: 5; width: 245px; height: 214px; display: grid; place-items: center; transform: translateY(-18px); filter: drop-shadow(0 16px 34px rgba(73,92,255,.28)); }
.hero-logo-mark { position: relative; width: 235px; height: 205px; }
.hm-left, .hm-mid, .hm-dot, .hm-top { position: absolute; display: block; }
.hm-top { top: 0; left: 0; width: 235px; height: 44px; border-radius: 34px 8px 0 0; background: linear-gradient(90deg, #25dfca 0%, #4bb8ff 36%, #ca4af7 68%, #ff51cc 100%); box-shadow: 0 0 34px rgba(213,72,248,.35); }
.hm-left { top: 12px; left: 0; width: 44px; height: 190px; border-radius: 30px 0 0 0; background: linear-gradient(180deg, #4ec9ff 0%, #23dbc5 90%); }
.hm-mid { bottom: 0; left: 116px; width: 34px; height: 132px; background: linear-gradient(180deg, #a66cff 0%, #2aa7ff 55%, #46a7fb 100%); box-shadow: inset 2px 0 0 rgba(255,255,255,.25); }
.hm-dot { bottom: 8px; right: 0; width: 25px; height: 25px; background: linear-gradient(180deg, #a989ff, #6a6be9); box-shadow: inset 1px 1px 0 rgba(255,255,255,.35), 0 0 20px rgba(138,104,255,.4); }
.stage-disc { position: absolute; z-index: 3; top: 285px; width: 330px; height: 76px; border-radius: 50%; background: linear-gradient(180deg, rgba(40,103,177,.8), rgba(9,17,41,.97) 60%); border: 1px solid rgba(102,123,255,.55); box-shadow: 0 14px 34px rgba(0,0,0,.34), inset 0 4px 15px rgba(85,207,255,.23), 0 0 35px rgba(102,54,245,.2); }
.stage-disc::after { content: ""; position: absolute; inset: 13px 24px 27px; border-radius: 50%; background: linear-gradient(90deg, rgba(40,230,188,.36), rgba(62,146,255,.48), rgba(233,59,221,.43)); filter: blur(7px); }
.stage-ring { position: absolute; z-index: 2; top: 312px; border: 1px solid rgba(117,78,255,.72); border-radius: 50%; height: 88px; transform: rotateX(63deg); }
.ring-1 { width: 390px; box-shadow: 0 0 14px rgba(89,96,255,.2); }
.ring-2 { width: 460px; height: 108px; border-color: rgba(59,134,255,.46); }
.ring-3 { width: 540px; height: 132px; border-color: rgba(82,57,255,.25); }
.orbit { position: absolute; z-index: 1; width: 520px; height: 160px; border: 1px solid rgba(136,72,255,.54); border-radius: 50%; transform: rotate(-8deg); box-shadow: 0 0 18px rgba(217, 53, 255, .05); }
.orbit-a { top: 62px; }
.orbit-b { top: 142px; transform: rotate(13deg); border-color: rgba(33,134,255,.38); }
.orbit-c { top: 196px; width: 590px; height: 160px; transform: rotate(-15deg); border-color: rgba(128,70,255,.32); }
.stars { position: absolute; inset: 20px 4% 80px; background-image:
  radial-gradient(circle at 15% 12%, #40dfff 0 1.5px, transparent 2px), radial-gradient(circle at 82% 18%, #e735ff 0 1.7px, transparent 2px), radial-gradient(circle at 90% 55%, #55ccff 0 1.3px, transparent 2px), radial-gradient(circle at 35% 62%, #fc46e1 0 1.5px, transparent 2px), radial-gradient(circle at 67% 40%, #855cff 0 1.5px, transparent 2px), radial-gradient(circle at 57% 6%, #39a8ff 0 1.4px, transparent 2px); opacity: .9; }

.stats-bar { margin-top: 24px; min-height: 84px; display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats-bar article { display: flex; align-items: center; justify-content: center; gap: 16px; position: relative; }
.stats-bar article:not(:last-child)::after { content: ""; position: absolute; right: 0; height: 45%; width: 1px; background: var(--line); }
.stat-icon { font-size: 28px; color: #d9e1ec; }
.stats-bar strong { display: block; font-size: 20px; }
.stats-bar small { display: block; margin-top: 4px; color: var(--muted); font-size: 11px; }

.section-heading { text-align: center; margin: 0 auto 28px; }
.section-heading h2 { margin: 0; font-size: 27px; letter-spacing: -.8px; }
.heading-line { display: block; width: 45px; height: 2px; margin: 9px auto 0; background: linear-gradient(90deg, var(--pink), var(--cyan)); }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.service-card { min-height: 260px; padding: 30px 24px 24px; text-align: center; background: linear-gradient(180deg, rgba(13,32,59,.82), rgba(6,20,41,.84)); border: 1px solid rgba(125,162,215,.18); border-radius: var(--radius); box-shadow: var(--shadow); transition: transform .25s ease, border-color .25s ease, background .25s ease; }
.service-card:hover { transform: translateY(-6px); border-color: rgba(130,88,255,.42); background: linear-gradient(180deg, rgba(16,37,69,.96), rgba(7,22,44,.95)); }
.service-icon { height: 68px; display: grid; place-items: center; font-size: 43px; font-weight: 700; }
.icon-green { color: var(--green); text-shadow: 0 0 24px rgba(40,227,165,.3); }
.icon-pink, .icon-magenta { color: #ef45da; text-shadow: 0 0 24px rgba(239,69,218,.3); }
.icon-cyan { color: var(--cyan); text-shadow: 0 0 24px rgba(23,214,239,.3); }
.service-card h3 { margin: 16px 0 10px; font-size: 17px; }
.service-card p { min-height: 48px; margin: 0; color: var(--muted); line-height: 1.55; font-size: 13px; }
.service-card a { display: inline-flex; gap: 8px; margin-top: 22px; color: #df5be8; font-size: 13px; }

.product-panel { display: grid; grid-template-columns: 1.03fr .97fr; gap: 34px; padding: 30px; border: 1px solid rgba(139,75,255,.55); border-radius: 18px; background: radial-gradient(circle at 8% 50%, rgba(90,42,151,.12), transparent 40%), linear-gradient(110deg, rgba(12,28,56,.94), rgba(4,20,44,.9)); box-shadow: inset 0 1px 0 rgba(255,255,255,.02), var(--shadow); }
.kicker { color: #bf58f7; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .75px; }
.product-copy h2 { margin: 8px 0 10px; font-size: 29px; letter-spacing: -.8px; }
.product-copy > p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.feature-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; margin: 24px 0; }
.feature-row > div { min-height: 79px; padding: 12px 8px; border: 1px solid rgba(129,160,203,.14); border-radius: 9px; background: rgba(5,18,38,.4); text-align: center; }
.feature-row span { display: block; color: #35cfff; font-size: 22px; margin-bottom: 5px; }
.feature-row b { display: block; font-size: 10px; }
.feature-row small { display: block; color: #8f9cae; font-size: 8px; margin-top: 5px; }
.product-actions { display: flex; gap: 13px; flex-wrap: wrap; }
.code-card { position: relative; overflow: hidden; min-height: 300px; border: 1px solid rgba(108,147,204,.23); border-radius: 14px; background: #020d1f; box-shadow: 0 20px 50px rgba(0,0,0,.2); }
.code-tabs { height: 56px; display: flex; gap: 28px; align-items: end; padding: 0 22px; border-bottom: 1px solid rgba(114,150,197,.16); }
.code-tabs button { position: relative; height: 100%; padding: 0; border: 0; background: transparent; color: #bac5d3; cursor: pointer; font-size: 12px; }
.code-tabs button.active { color: white; }
.code-tabs button.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--cyan); }
.code-card pre { margin: 0; padding: 28px 24px 52px; overflow: auto; color: #e6edf6; font-size: 13px; line-height: 1.9; }
.code-card code { font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace; white-space: pre-wrap; }
.code-card .token-string { color: #9ad83b; }
.code-card .token-key { color: #62c6ff; }
.copy-btn { position: absolute; right: 16px; bottom: 14px; width: 38px; height: 36px; border: 1px solid rgba(125,156,200,.2); border-radius: 8px; background: rgba(255,255,255,.03); color: #c9d2df; cursor: pointer; }
.copy-btn.copied { color: var(--green); border-color: rgba(40,227,165,.45); }

.trust { padding-top: 28px; }
.testimonial-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.quote-card { min-height: 210px; padding: 23px 25px; border: 1px solid rgba(128,160,205,.17); border-radius: 16px; background: linear-gradient(180deg, rgba(10,28,54,.88), rgba(5,20,42,.82)); box-shadow: var(--shadow); }
.quote-mark { font-size: 45px; color: #a24df4; line-height: .8; }
.quote-card > p { color: #c0cad7; font-size: 13px; line-height: 1.6; min-height: 64px; }
.person { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.avatar { width: 43px; height: 43px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 800; color: white; border: 2px solid rgba(255,255,255,.25); }
.avatar-a { background: linear-gradient(145deg, #596576, #1f2c42); }
.avatar-b { background: linear-gradient(145deg, #a15b48, #3d243a); }
.avatar-c { background: linear-gradient(145deg, #4c6675, #1a3846); }
.person b { display: block; font-size: 12px; }
.person small { display: block; color: #8592a7; margin-top: 4px; font-size: 10px; }
.pager-dots { display: flex; justify-content: center; gap: 8px; margin-top: 18px; }
.pager-dots i { width: 6px; height: 6px; border-radius: 50%; background: #465066; }
.pager-dots i:first-child { background: #ec44d2; box-shadow: 0 0 10px rgba(236,68,210,.5); }

.cta-section { padding-top: 24px; padding-bottom: 22px; }
.cta-panel { position: relative; overflow: hidden; min-height: 116px; display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 28px 70px; border: 1px solid rgba(156,63,255,.75); border-radius: 16px; background: linear-gradient(105deg, rgba(39,13,72,.86), rgba(16,32,93,.85) 55%, rgba(4,41,70,.8)); box-shadow: var(--shadow); }
.cta-panel::before, .cta-panel::after { content: ""; position: absolute; inset: auto; width: 300px; height: 80px; border: 1px solid rgba(199,65,255,.18); border-radius: 50%; transform: rotate(9deg); }
.cta-panel::before { left: -30px; bottom: -58px; box-shadow: 0 -11px 0 rgba(188,58,255,.03), 0 -22px 0 rgba(188,58,255,.025); }
.cta-panel::after { right: -40px; bottom: -54px; border-color: rgba(59,174,255,.2); box-shadow: 0 -11px 0 rgba(59,174,255,.03), 0 -22px 0 rgba(59,174,255,.025); }
.cta-panel > * { position: relative; z-index: 1; }
.cta-panel h2 { margin: 0 0 7px; font-size: 30px; letter-spacing: -1px; }
.cta-panel p { margin: 0; color: #c3c8d7; font-size: 13px; }

.site-footer { padding: 18px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.45fr repeat(4, .8fr); gap: 44px; padding: 22px 0 34px; }
.footer-brand .brand { font-size: 30px; }
.footer-brand p { max-width: 260px; color: #99a6b8; font-size: 12px; line-height: 1.6; }
.socials { display: flex; gap: 8px; margin-top: 18px; }
.socials a { width: 31px; height: 31px; display: grid; place-items: center; border: 1px solid rgba(146,174,211,.24); border-radius: 50%; color: #d6deeb; font-size: 12px; }
.footer-grid h4 { margin: 7px 0 17px; font-size: 12px; }
.footer-grid > div:not(.footer-brand) { display: flex; flex-direction: column; align-items: flex-start; gap: 11px; }
.footer-grid a, .footer-grid span { color: #93a1b4; font-size: 11px; line-height: 1.4; }
.footer-grid a:hover { color: white; }
.copyright { border-top: 1px solid rgba(139,162,198,.1); padding: 19px 0 26px; color: #79879b; font-size: 11px; text-align: center; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 1020px) {
  .container { width: min(calc(100% - 40px), var(--container)); }
  .main-nav { gap: 24px; }
  .nav-cta { margin-left: 6px; }
  .hero h1 { font-size: 56px; }
  .hero-art { transform: scale(.88); transform-origin: center; }
  .product-panel { grid-template-columns: 1fr; }
  .feature-row { max-width: 650px; }
  .footer-grid { grid-template-columns: 1.4fr repeat(2,1fr); }
}

@media (max-width: 820px) {
  .site-header { height: 68px; }
  .mobile-toggle { display: block; }
  .nav-cta { display: none; }
  .main-nav { position: fixed; left: 20px; right: 20px; top: 78px; display: grid; gap: 0; padding: 10px; border: 1px solid rgba(135,165,207,.22); border-radius: 15px; background: rgba(4,17,38,.98); box-shadow: 0 25px 50px rgba(0,0,0,.4); transform: translateY(-18px); opacity: 0; visibility: hidden; transition: .22s ease; }
  .main-nav.open { transform: translateY(0); opacity: 1; visibility: visible; }
  .main-nav a { padding: 14px 13px; border-radius: 9px; }
  .main-nav a::after { display: none; }
  .main-nav a:hover, .main-nav a.active { background: rgba(255,255,255,.04); }
  .mobile-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .mobile-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .hero-grid { grid-template-columns: 1fr; padding-top: 20px; }
  .hero-copy { text-align: center; }
  .eyebrow { margin-inline: auto; }
  .hero-copy > p { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-art { min-height: 365px; }
  .stats-bar { grid-template-columns: repeat(2,1fr); }
  .stats-bar article:nth-child(2)::after { display: none; }
  .stats-bar article { min-height: 82px; }
  .stats-bar article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .service-grid { grid-template-columns: repeat(2,1fr); }
  .testimonial-grid { grid-template-columns: 1fr; }
  .cta-panel { padding: 28px 34px; }
}

@media (max-width: 620px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .brand { font-size: 27px; }
  .brand-mark { transform: scale(.9); transform-origin: left center; margin-right: -3px; }
  .section-space { padding-top: 48px; }
  .hero-grid { gap: 10px; }
  .hero h1 { font-size: clamp(44px, 13vw, 58px); letter-spacing: -3.2px; }
  .hero-copy > p { font-size: 14px; }
  .hero-actions .btn { flex: 1 1 150px; }
  .hero-art { transform: scale(.72); margin: -22px -60px -40px; min-height: 360px; }
  .stats-bar { margin-top: 10px; }
  .stats-bar article { gap: 10px; }
  .stat-icon { font-size: 23px; }
  .stats-bar strong { font-size: 17px; }
  .stats-bar small { font-size: 9px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 220px; }
  .product-panel { padding: 20px; }
  .product-copy h2 { font-size: 25px; }
  .feature-row { grid-template-columns: repeat(2,1fr); }
  .code-tabs { gap: 16px; padding-inline: 16px; overflow-x: auto; }
  .code-card pre { font-size: 11px; padding-inline: 16px; }
  .cta-panel { align-items: flex-start; flex-direction: column; padding: 26px 24px; }
  .cta-panel .btn { width: 100%; }
  .cta-panel h2 { font-size: 26px; }
  .footer-grid { grid-template-columns: repeat(2,1fr); gap: 28px 22px; }
  .footer-brand { grid-column: 1 / -1; }
}
