/* =========================================================
   NeoQub — main stylesheet
   ========================================================= */

:root {
  --bg: #06060b;
  --bg-2: #0b0b14;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);

  --text: #eeedf7;
  --muted: #a3a1b8;
  --dim: #6f6d86;

  --violet: #7c5cff;
  --violet-2: #a78bfa;
  --cyan: #22d3ee;
  --pink: #f472b6;
  --lime: #a3e635;
  --red: #f43f5e;

  --grad: linear-gradient(115deg, #c4b5fd 0%, #7c5cff 38%, #22d3ee 100%);

  --radius: 22px;
  --maxw: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --font-display: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --mx: 50vw;
  --my: 30vh;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

body.menu-open { overflow: hidden; }

::selection { background: rgba(124, 92, 255, 0.45); color: #fff; }

[hidden] { display: none !important; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); color: var(--text); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 40px);
}
.container.narrow { max-width: 1000px; }

/* ---------- Gradient text ---------- */
.grad {
  background: var(--grad);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradShift 8s ease-in-out infinite alternate;
}
@keyframes gradShift {
  from { background-position: 0% 50%; }
  to   { background-position: 100% 50%; }
}

/* =========================================================
   Background layers
   ========================================================= */
.bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}
.aurora {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.35;
  will-change: transform;
}
.a1 {
  width: 60vw; height: 60vw;
  top: -25vw; left: -15vw;
  background: radial-gradient(circle, #7c5cff 0%, transparent 65%);
  animation: drift1 26s ease-in-out infinite alternate;
}
.a2 {
  width: 50vw; height: 50vw;
  top: -10vw; right: -20vw;
  background: radial-gradient(circle, #22d3ee 0%, transparent 65%);
  opacity: 0.22;
  animation: drift2 30s ease-in-out infinite alternate;
}
.a3 {
  width: 45vw; height: 45vw;
  top: 40vh; left: 30vw;
  background: radial-gradient(circle, #f472b6 0%, transparent 65%);
  opacity: 0.12;
  animation: drift3 34s ease-in-out infinite alternate;
}
@keyframes drift1 { to { transform: translate(18vw, 12vh) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-14vw, 20vh) scale(0.9); } }
@keyframes drift3 { to { transform: translate(-20vw, -10vh) scale(1.2); } }

.grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 20%, transparent 75%);
}
.noise {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  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='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.spotlight {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(650px circle at var(--mx) var(--my), rgba(124, 92, 255, 0.09), transparent 45%);
}
@media (hover: none) { .spotlight { display: none; } }

.progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2px;
  z-index: 200;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: 0 50%;
}

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.3s, border-color 0.3s;
}
.btn svg {
  width: 18px; height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.35s var(--ease);
}
.btn:hover svg { transform: translateX(4px); }
.btn-primary {
  color: #fff;
  background: linear-gradient(115deg, #8b6cff 0%, #6d4dff 45%, #19b8d6 100%);
  box-shadow: 0 10px 30px -10px rgba(124, 92, 255, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.btn-primary::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  left: -60%;
  width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg);
  transition: left 0.7s var(--ease);
}
.btn-primary:hover::after { left: 130%; }
.btn-primary:hover { box-shadow: 0 16px 40px -10px rgba(124, 92, 255, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.25); }
.btn-ghost {
  color: var(--text);
  background: var(--surface);
  border-color: var(--line-2);
}
.btn-ghost:hover { background: var(--surface-2); border-color: rgba(255, 255, 255, 0.24); }
.btn-lg { padding: 17px 28px; font-size: 16px; }
.btn-sm { padding: 11px 18px; font-size: 14px; }
.btn-block { width: 100%; }
.btn:focus-visible,
.tab:focus-visible,
summary:focus-visible,
a:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

/* =========================================================
   Nav
   ========================================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding-block: 18px;
  transition: padding 0.4s var(--ease);
}
/* Blur lives on a pseudo-element: backdrop-filter on .nav itself would
   become the containing block for the fixed mobile menu overlay. */
.nav::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(6, 6, 11, 0.72);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transition: opacity 0.4s;
}
.nav.scrolled { padding-block: 12px; }
.nav.scrolled::before { opacity: 1; }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 21px;
  letter-spacing: -0.02em;
}
.logo svg { width: 30px; height: 30px; transition: transform 0.6s var(--ease); }
.logo:hover svg { transform: rotate(60deg); }
.logo b {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav-links a:not(.btn) {
  position: relative;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.25s;
}
.nav-links a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 1px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}
.nav-links a:not(.btn):hover { color: var(--text); }
.nav-links a:not(.btn):hover::after { transform: scaleX(1); transform-origin: left; }
.nav-cta-mobile { display: none; }
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
/* iOS-style language switch: a thumb slides between EL and EN */
.lang-switch {
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  z-index: 102;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 3px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.45);
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.lang-switch a {
  position: relative;
  z-index: 1;
  width: 38px;
  padding: 7px 0;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.2;
  color: var(--muted);
  transition: color 0.35s ease;
}
.lang-switch a.is-active { color: #fff; }
.lang-switch:hover a:not(.is-active) { color: var(--text); }
.lang-switch a:focus-visible { outline: none; }
.lang-switch:focus-within:has(a:focus-visible) { outline: 2px solid var(--cyan); outline-offset: 3px; }

.lang-thumb {
  position: absolute;
  top: 3px;
  bottom: 3px;
  left: 3px;
  right: 50%;
  border-radius: 999px;
  background: linear-gradient(115deg, #8b6cff, #19b8d6);
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.4),
    0 0 18px rgba(124, 92, 255, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  /* leading edge moves first, trailing edge follows: a "liquid" slide */
  transition: left 0.45s var(--spring), right 0.45s var(--spring) 0.07s, box-shadow 0.3s;
}
.lang-switch[data-active="en"] .lang-thumb {
  left: 50%;
  right: 3px;
  transition: right 0.45s var(--spring), left 0.45s var(--spring) 0.07s, box-shadow 0.3s;
}
/* press: the thumb stretches toward the other side, like iOS */
.lang-switch.is-pressed[data-active="el"] .lang-thumb { right: calc(50% - 9px); }
.lang-switch.is-pressed[data-active="en"] .lang-thumb { left: calc(50% - 9px); }
.lang-switch:hover .lang-thumb {
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.4),
    0 0 26px rgba(124, 92, 255, 0.8),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line-2);
  background: var(--surface);
  cursor: pointer;
  position: relative;
  z-index: 102;
}
.nav-toggle span {
  position: absolute;
  left: 13px; right: 13px;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.4s var(--ease), top 0.4s var(--ease);
}
.nav-toggle span:first-child { top: 17px; }
.nav-toggle span:last-child { top: 25px; }
.menu-open .nav-toggle span:first-child { top: 21px; transform: rotate(45deg); }
.menu-open .nav-toggle span:last-child { top: 21px; transform: rotate(-45deg); }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-block: 130px 90px;
  overflow-x: clip;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 40px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.04);
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  transition: border-color 0.3s, color 0.3s;
}
.pill:hover { border-color: rgba(167, 139, 250, 0.5); color: var(--text); }
.pill-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 0 rgba(163, 230, 53, 0.6);
  animation: ping 2s infinite;
}
@keyframes ping {
  0%   { box-shadow: 0 0 0 0 rgba(163, 230, 53, 0.55); }
  80%  { box-shadow: 0 0 0 9px rgba(163, 230, 53, 0); }
  100% { box-shadow: 0 0 0 0 rgba(163, 230, 53, 0); }
}
.hero-title {
  margin: 26px 0 26px;
  font-size: clamp(42px, 6.2vw, 86px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.035em;
}
/* word-split reveal */
.hero-title .w {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding-bottom: 0.1em;
  margin-bottom: -0.1em;
}
.hero-title .wi {
  display: inline-block;
  transform: translateY(110%) rotate(4deg);
  transform-origin: 0 100%;
  transition: transform 1.1s var(--ease);
}
.hero-title.is-in .wi { transform: none; }

.hero-sub {
  max-width: 560px;
  font-size: clamp(16.5px, 1.4vw, 19px);
  color: var(--muted);
  line-height: 1.65;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}
.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 34px;
  margin-top: 52px;
}
.hero-proof li {
  display: flex;
  flex-direction: column;
  padding-left: 16px;
  border-left: 1px solid var(--line-2);
}
.hero-proof strong {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.hero-proof span { font-size: 13px; color: var(--dim); }

/* ---------- 3D Cube ---------- */
.hero-visual {
  position: relative;
  height: 540px;
  display: grid;
  place-items: center;
}
.cube-scene {
  --s: 250px;
  --h: calc(var(--s) / 2);
  position: relative;
  width: var(--s);
  height: var(--s);
  perspective: 1100px;
}
.cube-tilt {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.8s var(--ease);
}
.cube {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  animation: cubeSpin 24s linear infinite;
}
@keyframes cubeSpin {
  0%   { transform: rotateX(-22deg) rotateY(0deg); }
  50%  { transform: rotateX(-38deg) rotateY(180deg); }
  100% { transform: rotateX(-22deg) rotateY(360deg); }
}
.face {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border: 1px solid rgba(167, 139, 250, 0.5);
  border-radius: 6px;
  background:
    linear-gradient(135deg, rgba(124, 92, 255, 0.16), rgba(34, 211, 238, 0.05)),
    rgba(10, 10, 20, 0.35);
  box-shadow: inset 0 0 70px rgba(124, 92, 255, 0.28), 0 0 30px rgba(124, 92, 255, 0.12);
}
.face::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px dashed rgba(255, 255, 255, 0.09);
  border-radius: 3px;
}
.face span {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  text-shadow: 0 0 18px rgba(167, 139, 250, 0.9);
}
.front  { transform: translateZ(var(--h)); }
.back   { transform: rotateY(180deg) translateZ(var(--h)); }
.right  { transform: rotateY(90deg) translateZ(var(--h)); }
.left   { transform: rotateY(-90deg) translateZ(var(--h)); }
.top    { transform: rotateX(90deg) translateZ(var(--h)); }
.bottom { transform: rotateX(-90deg) translateZ(var(--h)); }

.core {
  --c: 76px;
  position: absolute;
  top: 50%; left: 50%;
  width: var(--c);
  height: var(--c);
  margin: calc(var(--c) / -2) 0 0 calc(var(--c) / -2);
  transform-style: preserve-3d;
  animation: coreSpin 9s linear infinite;
}
@keyframes coreSpin {
  from { transform: rotateX(0) rotateY(0) rotateZ(0); }
  to   { transform: rotateX(360deg) rotateY(-360deg) rotateZ(180deg); }
}
.cf {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(167, 139, 250, 0.9), rgba(34, 211, 238, 0.75));
  box-shadow: 0 0 40px rgba(124, 92, 255, 0.8);
  opacity: 0.85;
}
.c-front  { transform: translateZ(calc(var(--c) / 2)); }
.c-back   { transform: rotateY(180deg) translateZ(calc(var(--c) / 2)); }
.c-right  { transform: rotateY(90deg) translateZ(calc(var(--c) / 2)); }
.c-left   { transform: rotateY(-90deg) translateZ(calc(var(--c) / 2)); }
.c-top    { transform: rotateX(90deg) translateZ(calc(var(--c) / 2)); }
.c-bottom { transform: rotateX(-90deg) translateZ(calc(var(--c) / 2)); }

