/* ==========================================================================
   PeczaWeb — main stylesheet
   ========================================================================== */

/* Self-hosted variable fonts (latin subset, SIL Open Font License) */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("../fonts/inter-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Sora"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("../fonts/sora-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 400 500; font-display: swap; src: url("../fonts/jetbrains-mono-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  /* Surfaces */
  --bg: #05050c;
  --bg-2: #090914;
  --bg-3: #0e0e1d;
  --glass: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .015));
  --line: rgba(170, 176, 255, .12);
  --line-2: rgba(170, 176, 255, .22);

  /* Text */
  --text: #eef0ff;
  --text-2: #b9bfdc;
  --muted: #8389a8;

  /* Brand */
  --violet: #7c5cff;
  --azure: #2e8bff;
  --cyan: #00e5ff;
  --mint: #3dffb4;
  --grad: linear-gradient(110deg, #7c5cff 0%, #2e8bff 55%, #00e5ff 100%);
  --grad-btn: linear-gradient(110deg, #7c5cff 0%, #5468ff 50%, #2e8bff 100%);

  /* Type */
  --f-display: "Sora", ui-sans-serif, system-ui, sans-serif;
  --f-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Shape & motion */
  --r-sm: 10px;
  --r: 18px;
  --r-lg: 28px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 76px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.65 var(--f-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
main { overflow-x: hidden; overflow-x: clip; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, p, ul, ol, figure, fieldset { margin: 0; padding: 0; }
h1, h2, h3 { text-wrap: balance; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
::selection { background: rgba(124, 92, 255, .45); color: #fff; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

.mono { font-family: var(--f-mono); font-feature-settings: "calt" 0; }
.i { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

.grad-text {
  background: linear-gradient(110deg, #9d85ff 0%, #4f9dff 35%, #00e5ff 60%, #9d85ff 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradShift 8s linear infinite;
}
@keyframes gradShift { to { background-position: -250% 0; } }

.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 1000;
  background: var(--text); color: var(--bg); padding: 10px 16px; border-radius: 10px; font-weight: 600;
  transition: top .2s;
}
.skip-link:focus { top: 16px; }

/* ---------- Ambient background ---------- */
.bg-grid {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background-image:
    linear-gradient(rgba(150, 160, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(150, 160, 255, .045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 30%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 30%, transparent 85%);
}
.bg-noise {
  position: fixed; inset: 0; z-index: 999; pointer-events: none; opacity: .028;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.glow { position: absolute; z-index: -1; pointer-events: none; border-radius: 50%; filter: blur(90px); opacity: .5; }
.glow-a { width: 520px; height: 520px; right: -160px; top: 10%; background: radial-gradient(circle, rgba(124, 92, 255, .45), transparent 70%); }
.glow-b { width: 620px; height: 620px; left: -220px; top: 15%; background: radial-gradient(circle, rgba(46, 139, 255, .35), transparent 70%); }
.glow-c { width: 560px; height: 560px; right: -180px; bottom: 0; background: radial-gradient(circle, rgba(0, 229, 255, .25), transparent 70%); }
.glow-d { width: 700px; height: 700px; left: 50%; top: 20%; transform: translateX(-50%); background: radial-gradient(circle, rgba(124, 92, 255, .32), transparent 70%); }

/* ---------- Scroll progress ---------- */
.progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 200;
  background: var(--grad); transform-origin: 0 50%; transform: scaleX(0);
  box-shadow: 0 0 12px rgba(0, 229, 255, .6);
}

/* ---------- Buttons ---------- */
.btn {
  --pad-y: 13px; --pad-x: 22px;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: var(--pad-y) var(--pad-x);
  border-radius: 999px;
  font: 600 15px/1 var(--f-display);
  letter-spacing: -.01em;
  white-space: nowrap;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .3s, border-color .3s, color .3s;
  will-change: transform;
}
.btn-sm { --pad-y: 10px; --pad-x: 16px; font-size: 14px; }
.btn-lg { --pad-y: 17px; --pad-x: 28px; font-size: 16px; }
.btn .i { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.btn:hover .i { transform: translateX(4px); }

.btn-primary {
  color: #fff;
  background: var(--grad-btn);
  box-shadow: 0 10px 40px -12px rgba(84, 104, 255, .85), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.btn-primary::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .35) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .8s var(--ease);
}
.btn-primary:hover::before { transform: translateX(120%); }
.btn-primary:hover { box-shadow: 0 16px 50px -12px rgba(0, 229, 255, .7), inset 0 1px 0 rgba(255, 255, 255, .3); }

.btn-ghost {
  color: var(--text);
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, .02);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .07); border-color: rgba(170, 176, 255, .4); }

.link { color: var(--cyan); background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .35s var(--ease); }
.link:hover { background-size: 100% 1px; }

/* ---------- Preloader ---------- */
.loader { display: none; }
.js .loader {
  position: fixed; inset: 0; z-index: 1000;
  display: grid; place-items: center;
  background: var(--bg);
  transition: clip-path 1s var(--ease-io), visibility 0s 1s;
  clip-path: inset(0 0 0 0);
}
.loader.is-done { clip-path: inset(0 0 100% 0); visibility: hidden; }
.js.seen .loader { display: none; }
.loader-inner { width: min(280px, 70vw); display: grid; justify-items: center; gap: 18px; }
.loader-mark { width: 84px; height: 84px; overflow: visible; filter: drop-shadow(0 0 18px rgba(46, 139, 255, .6)); }
.lm-stem, .lm-ring { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1s var(--ease) forwards; }
.lm-ring { animation-delay: .25s; }
.lm-dot { opacity: 0; transform-origin: 23px 20.5px; animation: dotIn .4s .9s var(--ease) forwards, orbitDot 2.4s 1.1s linear infinite; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes dotIn { to { opacity: 1; } }
@keyframes orbitDot { to { transform: rotate(360deg); } }
.loader-word { font: 700 24px/1 var(--f-display); letter-spacing: -.03em; }
.loader-word b, .brand-word b {
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.loader-bar { width: 100%; height: 2px; background: rgba(255, 255, 255, .08); border-radius: 2px; overflow: hidden; }
.loader-bar i { display: block; height: 100%; background: var(--grad); transform-origin: 0 50%; transform: scaleX(0); box-shadow: 0 0 10px var(--cyan); }
.loader-meta { width: 100%; display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
.loader-count { color: var(--text); }

/* ---------- Custom cursor (fine pointers only, enabled by JS) ---------- */
.cursor, .cursor-dot { display: none; }
.has-cursor .cursor, .has-cursor .cursor-dot {
  display: block; position: fixed; left: 0; top: 0; z-index: 998; pointer-events: none;
  border-radius: 50%; will-change: transform;
}
.has-cursor .cursor {
  width: 38px; height: 38px; margin: -19px 0 0 -19px;
  border: 1px solid rgba(170, 176, 255, .45);
  display: grid; place-items: center;
  transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background-color .35s, border-color .35s, opacity .3s;
}
.has-cursor .cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.cursor.is-hover { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(124, 92, 255, .1); border-color: rgba(0, 229, 255, .6); }
.cursor.is-hidden, .cursor-dot.is-hidden { opacity: 0; }
.cursor-label { font: 500 10px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: #fff; opacity: 0; transition: opacity .2s; }
.cursor.has-label .cursor-label { opacity: 1; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--header-h);
  transition: transform .5s var(--ease), background-color .4s, border-color .4s, backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  background: rgba(5, 5, 12, .62);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border-bottom-color: var(--line);
}
.header.is-hidden { transform: translateY(-100%); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 28px; }

.brand { display: inline-flex; align-items: center; gap: 11px; flex: none; }
.brand-mark { width: 36px; height: 36px; filter: drop-shadow(0 4px 14px rgba(84, 104, 255, .55)); transition: transform .6s var(--ease); }
.brand:hover .brand-mark { transform: rotate(-8deg) scale(1.06); }
.brand-mark .mark-dot { transform-origin: 23px 20.5px; transition: transform 1s var(--ease); }
.brand:hover .mark-dot { transform: rotate(360deg); }
.brand-word { font: 700 20px/1 var(--f-display); letter-spacing: -.035em; }

.nav { display: flex; gap: 4px; margin-left: auto; padding: 5px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, .025); backdrop-filter: blur(12px); }
.nav a {
  position: relative; padding: 8px 15px; border-radius: 999px;
  font: 500 14px/1 var(--f-body); color: var(--text-2);
  transition: color .25s, background-color .25s;
}
.nav a:hover { color: var(--text); background: rgba(255, 255, 255, .05); }
.nav a.is-active { color: var(--text); background: rgba(124, 92, 255, .16); box-shadow: inset 0 0 0 1px rgba(124, 92, 255, .35); }

.menu-btn { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); position: relative; margin-left: auto; }
.menu-btn span { position: absolute; left: 13px; right: 13px; height: 1.6px; background: var(--text); border-radius: 2px; transition: transform .45s var(--ease), top .45s var(--ease); }
.menu-btn span:first-child { top: 17px; }
.menu-btn span:last-child { top: 25px; }
.menu-open .menu-btn span:first-child { top: 21px; transform: rotate(45deg); }
.menu-open .menu-btn span:last-child { top: 21px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 90;
  display: flex; flex-direction: column; justify-content: center; gap: 36px;
  padding: calc(var(--header-h) + 20px) var(--gutter) 40px;
  background: rgba(5, 5, 12, .94);
  backdrop-filter: blur(24px);
  clip-path: circle(0 at calc(100% - 42px) 38px);
  visibility: hidden;
  transition: clip-path .8s var(--ease-io), visibility 0s .8s;
}
.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 42px) 38px); visibility: visible; transition: clip-path .8s var(--ease-io), visibility 0s; }
.mobile-nav { display: grid; gap: 4px; }
.mobile-nav a {
  display: flex; align-items: baseline; gap: 16px;
  font: 600 clamp(30px, 8vw, 44px)/1.2 var(--f-display); letter-spacing: -.03em;
  opacity: 0; transform: translateY(24px);
  transition: opacity .5s var(--ease), transform .6s var(--ease), color .2s;
}
.mobile-nav a span { font-size: 12px; color: var(--muted); font-weight: 400; letter-spacing: 0; }
.mobile-nav a:hover { color: var(--cyan); }
.menu-open .mobile-nav a { opacity: 1; transform: none; }
.menu-open .mobile-nav a:nth-child(1) { transition-delay: .18s; }
.menu-open .mobile-nav a:nth-child(2) { transition-delay: .22s; }
.menu-open .mobile-nav a:nth-child(3) { transition-delay: .26s; }
.menu-open .mobile-nav a:nth-child(4) { transition-delay: .30s; }
.menu-open .mobile-nav a:nth-child(5) { transition-delay: .34s; }
.menu-open .mobile-nav a:nth-child(6) { transition-delay: .38s; }
.menu-open .mobile-nav a:nth-child(7) { transition-delay: .42s; }
.menu-open .mobile-nav a:nth-child(8) { transition-delay: .46s; }
.menu-open .mobile-nav a:nth-child(9) { transition-delay: .50s; }
.mobile-cta { align-self: flex-start; }
.menu-open { overflow: hidden; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative; isolation: isolate;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--header-h) + 40px) 0 90px;
  overflow: hidden;
}
.hero-aurora { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; }
.hero-aurora.is-fallback {
  background:
    radial-gradient(ellipse 50% 60% at 78% 40%, rgba(124, 92, 255, .35), transparent 70%),
    radial-gradient(ellipse 40% 50% at 60% 70%, rgba(0, 229, 255, .18), transparent 70%);
}
.hero-fade { position: absolute; inset: auto 0 0; height: 220px; z-index: -1; background: linear-gradient(transparent, var(--bg)); pointer-events: none; }

.hero-inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; gap: 40px; }
.hero-copy { position: relative; z-index: 2; }

.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 10px; border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, .03);
  backdrop-filter: blur(10px);
  font-size: 13px; font-weight: 500; color: var(--text-2);
}
.pill-sep { width: 1px; height: 14px; background: var(--line-2); }
.pill-mono { font-size: 11.5px; color: var(--cyan); letter-spacing: .02em; }
.pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 10px var(--mint); flex: none; }
.pulse::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--mint); animation: ping 2s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(2); opacity: 0; } }

