:root {
  --bg: #07061a;
  --bg-2: #0d0b2e;
  --ink: #1b1240;
  --primary: #4b2bd9;
  --primary-2: #5b3df5;
  --cyan: 0, 243, 255;
  --lime: #d4ff3a;
  --text: #f5f4ff;
  --dim: rgba(245, 244, 255, 0.62);
  --glass-bg: rgba(255, 255, 255, 0.06);
  --glass-border: rgba(255, 255, 255, 0.12);
  --r: 12px;
  --ease: cubic-bezier(0.25, 0.8, 0.25, 1);
  --pad: clamp(16px, 4vw, 56px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--bg); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  font-family: 'Inter Tight', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
body.is-loading { overflow: hidden; }

#webgl { position: fixed; inset: 0; width: 100vw; height: 100vh; display: block; z-index: 0; }
main, .footer { position: relative; z-index: 2; }

.grain {
  position: fixed; inset: -50%; z-index: 60; pointer-events: none; opacity: 0.05;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 1s steps(4) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 25% { transform: translate(-3%, 2%); }
  50% { transform: translate(2%, -3%); } 75% { transform: translate(-2%, -1%); }
}

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 100; background: #07061a;
  display: grid; place-content: center; gap: 18px; justify-items: center;
  transition: opacity 0.8s var(--ease), visibility 0.8s;
}
.loader.done { opacity: 0; visibility: hidden; }
.loader__logo {
  font-size: 28px; font-weight: 600; letter-spacing: -0.03em;
  background: linear-gradient(90deg, #ff8fc7, #a68bff); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.loader__bar { width: 160px; height: 2px; background: rgba(255, 255, 255, 0.12); border-radius: 2px; overflow: hidden; }
.loader__bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #ff8fc7, #a68bff); transition: width 0.4s var(--ease); }

/* ---------- Cursor ---------- */
.cursor { position: fixed; inset: 0; pointer-events: none; z-index: 90; display: none; }
.has-cursor .cursor { display: block; }
.cursor__dot, .cursor__ring { position: absolute; top: 0; left: 0; border-radius: 50%; }
.cursor__dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: #fff; mix-blend-mode: difference; }
.cursor__ring {
  width: 36px; height: 36px; margin: -18px 0 0 -18px; border: 1px solid rgba(255, 255, 255, 0.5);
  mix-blend-mode: difference; transition: width 0.3s var(--ease), height 0.3s var(--ease), margin 0.3s var(--ease), background 0.3s;
}
.cursor.hover .cursor__ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(255, 255, 255, 0.12); }

/* ---------- Glass ---------- */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
}
.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--r);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37), inset 0 0 12px rgba(var(--cyan), 0.05);
  padding: 20px;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}