.cube-glow {
  position: absolute;
  inset: -45%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 92, 255, 0.45), rgba(34, 211, 238, 0.12) 40%, transparent 65%);
  filter: blur(30px);
  animation: glowPulse 5s ease-in-out infinite alternate;
}
@keyframes glowPulse {
  from { opacity: 0.6; transform: scale(0.92); }
  to   { opacity: 1; transform: scale(1.06); }
}
.ring {
  position: absolute;
  top: 50%; left: 50%;
  border-radius: 50%;
  border: 1px solid rgba(167, 139, 250, 0.28);
  transform-style: preserve-3d;
}
.ring::after {
  content: "";
  position: absolute;
  top: -4px; left: 50%;
  width: 8px; height: 8px;
  margin-left: -4px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 14px var(--cyan);
}
.ring-1 {
  width: 440px; height: 440px;
  margin: -220px 0 0 -220px;
  animation: ringSpin 16s linear infinite;
}
.ring-2 {
  width: 540px; height: 540px;
  margin: -270px 0 0 -270px;
  border-style: dashed;
  border-color: rgba(34, 211, 238, 0.16);
  animation: ringSpin 28s linear infinite reverse;
}
.ring-2::after { background: var(--violet-2); box-shadow: 0 0 14px var(--violet-2); }
@keyframes ringSpin {
  from { transform: rotateX(72deg) rotateZ(0deg); }
  to   { transform: rotateX(72deg) rotateZ(360deg); }
}

.chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 14px 10px 10px;
  border-radius: 14px;
  border: 1px solid var(--line-2);
  background: rgba(16, 16, 28, 0.72);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.8);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  animation: float 6s ease-in-out infinite;
}
.chip-ico {
  display: grid;
  place-items: center;
  width: 24px; height: 24px;
  border-radius: 8px;
  font-size: 12px;
}
.chip-ico.ok   { background: rgba(163, 230, 53, 0.14); color: var(--lime); }
.chip-ico.warn { background: rgba(251, 191, 36, 0.14); color: #fbbf24; }
.chip-ico.ai   { background: rgba(167, 139, 250, 0.16); color: var(--violet-2); }
.chip-1 { top: 11%; left: -2%; }
.chip-2 { top: 44%; right: -4%; animation-delay: -2s; }
.chip-3 { bottom: 9%; left: 6%; animation-delay: -4s; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}

.scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  width: 24px; height: 38px;
  margin-left: -12px;
  border: 1.5px solid var(--line-2);
  border-radius: 14px;
}
.scroll-hint span {
  position: absolute;
  top: 7px; left: 50%;
  width: 3px; height: 7px;
  margin-left: -1.5px;
  border-radius: 2px;
  background: var(--text);
  animation: scrollDot 2s var(--ease) infinite;
}
@keyframes scrollDot {
  0%   { opacity: 0; transform: translateY(0); }
  30%  { opacity: 1; }
  100% { opacity: 0; transform: translateY(14px); }
}

/* =========================================================
   Stack marquee
   ========================================================= */
.stack { padding-block: 30px 20px; }
.stack-title {
  text-align: center;
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
  padding-inline: 20px;
  margin-bottom: 28px;
}
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track {
  display: flex;
  gap: 60px;
  width: max-content;
  animation: marquee 45s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(20px, 2.2vw, 26px);
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.3);
  transition: color 0.3s;
}
.marquee-track span:hover { color: var(--text); }
@keyframes marquee { to { transform: translateX(calc(-50% - 30px)); } }

/* =========================================================
   Sections
   ========================================================= */