.hero-title {
  margin: 26px 0 22px;
  font: 600 clamp(40px, 5vw, 72px)/1 var(--f-display);
  letter-spacing: -.045em;
}
.hero-title .line { display: block; overflow: hidden; padding: .04em 0 .1em; margin-bottom: -.1em; }
.hero-title .line > span { display: inline-block; }
.hero-sub { max-width: 540px; font-size: clamp(16px, 1.4vw, 18.5px); color: var(--text-2); line-height: 1.7; }

.hero-typed {
  display: inline-flex; align-items: center; flex-wrap: wrap; gap: 0 8px;
  margin-top: 26px; padding: 10px 16px;
  border-radius: 12px; border: 1px solid var(--line);
  background: rgba(10, 10, 22, .55); backdrop-filter: blur(10px);
  font-size: 13.5px; color: var(--text-2);
}
.hero-typed .prompt { color: var(--violet); }
.hero-typed .dollar { color: var(--muted); }
.hero-typed .typed { color: var(--cyan); }
.caret { width: 8px; height: 17px; margin-left: -6px; background: var(--cyan); animation: blink 1s steps(1) infinite; box-shadow: 0 0 8px var(--cyan); }
@keyframes blink { 50% { opacity: 0; } }

.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

.hero-meta { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 34px; margin-top: 46px; padding-top: 26px; border-top: 1px solid var(--line); }
.hero-meta li { display: grid; gap: 4px; }
.hero-meta strong { font: 600 15px/1.2 var(--f-display); }
.hero-meta span { font-size: 13px; color: var(--muted); }

/* hero entrance (only when JS is running) */
.js .hero-title .line > span { transform: translateY(115%) rotate(4deg); transform-origin: 0 100%; transition: transform 1.2s var(--ease); }
.js [data-hero] { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .hero-visual { opacity: 0; transform: scale(.92); transition: opacity 1.6s var(--ease) .3s, transform 1.8s var(--ease) .3s; }
.is-loaded .hero-title .line > span, .is-loaded [data-hero], .is-loaded .hero-visual { opacity: 1; transform: none; }
.is-loaded .hero-title .line:nth-child(1) > span { transition-delay: .05s; }
.is-loaded .hero-title .line:nth-child(2) > span { transition-delay: .15s; }
.is-loaded .hero-title .line:nth-child(3) > span { transition-delay: .25s; }
.is-loaded .pill[data-hero] { transition-delay: 0s; }
.is-loaded .hero-sub[data-hero] { transition-delay: .45s; }
.is-loaded .hero-typed[data-hero] { transition-delay: .55s; }
.is-loaded .hero-cta[data-hero] { transition-delay: .65s; }
.is-loaded .hero-meta[data-hero] { transition-delay: .8s; }

/* hero visual */
.hero-visual { position: relative; aspect-ratio: 1 / 1; width: 100%; max-width: 640px; justify-self: end; }
.hero-visual canvas { position: absolute; inset: -6%; width: 112%; height: 112%; }
.hud { position: absolute; width: 22px; height: 22px; border-color: rgba(170, 176, 255, .35); border-style: solid; border-width: 0; }
.hud-tl { top: 2%; left: 2%; border-top-width: 1px; border-left-width: 1px; }
.hud-tr { top: 2%; right: 2%; border-top-width: 1px; border-right-width: 1px; }
.hud-bl { bottom: 2%; left: 2%; border-bottom-width: 1px; border-left-width: 1px; }
.hud-br { bottom: 2%; right: 2%; border-bottom-width: 1px; border-right-width: 1px; }
.hud-label { position: absolute; font-size: 10px; letter-spacing: .14em; color: var(--muted); }
.hud-label-t { top: calc(2% + 4px); left: calc(2% + 32px); }
.hud-label-b { bottom: calc(2% + 4px); right: calc(2% + 32px); }
.hud-label-b::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 8px var(--mint); animation: blink 1.6s steps(1) infinite; }

.float-card {
  position: absolute; z-index: 2;
  border-radius: 16px; border: 1px solid var(--line-2);
  background: linear-gradient(180deg, rgba(22, 22, 44, .78), rgba(10, 10, 24, .7));
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .06);
  will-change: transform;
}
.float-card > * { position: relative; }
.fc-code { top: 1%; left: -10%; width: 282px; animation: float 7s ease-in-out infinite; }
.fc-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.fc-bar i { width: 9px; height: 9px; border-radius: 50%; background: #ff5f87; }
.fc-bar i:nth-child(2) { background: #ffbd4a; }
.fc-bar i:nth-child(3) { background: var(--mint); }
.fc-bar span { margin-left: auto; font-size: 10.5px; color: var(--muted); }
.fc-code pre { margin: 0; padding: 14px 16px 16px; font-size: 11.5px; line-height: 1.75; color: var(--text-2); white-space: pre; overflow: hidden; }
.fc-code .k { color: #b39dff; }
.fc-code .s { color: #5ef0d0; }
.fc-code .f { color: #6cb6ff; }
.fc-code .o { color: var(--muted); }

.fc-score { right: -2%; top: 46%; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; animation: float 6s ease-in-out -2s infinite; }
.fc-ring { width: 46px; height: 46px; transform: rotate(-90deg); }
.fc-ring circle { fill: none; stroke: rgba(255, 255, 255, .1); stroke-width: 4; }
.fc-ring .fc-ring-val { stroke: var(--mint); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 2s var(--ease) 1.4s; filter: drop-shadow(0 0 4px var(--mint)); }
.is-loaded .fc-ring .fc-ring-val { stroke-dashoffset: 1; }
.fc-score strong { display: block; font-size: 20px; line-height: 1; color: var(--text); }
.fc-score span { font-size: 12px; color: var(--muted); }

.fc-deploy { left: -4%; bottom: 6%; width: 250px; padding: 14px 16px; animation: float 8s ease-in-out -4s infinite; }
.fc-deploy-row { display: flex; align-items: center; gap: 12px; }
.fc-ok { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: rgba(61, 255, 180, .14); color: var(--mint); flex: none; }
.fc-ok .i { width: 16px; height: 16px; stroke-width: 2.4; }
.fc-deploy strong { display: block; font-size: 13px; font-weight: 600; }
.fc-deploy span { font-size: 10.5px; color: var(--muted); }
.fc-progress { margin-top: 12px; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.fc-progress i { display: block; height: 100%; width: 100%; background: var(--grad); transform-origin: 0 50%; animation: deploy 4s var(--ease-io) infinite; }
@keyframes deploy { 0% { transform: scaleX(0); } 60%, 100% { transform: scaleX(1); } }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -14px; } }

.scroll-cue { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); display: grid; justify-items: center; gap: 10px; color: var(--muted); font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; }
.scroll-cue i { width: 1px; height: 46px; background: linear-gradient(var(--line-2), transparent); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: -40%; width: 100%; height: 40%; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); animation: scrollCue 2s var(--ease-io) infinite; }
@keyframes scrollCue { to { top: 110%; } }

/* ---------- Marquee ---------- */
.marquee-wrap { position: relative; padding: 34px 0; border-block: 1px solid var(--line); background: rgba(255, 255, 255, .012); display: grid; gap: 14px; overflow: hidden; }
.marquee-wrap::before, .marquee-wrap::after { content: ""; position: absolute; top: 0; bottom: 0; width: 18%; z-index: 2; pointer-events: none; }
.marquee-wrap::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.marquee-wrap::after { right: 0; background: linear-gradient(-90deg, var(--bg), transparent); }
.marquee { display: flex; width: max-content; }
.marquee-track { display: flex; flex: none; animation: marquee 45s linear infinite; }
.marquee--rev .marquee-track { animation-direction: reverse; animation-duration: 52s; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  display: inline-flex; align-items: center; gap: 30px; padding-right: 30px;
  font: 500 clamp(18px, 2.2vw, 26px)/1.2 var(--f-display); letter-spacing: -.02em;
  color: rgba(238, 240, 255, .32); transition: color .3s;
}
.marquee-track span:hover { color: var(--text); }
.marquee-track span::after { content: ""; width: 7px; height: 7px; transform: rotate(45deg); background: var(--grad); opacity: .7; }
@keyframes marquee { to { transform: translateX(-100%); } }

/* ==========================================================================
   SECTIONS
   ========================================================================== */
.section { position: relative; isolation: isolate; padding: clamp(72px, 8.5vw, 120px) 0; }
.section-head { max-width: 760px; margin: 0 auto clamp(48px, 6vw, 72px); text-align: center; display: grid; justify-items: center; gap: 20px; }
.section-head--left { margin-inline: 0; text-align: left; justify-items: start; }

.eyebrow { display: inline-flex; align-items: center; gap: 12px; font: 500 12.5px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); }
.eyebrow .mono { color: var(--muted); }
.eyebrow-line { width: 36px; height: 1px; background: var(--grad); }

.h2 { font: 600 clamp(34px, 5.2vw, 66px)/1.04 var(--f-display); letter-spacing: -.04em; }
.h2--xl { font-size: clamp(38px, 5.8vw, 76px); }
.h2 em, .footer-cta em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { max-width: 620px; font-size: clamp(16px, 1.35vw, 18px); color: var(--text-2); }

/* split-word reveal */
[data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
[data-split] .w > span { display: inline-block; }
.js [data-split] .w > span { transform: translateY(110%); transition: transform 1s var(--ease); transition-delay: calc(var(--i) * 55ms); }
.js [data-split].is-in .w > span { transform: none; }

/* generic reveal */
.js [data-reveal] { opacity: 0; transform: translateY(32px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Cards / bento ---------- */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.card {
  --mx: -500px; --my: -500px;
  position: relative; isolation: isolate;
  display: flex; flex-direction: column; gap: 12px;
  padding: 28px;
  min-height: 250px;
  border-radius: var(--r-lg);
  background: var(--glass), var(--bg-2);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: border-color .4s, transform .5s var(--ease);
}
.card::before {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; border-radius: inherit; padding: 1px;
  background: radial-gradient(380px circle at var(--mx) var(--my), rgba(124, 92, 255, .9), rgba(0, 229, 255, .45) 35%, transparent 65%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}
.card::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(520px circle at var(--mx) var(--my), rgba(124, 92, 255, .13), transparent 45%);
  opacity: 0; transition: opacity .4s;
}
.card:hover::after { opacity: 1; }
.card h3 { font: 600 20px/1.25 var(--f-display); letter-spacing: -.02em; margin-top: auto; }
.card p { font-size: 14.5px; color: var(--muted); line-height: 1.6; }
.card-icon {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; flex: none;
  color: #fff;
  background: linear-gradient(135deg, rgba(124, 92, 255, .35), rgba(0, 229, 255, .18));
  border: 1px solid rgba(170, 176, 255, .25);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 8px 24px -8px rgba(124, 92, 255, .6);
  transition: transform .5s var(--ease);
}
.card:hover .card-icon { transform: translateY(-3px) rotate(-6deg); }
.card-icon .i { width: 22px; height: 22px; }
.card-num { position: absolute; top: 26px; right: 26px; font-size: 12px; color: var(--muted); }
.card .card-icon + h3 { margin-top: auto; }

.card--wide { grid-column: span 2; flex-direction: row; align-items: stretch; gap: 24px; min-height: 300px; }
.card--wide .card-body { flex: 1 1 56%; display: flex; flex-direction: column; gap: 12px; }
.card--wide h3 { font-size: 24px; }
.card-art { flex: 1 1 44%; position: relative; border-radius: 16px; border: 1px solid var(--line); background: rgba(5, 5, 14, .6); overflow: hidden; min-height: 220px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.tags li { font: 500 11.5px/1 var(--f-mono); padding: 6px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--text-2); background: rgba(255, 255, 255, .02); }

/* art: browser building itself */
.art-browser .ab-bar { display: flex; align-items: center; gap: 5px; padding: 9px 12px; border-bottom: 1px solid var(--line); }
.art-browser .ab-bar i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, .18); }
.art-browser .ab-bar span { margin-left: 10px; height: 14px; flex: 1; border-radius: 6px; background: rgba(255, 255, 255, .06); }
.ab-body { padding: 14px; display: grid; gap: 12px; }
.ab-nav { display: flex; align-items: center; gap: 8px; }
.ab-nav b { width: 18px; height: 18px; border-radius: 6px; background: var(--grad); }
.ab-nav span { height: 6px; width: 28px; border-radius: 4px; background: rgba(255, 255, 255, .14); }
.ab-nav span:first-of-type { margin-left: auto; }
.ab-hero { display: grid; gap: 7px; padding: 14px; border-radius: 10px; background: linear-gradient(135deg, rgba(124, 92, 255, .25), rgba(0, 229, 255, .1)); }
.ab-hero span { height: 9px; border-radius: 4px; background: rgba(255, 255, 255, .55); width: 80%; }
.ab-hero span:nth-child(2) { width: 55%; background: rgba(255, 255, 255, .25); height: 6px; }
.ab-hero .ab-btn { width: 64px; height: 18px; border-radius: 999px; background: var(--grad); margin-top: 4px; }
.ab-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ab-cols span { height: 50px; border-radius: 8px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); }
.ab-body > * { animation: build 6s var(--ease) infinite; }
.ab-nav { animation-delay: 0s; }
.ab-hero { animation-delay: .25s; }
.ab-cols { animation-delay: .5s; }
@keyframes build { 0%, 4% { opacity: 0; transform: translateY(10px) scale(.97); } 14%, 88% { opacity: 1; transform: none; } 100% { opacity: 0; } }

/* art: dashboard */
.art-dash { padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.ad-top { display: flex; gap: 10px; }
.ad-top span { flex: 1; padding: 10px 12px; border-radius: 10px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); display: grid; gap: 2px; }
.ad-top b { font-size: 16px; color: var(--text); }
.ad-top span:last-child b { color: var(--mint); }
.ad-top i { font-style: normal; font-size: 11px; color: var(--muted); }
.ad-line { width: 100%; height: 56px; overflow: visible; }
.ad-line path { fill: none; stroke: var(--cyan); stroke-width: 2.2; stroke-dasharray: 400; stroke-dashoffset: 400; filter: drop-shadow(0 0 6px rgba(0, 229, 255, .7)); vector-effect: non-scaling-stroke; }
.is-in .ad-line path { animation: line 5s var(--ease) infinite; }
@keyframes line { 0% { stroke-dashoffset: 400; } 45%, 85% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -400; } }
.ad-bars { flex: 1; display: flex; align-items: flex-end; gap: 8px; min-height: 64px; }
.ad-bars i { flex: 1; height: var(--h); border-radius: 6px 6px 2px 2px; background: linear-gradient(to top, rgba(124, 92, 255, .25), rgba(124, 92, 255, .9)); transform-origin: bottom; animation: bar 3.2s var(--ease) infinite alternate; }
.ad-bars i:nth-child(even) { background: linear-gradient(to top, rgba(0, 229, 255, .2), rgba(0, 229, 255, .8)); }
.ad-bars i:nth-child(2) { animation-delay: -.4s; } .ad-bars i:nth-child(3) { animation-delay: -.8s; } .ad-bars i:nth-child(4) { animation-delay: -1.2s; }
.ad-bars i:nth-child(5) { animation-delay: -1.6s; } .ad-bars i:nth-child(6) { animation-delay: -2s; } .ad-bars i:nth-child(7) { animation-delay: -2.4s; }
@keyframes bar { from { transform: scaleY(.45); } to { transform: scaleY(1); } }