.glass-panel:hover {
  border-color: rgba(var(--cyan), 0.3);
  box-shadow: 0 8px 32px 0 rgba(var(--cyan), 0.1), inset 0 0 20px rgba(var(--cyan), 0.08);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  font: 500 13px/1 'Inter Tight', system-ui, sans-serif;
  padding: 11px 16px; border-radius: 10px; text-decoration: none; white-space: nowrap; cursor: pointer;
  border: 1px solid transparent; color: inherit;
  transition: translate 0.3s var(--ease), scale 0.3s var(--ease), background 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.btn:hover { translate: 0 -1px; scale: 1.03; }
.btn--primary { background: var(--primary); color: #fff; box-shadow: 0 6px 24px -6px rgba(75, 43, 217, 0.7); }
.btn--primary:hover { background: var(--primary-2); box-shadow: 0 8px 30px -4px rgba(91, 61, 245, 0.9); }
.btn--white { background: #fff; color: #16103a; }
.btn--white:hover { box-shadow: 0 8px 30px -6px rgba(255, 255, 255, 0.5); }
.btn--ghost { border-color: rgba(255, 255, 255, 0.3); }
.btn--ghost:hover { border-color: rgba(var(--cyan), 0.6); box-shadow: 0 0 20px rgba(var(--cyan), 0.15); }
.btn--ghost-light { border-color: rgba(255, 255, 255, 0.55); color: #fff; background: rgba(255, 255, 255, 0.08); backdrop-filter: blur(8px); }
.link { font-size: 13px; text-decoration: none; opacity: 0.85; }
.link:hover { opacity: 1; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 14px var(--pad); color: var(--text);
  transition: color 0.4s, background 0.4s;
}
.nav.scrolled { background: linear-gradient(rgba(7, 6, 26, 0.65), rgba(7, 6, 26, 0)); }
.nav--light { color: var(--ink); }
.nav--light.scrolled { background: linear-gradient(rgba(243, 238, 246, 0.7), rgba(243, 238, 246, 0)); }
.logo {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none; justify-self: start;
  font-weight: 600; font-size: 19px; letter-spacing: -0.04em;
  background: linear-gradient(90deg, #ff6fb5, #8f6bff); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.nav__pill { display: flex; gap: 2px; padding: 4px; border-radius: 12px; }
.nav--light .glass { background: rgba(255, 255, 255, 0.5); border-color: rgba(27, 18, 64, 0.08); }
.nav__item {
  font: 500 13px 'Inter Tight', system-ui, sans-serif; color: inherit; background: none; border: 0;
  padding: 8px 12px; border-radius: 8px; cursor: pointer; text-decoration: none;
  display: flex; align-items: center; gap: 4px; transition: background 0.2s;
}
.nav__item i { font-style: normal; font-size: 9px; opacity: 0.7; }
.nav__item:hover { background: rgba(255, 255, 255, 0.12); }
.nav--light .nav__item:hover { background: rgba(27, 18, 64, 0.06); }
.has-menu { position: relative; }
.menu {
  position: absolute; top: calc(100% + 10px); left: 50%; width: 280px; padding: 8px; border-radius: 12px;
  display: grid; gap: 2px; opacity: 0; visibility: hidden; transform: translate(-50%, -6px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
  background: rgba(13, 11, 46, 0.75) !important; color: var(--text); border-color: var(--glass-border) !important;
}
.has-menu:hover .menu, .has-menu:focus-within .menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.menu a { display: grid; gap: 2px; padding: 10px 12px; border-radius: 8px; text-decoration: none; }
.menu a:hover { background: rgba(255, 255, 255, 0.07); }
.menu b { font-size: 13px; font-weight: 500; }
.menu span { font-size: 12px; color: var(--dim); }
.nav__actions { justify-self: end; display: flex; align-items: center; gap: 8px; }
.nav--light .btn--ghost { border-color: rgba(27, 18, 64, 0.22); }

.burger { display: none; width: 40px; height: 40px; border-radius: 10px; border: 1px solid currentColor; background: none; color: inherit; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.burger span { width: 16px; height: 1.5px; background: currentColor; transition: transform 0.3s var(--ease); }
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.25px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3.25px) rotate(-45deg); }
.mobile-menu {
  position: fixed; inset: 70px 12px auto; z-index: 49; border-radius: 16px; padding: 12px;
  display: grid; gap: 4px; background: rgba(13, 11, 46, 0.85) !important;
  opacity: 0; visibility: hidden; transform: translateY(-8px); transition: all 0.3s var(--ease);
}
.mobile-menu.open { opacity: 1; visibility: visible; transform: none; }
.mobile-menu a { padding: 14px 12px; text-decoration: none; font-size: 17px; border-radius: 10px; }
.mobile-menu .btn { justify-content: center; font-size: 15px; }

/* ---------- Typography ---------- */
.display { font-size: clamp(46px, 7.6vw, 116px); font-weight: 500; letter-spacing: -0.045em; line-height: 0.94; }
.h2 { font-size: clamp(36px, 5vw, 76px); font-weight: 500; letter-spacing: -0.04em; line-height: 1; }
.sub { color: var(--dim); font-size: clamp(15px, 1.25vw, 18px); line-height: 1.45; max-width: 44ch; margin: 18px 0 26px; }
.ctas { display: flex; gap: 10px; flex-wrap: wrap; }
.w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0.14em 0.02em 0.1em; margin: -0.14em -0.02em -0.1em; }
.w > span { display: inline-block; will-change: transform; }
.badge {
  display: inline-block; font-size: 10px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: #a9c6ff; background: rgba(80, 140, 255, 0.16); border: 1px solid rgba(120, 170, 255, 0.2);
  padding: 5px 8px; border-radius: 6px;
}
.more { font-size: 13px; font-weight: 500; text-decoration: none; }

section { position: relative; padding-left: var(--pad); padding-right: var(--pad); }

/* ---------- 1. Hero ---------- */
.hero { height: 100vh; min-height: 620px; display: flex; align-items: flex-end; padding-bottom: clamp(32px, 7vh, 80px); }
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 45%; z-index: -1; pointer-events: none;
  background: linear-gradient(to top right, rgba(70, 34, 140, 0.5), rgba(70, 34, 140, 0) 60%);
}
.hero .display { color: #fff; text-shadow: 0 2px 30px rgba(60, 20, 120, 0.25); }
.hero .sub { color: rgba(255, 255, 255, 0.86); }
.hero__card {
  position: absolute; right: var(--pad); bottom: clamp(32px, 7vh, 80px); width: 230px;
  padding: 18px; border-radius: 12px; background: var(--primary); color: #fff; text-decoration: none;
  display: flex; flex-direction: column; gap: 34px; font-size: 16px; font-weight: 500; line-height: 1.2;
  box-shadow: 0 24px 60px -20px rgba(75, 43, 217, 0.9); transition: translate 0.4s var(--ease);
}
.hero__card:hover { translate: 0 -4px; }
.hero__card span { font-size: 12px; font-weight: 400; opacity: 0.75; }

/* ---------- 2. Builder ---------- */
.builder { min-height: 115vh; display: flex; align-items: center; }

/* ---------- 3. Showcase ---------- */
.showcase { padding-top: 6vh; padding-bottom: 14vh; perspective: 1600px; }
.mockup {
  max-width: 1120px; margin: 0 auto; border-radius: 14px; overflow: hidden; transform-origin: 50% 100%;
  border: 1px solid rgba(255, 255, 255, 0.12); background: #05071a;
  box-shadow: 0 50px 140px -40px rgba(40, 90, 255, 0.55);
}
.mockup__bar { height: 38px; display: flex; align-items: center; gap: 8px; padding: 0 14px; background: #0e1024; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.dot { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.dot:nth-child(2) { background: #febc2e; } .dot:nth-child(3) { background: #28c840; }
.mockup__url { margin: 0 auto; font-size: 11px; color: var(--dim); background: rgba(255, 255, 255, 0.06); padding: 5px 46px; border-radius: 6px; }
.mockup__screen { position: relative; aspect-ratio: 16 / 8.6; overflow: hidden; background: radial-gradient(ellipse at 70% 85%, #0c2b80 0, #050818 62%); }
.mock__nav { position: absolute; top: 18px; left: 22px; right: 22px; display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--dim); z-index: 2; }
.mock__pill { display: flex; gap: 10px; padding: 8px 14px; border-radius: 8px; background: rgba(255, 255, 255, 0.07); }
.mock__pill i { width: 34px; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, 0.25); }
.mock__toggle { width: 34px; height: 18px; border-radius: 10px; background: rgba(255, 255, 255, 0.12); position: relative; }
.mock__toggle::after { content: ""; position: absolute; right: 2px; top: 2px; width: 14px; height: 14px; border-radius: 50%; background: var(--lime); }
.mock__text { position: absolute; left: 5%; top: 28%; z-index: 2; }
.mock__text small { font-size: clamp(10px, 1vw, 13px); color: var(--dim); }
.mock__text h3 { font-size: clamp(28px, 5vw, 72px); font-weight: 500; letter-spacing: -0.045em; line-height: 0.95; margin: 10px 0 22px; }
.lime-toggle { display: inline-block; width: 56px; height: 26px; border-radius: 14px; background: var(--lime); position: relative; box-shadow: 0 0 30px rgba(212, 255, 58, 0.4); }
.lime-toggle i { position: absolute; left: 4px; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: #1c2a05; animation: toggle 3s var(--ease) infinite; }
@keyframes toggle { 0%, 40% { transform: none; } 50%, 90% { transform: translateX(30px); } }
.beast { position: absolute; right: -6%; bottom: -14%; width: 72%; aspect-ratio: 1.65; mix-blend-mode: screen; animation: beastFloat 7s ease-in-out infinite; }
.beast i { position: absolute; border-radius: 50%; filter: blur(14px); animation: pulse 4s ease-in-out infinite; }
.beast .b1 { left: 8%; top: 30%; width: 46%; height: 52%; background: radial-gradient(circle, #9fe6ff 0, #3a8cff 40%, transparent 70%); }
.beast .b2 { left: 40%; top: 22%; width: 50%; height: 60%; background: radial-gradient(circle, #6fb6ff 0, #2346d9 45%, transparent 72%); animation-delay: -1s; }
.beast .b3 { left: 2%; top: 46%; width: 24%; height: 24%; background: radial-gradient(circle, #e6fbff 0, #6cc8ff 40%, transparent 70%); animation-delay: -2s; }
.beast .b4 { left: 70%; top: 50%; width: 30%; height: 40%; background: radial-gradient(circle, #4c6dff 0, transparent 70%); animation-delay: -3s; }
.beast .b5 { left: 20%; top: 60%; width: 60%; height: 30%; background: radial-gradient(circle, #1d3cff 0, transparent 70%); }
.beast__lines { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: rgba(200, 240, 255, 0.55); stroke-width: 1.2; filter: drop-shadow(0 0 6px #7cd0ff); }
@keyframes pulse { 50% { opacity: 0.65; transform: scale(1.06); } }
@keyframes beastFloat { 50% { transform: translateY(-3%) rotate(-1deg); } }

/* ---------- 4. Highlights ---------- */
.highlights { padding-top: 10vh; padding-bottom: 16vh; }
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 1320px; margin: 0 auto; perspective: 1200px; }
.hcard { min-height: 250px; padding: 24px; border-radius: var(--r); display: flex; flex-direction: column; justify-content: space-between; text-decoration: none; }
.hcard small { font-size: 12px; color: var(--dim); }
.hcard h3 { font-size: clamp(26px, 2.5vw, 38px); font-weight: 500; letter-spacing: -0.035em; line-height: 1.04; margin: 8px 0 12px; }
.hcard p { font-size: 13px; color: var(--dim); max-width: 34ch; line-height: 1.45; }
.hcard__foot { display: flex; justify-content: space-between; align-items: center; margin-top: 28px; }
.hcard .mark { font-size: 18px; opacity: 0.7; font-style: italic; }
.hcard--primary { background: var(--primary); box-shadow: 0 30px 70px -30px rgba(75, 43, 217, 0.9); transition: translate 0.4s var(--ease), box-shadow 0.4s; }
.hcard--primary small, .hcard--primary p { color: rgba(255, 255, 255, 0.75); }
.hcard--primary:hover { translate: 0 -4px; box-shadow: 0 40px 80px -30px rgba(91, 61, 245, 1); }

/* ---------- 5. Gallery ---------- */
.gallery { padding-top: 12vh; padding-bottom: 16vh; }
.grid6 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 56px; perspective: 1600px; transform-style: preserve-3d; }
.thumb { position: relative; aspect-ratio: 16 / 10; border-radius: var(--r); overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.08); transition: scale 0.5s var(--ease), box-shadow 0.5s; }
.thumb:hover { scale: 1.03; box-shadow: 0 20px 60px -20px rgba(var(--cyan), 0.35); }
.thumb .art { position: absolute; inset: 0; padding: 18px; }
.thumb .art b { position: relative; z-index: 2; display: block; font-weight: 500; letter-spacing: -0.03em; line-height: 1; font-size: clamp(16px, 1.6vw, 24px); }
.thumb figcaption {
  position: absolute; left: 10px; bottom: 10px; z-index: 3; font-size: 11px; padding: 6px 9px; border-radius: 7px;
  background: rgba(7, 6, 26, 0.55); backdrop-filter: blur(8px); color: var(--text);
  opacity: 0; transform: translateY(6px); transition: all 0.3s var(--ease);
}
.thumb:hover figcaption { opacity: 1; transform: none; }
.t-dino { background: radial-gradient(ellipse 45% 55% at 62% 62%, #8fe0ff 0, #2f6bff 30%, transparent 62%), radial-gradient(circle at 25% 80%, #1a3cff55, transparent 50%), #030b2a; }
.t-dino .art b { margin-top: 18%; }
.t-car { background: linear-gradient(#f4f4f4, #d7d7da); color: #111; }
.t-car .art b { font-weight: 700; font-size: clamp(13px, 1.3vw, 19px); letter-spacing: 0; }
.t-car .car { position: absolute; right: 6%; bottom: 14%; width: 62%; height: 36%; border-radius: 40% 46% 10% 10% / 60% 70% 12% 12%; background: linear-gradient(170deg, #ff5a4a, #b3120c); box-shadow: 0 18px 20px -12px rgba(0, 0, 0, 0.5); }
.t-car .car::before, .t-car .car::after { content: ""; position: absolute; bottom: -14%; width: 22%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, #777 0 30%, #111 32%); }
.t-car .car::before { left: 10%; } .t-car .car::after { right: 10%; }
.t-spiral { background: radial-gradient(circle at 72% 50%, transparent 0 12%, #030a3a 46%), repeating-conic-gradient(from 0deg at 72% 50%, #1f7dff 0 7deg, #0b2a94 7deg 14deg); }
.t-spiral .art b { position: absolute; left: 18px; bottom: 18px; font-size: clamp(13px, 1.1vw, 16px); max-width: 16ch; }
.t-pastel { background: linear-gradient(135deg, #eafbd9, #d4f0ff 55%, #f5ddff); color: #1b1240; }
.t-pastel .art b { position: absolute; left: 18px; bottom: 22px; }
.t-pastel .ring { position: absolute; right: 18%; top: 22%; width: 22%; aspect-ratio: 1; border-radius: 50%; border: 6px dashed #ff4b3a; animation: spin 12s linear infinite; }
.t-surge { background: radial-gradient(ellipse at 50% 120%, #3a3a3a, #0b0b0b 70%); display: grid; place-items: center; }
.t-surge .art { display: grid; place-content: center; text-align: center; }
.t-surge .art b { font-size: clamp(34px, 4.4vw, 68px); font-weight: 700; letter-spacing: 0.04em; background: linear-gradient(180deg, #fff, #8a8a8a 60%, #e6e6e6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.t-surge small { font-size: 11px; color: #aaa; margin-top: 6px; }
.t-dna { background: repeating-linear-gradient(115deg, #f0f0f2 0 14px, #d9d9de 14px 18px), #eee; color: #222; }
.t-dna .art b { position: absolute; right: 18px; top: 40%; font-size: clamp(12px, 1vw, 15px); max-width: 16ch; text-align: right; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- 6. Use cases ---------- */
.usecases { height: 100vh; overflow: hidden; padding: 0; }
.uc__head { position: absolute; top: 13vh; left: var(--pad); z-index: 2; }
.uc__head .h2 { margin-top: 12px; }
.uc__track { position: absolute; top: 34vh; left: 0; display: flex; gap: 28px; padding: 0 var(--pad) 0 38vw; will-change: transform; }
.uc { flex: 0 0 clamp(280px, 25vw, 380px); min-height: 280px; margin-top: calc(var(--i) * 4.5vh); display: flex; flex-direction: column; gap: 14px; background: rgba(28, 24, 90, 0.35); }
.uc h3 { font-size: clamp(28px, 2.4vw, 36px); font-weight: 500; letter-spacing: -0.035em; }
.uc p { font-size: 13px; line-height: 1.5; color: var(--dim); flex: 1; }
.uc .badge { align-self: flex-start; }

/* ---------- 7. Pricing ---------- */
.pricing { height: 115vh; overflow: hidden; }
.carousel { position: absolute; inset: 0; perspective: 900px; cursor: grab; touch-action: pan-y; }
.carousel:active { cursor: grabbing; }
.ring { position: absolute; left: 50%; top: 42%; transform-style: preserve-3d; }
.pcard {
  --w: clamp(150px, 15vw, 240px);
  position: absolute; width: var(--w); aspect-ratio: 9 / 16; left: calc(var(--w) / -2); top: calc(var(--w) * -0.89);
  border-radius: 14px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.8); backface-visibility: hidden;
}
.p-fire { background: radial-gradient(circle at 50% 40%, transparent 0 22%, #ffb347 24%, #ff5e1a 30%, transparent 44%), radial-gradient(circle at 50% 40%, #3a0d00, #0a0200 70%); }
.p-cubes { background: linear-gradient(135deg, transparent 40%, #2b5cff 40% 60%, transparent 60%), linear-gradient(45deg, #0a1240 30%, #1a3dd8 30% 50%, #091030 50%); }
.p-particles { background: radial-gradient(#7dff4a 1px, transparent 1.6px) 0 0 / 9px 9px, radial-gradient(ellipse at 50% 50%, #0d3a0a, #020802 75%); }
.p-portal { background: radial-gradient(ellipse 40% 55% at 50% 45%, #d9b8ff, #8a4dff 45%, #2a0a5c 75%), #12052b; }
.p-portal i { position: absolute; left: 46%; bottom: 18%; width: 8%; height: 18%; border-radius: 40% 40% 10% 10%; background: #0b0420; }
.p-neon { background: linear-gradient(160deg, #f1e6ff 0, #b28cff 40%, #5e38d6 100%); }
.p-galaxy { background: radial-gradient(circle at 50% 50%, #dff6ff 0, #5fc8ff 10%, #1a4bd6 30%, #070a2a 62%), #050716; }
.p-ocean { background: linear-gradient(180deg, #0b5f7a, #02202c), #02202c; }
.pricing__text { position: absolute; left: 0; right: 0; bottom: 14vh; display: grid; justify-items: center; gap: 22px; text-align: center; pointer-events: none; }
.pricing__text .btn { pointer-events: auto; background: rgba(7, 6, 26, 0.4); backdrop-filter: blur(10px); }
.pricing__text .h2 { text-shadow: 0 4px 40px rgba(7, 6, 26, 0.8); }

/* ---------- 8. Experts ---------- */
.experts { padding-top: 16vh; padding-bottom: 14vh; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 12vh; max-width: 1100px; }
.step small { font-size: 12px; color: var(--dim); }
.step h4 { font-size: 18px; font-weight: 500; letter-spacing: -0.02em; margin: 4px 0 14px; }
.step__art { aspect-ratio: 4 / 3; border-radius: var(--r); border: 1px solid var(--glass-border); background: rgba(255, 255, 255, 0.03); padding: 10px; }
.styles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.styles i { border-radius: 8px; }
.styles i:nth-child(1) { background: radial-gradient(circle at 40% 40%, #7dff4a55, #0a2a0a); }
.styles i:nth-child(2) { background: radial-gradient(circle at 50% 70%, #43d1ff, #0a2a5a 70%); }
.styles i:nth-child(3) { background: linear-gradient(150deg, #1d2a6a, #8aa0ff 50%, #1d2a6a); }
.styles i:nth-child(4) { background: radial-gradient(circle, transparent 0 28%, #2fd6c8 30% 42%, transparent 44%), #06202a; }
.wire { display: grid; grid-template-rows: 14% 1fr 22%; gap: 8px; }
.wire i { border: 1px dashed rgba(255, 255, 255, 0.25); border-radius: 6px; }
.wire i:nth-child(4) { display: none; }
.launch { display: grid; place-items: center; position: relative; overflow: hidden; }
.launch i { width: 58%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, transparent 0 34%, rgba(47, 214, 200, 0.9) 36% 52%, transparent 54%), conic-gradient(from 0deg, #0b3a46, #2fd6c8, #0b3a46); animation: spin 14s linear infinite; }
.launch span { position: absolute; bottom: 12px; left: 12px; font-size: 12px; padding: 6px 10px; border-radius: 8px; background: rgba(47, 214, 200, 0.15); color: #9ff3ea; }

/* ---------- Footer ---------- */
.footer { padding: 10vh var(--pad) 32px; border-top: 1px solid rgba(255, 255, 255, 0.08); background: linear-gradient(rgba(7, 6, 26, 0.4), #07061a 40%); }
.footer__top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.logo--big { font-size: clamp(40px, 7vw, 112px); line-height: 1; }
.footer__cols { display: grid; grid-template-columns: repeat(4, minmax(110px, 1fr)); gap: 28px; }
.footer__cols h5 { font-size: 12px; font-weight: 500; color: var(--dim); margin-bottom: 12px; }
.footer__cols a { display: block; font-size: 14px; text-decoration: none; padding: 4px 0; opacity: 0.9; }
.footer__cols a:hover { color: rgb(var(--cyan)); }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 8vh; font-size: 12px; color: var(--dim); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .nav__pill { display: none; }
  .nav { grid-template-columns: 1fr auto; }
}
@media (max-width: 860px) {
  .nav__actions .link, .nav__actions .btn--ghost { display: none; }
  .nav__actions .btn--primary { padding: 10px 12px; font-size: 12px; }
  .burger { display: flex; }
  .hero__card { display: none; }
  .builder { min-height: 90vh; }
  .cards3, .steps { grid-template-columns: 1fr; }
  .grid6 { grid-template-columns: 1fr 1fr; gap: 10px; }
  .usecases { height: auto; overflow: visible; padding: 10vh var(--pad); }
  .uc__head { position: static; margin-bottom: 28px; }
  .uc__track { position: static; flex-direction: column; padding: 0; gap: 14px; }
  .uc { flex: none; margin-top: 0; min-height: 0; }
  .pricing { height: 90vh; }
  .footer__cols { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .nav__actions .btn--primary { display: none; }
  .grid6 { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .grain, .beast, .beast i, .lime-toggle i, .launch i, .t-pastel .ring { animation: none; }
}

/* ================= Nội dung đại dương ================= */
.eyebrow { display: inline-block; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: #9fd8ff; margin-bottom: 16px; }
.builder__inner { max-width: 1200px; }
.builder .sub { max-width: 58ch; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 34px; max-width: 1000px; }
.stat { padding: 18px; border-radius: var(--r); border: 1px solid var(--glass-border); background: rgba(255, 255, 255, 0.04); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.stat b { display: block; font-size: clamp(28px, 3vw, 44px); font-weight: 500; letter-spacing: -0.04em; background: linear-gradient(90deg, #9fe6ff, #b9a6ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { display: block; margin-top: 6px; font-size: 13px; line-height: 1.4; color: var(--dim); }

.mockup__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mockup__screen::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4, 6, 24, 0.88) 0%, rgba(4, 6, 24, 0.45) 45%, rgba(4, 6, 24, 0.2) 70%, rgba(4, 6, 24, 0.7) 100%); }
.mock__nav, .mock__text, .zones { z-index: 2; }
.mock__text { top: 20%; max-width: 46%; }
.mock__text p { font-size: clamp(12px, 1.1vw, 15px); line-height: 1.5; color: rgba(245, 244, 255, 0.78); margin: -8px 0 20px; max-width: 40ch; }
.lime-pill { display: inline-block; padding: 9px 14px; border-radius: 999px; background: var(--lime); color: #1c2a05; font-size: 13px; font-weight: 600; box-shadow: 0 0 30px rgba(212, 255, 58, 0.35); }
.zones { position: absolute; right: 4%; top: 50%; transform: translateY(-50%); list-style: none; display: grid; gap: 6px; width: min(30%, 280px); }
.zones li { display: grid; gap: 2px; padding: 10px 14px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, 0.1); background: rgba(7, 6, 26, 0.45); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.zones li b { font-size: 12px; font-weight: 600; color: #9fd8ff; }
.zones li span { font-size: 12px; color: var(--dim); }
.zones li.on { border-color: rgba(var(--cyan), 0.5); background: rgba(0, 120, 160, 0.25); box-shadow: 0 0 24px rgba(var(--cyan), 0.15); }
.zones li.on span { color: var(--text); }

.hcard { gap: 16px; }
.hcard__img { height: 170px; border-radius: 8px; overflow: hidden; }
.hcard__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: scale 0.6s var(--ease); }
.hcard:hover .hcard__img img { scale: 1.06; }
.hcard__foot { margin-top: 8px; }

.thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(7, 6, 26, 0.8), rgba(7, 6, 26, 0) 55%); pointer-events: none; }
.thumb figcaption {
  opacity: 1; transform: none; left: 14px; right: 14px; bottom: 12px; padding: 0; background: none; backdrop-filter: none;
  display: grid; gap: 3px;
}
.thumb figcaption b { font-size: clamp(16px, 1.5vw, 22px); font-weight: 500; letter-spacing: -0.02em; }
.thumb figcaption span { font-size: 12px; color: rgba(245, 244, 255, 0.75); line-height: 1.35; }

.uc { padding: 14px 14px 20px; }
.uc h3, .uc p, .uc .more, .uc .badge { margin-left: 6px; margin-right: 6px; }
.uc__img { height: 150px; border-radius: 8px; overflow: hidden; margin-bottom: 4px; }
.uc__img img { width: 100%; height: 100%; object-fit: cover; display: block; }

.pcard { background-size: cover; background-position: center; background-color: #0d0b2e; }
.pricing__text .eyebrow { margin-bottom: 0; }

.experts .sub { margin-bottom: 22px; }
.styles img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; display: block; }
.styles { grid-template-rows: 1fr 1fr; }
.step__photo { position: relative; overflow: hidden; padding: 0; }
.step__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.step__photo span { position: absolute; left: 12px; bottom: 12px; font-size: 12px; padding: 6px 10px; border-radius: 8px; background: rgba(7, 6, 26, 0.6); backdrop-filter: blur(8px); }
.step p { font-size: 13px; color: var(--dim); line-height: 1.5; margin-top: 12px; }
.footer__tag { margin-top: 14px; font-size: 14px; color: var(--dim); max-width: 34ch; }

@media (max-width: 860px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .mock__text { max-width: 80%; top: 16%; }
  .mock__text p { display: none; }
  .zones { display: none; }
  .mockup__screen { aspect-ratio: 4 / 3.6; }
}

/* ---------- Màn nước khi camera xuyên qua mặt nước ---------- */
#waterveil {
  position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: 0;
  background: linear-gradient(180deg, #9b7ad8 0%, #5a3fa8 45%, #24186a 100%);
}

/* ---------- Điều khiển băng chuyền ảnh ---------- */
.carousel { touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.cnav { display: flex; align-items: center; gap: 14px; pointer-events: auto; margin-bottom: 6px; }
.cnav__btn {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--glass-border); color: var(--text);
  background: rgba(255, 255, 255, 0.08); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font-size: 22px; line-height: 1; cursor: pointer; transition: background 0.3s, border-color 0.3s;
}
.cnav__btn:hover { background: rgba(255, 255, 255, 0.16); border-color: rgba(var(--cyan), 0.5); }
.cnav__dots { display: flex; gap: 8px; }
.cnav__dot { width: 8px; height: 8px; border-radius: 4px; border: 0; padding: 0; background: rgba(255, 255, 255, 0.3); cursor: pointer; transition: width 0.35s var(--ease), background 0.35s; }
.cnav__dot.on { width: 24px; background: #9fe6ff; }

@media (max-width: 860px) {
  .pricing { height: 100vh; }
  .ring { top: 36%; }
  .pcard { --w: 52vw; border-radius: 16px; }
  .pricing__text { bottom: 8vh; gap: 16px; padding: 0 16px; }
  .pricing__text .h2 { font-size: 32px; }
}
/* Máy tính: tách hàng nút băng chuyền khỏi mép dưới ảnh */
@media (min-width: 861px) {
  .ring { top: 38%; }
  .pricing__text { bottom: 8vh; }
}