/* MaxWinAI — Awwwards redesign
   Accent lock: electric cyan. Theme lock: dark OLED.
   Shape lock: soft squircles (1.25rem / 2rem) + pill CTAs. */

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

:root {
  --bg: #07070c;
  --bg-elevated: #0e0e16;
  --bg-panel: rgba(18, 20, 32, 0.92);
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(0, 229, 255, 0.35);
  --text: #f4f6fb;
  --text-dim: #9aa3b8;
  --text-mute: #5e667a;
  --accent: #00e5ff;
  --accent-2: #3b82f6;
  --accent-soft: rgba(0, 229, 255, 0.12);
  --ink: #050508;
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --radius: 1.25rem;
  --radius-lg: 2rem;
  --nav-h: 72px;
  --z-grain: 60;
  --z-cursor: 70;
  --z-nav: 50;
  --z-overlay: 55;
  --z-float: 45;
}

html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }

html { scroll-behavior: auto; }
body {
  font-family: "Outfit", system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; border: 0; background: none; color: inherit; cursor: pointer; }
ul { list-style: none; }

.container {
  width: min(1280px, calc(100% - 2.5rem));
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

@media (max-width: 767px) {
  .container { width: calc(100% - 2rem); }
}

/* Atmosphere */
.atmosphere {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 70% 50% at 10% -10%, rgba(0, 229, 255, 0.14), transparent 55%),
    radial-gradient(ellipse 50% 40% at 90% 10%, rgba(59, 130, 246, 0.12), transparent 50%),
    radial-gradient(ellipse 60% 40% at 50% 110%, rgba(0, 229, 255, 0.06), transparent 45%),
    var(--bg);
}

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Type */
.display {
  font-family: "Syne", "Outfit", sans-serif;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.95;
}
.gradient-text {
  background: linear-gradient(120deg, #7df9ff 0%, #00e5ff 40%, #3b82f6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--accent-soft);
}

/* Island nav */
.site-header {
  position: fixed;
  top: 1rem;
  left: 0; right: 0;
  z-index: var(--z-nav);
  display: flex;
  justify-content: center;
  pointer-events: none;
}
.nav-island {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  max-width: calc(100% - 2rem);
  padding: 0.55rem 0.55rem 0.55rem 1rem;
  border-radius: 999px;
  background: rgba(10, 12, 20, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 18px 50px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  transition: transform 0.5s var(--ease), background 0.4s var(--ease);
}
.nav-island.is-scrolled {
  background: rgba(8, 10, 16, 0.88);
}
.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.logo img {
  height: 36px;
  width: auto;
  filter: drop-shadow(0 0 12px rgba(0, 229, 255, 0.35));
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}
.nav-links a:not(.btn) {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-dim);
  transition: color 0.3s var(--ease);
  position: relative;
}
.nav-links a:not(.btn):hover { color: var(--text); }
.nav-links a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; bottom: -0.25rem;
  width: 100%; height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.nav-links a:not(.btn):hover::after { transform: scaleX(1); }
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--text-dim) !important;
}
.lang-dropdown {
  position: relative;
  list-style: none;
}
.lang-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-dim);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.lang-dropdown-toggle:hover,
.lang-dropdown.is-open .lang-dropdown-toggle {
  color: var(--text);
  border-color: rgba(0, 229, 160, 0.35);
  background: rgba(0, 229, 160, 0.06);
}
.lang-dropdown-toggle .fa-chevron-down {
  font-size: 0.65rem;
  opacity: 0.7;
  transition: transform 0.25s var(--ease);
}
.lang-dropdown.is-open .lang-dropdown-toggle .fa-chevron-down {
  transform: rotate(180deg);
}
.lang-dropdown-menu {
  position: absolute;
  top: calc(100% + 0.45rem);
  right: 0;
  min-width: 7.5rem;
  margin: 0;
  padding: 0.35rem;
  list-style: none;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(12, 14, 20, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s var(--ease);
  z-index: 50;
}
.lang-dropdown.is-open .lang-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}
.lang-dropdown-menu a {
  display: block;
  padding: 0.55rem 0.75rem;
  border-radius: 8px;
  color: var(--text-dim);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none !important;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.lang-dropdown-menu a::after {
  display: none !important;
}
.lang-dropdown-menu a:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}
.lang-dropdown-menu a[aria-current="true"] {
  color: var(--accent);
  background: rgba(0, 229, 160, 0.08);
}
.nav-overlay .lang-dropdown {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
.nav-overlay .lang-dropdown-toggle {
  font-family: "Outfit", sans-serif;
  font-size: 0.95rem;
  padding: 0.55rem 1rem;
}
.nav-overlay .lang-dropdown-menu {
  position: static;
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
  display: none;
  min-width: 10rem;
  text-align: left;
}
.nav-overlay .lang-dropdown.is-open .lang-dropdown-menu {
  display: block;
}
.nav-overlay .lang-dropdown-menu a {
  font-family: "Outfit", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  opacity: 1;
  transform: none;
}
.menu-toggle {
  display: none;
  width: 42px; height: 42px;
  border-radius: 999px;
  border: 1px solid var(--line);
  align-items: center;
  justify-content: center;
  position: relative;
}
.menu-toggle span {
  position: absolute;
  width: 16px; height: 1.5px;
  background: var(--text);
  transition: transform 0.4s var(--ease), opacity 0.3s var(--ease);
}
.menu-toggle span:nth-child(1) { transform: translateY(-5px); }
.menu-toggle span:nth-child(3) { transform: translateY(5px); }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: rotate(-45deg); }