/* art: phone */
.art-phone { display: grid; place-items: center; background: radial-gradient(circle at 50% 60%, rgba(124, 92, 255, .25), transparent 60%), rgba(5, 5, 14, .6); }
.ap-phone { position: relative; width: 130px; height: 250px; margin-top: 40px; border-radius: 26px; border: 1px solid var(--line-2); background: #0b0b19; padding: 26px 10px 10px; display: flex; flex-direction: column; gap: 8px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8), inset 0 0 0 4px #05050c; }
.ap-notch { position: absolute; top: 9px; left: 50%; width: 40px; height: 9px; border-radius: 9px; background: #05050c; transform: translateX(-50%); }
.ap-head { display: flex; align-items: center; justify-content: space-between; padding: 0 4px; }
.ap-head b { width: 40px; height: 7px; border-radius: 4px; background: rgba(255, 255, 255, .45); }
.ap-head span { width: 16px; height: 16px; border-radius: 50%; background: var(--grad); }
.ap-card { display: grid; grid-template-columns: 22px 1fr; gap: 3px 8px; align-items: center; padding: 8px; border-radius: 10px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); animation: apCard 4.5s var(--ease) infinite; }
.ap-card i { grid-row: span 2; width: 22px; height: 22px; border-radius: 7px; background: linear-gradient(135deg, var(--violet), var(--azure)); }
.ap-card-2 i { background: linear-gradient(135deg, var(--azure), var(--cyan)); }
.ap-card-3 i { background: linear-gradient(135deg, var(--cyan), var(--mint)); }
.ap-card span { height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .3); }
.ap-card span:last-child { width: 60%; background: rgba(255, 255, 255, .14); }
.ap-card-2 { animation-delay: .15s; } .ap-card-3 { animation-delay: .3s; }
@keyframes apCard { 0% { opacity: 0; transform: translateX(-12px); } 12%, 85% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.ap-tab { margin-top: auto; display: flex; justify-content: space-around; padding: 8px 4px 2px; border-top: 1px solid var(--line); }
.ap-tab i { width: 12px; height: 12px; border-radius: 4px; background: rgba(255, 255, 255, .18); }
.ap-tab i:first-child { background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }
.ap-toast { position: absolute; top: 22px; right: 18px; display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 12px; font-size: 12px; font-weight: 500; background: rgba(20, 20, 40, .85); border: 1px solid var(--line-2); backdrop-filter: blur(10px); animation: toast 4.5s var(--ease) infinite; }
.ap-toast .i { width: 15px; height: 15px; color: var(--mint); stroke-width: 2.4; }
@keyframes toast { 0%, 30% { opacity: 0; transform: translateY(-10px) scale(.95); } 40%, 85% { opacity: 1; transform: none; } 100% { opacity: 0; } }

/* ---------- Platforms ---------- */
.platforms { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(40px, 6vw, 90px); }
.orbit-wrap { display: grid; place-items: center; }
.orbit-system { --size: min(520px, 86vw); position: relative; width: var(--size); height: var(--size); }
.orbit-ring { position: absolute; left: 50%; top: 50%; border-radius: 50%; border: 1px dashed rgba(170, 176, 255, .2); transform: translate(-50%, -50%); }
.orbit-ring.r1 { width: 44%; height: 44%; }
.orbit-ring.r2 { width: 72%; height: 72%; border-style: solid; border-color: rgba(170, 176, 255, .1); }
.orbit-ring.r3 { width: 100%; height: 100%; }
.orbit-ring.r2::before { content: ""; position: absolute; inset: -1px; border-radius: 50%; background: conic-gradient(from 0deg, transparent 0 70%, rgba(0, 229, 255, .7) 100%); -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 1.5px), #000 calc(100% - 1px)); mask: radial-gradient(farthest-side, transparent calc(100% - 1.5px), #000 calc(100% - 1px)); animation: spin 6s linear infinite; }
.orbit-core { position: absolute; left: 50%; top: 50%; width: 18%; aspect-ratio: 1; transform: translate(-50%, -50%); display: grid; place-items: center; }
.orbit-core svg { width: 100%; height: 100%; position: relative; z-index: 2; filter: drop-shadow(0 0 30px rgba(84, 104, 255, .8)); }
.core-pulse { position: absolute; inset: 0; border-radius: 30%; border: 1px solid rgba(0, 229, 255, .5); animation: corePulse 3s var(--ease) infinite; }
.core-pulse.d2 { animation-delay: 1.5s; }
@keyframes corePulse { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(2.6); opacity: 0; } }
.orbit { position: absolute; inset: 0; margin: auto; border-radius: 50%; animation: spin var(--dur, 40s) linear infinite; }
.orbit.o1 { width: 44%; height: 44%; --dur: 28s; }
.orbit.o2 { width: 72%; height: 72%; --dur: 46s; animation-direction: reverse; }
.orbit.o3 { width: 100%; height: 100%; --dur: 64s; }
.orbit-node { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform: rotate(var(--a)) translateX(calc(var(--size) * var(--k))) rotate(calc(-1 * var(--a))); }
.o1 .orbit-node { --k: .22; } .o2 .orbit-node { --k: .36; } .o3 .orbit-node { --k: .5; }
.orbit-node > span {
  position: absolute; left: -26px; top: -26px; width: 52px; height: 52px; border-radius: 16px;
  display: grid; place-items: center; color: var(--text-2);
  background: linear-gradient(180deg, #16162c, #0c0c1a);
  border: 1px solid var(--line-2);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .8);
  animation: spin var(--dur, 40s) linear infinite reverse;
  transition: color .4s, border-color .4s, box-shadow .4s, background .4s;
}
.o2 .orbit-node > span { animation-direction: normal; }
.orbit-node .i { width: 22px; height: 22px; transition: transform .4s var(--ease); }
.orbit-node.is-active > span, .orbit-node:hover > span { color: #fff; border-color: rgba(0, 229, 255, .7); background: linear-gradient(135deg, rgba(124, 92, 255, .55), rgba(46, 139, 255, .45)); box-shadow: 0 0 0 6px rgba(0, 229, 255, .08), 0 0 40px rgba(0, 229, 255, .45); }
.orbit-node.is-active .i { transform: scale(1.12); }
.o1 { --dur: 28s; } .o2 { --dur: 46s; } .o3 { --dur: 64s; }
@keyframes spin { to { rotate: 360deg; } }

.tabs { position: relative; padding: 8px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--glass), var(--bg-2); }
.tablist { display: flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 18px; background: rgba(0, 0, 0, .3); }
.tablist button { flex: 1 1 auto; padding: 10px 14px; border-radius: 14px; font: 500 14px/1 var(--f-display); color: var(--muted); transition: color .3s, background .3s, box-shadow .3s; }
.tablist button:hover { color: var(--text); }
.tablist button[aria-selected="true"] { color: #fff; background: linear-gradient(135deg, rgba(124, 92, 255, .5), rgba(46, 139, 255, .35)); box-shadow: inset 0 0 0 1px rgba(170, 176, 255, .35), 0 6px 20px -8px rgba(124, 92, 255, .8); }
.tab-panels { padding: 26px 22px 22px; min-height: 210px; }
.tab-panel { animation: panelIn .6s var(--ease); }
.tab-panel h3 { font: 600 24px/1.2 var(--f-display); letter-spacing: -.02em; margin-bottom: 10px; }
.tab-panel p { color: var(--text-2); font-size: 15.5px; margin-bottom: 18px; }
@keyframes panelIn { from { opacity: 0; transform: translateY(12px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font: 500 12.5px/1 var(--f-mono); padding: 8px 12px; border-radius: 10px; color: var(--cyan); background: rgba(0, 229, 255, .07); border: 1px solid rgba(0, 229, 255, .2); }
.tab-timer { height: 2px; margin: 0 22px 12px; border-radius: 2px; background: rgba(255, 255, 255, .06); overflow: hidden; }
.tab-timer i { display: block; height: 100%; background: var(--grad); transform-origin: 0 50%; transform: scaleX(0); }
.tab-timer.is-running i { animation: timer var(--t, 5s) linear forwards; }
.tab-timer.is-stopped { opacity: 0; transition: opacity .4s; }
@keyframes timer { to { transform: scaleX(1); } }

/* ---------- Process ---------- */
.steps { --p: 0; position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
.steps-track { position: absolute; left: 28px; right: 28px; top: 27px; height: 2px; background: rgba(255, 255, 255, .07); border-radius: 2px; }
.steps-track i { position: absolute; inset: 0; background: var(--grad); transform-origin: 0 50%; transform: scaleX(var(--p)); box-shadow: 0 0 14px rgba(0, 229, 255, .6); border-radius: 2px; }
.step { position: relative; display: flex; flex-direction: column; gap: 10px; padding-top: 0; }
.step-dot {
  width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; margin-bottom: 14px; position: relative; z-index: 1;
  color: var(--muted); background: var(--bg-3); border: 1px solid var(--line-2);
  transition: color .5s, background .5s, border-color .5s, box-shadow .5s, transform .5s var(--ease);
}
.step-dot .i { width: 22px; height: 22px; }
.step.is-active .step-dot { color: #fff; background: linear-gradient(135deg, var(--violet), var(--azure)); border-color: transparent; box-shadow: 0 0 0 6px rgba(124, 92, 255, .12), 0 10px 30px -6px rgba(84, 104, 255, .8); transform: translateY(-2px); }
.step-num { font-size: 11.5px; color: var(--muted); letter-spacing: .1em; text-transform: uppercase; }
.step h3 { font: 600 21px/1.2 var(--f-display); letter-spacing: -.02em; }
.step p { font-size: 14.5px; color: var(--muted); }
.step-out { margin-top: 4px; font-size: 12px; color: var(--cyan); opacity: .55; transition: opacity .5s; }
.step.is-active .step-out { opacity: 1; }

/* ---------- Solutions ---------- */
.solutions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; perspective: 1200px; }
.sol {
  position: relative; height: 100%;
  border-radius: var(--r-lg); border: 1px solid var(--line);
  background: var(--glass), var(--bg-2);
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform .5s var(--ease), border-color .4s, box-shadow .5s;
}
.sol:hover { border-color: var(--line-2); box-shadow: 0 30px 70px -30px rgba(84, 104, 255, .55); }
.sol-art { position: relative; height: 210px; margin: 10px 10px 0; border-radius: 20px; overflow: hidden; background: radial-gradient(circle at 70% 20%, rgba(124, 92, 255, .3), transparent 60%), radial-gradient(circle at 20% 90%, rgba(0, 229, 255, .16), transparent 55%), #080814; border: 1px solid var(--line); }
.sol-art > * { transition: transform .7s var(--ease); }
.sol:hover .sol-art > * { transform: translateY(-6px) scale(1.02); }
.sol-body { padding: 22px 24px 26px; display: grid; gap: 8px; transform: translateZ(30px); }
.sol-cat { font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--cyan); }
.sol-body h3 { font: 600 20px/1.25 var(--f-display); letter-spacing: -.02em; }
.sol-body p { font-size: 14.5px; color: var(--muted); }

/* mockups */
.m-corp { padding: 18px; display: grid; gap: 12px; align-content: start; }
.mc-nav { display: flex; align-items: center; gap: 8px; }
.mc-nav b { width: 22px; height: 22px; border-radius: 7px; background: var(--grad); }
.mc-nav span { width: 30px; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .16); }
.mc-nav span:first-of-type { margin-left: auto; }
.mc-hero { position: relative; display: grid; gap: 8px; padding: 18px; border-radius: 12px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); }
.mc-hero span { height: 10px; width: 70%; border-radius: 5px; background: rgba(255, 255, 255, .6); }
.mc-hero span:nth-child(2) { width: 45%; height: 7px; background: rgba(255, 255, 255, .22); }
.mc-hero i { position: absolute; right: 16px; top: 50%; width: 54px; height: 54px; margin-top: -27px; border-radius: 50%; background: conic-gradient(from 200deg, var(--violet), var(--cyan), var(--violet)); filter: blur(.5px); animation: spin 8s linear infinite; }
.mc-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mc-row span { height: 46px; border-radius: 10px; background: rgba(255, 255, 255, .045); border: 1px solid var(--line); }

.m-shop { padding: 18px; }
.ms-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; height: 100%; }
.ms-grid div { display: flex; flex-direction: column; gap: 7px; padding: 8px; border-radius: 12px; background: rgba(255, 255, 255, .045); border: 1px solid var(--line); }
.ms-grid i { flex: 1; border-radius: 8px; background: linear-gradient(160deg, rgba(124, 92, 255, .55), rgba(46, 139, 255, .25)); }
.ms-grid div:nth-child(2) i { background: linear-gradient(160deg, rgba(0, 229, 255, .45), rgba(46, 139, 255, .2)); }
.ms-grid div:nth-child(3) i { background: linear-gradient(160deg, rgba(61, 255, 180, .35), rgba(0, 229, 255, .15)); }
.ms-grid span { height: 6px; width: 80%; border-radius: 3px; background: rgba(255, 255, 255, .3); }
.ms-grid b { height: 16px; border-radius: 6px; background: var(--grad); opacity: .85; }
.ms-cart { position: absolute; top: 12px; right: 12px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 500; background: var(--mint); color: #05050c; box-shadow: 0 0 16px rgba(61, 255, 180, .6); animation: pop 2.4s var(--ease) infinite; }
@keyframes pop { 0%, 70%, 100% { transform: scale(1); } 80% { transform: scale(1.25); } }

.m-erp { display: grid; grid-template-columns: 36px 1fr 70px; gap: 10px; padding: 14px; }
.me-side { display: grid; align-content: start; gap: 8px; padding: 8px 6px; border-radius: 10px; background: rgba(255, 255, 255, .04); }
.me-side i { height: 20px; border-radius: 6px; background: rgba(255, 255, 255, .1); }
.me-side i:first-child { background: var(--grad); }
.me-main { display: grid; grid-template-rows: auto 1fr; gap: 10px; }
.me-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.me-kpis span { height: 34px; border-radius: 8px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); }
.me-chart { display: flex; align-items: flex-end; gap: 6px; padding: 10px; border-radius: 10px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); }
.me-chart i { flex: 1; height: var(--h); border-radius: 4px 4px 1px 1px; background: linear-gradient(to top, rgba(46, 139, 255, .3), var(--azure)); transform-origin: bottom; animation: bar 2.8s var(--ease) infinite alternate; }
.me-chart i:nth-child(odd) { animation-delay: -1.2s; }
.me-donut { align-self: center; width: 64px; height: 64px; border-radius: 50%; background: conic-gradient(var(--violet) 0 42%, var(--cyan) 42% 70%, var(--mint) 70% 86%, rgba(255, 255, 255, .1) 86%); -webkit-mask: radial-gradient(circle, transparent 52%, #000 54%); mask: radial-gradient(circle, transparent 52%, #000 54%); animation: spin 12s linear infinite; }

.m-book { padding: 16px; display: grid; gap: 12px; align-content: start; }
.mb-head { display: flex; align-items: center; justify-content: space-between; }
.mb-head span { width: 90px; height: 9px; border-radius: 5px; background: rgba(255, 255, 255, .5); }
.mb-head b { width: 60px; height: 22px; border-radius: 999px; background: var(--grad); }
.mb-cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.mb-cal i { aspect-ratio: 1.25; border-radius: 7px; background: rgba(255, 255, 255, .045); border: 1px solid var(--line); }
.mb-cal i.on { background: rgba(124, 92, 255, .3); border-color: rgba(124, 92, 255, .5); }
.mb-cal i.hl { background: var(--grad); border-color: transparent; box-shadow: 0 0 18px rgba(0, 229, 255, .55); animation: pop 2.4s var(--ease) infinite; }

.m-app { display: flex; justify-content: center; align-items: flex-end; gap: 14px; padding-top: 22px; }
.mp-phone { width: 104px; height: 200px; margin-bottom: -30px; border-radius: 20px; border: 1px solid var(--line-2); background: #0b0b19; padding: 8px; display: flex; flex-direction: column; gap: 6px; box-shadow: inset 0 0 0 3px #05050c; }
.mp-phone-2 { height: 176px; opacity: .8; }
.mp-map { position: relative; flex: 1; border-radius: 12px; overflow: hidden; background: repeating-linear-gradient(35deg, rgba(255, 255, 255, .04) 0 2px, transparent 2px 16px), repeating-linear-gradient(-55deg, rgba(255, 255, 255, .04) 0 2px, transparent 2px 22px), #0e1426; }
.mp-map i { position: absolute; left: 18%; top: 30%; width: 64%; height: 40%; border: 2px dashed var(--cyan); border-color: var(--cyan) transparent transparent var(--cyan); border-radius: 40px 0 0 0; opacity: .8; }
.mp-map b { position: absolute; width: 12px; height: 12px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 5px rgba(61, 255, 180, .2), 0 0 14px var(--mint); offset-path: path("M 18 70 L 18 34 Q 18 28 26 28 L 74 28"); animation: drive 4s var(--ease-io) infinite alternate; left: 0; top: 0; }
@keyframes drive { from { offset-distance: 0%; } to { offset-distance: 100%; } }
.mp-sheet { display: grid; gap: 5px; padding: 8px; border-radius: 10px; background: rgba(255, 255, 255, .06); }
.mp-sheet span { height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .35); }
.mp-sheet span:nth-child(2) { width: 60%; background: rgba(255, 255, 255, .15); }
.mp-sheet em { height: 14px; border-radius: 6px; background: var(--grad); }
.mp-list { display: grid; gap: 6px; }
.mp-list span { height: 30px; border-radius: 8px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); }
.mp-list span:first-child { background: rgba(124, 92, 255, .25); }

.m-learn { padding: 16px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 10px; }
.ml-video { position: relative; border-radius: 12px; background: linear-gradient(140deg, rgba(124, 92, 255, .45), rgba(0, 229, 255, .2)); display: grid; place-items: center; }
.ml-video i { width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .9); clip-path: polygon(38% 28%, 38% 72%, 74% 50%); }
.ml-video::before { content: ""; position: absolute; width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .18); animation: corePulse 2.4s var(--ease) infinite; }
.ml-scrub { position: absolute; left: 10px; right: 10px; bottom: 10px; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .2); overflow: hidden; }
.ml-scrub b { display: block; height: 100%; background: #fff; transform-origin: 0 50%; animation: scrub 6s linear infinite; }
@keyframes scrub { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.ml-list { display: grid; gap: 8px; align-content: start; }
.ml-list span { display: block; padding: 10px 8px; border-radius: 9px; background: rgba(255, 255, 255, .045); border: 1px solid var(--line); }
.ml-list i { display: block; height: 5px; border-radius: 3px; background: var(--grad); }
.ml-list span:nth-child(1) i { width: 100%; }
.ml-list span:nth-child(2) i { width: 64%; }
.ml-list span:nth-child(3) i { width: 22%; }

/* ---------- Why ---------- */
.why { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 80px); align-items: center; }
.pillars { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 28px; }
.pillars li { display: flex; gap: 14px; }
.pillar-icon { width: 42px; height: 42px; border-radius: 12px; flex: none; display: grid; place-items: center; color: var(--cyan); background: rgba(0, 229, 255, .07); border: 1px solid rgba(0, 229, 255, .2); }
.pillars h3 { font: 600 16.5px/1.3 var(--f-display); margin-bottom: 4px; letter-spacing: -.01em; }
.pillars p { font-size: 14px; color: var(--muted); }

.panel {
  position: relative; padding: 26px; border-radius: var(--r-lg);
  border: 1px solid var(--line-2);
  background: linear-gradient(180deg, rgba(22, 22, 46, .7), rgba(9, 9, 20, .8));
  box-shadow: 0 40px 100px -40px rgba(84, 104, 255, .6), inset 0 1px 0 rgba(255, 255, 255, .06);
  overflow: hidden;
}
.panel::before { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 0, rgba(0, 229, 255, .06) 50%, transparent 100%); height: 40%; animation: scan 5s linear infinite; pointer-events: none; }
@keyframes scan { from { transform: translateY(-100%); } to { transform: translateY(260%); } }
.panel-head { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--muted); padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.panel-live { display: inline-flex; align-items: center; gap: 8px; color: var(--mint); font-size: 12px; font-weight: 500; }
.scores { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; padding: 26px 0; }
.score { position: relative; display: grid; justify-items: center; gap: 10px; text-align: center; }
.score svg { width: 100%; max-width: 92px; transform: rotate(-90deg); }
.score circle { fill: none; stroke: rgba(255, 255, 255, .08); stroke-width: 7; }
.score .score-val { stroke: var(--mint); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 2s var(--ease); filter: drop-shadow(0 0 6px rgba(61, 255, 180, .6)); }
.score strong { position: absolute; top: 0; left: 0; right: 0; aspect-ratio: 1; max-width: 92px; margin-inline: auto; display: grid; place-items: center; font-size: clamp(18px, 2vw, 24px); color: var(--mint); }
.score span { font-size: 12px; color: var(--text-2); }
.checks { display: grid; gap: 10px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--text-2); }
.checks li { display: flex; align-items: center; gap: 10px; }
.checks .i { width: 16px; height: 16px; color: var(--mint); stroke-width: 2.4; }
.panel-note { margin-top: 18px; font-size: 12px; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(40px, 6vw, 90px); align-items: start; }
.faq-layout .section-head { position: sticky; top: calc(var(--header-h) + 40px); margin-bottom: 0; }
.faq { display: grid; gap: 12px; }
.faq-item { border-radius: var(--r); border: 1px solid var(--line); background: var(--glass), var(--bg-2); transition: border-color .3s, background-color .3s; }
.faq-item.is-open { border-color: rgba(124, 92, 255, .45); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 22px 24px; text-align: left; font: 600 17px/1.35 var(--f-display); letter-spacing: -.01em; }
.faq-icon { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; flex: none; border: 1px solid var(--line-2); transition: transform .5s var(--ease), background .3s, border-color .3s; }
.faq-icon .i { width: 16px; height: 16px; }
.faq-item.is-open .faq-icon { transform: rotate(135deg); background: var(--grad-btn); border-color: transparent; }
.faq-a { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows .55s var(--ease), visibility 0s .55s; }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 24px 22px; color: var(--text-2); font-size: 15px; }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows .55s var(--ease), visibility 0s; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(40px, 6vw, 80px); align-items: start; }
.contact-copy { display: grid; gap: 22px; justify-items: start; }
.next-steps { display: grid; gap: 4px; width: 100%; margin-top: 10px; }
.next-steps li { display: flex; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.next-steps li > span { font-size: 12px; color: var(--cyan); padding-top: 3px; }
.next-steps strong { font: 600 16px/1.3 var(--f-display); }
.next-steps p { font-size: 14px; color: var(--muted); }
.contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 12px; width: 100%; }
.contact-card { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: var(--r); border: 1px solid var(--line); background: var(--glass), var(--bg-2); font-weight: 500; font-size: 14.5px; transition: border-color .3s, transform .4s var(--ease); min-width: 0; }
.contact-card > span:nth-child(2) { min-width: 0; overflow-wrap: break-word; }
.contact-card small { display: block; font-size: 12px; color: var(--muted); font-weight: 400; }
.contact-card .card-icon { width: 42px; height: 42px; border-radius: 12px; }
.contact-card .arrow { margin-left: auto; width: 18px; height: 18px; color: var(--muted); transition: transform .4s var(--ease), color .3s; }
.contact-card:hover { border-color: var(--line-2); transform: translateY(-3px); }
.contact-card:hover .arrow { transform: translate(3px, -3px); color: var(--cyan); }