.section {
  position: relative;
  padding-block: clamp(90px, 11vw, 150px);
}
.section-head {
  max-width: 780px;
  margin: 0 auto 64px;
  text-align: center;
}
.section-head.left { margin: 0; text-align: left; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #8be9f7;
}
.eyebrow::before {
  content: "";
  width: 20px; height: 1px;
  background: var(--grad);
}
.section h2 {
  margin: 18px 0 20px;
  font-size: clamp(32px, 4.5vw, 58px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.032em;
}
.section-head p {
  font-size: clamp(16px, 1.3vw, 18px);
  color: var(--muted);
}
.link {
  color: var(--text);
  border-bottom: 1px solid rgba(167, 139, 250, 0.6);
  transition: border-color 0.3s;
}
.link:hover { border-color: var(--cyan); }

/* ---------- Glow card (cursor-following border) ---------- */
.glow-card {
  position: relative;
  isolation: isolate;
}
.glow-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: radial-gradient(380px circle at var(--x, 50%) var(--y, 50%), rgba(196, 181, 253, 0.9), rgba(34, 211, 238, 0.45) 30%, transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
  z-index: 2;
}
.glow-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(520px circle at var(--x, 50%) var(--y, 50%), rgba(124, 92, 255, 0.1), transparent 45%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
  z-index: -1;
}
.glow-card:hover::before,
.glow-card:hover::after { opacity: 1; }

/* =========================================================
   Comparison
   ========================================================= */
.compare {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
}
.compare-col {
  padding: 32px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
}
.compare-col header { margin-bottom: 18px; }
.compare-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
}
.compare-col h3 {
  margin-top: 8px;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.compare-col dl { margin: 0; }
.compare-col dl > div {
  padding: 15px 0;
  border-top: 1px solid var(--line);
}
.compare-col dt {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--dim);
}
.compare-col dd {
  margin: 4px 0 0;
  color: var(--muted);
}
.compare-col.is-us {
  top: -14px;
  border-color: rgba(124, 92, 255, 0.55);
  background: linear-gradient(180deg, rgba(124, 92, 255, 0.16), rgba(34, 211, 238, 0.04) 70%), var(--bg-2);
  box-shadow: 0 40px 100px -40px rgba(124, 92, 255, 0.7);
}
.compare-col.is-us h3 {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.compare-col.is-us .compare-tag { color: #8be9f7; }
.compare-col.is-us dd {
  position: relative;
  padding-left: 26px;
  color: var(--text);
  font-weight: 500;
}
.compare-col.is-us dd::before {
  content: "✓";
  position: absolute;
  left: 0; top: 1px;
  display: grid;
  place-items: center;
  width: 18px; height: 18px;
  border-radius: 50%;
  font-size: 10px;
  color: var(--lime);
  background: rgba(163, 230, 53, 0.14);
}

/* =========================================================
   Services — bento
   ========================================================= */
.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.card {
  position: relative;
  min-height: 260px;
  padding: 32px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: var(--surface);
  overflow: hidden;
  transform-style: preserve-3d;
}
.card.span-2 {
  grid-column: span 2;
  padding-right: calc(46% + 20px);
}
.card-ico {
  display: grid;
  place-items: center;
  width: 50px; height: 50px;
  border-radius: 15px;
  border: 1px solid rgba(167, 139, 250, 0.3);
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.22), rgba(34, 211, 238, 0.08));
  box-shadow: 0 10px 30px -12px rgba(124, 92, 255, 0.8);
}
.card-ico svg {
  width: 24px; height: 24px;
  fill: none;
  stroke: #d7ccff;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.card h3 {
  margin: 22px 0 10px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.card p { font-size: 15.5px; color: var(--muted); }

.mini-browser {
  position: absolute;
  right: -24px;
  bottom: -30px;
  width: 46%;
  border-radius: 14px;
  border: 1px solid var(--line-2);
  background: #0d0d18;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.8);
  transform: perspective(900px) rotateY(-14deg) rotateX(8deg);
  transition: transform 0.8s var(--ease);
  overflow: hidden;
}
.card:hover .mini-browser { transform: perspective(900px) rotateY(-4deg) rotateX(2deg) translateY(-10px); }
.mb-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}
.mb-bar i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, 0.18); }
.mb-bar span {
  margin-left: 8px;
  padding: 3px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--dim);
}
.mb-body { padding: 14px; }
.mb-hero {
  height: 90px;
  border-radius: 10px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.12) 50%, rgba(255, 255, 255, 0) 100%) -100% 0 / 60% 100% no-repeat,
    linear-gradient(120deg, rgba(124, 92, 255, 0.55), rgba(34, 211, 238, 0.35));
  animation: shimmer 3s ease-in-out infinite;
}
@keyframes shimmer { to { background-position: 250% 0, 0 0; } }
.mb-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 10px;
}
.mb-row span {
  height: 54px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.uptime {
  position: absolute;
  right: 32px;
  top: 50%;
  width: calc(46% - 40px);
  transform: translateY(-50%);
  padding: 20px;
  border-radius: 16px;
  border: 1px solid var(--line-2);
  background: rgba(10, 10, 20, 0.6);
}
.uptime-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--muted);
}
.uptime-head b { margin-left: auto; color: var(--lime); font-family: var(--font-mono); }
.uptime-bars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 46px;
  margin-top: 16px;
}
.uptime-bars i {
  flex: 1;
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(180deg, #a3e635, #4d7c0f);
  transform: scaleY(0.15);
  transform-origin: bottom;
  transition: transform 0.7s var(--ease);
}
.uptime-bars i.warn { background: linear-gradient(180deg, #fbbf24, #b45309); }
.is-in .uptime-bars i { transform: scaleY(1); }

.live-dot {
  width: 8px; height: 8px;
  flex: none;
  border-radius: 50%;
  background: var(--lime);
  animation: ping 2s infinite;
}
.live-dot.red { background: var(--red); animation-name: pingRed; }
@keyframes pingRed {
  0%   { box-shadow: 0 0 0 0 rgba(244, 63, 94, 0.6); }
  80%  { box-shadow: 0 0 0 9px rgba(244, 63, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(244, 63, 94, 0); }
}

/* =========================================================
   Philosophy — scroll scrub
   ========================================================= */
.philosophy { text-align: center; }
.scrub {
  margin-top: 28px;
  font-family: var(--font-display);
  font-size: clamp(26px, 3.7vw, 50px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.025em;
}
.scrub .sw {
  color: rgba(255, 255, 255, 0.13);
  transition: color 0.35s;
}
.scrub .sw.on { color: var(--text); }

/* =========================================================
   Process — timeline
   ========================================================= */
.timeline {
  --tp: 0;
  position: relative;
  max-width: 820px;
  margin-inline: auto;
}
.timeline::before,
.timeline::after {
  content: "";
  position: absolute;
  left: 27px;
  top: 28px;
  bottom: 28px;
  width: 2px;
  border-radius: 2px;
}
.timeline::before { background: var(--line); }
.timeline::after {
  background: var(--grad);
  transform: scaleY(var(--tp));
  transform-origin: top;
  box-shadow: 0 0 16px rgba(124, 92, 255, 0.6);
}
.step {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 28px;
  padding-bottom: 48px;
}
.step:last-child { padding-bottom: 0; }
.step-num {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: var(--bg-2);
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--dim);
  transition: border-color 0.5s, color 0.5s, box-shadow 0.5s, background 0.5s;
}
.step.active .step-num {
  color: #fff;
  border-color: rgba(167, 139, 250, 0.8);
  background: linear-gradient(135deg, #3b2a8f, #0e5566);
  box-shadow: 0 0 0 6px rgba(124, 92, 255, 0.12), 0 0 30px rgba(124, 92, 255, 0.5);
}
.step-body {
  padding: 24px 28px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: var(--surface);
  transition: border-color 0.5s, background 0.5s;
}
.step.active .step-body { border-color: rgba(167, 139, 250, 0.25); background: rgba(124, 92, 255, 0.05); }
.step-when {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8be9f7;
}
.step h3 {
  margin: 6px 0 8px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.step p { color: var(--muted); }

/* =========================================================
   Work — projects
   ========================================================= */
.projects {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.project {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 40px;
  padding: clamp(28px, 4.5vw, 56px);
  border-radius: 30px;
  border: 1px solid var(--line);
  background: var(--surface);
  overflow: hidden;
}
.project.reverse .project-copy { order: 2; }
.project-tag {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8be9f7;
}
.project h3 {
  margin: 12px 0 16px;
  font-size: clamp(36px, 4.4vw, 54px);
  font-weight: 800;
  letter-spacing: -0.035em;
}
.project-copy > p { font-size: 17px; color: var(--muted); max-width: 480px; }
.project-feats { margin-top: 26px; display: grid; gap: 12px; }
.project-feats li {
  position: relative;
  padding-left: 30px;
  font-weight: 500;
}
.project-feats li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 2px;
  display: grid;
  place-items: center;
  width: 20px; height: 20px;
  border-radius: 50%;
  font-size: 11px;
  color: var(--lime);
  background: rgba(163, 230, 53, 0.14);
}
.project-visual {
  position: relative;
  height: 460px;
  display: grid;
  place-items: center;
  border-radius: 24px;
  background: radial-gradient(circle at 50% 55%, rgba(124, 92, 255, 0.35), rgba(34, 211, 238, 0.08) 45%, transparent 70%);
}
.project-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.project-brand img {
  width: 52px; height: 52px;
  border-radius: 13px;
  box-shadow: 0 10px 30px -10px rgba(37, 99, 235, 0.8);
}
.store-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
.appstore-btn svg { fill: currentColor; stroke: none; width: 20px; height: 20px; }
.appstore-btn:hover svg { transform: none; }

/* Real app screenshots, fanned out */
.shots {
  height: 500px;
  background: radial-gradient(circle at 50% 55%, rgba(37, 99, 235, 0.45), rgba(34, 211, 238, 0.08) 45%, transparent 70%);
}
.shot {
  grid-area: 1 / 1;
  width: 180px;
  height: auto;
  border-radius: 30px;
  border: 6px solid #0b0b12;
  outline: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 40px 70px -25px rgba(0, 0, 0, 0.9);
  transition: transform 0.9s var(--ease);
}
.shot-center { width: 205px; z-index: 2; }
.shot-left  { transform: translateX(-58%) rotate(-8deg) scale(0.92); }
.shot-right { transform: translateX(58%) rotate(8deg) scale(0.92); }
.project:hover .shot-center { transform: translateY(-8px); }
.project:hover .shot-left  { transform: translateX(-68%) rotate(-11deg) scale(0.92); }
.project:hover .shot-right { transform: translateX(68%) rotate(11deg) scale(0.92); }

.reverse .project-visual {
  background: radial-gradient(circle at 50% 55%, rgba(244, 63, 94, 0.3), rgba(244, 114, 182, 0.08) 45%, transparent 70%);
}

.phone {
  position: relative;
  width: 220px;
  height: 440px;
  padding: 14px;
  border-radius: 38px;
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  background: linear-gradient(180deg, #11111d, #0a0a12);
  box-shadow:
    0 50px 80px -30px rgba(0, 0, 0, 0.9),
    inset 0 0 0 5px #06060b,
    inset 0 0 0 6px rgba(255, 255, 255, 0.06);
  transform: rotate(-7deg) translateY(6px);
  transition: transform 0.9s var(--ease);
  overflow: hidden;
}
.reverse .phone { transform: rotate(7deg) translateY(6px); }
.project:hover .phone { transform: rotate(0) translateY(-6px); }
.phone-notch {
  width: 78px; height: 22px;
  margin: 2px auto 14px;
  border-radius: 12px;
  background: #000;
}
.ph-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6px;
  font-family: var(--font-display);
  font-size: 15px;
}
.ph-head i {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--grad);
}
.phone-amb .ph-head i { background: linear-gradient(135deg, #fb7185, #e11d48); }
.ph-map {
  position: relative;
  height: 170px;
  margin: 14px 0 12px;
  border-radius: 16px;
  background: linear-gradient(160deg, #161633, #0d1d26);
  overflow: hidden;
}
.ph-map svg { width: 100%; height: 100%; }
.ph-map path { fill: none; stroke: rgba(255, 255, 255, 0.1); stroke-width: 7; }
.pin {
  position: absolute;
  width: 14px; height: 14px;
  border-radius: 50% 50% 50% 0;
  background: var(--cyan);
  transform: rotate(-45deg);
  box-shadow: 0 0 16px var(--cyan);
  animation: pinBounce 2.4s var(--ease) infinite;
}
.p1 { top: 30%; left: 22%; }
.p2 { top: 55%; left: 60%; background: var(--violet-2); box-shadow: 0 0 16px var(--violet-2); animation-delay: -0.8s; }
.p3 { top: 22%; left: 72%; background: var(--pink); box-shadow: 0 0 16px var(--pink); animation-delay: -1.6s; }
@keyframes pinBounce {
  0%, 100% { transform: rotate(-45deg) translate(0, 0); }
  50%      { transform: rotate(-45deg) translate(3px, -3px); }
}
.ph-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  height: 54px;
  margin-bottom: 10px;
  padding: 0 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
}
.ph-card span { height: 7px; border-radius: 4px; background: rgba(255, 255, 255, 0.16); width: 62%; }
.ph-card span + span { width: 36%; background: rgba(255, 255, 255, 0.08); }
.ph-tabs {
  position: absolute;
  left: 14px; right: 14px; bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  height: 46px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
}
.ph-tabs i { width: 18px; height: 18px; border-radius: 6px; background: rgba(255, 255, 255, 0.18); }
.ph-tabs i:first-child { background: var(--grad); }

.sos {
  position: relative;
  display: grid;
  place-items: center;
  height: 200px;
  margin: 8px 0 12px;
}
.sos-btn,
.sos-ring {
  grid-area: 1 / 1;
  width: 112px; height: 112px;
  border-radius: 50%;
}
.sos-btn {
  display: grid;
  place-items: center;
  position: relative;
  z-index: 1;
  background: radial-gradient(circle at 35% 30%, #ff7a93, #e11d48 60%, #9f1239);
  box-shadow: 0 0 60px rgba(244, 63, 94, 0.6), inset 0 2px 0 rgba(255, 255, 255, 0.3);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 26px;
  letter-spacing: 0.04em;
}
.sos-ring {
  border: 2px solid rgba(244, 63, 94, 0.7);
  animation: ripple 2.6s var(--ease) infinite;
}
.sos-ring.r2 { animation-delay: 1.3s; }
@keyframes ripple {
  from { transform: scale(1); opacity: 1; }
  to   { transform: scale(1.9); opacity: 0; }
}
.ph-eta {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  font-size: 12.5px;
  color: var(--muted);
}
.ph-eta b { margin-left: auto; color: var(--text); font-family: var(--font-mono); }

/* =========================================================
   Security
   ========================================================= */
.security-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 64px;
}
.security-copy > p { color: var(--muted); font-size: 17px; }
.checklist { margin-top: 34px; }
.checklist li {
  position: relative;
  padding: 16px 0 16px 42px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 15px;
}
.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 18px;
  display: grid;
  place-items: center;
  width: 26px; height: 26px;
  border-radius: 8px;
  font-size: 13px;
  color: var(--lime);
  background: rgba(163, 230, 53, 0.12);
  border: 1px solid rgba(163, 230, 53, 0.25);
}
.checklist b {
  display: block;
  margin-bottom: 2px;
  color: var(--text);
  font-weight: 600;
  font-size: 16px;
}

.terminal {
  border-radius: 20px;
  border: 1px solid var(--line-2);
  background: rgba(9, 9, 16, 0.92);
  box-shadow: 0 50px 100px -40px rgba(124, 92, 255, 0.55), 0 0 0 1px rgba(0, 0, 0, 0.4);
  overflow: hidden;
}
.term-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
}
.term-bar i { width: 11px; height: 11px; border-radius: 50%; }
.term-bar i:nth-child(1) { background: #ff5f57; }
.term-bar i:nth-child(2) { background: #febc2e; }
.term-bar i:nth-child(3) { background: #28c840; }
.term-bar span {
  margin-left: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--dim);
}
.term-body {
  margin: 0;
  min-height: 420px;
  padding: 22px 24px;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.9;
  color: #cfd2e6;
  white-space: pre-wrap;
  overflow-x: auto;
}
.term-body .ok  { color: var(--lime); }
.term-body .cy  { color: var(--cyan); }
.term-body .vi  { color: var(--violet-2); }
.term-body .dim { color: var(--dim); }
.term-body .pend { color: #fbbf24; }
.caret {
  display: inline-block;
  width: 8px; height: 16px;
  vertical-align: -3px;
  background: var(--text);
  animation: blink 1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

/* =========================================================
   Pricing
   ========================================================= */
.tabs {
  position: relative;
  display: flex;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 44px;
  padding: 5px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: var(--surface);
}
.tab {
  position: relative;
  z-index: 1;
  padding: 11px 22px;
  border: 0;
  border-radius: 999px;
  background: none;
  color: var(--muted);
  font-weight: 600;
  font-size: 14.5px;
  cursor: pointer;
  transition: color 0.3s;
  white-space: nowrap;
}
.tab.is-active { color: #fff; }
.tab-indicator {
  position: absolute;
  top: 5px; bottom: 5px;
  left: 5px;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(115deg, #8b6cff, #19b8d6);
  box-shadow: 0 8px 24px -8px rgba(124, 92, 255, 0.8);
  transition: left 0.5s var(--ease), width 0.5s var(--ease);
}

.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.plans.is-entering { animation: plansIn 0.6s var(--ease); }
@keyframes plansIn {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}
.plan {
  display: flex;
  flex-direction: column;
  padding: 32px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: var(--surface);
}
.plan h3 { font-size: 21px; font-weight: 700; letter-spacing: -0.02em; }
.plan-desc { margin-top: 8px; min-height: 48px; font-size: 14.5px; color: var(--muted); }
.price {
  margin: 22px 0 24px;
  font-family: var(--font-display);
  font-size: 46px;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1;
}
.price .from {
  margin-right: 8px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--muted);
  vertical-align: middle;
}
.price .per {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--muted);
}
.plan ul {
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.plan li {
  position: relative;
  padding: 7px 0 7px 28px;
  font-size: 15px;
  color: var(--muted);
}
.plan li::before {
  content: "";
  position: absolute;
  left: 2px; top: 13px;
  width: 12px; height: 7px;
  border-left: 2px solid var(--cyan);
  border-bottom: 2px solid var(--cyan);
  transform: rotate(-45deg);
}
.plan.is-featured {
  border-color: rgba(124, 92, 255, 0.55);
  background: linear-gradient(180deg, rgba(124, 92, 255, 0.18), rgba(34, 211, 238, 0.04) 70%), var(--bg-2);
  box-shadow: 0 40px 90px -40px rgba(124, 92, 255, 0.75);
}
.plan.is-featured li { color: var(--text); }
.badge {
  position: absolute;
  top: 22px; right: 22px;
  padding: 5px 11px;
  border-radius: 999px;
  background: linear-gradient(115deg, #8b6cff, #19b8d6);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
}
.plans-intro {
  grid-column: 1 / -1;
  max-width: 720px;
  margin: 0 auto 8px;
  text-align: center;
  font-size: 15.5px;
  color: var(--muted);
}
.extras-head {
  margin: 80px auto 28px;
  max-width: 640px;
  text-align: center;
}
.extras-title {
  font-size: clamp(24px, 2.6vw, 30px);
  font-weight: 800;
  letter-spacing: -0.025em;
}
.extras-head p { margin-top: 8px; color: var(--muted); }
.extras {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (max-width: 800px) { .extras { grid-template-columns: 1fr; } }
.extra {
  padding: 26px 28px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: var(--surface);
}
.extra-price {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.extra-price small {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  -webkit-text-fill-color: var(--muted);
}
.extra h4 {
  margin: 10px 0 8px;
  font-size: 17px;
  font-weight: 700;
}
.extra p { font-size: 14.5px; color: var(--muted); }
.extra ul { margin-top: 14px; display: grid; gap: 9px; }
.extra li {
  position: relative;
  padding-left: 20px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--muted);
}
.extra li::before {
  content: "";
  position: absolute;
  left: 2px; top: 9px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--cyan);
}
.extra li b { color: var(--text); font-weight: 600; }
.extra-free {
  border-color: rgba(163, 230, 53, 0.3);
  background: linear-gradient(180deg, rgba(163, 230, 53, 0.07), transparent 60%), var(--surface);
}
.extra-free .extra-price {
  background: none;
  -webkit-text-fill-color: var(--lime);
  color: var(--lime);
}
.extra-free li::before { background: var(--lime); }
.pricing-note {
  max-width: 860px;
  margin: 36px auto 0;
  text-align: center;
  font-size: 14px;
  color: var(--dim);
}

/* =========================================================
   FAQ
   ========================================================= */
.faq-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: start;
  gap: 64px;
}
.faq-grid .section-head { position: sticky; top: 120px; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  cursor: pointer;
  list-style: none;
  transition: color 0.3s;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  flex: none;
  display: grid;
  place-items: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 20px;
  color: var(--muted);
  transition: transform 0.4s var(--ease), color 0.3s, border-color 0.3s;
}
.faq-list summary:hover { color: #d7ccff; }
.faq-list details[open] summary::after {
  transform: rotate(45deg);
  color: var(--cyan);
  border-color: rgba(34, 211, 238, 0.5);
}
.faq-list details > div { padding: 0 48px 24px 0; color: var(--muted); }
.faq-list details[open] > div { animation: faqIn 0.45s var(--ease); }
@keyframes faqIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: none; }
}

/* =========================================================
   Contact
   ========================================================= */
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  padding: clamp(28px, 5vw, 64px);
  border-radius: 32px;
  border: 1px solid var(--line-2);
  background:
    radial-gradient(ellipse at 0% 0%, rgba(124, 92, 255, 0.22), transparent 55%),
    radial-gradient(ellipse at 100% 100%, rgba(34, 211, 238, 0.12), transparent 55%),
    var(--bg-2);
  overflow: hidden;
}
.contact-copy > p { color: var(--muted); font-size: 17px; }
.contact-points { margin-top: 28px; display: grid; gap: 12px; }
.contact-points li { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.cp-ico {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.contact-mail {
  display: inline-block;
  margin-top: 32px;
  font-family: var(--font-display);
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 700;
  letter-spacing: -0.02em;
  border-bottom: 1px solid rgba(167, 139, 250, 0.5);
  transition: border-color 0.3s, color 0.3s;
}
.contact-mail:hover { color: #d7ccff; border-color: var(--cyan); }

.form { display: grid; gap: 18px; align-content: start; }
.field { margin: 0; padding: 0; border: 0; min-width: 0; }
.field > label,
.field > legend {
  display: block;
  margin-bottom: 8px;
  padding: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
  font: inherit;
  font-size: 15px;
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field select {
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a3a1b8' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
  padding-right: 44px;
}
.field select option { background: #12121e; color: var(--text); }
.field input::placeholder,
.field textarea::placeholder { color: var(--dim); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(167, 139, 250, 0.8);
  background: rgba(124, 92, 255, 0.06);
  box-shadow: 0 0 0 4px rgba(124, 92, 255, 0.16);
}
.field.invalid input,
.field.invalid textarea { border-color: #fb7185; box-shadow: 0 0 0 4px rgba(251, 113, 133, 0.12); }
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; gap: 18px; } }
/* Phone: country code picker + number */
.phone-input { display: flex; gap: 8px; }
.phone-input input { flex: 1; min-width: 0; }
.phone-prefix { position: relative; flex: none; width: 116px; }
.prefix-display {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 34px 0 14px;
  border-radius: 14px;
  border: 1px solid var(--line-2);
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a3a1b8' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 16px,
    rgba(255, 255, 255, 0.035);
  font-size: 15px;
  white-space: nowrap;
  transition: border-color 0.25s, box-shadow 0.25s, background-color 0.25s;
}
.field .phone-prefix select {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  opacity: 0;
  cursor: pointer;
}
.phone-prefix:focus-within .prefix-display {
  border-color: rgba(167, 139, 250, 0.8);
  box-shadow: 0 0 0 4px rgba(124, 92, 255, 0.16);
}
.form-note {
  margin-top: -4px;
  font-size: 12.5px;
  text-align: center;
  color: var(--dim);
}
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choices label { position: relative; cursor: pointer; }
.choices input {
  position: absolute;
  opacity: 0;
  width: 1px; height: 1px;
}
.choices span {
  display: inline-block;
  padding: 9px 15px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  transition: all 0.25s;
}
.choices label:hover span { border-color: rgba(255, 255, 255, 0.3); color: var(--text); }
.choices input:checked + span {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(115deg, #8b6cff, #19b8d6);
  box-shadow: 0 8px 20px -8px rgba(124, 92, 255, 0.8);
}
.choices input:focus-visible + span { outline: 2px solid var(--cyan); outline-offset: 2px; }
.form-status { min-height: 22px; font-size: 14px; text-align: center; color: var(--lime); }
.form-status.error { color: #fb7185; }

/* =========================================================
   Footer
   ========================================================= */
.footer {
  padding-block: 70px 32px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, transparent, rgba(124, 92, 255, 0.04));
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 48px;
}
.footer-brand p { margin-top: 16px; font-size: 14px; color: var(--dim); }
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 64px;
}
.footer-cols h4 {
  margin-bottom: 14px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
}
.footer-cols a {
  display: block;
  padding: 5px 0;
  font-size: 14.5px;
  color: var(--muted);
  transition: color 0.25s;
}
.footer-cols a:hover { color: var(--text); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--dim);
}

/* =========================================================
   Reveal on scroll
   ========================================================= */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  filter: blur(6px);
  transition:
    opacity 0.9s var(--ease) var(--d, 0s),
    transform 0.9s var(--ease) var(--d, 0s),
    filter 0.9s var(--ease) var(--d, 0s);
}
.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
  filter: none;
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 10px; }
  .hero { padding-block: 120px 80px; }
  .hero-visual { height: 460px; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: repeat(2, 1fr); }
  .plans-3 { grid-template-columns: repeat(3, 1fr); }
  .security-grid,
  .faq-grid,
  .contact { grid-template-columns: 1fr; gap: 48px; }
  .faq-grid .section-head { position: static; }
  .project { grid-template-columns: 1fr; }
  .project.reverse .project-copy { order: 0; }
}

@media (max-width: 900px) {
  .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed;
    inset: 0;
    z-index: 101;
    flex-direction: column;
    justify-content: center;
    gap: 26px;
    padding-inline: 24px;
    background: rgba(6, 6, 11, 0.96);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s var(--ease), visibility 0.4s;
  }
  .menu-open .nav-links { opacity: 1; visibility: visible; }
  .nav-links a:not(.btn) {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    color: var(--text);
    transform: translateY(16px);
    opacity: 0;
    transition: transform 0.5s var(--ease), opacity 0.5s var(--ease);
  }
  .menu-open .nav-links a:not(.btn) { transform: none; opacity: 1; }
  .menu-open .nav-links a:nth-child(2) { transition-delay: 0.04s; }
  .menu-open .nav-links a:nth-child(3) { transition-delay: 0.08s; }
  .menu-open .nav-links a:nth-child(4) { transition-delay: 0.12s; }
  .menu-open .nav-links a:nth-child(5) { transition-delay: 0.16s; }
  .menu-open .nav-links a:nth-child(6) { transition-delay: 0.2s; }
  .nav-cta-mobile { display: inline-flex; margin-top: 12px; }
  .compare { grid-template-columns: 1fr; }
  .compare-col.is-us { top: 0; order: -1; }
  .plans-3 { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
}

@media (max-width: 680px) {
  .hero-visual { height: 380px; }
  .cube-scene { --s: 170px; }
  .core { --c: 52px; }
  .ring-1 { width: 300px; height: 300px; margin: -150px 0 0 -150px; }
  .ring-2 { width: 360px; height: 360px; margin: -180px 0 0 -180px; }
  .chip { font-size: 12px; padding: 8px 12px 8px 8px; }
  .chip-1 { top: 4%; left: 0; }
  .chip-2 { top: auto; bottom: 14%; right: 0; }
  .chip-3 { display: none; }
  .hero-proof { gap: 16px 22px; }
  .hero-proof strong { font-size: 19px; }
  .bento,
  .plans { grid-template-columns: 1fr; }
  .card.span-2 { grid-column: auto; padding-right: 32px; }
  .mini-browser {
    position: relative;
    right: auto; bottom: auto;
    width: 100%;
    margin-top: 26px;
    transform: none;
  }
  .card:hover .mini-browser { transform: none; }
  .uptime {
    position: relative;
    right: auto; top: auto;
    width: 100%;
    margin-top: 26px;
    transform: none;
  }
  .step { grid-template-columns: 44px 1fr; gap: 16px; }
  .step-num { width: 44px; height: 44px; font-size: 12px; }
  .timeline::before,
  .timeline::after { left: 21px; top: 22px; }
  .step-body { padding: 20px; }
  .project-visual { height: 400px; }
  .shots { height: 420px; }
  .shot { width: 148px; border-width: 5px; border-radius: 24px; }
  .shot-center { width: 170px; }
  .shot-left  { transform: translateX(-52%) rotate(-7deg) scale(0.92); }
  .shot-right { transform: translateX(52%) rotate(7deg) scale(0.92); }
  .footer-cols { grid-template-columns: repeat(2, auto); gap: 36px 56px; }
  .faq-list details > div { padding-right: 0; }
  .term-body { font-size: 11.5px; padding: 18px; min-height: 380px; }
}

/* =========================================================
   Reduced motion
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0s !important;
  }
  html { scroll-behavior: auto; }
  .cube { transform: rotateX(-24deg) rotateY(-35deg); }
  .js [data-reveal] { opacity: 1; transform: none; filter: none; }
  .hero-title .wi { transform: none; }
}