.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: var(--z-overlay);
  background: rgba(5, 6, 10, 0.88);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s var(--ease), visibility 0.45s var(--ease);
}
.nav-overlay.is-open { opacity: 1; visibility: visible; }
.nav-overlay nav {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  text-align: center;
}
.nav-overlay a {
  font-family: "Syne", sans-serif;
  font-size: clamp(2rem, 8vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), color 0.3s var(--ease);
}
.nav-overlay.is-open a {
  opacity: 1;
  transform: translateY(0);
}
.nav-overlay.is-open a:nth-child(1) { transition-delay: 0.08s; }
.nav-overlay.is-open a:nth-child(2) { transition-delay: 0.14s; }
.nav-overlay.is-open a:nth-child(3) { transition-delay: 0.2s; }
.nav-overlay.is-open a:nth-child(4) { transition-delay: 0.26s; }
.nav-overlay.is-open a:nth-child(5) { transition-delay: 0.32s; }
.nav-overlay a:hover { color: var(--accent); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.85rem 1.35rem 0.85rem 1.5rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s var(--ease), color 0.35s var(--ease);
  will-change: transform;
}
.btn .btn-icon {
  width: 2rem; height: 2rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.18);
  transition: transform 0.4s var(--ease);
}
.btn:hover .btn-icon { transform: translate(2px, -1px) scale(1.05); }
.btn:active { transform: scale(0.98); }
.btn-primary {
  background: linear-gradient(135deg, #7df9ff 0%, #00e5ff 45%, #3b82f6 100%);
  color: var(--ink);
  box-shadow: 0 12px 40px rgba(0, 229, 255, 0.28);
}
.btn-primary:hover {
  box-shadow: 0 16px 48px rgba(0, 229, 255, 0.4);
}
.btn-ghost {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}
.btn-ghost:hover {
  border-color: var(--line-strong);
  background: var(--accent-soft);
}
.btn-block { width: 100%; }

/* Reveal helpers — visible by default; JS may soft-animate */
.reveal { opacity: 1; transform: none; }
.reveal.is-in { opacity: 1; transform: none; }

/* Hero */
.hero {
  position: relative;
  min-height: 100dvh;
  padding: 7.5rem 0 4rem;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: -10% -5%;
  background:
    radial-gradient(circle at 70% 40%, rgba(0, 229, 255, 0.18), transparent 42%),
    radial-gradient(circle at 20% 70%, rgba(59, 130, 246, 0.12), transparent 40%);
  filter: blur(40px);
  opacity: 0.9;
  will-change: transform;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.hero-brand {
  font-family: "Syne", sans-serif;
  font-size: clamp(3.4rem, 8.5vw, 6.5rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.9;
  margin: 1rem 0 1.25rem;
}
.hero-brand .line { display: block; overflow: hidden; }
.hero-brand .word {
  display: inline-block;
  will-change: transform, opacity;
}
.hero-copy {
  max-width: 34ch;
  font-size: 1.1rem;
  color: var(--text-dim);
  margin-bottom: 1.75rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}
.hero-visual {
  position: relative;
  justify-self: end;
  width: 100%;
  max-width: 520px;
}
.hero-frame {
  position: relative;
  padding: 0.6rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}
.hero-frame-inner {
  border-radius: calc(var(--radius-lg) - 0.35rem);
  overflow: hidden;
  background: var(--bg-elevated);
  border: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
  aspect-ratio: auto;
  max-height: none;
  padding: 0;
}
.hero-frame-inner > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transform: scale(1.04);
  will-change: transform;
}
.hero-frame-inner .ext-preview {
  border-radius: 0;
  border: 0;
  max-width: none;
}
.hero-glow {
  position: absolute;
  inset: auto -8% -12% -8%;
  height: 40%;
  background: radial-gradient(ellipse at center, rgba(0, 229, 255, 0.35), transparent 70%);
  filter: blur(28px);
  pointer-events: none;
  z-index: -1;
}
.hero-float-chip {
  position: absolute;
  right: -0.5rem;
  top: 18%;
  padding: 0.7rem 0.95rem;
  border-radius: 1rem;
  background: #12141f;
  border: 1px solid var(--line);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  font-size: 0.78rem;
  color: var(--text-dim);
  transform: rotate(3deg);
  z-index: 2;
}
.hero-float-chip strong {
  display: block;
  color: var(--accent);
  font-family: "Syne", sans-serif;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

@media (max-width: 980px) {
  .hero { padding-top: 6.5rem; }
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-visual { justify-self: center; max-width: 380px; }
  .hero-float-chip { display: none; }
}

/* Proof strip under hero */
.proof {
  padding: 1.5rem 0 3rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.proof-item {
  padding: 1.25rem 0.5rem;
}
.proof-value {
  font-family: "Syne", sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--accent);
  line-height: 1;
}
.proof-label {
  margin-top: 0.4rem;
  font-size: 0.8rem;
  color: var(--text-mute);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
@media (max-width: 767px) {
  .proof-grid { grid-template-columns: 1fr 1fr; }
}

/* Games marquee */
.games {
  padding: 5rem 0 2rem;
  overflow: hidden;
}
.games-head {
  width: min(1280px, calc(100% - 2.5rem));
  margin: 0 auto 2rem;
}
.games-head h2 {
  font-family: "Syne", sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.04em;
  line-height: 1.05;
  max-width: 14ch;
}
.games-head p {
  margin-top: 0.75rem;
  color: var(--text-dim);
  max-width: 42ch;
}
.marquee {
  position: relative;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  gap: 1rem;
  width: max-content;
  will-change: transform;
}
.game-tile {
  position: relative;
  width: 180px;
  flex-shrink: 0;
  border-radius: 1.1rem;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-elevated);
  transition: transform 0.45s var(--ease), border-color 0.45s var(--ease);
}
.game-tile img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.game-tile:hover {
  border-color: var(--line-strong);
  transform: translateY(-6px) scale(1.03);
  z-index: 2;
}
.game-tile:hover img { transform: scale(1.08); }
.game-tile figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1.75rem 0.7rem 0.7rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
  font-size: 0.72rem;
  font-weight: 600;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.game-tile:hover figcaption {
  opacity: 1;
  transform: translateY(0);
}

/* Feature sticky stack */
.features {
  padding: 4rem 0 0;
}
.features-intro {
  width: min(1280px, calc(100% - 2.5rem));
  margin: 0 auto 0.25rem;
}
.features-intro h2 {
  font-family: "Syne", sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  letter-spacing: -0.04em;
  line-height: 1;
  max-width: 14ch;
}
.features-lead {
  margin-top: 1rem;
  max-width: 36ch;
  color: var(--text-dim);
  font-size: 1.05rem;
}
.stack {
  position: relative;
  overflow: visible;
}
.stack-card {
  position: sticky;
  top: 0;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: 6rem 0;
  overflow: visible;
}
.stack-card:first-child {
  align-items: flex-start;
  padding-top: 1.25rem;
  padding-bottom: 4rem;
}
.stack-card:last-child {
  min-height: auto;
  padding-top: 4rem;
  padding-bottom: 2rem;
  align-items: flex-start;
}
.stack-panel {
  width: min(1100px, calc(100% - 2.5rem));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.75rem;
  align-items: center;
  padding: 1.75rem 1.5rem 1.75rem 2rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(18, 22, 36, 0.72), rgba(10, 12, 20, 0.55));
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 20px 50px rgba(0, 0, 0, 0.28);
  transform-origin: center top;
  overflow: visible;
}
.stack-index {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.75rem;
  color: var(--accent);
  letter-spacing: 0.12em;
  margin-bottom: 1rem;
}
.stack-panel h3 {
  font-family: "Syne", sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 1rem;
}
.stack-panel p {
  color: var(--text-dim);
  max-width: 42ch;
  font-size: 1.05rem;
}
.stack-visual {
  display: grid;
  place-items: center;
  position: relative;
  perspective: 1200px;
  overflow: visible;
  min-height: 0;
  aspect-ratio: auto;
  border: 0;
  background: transparent;
  padding: 1.25rem 0.75rem 1.5rem;
}
.stack-visual.has-media {
  background: transparent;
  aspect-ratio: auto;
}
.stack-visual::before {
  content: "";
  position: absolute;
  inset: 12% 8% 6% 8%;
  background: radial-gradient(ellipse at center, rgba(0, 229, 255, 0.22), transparent 68%);
  filter: blur(28px);
  pointer-events: none;
  z-index: 0;
}
.stack-visual::after {
  display: none;
}
.stack-device {
  position: relative;
  z-index: 1;
  width: min(100%, 360px);
  border-radius: 1.15rem;
  padding: 0.45rem;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 40px 80px rgba(0, 0, 0, 0.55),
    0 12px 28px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transform: rotateY(-8deg) rotateX(2deg);
  transform-style: preserve-3d;
  transform-origin: center center;
  transition: transform 0.45s ease, box-shadow 0.45s ease;
  will-change: transform;
}
.stack-card:nth-child(even) .stack-device {
  transform: rotateY(8deg) rotateX(2deg);
}
.stack-card:hover .stack-device {
  transform: rotateY(-3deg) rotateX(1deg);
  box-shadow:
    0 48px 90px rgba(0, 0, 0, 0.58),
    0 14px 32px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.stack-card:nth-child(even):hover .stack-device {
  transform: rotateY(3deg) rotateX(1deg);
}
.stack-chrome {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.45rem 0.7rem 0.55rem;
  border-radius: 0.75rem 0.75rem 0 0;
  background: linear-gradient(180deg, rgba(28, 32, 48, 0.98), rgba(16, 18, 28, 0.98));
}
.stack-chrome-dots {
  display: inline-flex;
  gap: 0.35rem;
}
.stack-chrome-dots i {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: #3a4054;
  display: block;
}
.stack-chrome-dots i:nth-child(1) { background: #ff5f57; }
.stack-chrome-dots i:nth-child(2) { background: #febc2e; }
.stack-chrome-dots i:nth-child(3) { background: #28c840; }
.stack-chrome-title {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: rgba(232, 236, 248, 0.55);
  text-transform: uppercase;
}
.stack-screen {
  border-radius: 0 0 0.75rem 0.75rem;
  overflow: hidden;
  background: #05070d;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-top: 0;
  aspect-ratio: 6 / 5;
}
.stack-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  padding: 0;
  display: block;
  image-rendering: auto;
}
.stack-metric {
  font-family: "Syne", sans-serif;
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--accent);
  text-align: center;
  z-index: 1;
}
.stack-metric span {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-dim);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 0.4rem;
}
@media (max-width: 900px) {
  .stack-panel {
    grid-template-columns: 1fr;
    padding: 1.5rem;
    gap: 1.75rem;
  }
  .stack-visual {
    perspective: none;
    order: -1;
  }
  .stack-visual::before {
    inset: 18% 12% 10% 12%;
  }
  .stack-device,
  .stack-card:nth-child(even) .stack-device,
  .stack-card:hover .stack-device,
  .stack-card:nth-child(even):hover .stack-device {
    transform: none;
    width: min(100%, 340px);
    margin-inline: auto;
  }
  .stack-screen {
    aspect-ratio: 6 / 5;
  }
  .stack-card {
    min-height: auto;
    padding: 1.25rem 0;
    position: relative;
    top: auto;
  }
}
@media (prefers-reduced-motion: reduce) {
  .stack-device,
  .stack-card:nth-child(even) .stack-device,
  .stack-card:hover .stack-device,
  .stack-card:nth-child(even):hover .stack-device {
    transform: none;
    transition: none;
  }
}

/* How it works — responsive grid, no horizontal scrollbar */
.how {
  position: relative;
  overflow: hidden;
  padding: 2rem 0 5rem;
  background: var(--bg);
  z-index: 4;
}
.how-pin {
  height: auto;
  min-height: 0;
  display: block;
  width: min(1280px, calc(100% - 2.5rem));
  margin-inline: auto;
  padding: 0;
}
.how-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  overflow: visible;
  padding: 0;
}
.how-intro, .how-step {
  width: auto;
  min-width: 0;
  min-height: 420px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--bg-panel);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.how-step.has-shot {
  padding: 0;
  overflow: hidden;
  min-height: 480px;
}
.how-shot {
  position: relative;
  flex: 1;
  min-height: 260px;
  overflow: hidden;
}
.how-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.how-step-copy {
  padding: 1.35rem 1.5rem 1.5rem;
  background: linear-gradient(180deg, transparent, rgba(8, 10, 16, 0.96) 18%);
}
.how-intro {
  background: linear-gradient(160deg, rgba(0, 229, 255, 0.12), rgba(10, 12, 20, 0.95));
}
.how-intro h2 {
  font-family: "Syne", sans-serif;
  font-size: clamp(1.7rem, 2.4vw, 2.6rem);
  letter-spacing: -0.04em;
  line-height: 0.95;
}
.how-intro p { color: var(--text-dim); margin-top: 1rem; max-width: 28ch; }
.how-step h3 {
  font-family: "Syne", sans-serif;
  font-size: clamp(1.25rem, 1.8vw, 1.65rem);
  letter-spacing: -0.03em;
  margin-top: 0.75rem;
}
.how-step p { color: var(--text-dim); margin-top: 0.5rem; font-size: 0.92rem; }
.how-verb {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

@media (max-width: 1100px) {
  .how-track { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .how-intro, .how-step { min-height: 360px; }
}

@media (max-width: 900px) {
  .how-pin { width: calc(100% - 2rem); padding: 0; }
  .how-track {
    grid-template-columns: 1fr;
    transform: none !important;
  }
  .how-intro, .how-step {
    width: 100%;
    min-height: 0;
  }
}

/* Product / video */
.product {
  padding: 6rem 0;
}
.product-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  align-items: center;
}
.product-copy h2 {
  font-family: "Syne", sans-serif;
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  letter-spacing: -0.04em;
  line-height: 1.02;
  margin-bottom: 1rem;
}
.product-copy p {
  color: var(--text-dim);
  max-width: 38ch;
  margin-bottom: 1.5rem;
}
.media-shell {
  padding: 0.55rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
}
.media-core {
  position: relative;
  border-radius: calc(var(--radius-lg) - 0.3rem);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.youtube-placeholder {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.youtube-placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
}
.play-btn {
  position: relative;
  width: 76px; height: 76px;
  border-radius: 999px;
  background: linear-gradient(135deg, #7df9ff, #00e5ff);
  color: var(--ink);
  display: grid;
  place-items: center;
  box-shadow: 0 16px 40px rgba(0, 229, 255, 0.35);
  transition: transform 0.4s var(--ease);
}
.youtube-placeholder:hover .play-btn { transform: scale(1.08); }
.youtube-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: none;
}
@media (max-width: 900px) {
  .product-grid { grid-template-columns: 1fr; }
}

/* Pricing */
.pricing {
  padding: 5rem 0 3rem;
}
.pricing-wrap {
  width: min(760px, calc(100% - 2rem));
  margin-inline: auto;
}
.pricing-shell {
  padding: 0.55rem;
  border-radius: calc(var(--radius-lg) + 0.25rem);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
}
.pricing-core {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 4vw, 3rem);
  background:
    radial-gradient(ellipse at 80% 0%, rgba(0, 229, 255, 0.16), transparent 45%),
    linear-gradient(165deg, #12141f, #0a0c14);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.pricing-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid var(--line-strong);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.pricing-core h2 {
  font-family: "Syne", sans-serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
}
.pricing-core > p {
  color: var(--text-dim);
  margin-bottom: 1.75rem;
}
.price-row {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.price-old {
  font-size: 1.25rem;
  color: var(--text-mute);
  text-decoration: line-through;
}
.price-now {
  font-family: "Syne", sans-serif;
  font-size: clamp(3rem, 7vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  background: linear-gradient(120deg, #7df9ff, #00e5ff 50%, #3b82f6);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.price-period { color: var(--text-dim); font-size: 1rem; }
.countdown {
  display: flex;
  gap: 0.65rem;
  margin: 1.25rem 0 1.75rem;
}
.countdown-item {
  min-width: 4.25rem;
  padding: 0.7rem 0.5rem;
  text-align: center;
  border-radius: 0.85rem;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--line);
}
.countdown-value {
  display: block;
  font-family: "JetBrains Mono", monospace;
  font-size: 1.35rem;
  color: var(--accent);
}
.countdown-unit {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.pricing-features {
  display: grid;
  gap: 0.7rem;
  margin: 0 0 1.75rem;
}
.pricing-features li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text-dim);
  font-size: 0.98rem;
}
.pricing-features li i { color: var(--accent); }
.secure-note {
  margin-top: 1rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-mute);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

/* Testimonials — always visible grid */
.voices {
  position: relative;
  z-index: 5;
  padding: 5rem 0;
  overflow: visible;
  isolation: isolate;
  background: var(--bg);
}
.voices-head {
  width: min(1280px, calc(100% - 2.5rem));
  margin: 0 auto 2rem;
}
.voices-head h2 {
  font-family: "Syne", sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: var(--text);
  opacity: 1 !important;
}
.voices-rail {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  width: min(1280px, calc(100% - 2.5rem));
  margin-inline: auto;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}
.voice-card {
  width: auto;
  max-width: none;
  padding: 1.75rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: #161926 !important;
  color: var(--text);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  flex-shrink: 0;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  transition: border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.voice-card:hover {
  border-color: var(--line-strong);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.45);
}
.voice-top {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1rem;
}
.voice-avatar {
  width: 44px; height: 44px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  border: 1px solid var(--line-strong);
  color: var(--accent);
  flex-shrink: 0;
}
.voice-top h3 { font-size: 1rem; color: var(--text); opacity: 1 !important; }
.voice-top p { font-size: 0.8rem; color: var(--text-dim); opacity: 1 !important; }
.voice-text {
  color: #e8edf7 !important;
  font-size: 0.98rem;
  line-height: 1.55;
  margin-bottom: 1rem;
  opacity: 1 !important;
}
.voice-meta {
  font-size: 0.78rem;
  color: var(--accent);
  font-weight: 600;
  opacity: 1 !important;
}
@media (max-width: 900px) {
  .voices-rail {
    grid-template-columns: 1fr;
  }
}

/* FAQ */
.faq {
  padding: 4rem 0 6rem;
}
.faq-wrap {
  width: min(820px, calc(100% - 2rem));
  margin-inline: auto;
}
.faq-wrap h2 {
  font-family: "Syne", sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.04em;
  margin-bottom: 2rem;
}
.faq-item {
  border-top: 1px solid var(--line);
}
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 600;
  transition: color 0.3s var(--ease);
}
.faq-question:hover { color: var(--accent); }
.faq-question i {
  transition: transform 0.4s var(--ease);
  color: var(--accent);
}
.faq-item.is-open .faq-question i { transform: rotate(180deg); }
.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s var(--ease);
}
.faq-item.is-open .faq-answer { grid-template-rows: 1fr; }
.faq-answer > div {
  overflow: hidden;
}
.faq-answer p {
  padding: 0 0 1.25rem;
  color: var(--text-dim);
  max-width: 65ch;
}

/* Final CTA band */
.final-cta {
  padding: 2rem 0 6rem;
}
.final-panel {
  width: min(1100px, calc(100% - 2rem));
  margin-inline: auto;
  padding: clamp(2.5rem, 6vw, 4.5rem);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background:
    radial-gradient(ellipse at 20% 0%, rgba(0, 229, 255, 0.18), transparent 50%),
    linear-gradient(160deg, #12151f, #090b12);
  text-align: center;
}
.final-panel h2 {
  font-family: "Syne", sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 1rem;
}
.final-panel p {
  color: var(--text-dim);
  margin-bottom: 1.75rem;
  max-width: 36ch;
  margin-inline: auto;
}
.install-steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.5rem;
  margin-top: 1.75rem;
  color: var(--text-mute);
  font-size: 0.88rem;
}
.install-steps span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.install-steps i { color: var(--accent); }

/* Footer */
.site-footer {
  padding: 2.5rem 0 7rem;
  border-top: 1px solid var(--line);
}
.footer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}
.footer-links a {
  color: var(--text-dim);
  font-size: 0.92rem;
  transition: color 0.3s var(--ease);
}
.footer-links a:hover { color: var(--accent); }
.copyright {
  margin-top: 1.5rem;
  color: var(--text-mute);
  font-size: 0.82rem;
}

/* Floating CTA */
.floating-cta {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: var(--z-float);
  transform: translateY(120%);
  opacity: 0;
  transition: transform 0.5s var(--ease), opacity 0.5s var(--ease);
}
.floating-cta.is-visible {
  transform: translateY(0);
  opacity: 1;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

@media (prefers-reduced-transparency: reduce) {
  .nav-island, .hero-float-chip, .nav-overlay {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: #0e1018;
  }
}

/* Mobile nav */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .menu-toggle { display: inline-flex; }
  .nav-island { padding-right: 0.55rem; width: min(100%, 420px); justify-content: space-between; }
}