.form {
  position: relative; isolation: isolate;
  padding: clamp(22px, 3vw, 34px);
  border-radius: var(--r-lg);
  border: 1px solid var(--line-2);
  background: linear-gradient(180deg, rgba(20, 20, 42, .8), rgba(8, 8, 18, .85));
  box-shadow: 0 50px 120px -50px rgba(84, 104, 255, .7), inset 0 1px 0 rgba(255, 255, 255, .06);
  overflow: hidden;
}
.form-glow { position: absolute; z-index: -1; width: 60%; aspect-ratio: 1; right: -20%; top: -30%; border-radius: 50%; background: radial-gradient(circle, rgba(124, 92, 255, .35), transparent 70%); filter: blur(30px); animation: drift 10s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translate(-40%, 50%); } }
.form-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 18px; margin-bottom: 22px; border-bottom: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.form-dots { display: flex; gap: 6px; }
.form-dots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, .15); }
.form-dots i:last-child { background: var(--mint); box-shadow: 0 0 8px var(--mint); }

.chip-group { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.chip-group legend { width: 100%; margin-bottom: 12px; font-size: 13.5px; color: var(--text-2); font-weight: 500; float: left; }
.chip-group label { position: relative; cursor: pointer; }
.chip-group input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip-group span { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 500; color: var(--text-2); border: 1px solid var(--line-2); background: rgba(255, 255, 255, .02); transition: all .3s var(--ease); }
.chip-group span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--muted); transition: background .3s, box-shadow .3s; }
.chip-group label:hover span { border-color: rgba(170, 176, 255, .4); color: var(--text); }
.chip-group input:checked + span { color: #fff; border-color: rgba(0, 229, 255, .55); background: linear-gradient(135deg, rgba(124, 92, 255, .35), rgba(46, 139, 255, .25)); }
.chip-group input:checked + span::before { background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }
.chip-group input:focus-visible + span { outline: 2px solid var(--cyan); outline-offset: 2px; }

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.field { position: relative; }
.field--full { grid-column: 1 / -1; }
.field input, .field textarea {
  width: 100%; padding: 24px 16px 10px;
  border-radius: 14px; border: 1px solid var(--line-2);
  background: rgba(0, 0, 0, .28);
  font-size: 15px; color: var(--text);
  outline: none; resize: vertical;
  transition: border-color .3s, box-shadow .3s, background-color .3s;
}
.field textarea { min-height: 140px; }
.field label { position: absolute; left: 17px; top: 17px; font-size: 15px; color: var(--muted); pointer-events: none; transform-origin: 0 0; transition: transform .3s var(--ease), color .3s; }
.field input:focus, .field textarea:focus { border-color: rgba(0, 229, 255, .6); box-shadow: 0 0 0 4px rgba(0, 229, 255, .1); background: rgba(0, 0, 0, .4); }
.field input:focus + label, .field textarea:focus + label,
.field input:not(:placeholder-shown) + label, .field textarea:not(:placeholder-shown) + label { transform: translateY(-10px) scale(.78); color: var(--cyan); }
.field input.is-invalid, .field textarea.is-invalid { border-color: #ff6b8b; box-shadow: 0 0 0 4px rgba(255, 107, 139, .1); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-foot { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; margin-top: 22px; }
.btn-submit { min-width: 200px; }
.btn-spinner { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .35); border-top-color: #fff; animation: spin .8s linear infinite; }
.is-sending .btn-spinner { display: block; }
.is-sending .btn-submit .i { display: none; }
.btn-submit:disabled { opacity: .75; cursor: progress; }
.form-status { flex: 1 1 220px; font-size: 14px; color: var(--text-2); }
.form-status[data-state="ok"] { color: var(--mint); }
.form-status[data-state="error"] { color: #ff8ca5; }
.form-status a { text-decoration: underline; }

/* ---------- Footer ---------- */
.footer { position: relative; padding: 40px 0 30px; border-top: 1px solid var(--line); overflow: hidden; }
.footer-cta { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; padding: clamp(30px, 5vw, 56px); margin: 30px 0 70px; border-radius: var(--r-lg); border: 1px solid var(--line-2); background: radial-gradient(ellipse at 0% 0%, rgba(124, 92, 255, .3), transparent 55%), radial-gradient(ellipse at 100% 100%, rgba(0, 229, 255, .18), transparent 55%), var(--bg-2); }
.footer-cta h2 { font: 600 clamp(28px, 3.4vw, 46px)/1.1 var(--f-display); letter-spacing: -.035em; max-width: 760px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; padding-bottom: 50px; }
.footer-brand p { margin-top: 18px; max-width: 340px; font-size: 14.5px; color: var(--muted); }
.footer-col { display: grid; align-content: start; gap: 12px; }
.footer-col h3 { font: 600 13px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--text-2); margin-bottom: 6px; }
.footer-col a { font-size: 14.5px; color: var(--muted); transition: color .25s, transform .3s var(--ease); justify-self: start; }
.footer-col a:hover { color: var(--text); transform: translateX(4px); }
.footer-giant {
  font: 700 clamp(52px, 13vw, 188px)/.85 var(--f-display); letter-spacing: -.06em; text-align: center;
  background: linear-gradient(180deg, rgba(238, 240, 255, .14), rgba(238, 240, 255, 0) 85%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  user-select: none; margin-bottom: 20px; white-space: nowrap;
  transition: background .6s;
}
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }
.footer-bottom .mono { font-size: 12px; }
.to-top { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); transition: background .3s, border-color .3s, transform .4s var(--ease); }
.to-top:hover { background: var(--grad-btn); border-color: transparent; transform: translateY(-4px); }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1180px) {
  .nav a { padding: 8px 11px; }
  .fc-code { left: -2%; width: 250px; }
  .scroll-cue { display: none; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 50px; }
  .steps-track { display: none; }
}

@media (max-width: 1020px) {
  :root { --header-h: 68px; }
  .nav, .header-cta { display: none; }
  .menu-btn { display: block; }
  .hero { padding-top: calc(var(--header-h) + 30px); }
  .hero-inner { grid-template-columns: 1fr; gap: 10px; }
  .hero-title { font-size: clamp(40px, 9vw, 72px); }
  .hero-visual { justify-self: center; max-width: 560px; margin-top: 10px; }
  .platforms, .why, .faq-layout, .contact { grid-template-columns: 1fr; }
  .orbit-wrap { order: 2; }
  .faq-layout .section-head { position: static; }
  .solutions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  body { font-size: 15.5px; }
  .hero-meta { grid-template-columns: 1fr 1fr; gap: 20px; }
  .hero-meta li:last-child { display: none; }
  .hero-cta .btn { flex: 1 1 auto; }
  .fc-code { width: 230px; top: 2%; left: 0; }
  .fc-code pre { font-size: 10.5px; }
  .fc-score { right: 0; top: 10%; bottom: auto; }
  .fc-deploy { left: 0; right: auto; bottom: 3%; width: 220px; }
  .hud-label { display: none; }
  .scroll-cue { display: none; }
  .bento { grid-template-columns: 1fr; }
  .card--wide { grid-column: auto; flex-direction: column; }
  .card { min-height: 0; }
  .card .card-icon + h3 { margin-top: 18px; }
  .steps { grid-template-columns: 1fr; row-gap: 34px; padding-left: 0; }
  .step { display: grid; grid-template-columns: 56px 1fr; column-gap: 18px; row-gap: 6px; }
  .step-dot { grid-row: span 4; margin-bottom: 0; }
  .solutions { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; }
  .scores { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 24px; }
  .form-grid { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px 20px; }
  .footer-grid > .footer-col:last-child { grid-column: 1 / -1; }
  .footer-bottom { justify-content: center; text-align: center; }
  .tablist button { flex: 1 1 30%; padding: 10px 8px; }
}

@media (max-width: 420px) {
  .fc-code { display: none; }
  .hero-typed { font-size: 12px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .marquee-track { animation: none !important; }
}

/* ==========================================================================
   AI SOLUTIONS
   ========================================================================== */
.glow-ai { width: 760px; height: 760px; left: -260px; top: 8%; background: radial-gradient(circle, rgba(124, 92, 255, .38), rgba(0, 229, 255, .08) 50%, transparent 70%); }
.section--ai::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(rgba(170, 176, 255, .16) 1px, transparent 1.2px);
  background-size: 26px 26px;
  mask-image: radial-gradient(ellipse 60% 50% at 30% 40%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 60% 50% at 30% 40%, #000, transparent 75%);
}
.ai-layout { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 24px; align-items: start; }

/* chat demo */
.ai-demo { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 16px; }
.chat {
  position: relative; overflow: hidden;
  border-radius: var(--r-lg); border: 1px solid var(--line-2);
  background: linear-gradient(180deg, rgba(22, 22, 46, .85), rgba(8, 8, 20, .92));
  box-shadow: 0 40px 100px -40px rgba(84, 104, 255, .7), inset 0 1px 0 rgba(255, 255, 255, .06);
}
@property --chat-a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.chat::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: conic-gradient(from var(--chat-a), transparent 0 70%, rgba(0, 229, 255, .8) 85%, rgba(124, 92, 255, .8) 95%, transparent);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: chatBorder 6s linear infinite;
}
@keyframes chatBorder { to { --chat-a: 360deg; } }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.chat-avatar { position: relative; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--grad); box-shadow: 0 0 24px rgba(84, 104, 255, .7); flex: none; }
.chat-avatar::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid rgba(0, 229, 255, .5); animation: ping 2.4s var(--ease) infinite; }
.chat-avatar .i { width: 18px; height: 18px; fill: #fff; stroke: none; }
.chat-who { display: grid; gap: 2px; min-width: 0; }
.chat-who strong { font: 600 15px/1.2 var(--f-display); }
.chat-who span { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; color: var(--muted); }
.chat-who .pulse { width: 7px; height: 7px; }
.chat-tag { margin-left: auto; font-size: 10.5px; color: var(--cyan); padding: 5px 9px; border-radius: 999px; border: 1px solid rgba(0, 229, 255, .25); background: rgba(0, 229, 255, .06); white-space: nowrap; }
.chat-body {
  height: 380px; padding: 18px; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 10px;
  mask-image: linear-gradient(transparent, #000 18%);
  -webkit-mask-image: linear-gradient(transparent, #000 18%);
  transition: opacity .4s;
}
.chat-body.is-clearing { opacity: 0; }
.msg { flex: none; max-width: 84%; padding: 10px 14px; border-radius: 16px; font-size: 14px; line-height: 1.5; animation: msgIn .45s var(--ease) both; }
.msg.user { align-self: flex-end; color: #fff; background: var(--grad-btn); border-bottom-right-radius: 5px; box-shadow: 0 8px 24px -10px rgba(84, 104, 255, .8); }
.msg.bot { align-self: flex-start; color: var(--text); background: rgba(255, 255, 255, .06); border: 1px solid var(--line); border-bottom-left-radius: 5px; }
.msg.action { align-self: flex-start; padding: 8px 12px; border-radius: 10px; font: 500 12px/1.4 var(--f-mono); color: var(--mint); background: rgba(61, 255, 180, .07); border: 1px solid rgba(61, 255, 180, .28); }
.msg.lang { align-self: flex-start; padding: 6px 11px; border-radius: 999px; font: 500 11.5px/1.4 var(--f-mono); color: var(--cyan); background: rgba(0, 229, 255, .07); border: 1px solid rgba(0, 229, 255, .28); }
.msg.typing { align-self: flex-start; display: flex; gap: 5px; padding: 13px 14px; background: rgba(255, 255, 255, .06); border: 1px solid var(--line); border-bottom-left-radius: 5px; }
.msg.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: typingDot 1s ease-in-out infinite; }
.msg.typing i:nth-child(2) { animation-delay: .15s; }
.msg.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes msgIn { from { opacity: 0; transform: translateY(10px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes typingDot { 0%, 100% { transform: translateY(0); opacity: .5; } 50% { transform: translateY(-4px); opacity: 1; } }
.chat-input { display: flex; align-items: center; justify-content: space-between; margin: 0 14px 14px; padding: 8px 8px 8px 16px; border-radius: 14px; border: 1px solid var(--line); background: rgba(0, 0, 0, .3); font-size: 14px; color: var(--muted); }
.chat-send { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: #fff; background: var(--grad-btn); }
.chat-send .i { width: 16px; height: 16px; }
.ai-caps { display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 0 6px; font-size: 13.5px; color: var(--text-2); }
.ai-caps li { display: inline-flex; align-items: center; gap: 8px; }
.ai-caps .i { width: 16px; height: 16px; color: var(--mint); stroke-width: 2.4; }

/* AI service cards */
.ai-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.card--ai { min-height: 0; padding: 24px; gap: 10px; }
.card--ai h3, .card--ai .card-icon + h3 { margin-top: 10px; font-size: 18px; }
.card--ai .card-icon { background: linear-gradient(135deg, rgba(124, 92, 255, .45), rgba(0, 229, 255, .22)); }

/* featured project */
.ai-feature {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 34px; align-items: center;
  margin-top: 24px; padding: clamp(24px, 3.5vw, 40px);
  border-radius: var(--r-lg); border: 1px solid var(--line-2);
  background: radial-gradient(ellipse at 0% 0%, rgba(124, 92, 255, .22), transparent 55%), radial-gradient(ellipse at 100% 100%, rgba(0, 229, 255, .14), transparent 55%), var(--bg-2);
}
.ai-feature-copy { display: grid; gap: 12px; justify-items: start; }
.ai-feature-copy h3 { font: 600 clamp(24px, 2.6vw, 32px)/1.15 var(--f-display); letter-spacing: -.03em; }
.ai-feature-copy p { color: var(--text-2); font-size: 15px; }

.ai-pipeline { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; padding-top: 8px; }
.pipe-line { position: absolute; left: 12.5%; right: 12.5%; top: 42px; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, .08); }
.pipe-line i { position: absolute; inset: 0; border-radius: inherit; background: var(--grad); transform-origin: 0 50%; box-shadow: 0 0 12px rgba(0, 229, 255, .7); animation: pipeFill 6s linear infinite; }
@keyframes pipeFill { 0% { transform: scaleX(0); opacity: 1; } 80%, 95% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(1); opacity: 0; } }
.pipe-step { position: relative; z-index: 1; display: grid; justify-items: center; gap: 4px; text-align: center; }
.pipe-step strong { margin-top: 8px; font: 600 15px/1.2 var(--f-display); }
.pipe-step small { font-size: 12px; color: var(--muted); }
.pipe-icon { width: 56px; height: 56px; margin-top: 6px; border-radius: 18px; display: grid; place-items: center; color: var(--muted); background: var(--bg-3); border: 1px solid var(--line-2); }
.pipe-icon .i { width: 22px; height: 22px; }
.s1 .pipe-icon { animation: pipe1 6s linear infinite; }
.s2 .pipe-icon { animation: pipe2 6s linear infinite; }
.s3 .pipe-icon { animation: pipe3 6s linear infinite; }
.s4 .pipe-icon { animation: pipe4 6s linear infinite; }
@keyframes pipe1 { 0%, 95% { color: #fff; background: linear-gradient(135deg, #7c5cff, #2e8bff); border-color: transparent; box-shadow: 0 0 0 6px rgba(124, 92, 255, .12), 0 10px 30px -6px rgba(84, 104, 255, .8); } 100% { color: var(--muted); background: var(--bg-3); border-color: var(--line-2); box-shadow: none; } }
@keyframes pipe2 { 0%, 26% { color: var(--muted); background: var(--bg-3); border-color: var(--line-2); box-shadow: none; } 27%, 95% { color: #fff; background: linear-gradient(135deg, #5f6bff, #2e8bff); border-color: transparent; box-shadow: 0 0 0 6px rgba(84, 104, 255, .12), 0 10px 30px -6px rgba(46, 139, 255, .8); } 100% { color: var(--muted); background: var(--bg-3); border-color: var(--line-2); box-shadow: none; } }
@keyframes pipe3 { 0%, 53% { color: var(--muted); background: var(--bg-3); border-color: var(--line-2); box-shadow: none; } 54%, 95% { color: #fff; background: linear-gradient(135deg, #2e8bff, #12b8f5); border-color: transparent; box-shadow: 0 0 0 6px rgba(46, 139, 255, .12), 0 10px 30px -6px rgba(0, 200, 255, .8); } 100% { color: var(--muted); background: var(--bg-3); border-color: var(--line-2); box-shadow: none; } }
@keyframes pipe4 { 0%, 79% { color: var(--muted); background: var(--bg-3); border-color: var(--line-2); box-shadow: none; } 80%, 95% { color: #05050c; background: linear-gradient(135deg, #00e5ff, #3dffb4); border-color: transparent; box-shadow: 0 0 0 6px rgba(0, 229, 255, .14), 0 10px 30px -6px rgba(0, 229, 255, .9); } 100% { color: var(--muted); background: var(--bg-3); border-color: var(--line-2); box-shadow: none; } }
.pipe-wave { grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; gap: 4px; height: 54px; margin-top: 18px; padding: 0 10px; border-radius: 14px; border: 1px solid var(--line); background: rgba(0, 0, 0, .25); }
.pipe-wave i { width: 4px; height: 30%; border-radius: 3px; background: linear-gradient(to top, var(--violet), var(--cyan)); animation: waveBar 1.2s ease-in-out infinite alternate; }
.pipe-wave i:nth-child(3n) { animation-duration: .9s; }
.pipe-wave i:nth-child(4n+1) { animation-duration: 1.4s; animation-delay: -.3s; }
.pipe-wave i:nth-child(5n+2) { animation-duration: 1s; animation-delay: -.6s; }
.pipe-wave i:nth-child(7n) { animation-duration: .8s; animation-delay: -.2s; }
@keyframes waveBar { from { height: 18%; } to { height: 82%; } }
.pipe-targets { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 12px; }
.pipe-targets li { font-size: 11.5px; padding: 6px 11px; border-radius: 999px; color: var(--text-2); border: 1px solid var(--line); background: rgba(255, 255, 255, .03); }

.ai-stack { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 16px; margin-top: 28px; }
.ai-stack > span { font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.ai-stack ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.ai-stack li { font: 500 13px/1 var(--f-display); padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .025); color: var(--text-2); transition: color .3s, border-color .3s, background-color .3s; }
.ai-stack li:hover { color: #fff; border-color: rgba(0, 229, 255, .5); background: rgba(124, 92, 255, .14); }

@media (max-width: 1020px) {
  .ai-layout, .ai-feature { grid-template-columns: 1fr; }
  .ai-demo { position: static; }
}
@media (max-width: 720px) {
  .ai-grid { grid-template-columns: 1fr; }
  .chat-body { height: 340px; padding: 14px; }
  .chat-tag { display: none; }
  .pipe-step small { display: none; }
  .pipe-icon { width: 48px; height: 48px; border-radius: 15px; }
  .pipe-line { top: 38px; }
}
@media (prefers-reduced-motion: reduce) {
  .chat::before { display: none; }
  .pipe-icon { animation: none !important; color: #fff !important; background: linear-gradient(135deg, #7c5cff, #2e8bff) !important; border-color: transparent !important; }
  .pipe-line i { animation: none !important; transform: scaleX(1); }
}

/* ==========================================================================
   AI CHAT ASSISTANT WIDGET (chat.js)
   ========================================================================== */
.pc { --pc-r: 22px; position: relative; z-index: 150; font-family: var(--f-body); }
.pc-launch {
  position: fixed; right: max(20px, env(safe-area-inset-right)); bottom: max(20px, env(safe-area-inset-bottom)); z-index: 151;
  width: 60px; height: 60px; border: 0; border-radius: 20px; display: grid; place-items: center; cursor: pointer; color: #fff;
  background: var(--grad-btn); box-shadow: 0 12px 34px -8px rgba(84, 104, 255, .75), inset 0 1px 0 rgba(255, 255, 255, .25);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), opacity .3s;
}
.pc-launch::before {
  content: ""; position: absolute; inset: -6px; border-radius: 24px; border: 1px solid rgba(0, 229, 255, .45);
  animation: pcRing 2.8s var(--ease) infinite; pointer-events: none;
}
.pc-launch:hover { transform: translateY(-3px) scale(1.04); box-shadow: 0 18px 40px -8px rgba(84, 104, 255, .9), inset 0 1px 0 rgba(255, 255, 255, .25); }
.pc-launch:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; }
.pc-launch-ic { position: absolute; display: grid; place-items: center; transition: transform .4s var(--ease), opacity .3s; }
.pc-launch-ic svg { width: 28px; height: 28px; }
.pc-ic-close { opacity: 0; transform: rotate(-90deg) scale(.6); }
.pc.is-open .pc-ic-open { opacity: 0; transform: rotate(90deg) scale(.6); }
.pc.is-open .pc-ic-close { opacity: 1; transform: none; }
.pc.is-open .pc-launch::before, .pc.was-opened .pc-launch::before { display: none; }
.pc-dot { position: absolute; top: 9px; right: 9px; width: 10px; height: 10px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 3px #3d5bff, 0 0 12px var(--mint); }
.pc.was-opened .pc-dot, .pc.is-open .pc-dot { display: none; }
@keyframes pcRing { 0% { transform: scale(.92); opacity: .9; } 70%, 100% { transform: scale(1.18); opacity: 0; } }
.menu-open .pc-launch, .menu-open .pc-tip { opacity: 0; pointer-events: none; }

.pc-tip {
  position: fixed; right: max(20px, env(safe-area-inset-right)); bottom: calc(max(20px, env(safe-area-inset-bottom)) + 74px); z-index: 151;
  max-width: 250px; padding: 12px 34px 12px 14px; border-radius: 16px 16px 4px 16px; cursor: pointer;
  font-size: 13.5px; line-height: 1.45; color: var(--text); background: rgba(16, 16, 32, .92); border: 1px solid var(--line-2);
  box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .8); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  animation: pcPop .5s var(--ease) both;
}
.pc-tip[hidden] { display: none; }
.pc-tip-x { position: absolute; top: 6px; right: 6px; width: 24px; height: 24px; display: grid; place-items: center; border: 0; border-radius: 8px; background: none; color: var(--muted); cursor: pointer; }
.pc-tip-x:hover { color: var(--text); background: rgba(255, 255, 255, .06); }
.pc-tip-x svg { width: 14px; height: 14px; }
@keyframes pcPop { from { opacity: 0; transform: translateY(10px) scale(.96); } to { opacity: 1; transform: none; } }

.pc-panel {
  position: fixed; right: max(20px, env(safe-area-inset-right)); bottom: calc(max(20px, env(safe-area-inset-bottom)) + 76px); z-index: 152;
  width: min(390px, calc(100vw - 40px)); height: min(640px, calc(100vh - 130px)); height: min(640px, calc(100dvh - 130px));
  display: flex; flex-direction: column; overflow: hidden; border-radius: var(--pc-r);
  background: linear-gradient(180deg, #13132a, #08080f); border: 1px solid var(--line-2);
  box-shadow: 0 40px 80px -24px rgba(0, 0, 0, .9), 0 0 0 1px rgba(124, 92, 255, .08), 0 0 60px -20px rgba(84, 104, 255, .5);
  opacity: 0; transform: translateY(16px) scale(.97); transform-origin: bottom right; transition: opacity .25s var(--ease), transform .3s var(--ease);
}
.pc-panel.is-open { opacity: 1; transform: none; }
.pc-panel[hidden] { display: none; }
.pc-panel::before { content: ""; position: absolute; inset: 0 0 auto; height: 1px; background: var(--grad); opacity: .7; }

.pc-head { display: flex; align-items: center; gap: 12px; padding: 14px 12px 14px 16px; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .02); }
.pc-avatar { flex: none; width: 40px; height: 40px; border-radius: 14px; display: grid; place-items: center; color: #fff; background: var(--grad-btn); box-shadow: 0 6px 18px -6px rgba(84, 104, 255, .8); }
.pc-avatar svg { width: 22px; height: 22px; }
.pc-title { flex: 1; min-width: 0; display: grid; line-height: 1.25; }
.pc-title b { font: 600 15px/1.3 var(--f-display); letter-spacing: -.01em; }
.pc-title small { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pc-online { flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 8px var(--mint); }
.pc-icon { flex: none; width: 36px; height: 36px; display: grid; place-items: center; border: 0; border-radius: 11px; background: none; color: var(--text-2); cursor: pointer; transition: background-color .2s, color .2s; }
.pc-icon:hover { color: #fff; background: rgba(255, 255, 255, .07); }
.pc-icon:focus-visible, .pc-chip:focus-visible, .pc-send:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.pc-icon svg { width: 18px; height: 18px; }

.pc-log { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 18px 16px 8px; display: flex; flex-direction: column; gap: 10px; scrollbar-width: thin; scrollbar-color: rgba(170, 176, 255, .2) transparent; }
.pc-msg { max-width: 86%; padding: 10px 14px; border-radius: 18px; font-size: 14.5px; line-height: 1.55; overflow-wrap: anywhere; animation: pcIn .35s var(--ease) both; }
.pc-msg p { margin: 0; }
.pc-msg p + p, .pc-msg p + ul, .pc-msg p + ol, .pc-msg ul + p, .pc-msg ol + p { margin-top: 8px; }
.pc-msg ul, .pc-msg ol { margin: 0; padding-left: 20px; }
.pc-msg ul { list-style: disc; }
.pc-msg ol { list-style: decimal; }
.pc-msg li + li { margin-top: 3px; }
.pc-msg b { font-weight: 600; color: #fff; }
.pc-msg a { color: var(--cyan); text-decoration: underline; text-underline-offset: 2px; }
.pc-bot { align-self: flex-start; color: var(--text); background: rgba(255, 255, 255, .055); border: 1px solid var(--line); border-bottom-left-radius: 6px; }
.pc-user { align-self: flex-end; color: #fff; background: var(--grad-btn); border-bottom-right-radius: 6px; white-space: pre-line; box-shadow: 0 8px 20px -10px rgba(84, 104, 255, .8); }
.pc-note { align-self: center; max-width: 100%; padding: 6px 12px; font-size: 12.5px; color: var(--mint); background: rgba(61, 255, 180, .08); border: 1px solid rgba(61, 255, 180, .25); border-radius: 999px; }
.pc-error { align-self: flex-start; font-size: 13.5px; color: #ffc2cc; background: rgba(255, 90, 120, .1); border: 1px solid rgba(255, 90, 120, .3); border-bottom-left-radius: 6px; }
.pc-typing { display: flex; gap: 5px; padding: 14px 16px; }
.pc-typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--text-2); animation: pcDot 1.2s ease-in-out infinite; }
.pc-typing i:nth-child(2) { animation-delay: .15s; }
.pc-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes pcDot { 0%, 60%, 100% { transform: none; opacity: .4; } 30% { transform: translateY(-5px); opacity: 1; } }
@keyframes pcIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.pc-quick { display: flex; flex-wrap: wrap; gap: 8px; padding: 6px 16px 10px; }
.pc-quick[hidden] { display: none; }
.pc-chip { padding: 8px 13px; border-radius: 999px; font: 500 13px/1.2 var(--f-body); color: var(--text-2); background: rgba(124, 92, 255, .1); border: 1px solid rgba(124, 92, 255, .35); cursor: pointer; transition: color .2s, background-color .2s, border-color .2s, transform .2s; }
.pc-chip:hover { color: #fff; background: rgba(124, 92, 255, .22); border-color: rgba(0, 229, 255, .5); transform: translateY(-1px); }
.pc-chip-strong { color: #fff; background: var(--grad-btn); border-color: transparent; }

.pc-form { display: flex; align-items: flex-end; gap: 8px; margin: 0 12px; padding: 6px 6px 6px 14px; border-radius: 18px; background: rgba(255, 255, 255, .045); border: 1px solid var(--line-2); transition: border-color .2s, box-shadow .2s; }
.pc-form:focus-within { border-color: rgba(0, 229, 255, .5); box-shadow: 0 0 0 4px rgba(46, 139, 255, .12); }
.pc-form textarea { flex: 1; min-width: 0; max-height: 120px; padding: 9px 0; resize: none; border: 0; outline: 0; background: none; color: var(--text); font: 400 15px/1.45 var(--f-body); }
.pc-form textarea::placeholder { color: var(--muted); }
.pc-send { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border: 0; border-radius: 13px; color: #fff; background: var(--grad-btn); cursor: pointer; transition: transform .2s, opacity .2s; }
.pc-send:hover { transform: translateX(2px); }
.pc-send:disabled { opacity: .45; cursor: default; transform: none; }
.pc-send svg { width: 19px; height: 19px; }
.pc-foot { margin: 0; padding: 8px 16px 12px; font-size: 11px; line-height: 1.4; text-align: center; color: var(--muted); }

@media (max-width: 560px) {
  .pc-launch { width: 56px; height: 56px; border-radius: 18px; right: 16px; bottom: max(16px, env(safe-area-inset-bottom)); }
  .pc-tip { right: 16px; bottom: calc(max(16px, env(safe-area-inset-bottom)) + 68px); }
  .pc-panel { inset: 0; width: 100%; height: 100%; border-radius: 0; border: 0; padding-bottom: env(safe-area-inset-bottom); transform: translateY(24px); }
  .pc.is-open .pc-launch { opacity: 0; pointer-events: none; }
  .pc-lock, .pc-lock body { overflow: hidden; }
  .pc-form textarea { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .pc-launch::before { display: none; }
  .pc-panel, .pc-msg, .pc-tip { transition: none; animation: none; }
  .pc-typing i { animation-duration: 2.4s; }
}

/* ==========================================================================
   SERVICE PAGES (generated by site-src/build_service_pages.py)
   ========================================================================== */
.card-link { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; margin-top: 4px; font: 500 14px/1.3 var(--f-body); color: var(--cyan); position: relative; z-index: 3; }
.card-link .i { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.card-link:hover .i { transform: translateX(4px); }
.section-head .card-link { align-self: center; }

.page-hero { position: relative; isolation: isolate; overflow: hidden; padding: calc(var(--header-h) + clamp(44px, 7vw, 100px)) 0 clamp(56px, 7vw, 96px); border-bottom: 1px solid var(--line); }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background: radial-gradient(60% 70% at 85% 10%, rgba(124, 92, 255, .28), transparent 70%), radial-gradient(45% 55% at 100% 70%, rgba(0, 229, 255, .12), transparent 70%), radial-gradient(40% 50% at 10% 0%, rgba(46, 139, 255, .14), transparent 70%);
}
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; font: 500 12.5px/1.4 var(--f-mono); letter-spacing: .04em; color: var(--muted); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: var(--line-2); }
.breadcrumb a { transition: color .2s; }
.breadcrumb a:hover { color: var(--text); }
.breadcrumb [aria-current] { color: var(--text-2); }
.page-eyebrow { margin-top: clamp(28px, 4vw, 44px); }
.page-title { max-width: 980px; margin: 18px 0 22px; font: 600 clamp(38px, 5.6vw, 76px)/1.03 var(--f-display); letter-spacing: -.045em; text-wrap: balance; }
.page-lead { max-width: 700px; font-size: clamp(16px, 1.45vw, 19px); line-height: 1.7; color: var(--text-2); }
.page-highlights { display: grid; grid-template-columns: repeat(3, minmax(0, 220px)); gap: 28px; margin-top: 46px; padding-top: 26px; border-top: 1px solid var(--line); }
.page-highlights li { display: grid; gap: 4px; }
.page-highlights strong { font: 600 15px/1.2 var(--f-display); }
.page-highlights span { font-size: 13px; color: var(--muted); }

.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.svc-grid .card, .related .card { min-height: 0; }
.svc-grid .card .card-icon + h3, .related .card .card-icon + h3 { margin-top: 18px; }

.split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 90px); align-items: center; }
.split .section-head { margin-bottom: 0; }
.checklist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.checklist li { display: flex; align-items: flex-start; gap: 12px; padding: 16px 18px; border-radius: var(--r); border: 1px solid var(--line); background: var(--glass), var(--bg-2); font-size: 15px; line-height: 1.5; color: var(--text-2); }
.checklist .i { flex: none; width: 20px; height: 20px; margin-top: 1px; color: var(--mint); }

.mini-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.mini-steps li { display: grid; align-content: start; gap: 10px; padding: 26px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--glass), var(--bg-2); }
.mini-steps .mono { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--cyan); }
.mini-steps h3 { font: 600 20px/1.25 var(--f-display); letter-spacing: -.02em; }
.mini-steps p { font-size: 14.5px; line-height: 1.6; color: var(--muted); }

.related { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.related .card { color: inherit; }
.related .card h3 { font-size: 18px; }
.related .arrow { position: absolute; top: 26px; right: 26px; width: 18px; height: 18px; color: var(--muted); transition: transform .35s var(--ease), color .3s; }
.related .card:hover { border-color: rgba(124, 92, 255, .45); }
.related .card:hover .arrow { color: var(--cyan); transform: translate(3px, -3px); }
.related .card:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

@media (max-width: 1180px) {
  .related { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mini-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1020px) {
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .svc-grid, .checklist, .mini-steps, .related { grid-template-columns: 1fr; }
  .page-highlights { grid-template-columns: 1fr 1fr; gap: 20px; }
  .page-highlights li:last-child { grid-column: 1 / -1; }
}

/* ==========================================================================
   CASE STUDIES & TESTIMONIALS (generated from site-src/case_studies.json)
   ========================================================================== */
.cases, .quotes { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.cases > *, .quotes > * { flex: 0 1 calc((100% - 32px) / 3); }
.quotes { margin-top: 16px; }
.section-head .card-link { margin-top: -4px; }

.case-card { min-height: 0; gap: 10px; color: inherit; }
.case-card:hover { border-color: rgba(124, 92, 255, .45); }
.case-card h3 { margin-top: 2px; }
.case-img { width: calc(100% + 36px); max-width: none; height: auto; max-height: 360px; aspect-ratio: 16 / 10; object-fit: cover; margin: -18px -18px 8px; border-radius: 20px; border: 1px solid var(--line); background: var(--bg-3); }
.case-img--blank { display: grid; place-items: center; background: radial-gradient(circle at 70% 20%, rgba(124, 92, 255, .3), transparent 60%), radial-gradient(circle at 20% 90%, rgba(0, 229, 255, .16), transparent 55%), #080814; }
.case-img--blank span { font: 700 clamp(48px, 5.5vw, 80px)/1 var(--f-display); letter-spacing: -.05em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: .8; }
.case-meta { font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--cyan); }
.case-foot { margin-top: auto; display: grid; gap: 16px; padding-top: 8px; }
.case-stats { display: flex; flex-wrap: wrap; gap: 12px 28px; padding-top: 16px; border-top: 1px solid var(--line); }
.case-stats li { display: grid; gap: 2px; max-width: 150px; }
.case-stats strong, .case-results strong { font-family: var(--f-display); font-weight: 600; letter-spacing: -.035em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.case-stats strong { font-size: 26px; line-height: 1.1; }
.case-stats span { font-size: 12.5px; line-height: 1.4; color: var(--muted); }
.case-client { display: flex; align-items: center; justify-content: space-between; gap: 12px; font: 600 15px/1.3 var(--f-display); color: var(--text-2); }
.case-client .i { width: 18px; height: 18px; color: var(--muted); transition: transform .35s var(--ease), color .3s; }
.case-card:hover .case-client .i { color: var(--cyan); transform: translate(3px, -3px); }
.case-card:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

.quote-card { position: relative; display: flex; flex-direction: column; gap: 22px; padding: 26px 28px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--glass), var(--bg-2); }
.quote-card::before { content: "\201C"; height: 30px; font: 700 64px/1 var(--f-display); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.quote-card blockquote { margin: 0; display: grid; gap: 12px; font-size: 16px; line-height: 1.7; color: var(--text); }
.quote-card figcaption { margin-top: auto; display: flex; align-items: center; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line); }
.quote-card figcaption strong { display: block; font: 600 15px/1.3 var(--f-display); }
.quote-card figcaption small { display: block; font-size: 13px; line-height: 1.4; color: var(--muted); }
.quote-initials { width: 42px; height: 42px; flex: none; border-radius: 50%; display: grid; place-items: center; font: 600 14px/1 var(--f-display); color: #fff; background: linear-gradient(135deg, rgba(124, 92, 255, .55), rgba(0, 229, 255, .28)); border: 1px solid rgba(170, 176, 255, .3); }
.quote-card .card-link { margin-top: -8px; }
.quotes > .quote-card--lg { flex-basis: 860px; }
.quote-card--lg { padding: clamp(28px, 5vw, 56px); }
.quote-card--lg blockquote { font: 500 clamp(19px, 2.1vw, 25px)/1.55 var(--f-display); letter-spacing: -.015em; }

/* case study page */
.case-results { display: flex; flex-wrap: wrap; gap: 24px clamp(32px, 5vw, 64px); margin-top: 40px; }
.case-results li { display: grid; gap: 6px; max-width: 230px; }
.case-results strong { font-size: clamp(38px, 4.6vw, 58px); line-height: 1; }
.case-results span { font-size: 14px; line-height: 1.45; color: var(--text-2); }
.case-facts { display: flex; flex-wrap: wrap; gap: 20px clamp(28px, 4vw, 52px); margin: 44px 0 0; padding-top: 26px; border-top: 1px solid var(--line); }
.case-facts div { display: grid; gap: 4px; }
.case-facts dt { font: 500 11.5px/1.3 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.case-facts dd { margin: 0; font: 600 15px/1.45 var(--f-display); }
.case-facts a { color: var(--cyan); text-decoration: underline; text-decoration-color: rgba(0, 229, 255, .35); text-underline-offset: 3px; transition: text-decoration-color .2s; }
.case-facts a:hover { text-decoration-color: currentColor; }

.case-shot-wrap { padding-top: clamp(48px, 6vw, 80px); }
.case-shot { margin: 0; }
.case-shot img { width: 100%; height: auto; border-radius: var(--r-lg); border: 1px solid var(--line-2); box-shadow: 0 40px 90px -40px rgba(84, 104, 255, .55); }

.case-rows { display: grid; }
.case-row { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: 14px clamp(32px, 5vw, 72px); padding: clamp(30px, 4vw, 46px) 0; border-top: 1px solid var(--line); }
.case-row:last-child { border-bottom: 1px solid var(--line); }
.case-row h2 { font: 500 12.5px/1.8 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); }
.case-row-body { display: grid; gap: 18px; max-width: 780px; font-size: clamp(16px, 1.3vw, 17.5px); line-height: 1.75; color: var(--text-2); }
.case-row-body .checklist { margin-top: 6px; }
.case-note { margin-top: 22px; font-size: 13.5px; color: var(--muted); }

/* the header menu gained a "Case studies" link: keep labels on one line */
.nav a { white-space: nowrap; }
@media (max-width: 1100px) {
  .nav { gap: 2px; }
  .nav a { padding: 8px 8px; }
}
@media (max-width: 1020px) {
  .cases > *, .quotes > * { flex-basis: calc((100% - 16px) / 2); }
}
@media (max-width: 720px) {
  .cases > *, .quotes > * { flex-basis: 100%; }
  .case-row { grid-template-columns: 1fr; }
  .case-results { gap: 20px 32px; }
  .case-results li { max-width: none; flex: 1 1 40%; }
}
