/* ═══════════════════════════════════════════════════════════
   KSM MEDIA v5 — 3D MOTION EDITION
   Dark glass · Neon green · WebGL depth · Framer-style 3D
═══════════════════════════════════════════════════════════ */

:root {
  --green: #39FF14;
  --cyan: #00ffcc;
  --green-glow: rgba(57,255,20,0.22);
  --green-dim: rgba(57,255,20,0.08);
  --green-border: rgba(57,255,20,0.2);

  --bg:   #05050A;
  --bg-1: #0B0B14;
  --bg-2: #0F0F18;

  --glass:        rgba(255,255,255,0.04);
  --glass-hover:  rgba(255,255,255,0.07);
  --glass-border: rgba(255,255,255,0.09);
  --glass-bright: rgba(255,255,255,0.14);

  --white:  #FFFFFF;
  --off:    rgba(255,255,255,0.85);
  --muted:  rgba(255,255,255,0.48);
  --subtle: rgba(255,255,255,0.18);

  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --r: 22px;
  --r-sm: 13px;
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --out-expo: cubic-bezier(0.16, 1, 0.3, 1);

  --glow-sm: 0 0 20px rgba(57,255,20,0.25);
  --glow-md: 0 0 40px rgba(57,255,20,0.2), 0 0 80px rgba(57,255,20,0.08);
  --glow-lg: 0 0 60px rgba(57,255,20,0.18), 0 0 120px rgba(57,255,20,0.06);

  /* 3D depth shadows — stacked for real depth perception */
  --shadow-3d:
    0 1px 1px rgba(0,0,0,0.3),
    0 4px 8px rgba(0,0,0,0.3),
    0 16px 32px rgba(0,0,0,0.35),
    0 32px 64px rgba(0,0,0,0.4);
  --shadow-3d-hover:
    0 2px 2px rgba(0,0,0,0.3),
    0 8px 16px rgba(0,0,0,0.35),
    0 24px 48px rgba(0,0,0,0.4),
    0 48px 96px rgba(0,0,0,0.45),
    0 0 60px rgba(57,255,20,0.07);
}

/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-padding-top: 96px; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  opacity: 0;
  transition: opacity 0.6s ease;
  -webkit-font-smoothing: antialiased;
}
body.loaded { opacity: 1; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ─── WEBGL 3D BACKGROUND — fixed behind everything ─── */
#webgl {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* Everything above the 3D scene */
nav, section, footer, .stats-bar, .mobile-menu, .vid-modal { position: relative; z-index: 2; }

/* ─── NOISE LAYER ─── */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: 1;
  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");
  background-size: 180px 180px;
  opacity: 0.022;
  pointer-events: none;
}

/* ─── UTILITIES ─── */
.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 28px; }
.section { padding: 130px 0; position: relative; }
.accent { color: var(--green); text-shadow: 0 0 30px rgba(57,255,20,0.4); }

/* Perspective stage — gives children true 3D space */
.stage-3d { perspective: 1400px; perspective-origin: 50% 40%; }

/* ─── 3D REVEAL — Framer-style rise + un-rotate ─── */
.reveal-3d {
  opacity: 0;
  transform: perspective(1200px) translateY(70px) rotateX(16deg) scale(0.96);
  transform-origin: 50% 100%;
  transition:
    opacity 0.9s var(--out-expo),
    transform 1.1s var(--out-expo);
  will-change: transform, opacity;
}
.reveal-3d.in {
  opacity: 1;
  transform: perspective(1200px) translateY(0) rotateX(0deg) scale(1);
}

/* Variants */
.reveal-3d--left  { transform: perspective(1200px) translateX(-80px) rotateY(14deg) scale(0.96); transform-origin: 0% 50%; }
.reveal-3d--right { transform: perspective(1200px) translateX(80px) rotateY(-14deg) scale(0.96); transform-origin: 100% 50%; }
.reveal-3d--left.in, .reveal-3d--right.in {
  transform: perspective(1200px) translateX(0) rotateY(0deg) scale(1);
}

/* ─── 3D TILT CARDS ─── */
.tilt-3d {
  transform-style: preserve-3d;
  transition: transform 0.5s var(--out-expo), box-shadow 0.5s var(--ease);
  will-change: transform;
}
.tilt-3d.tilting { transition: box-shadow 0.5s var(--ease); }
/* Glare layer */
.tilt-3d .glare {
  content: '';
  position: absolute; inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%),
              rgba(255,255,255,0.14) 0%, rgba(255,255,255,0.04) 30%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 5;
}
.tilt-3d:hover .glare { opacity: 1; }
/* Children with depth pop forward in 3D space */
.tilt-3d [data-depth] { transform: translateZ(0); transition: transform 0.5s var(--out-expo); }
.tilt-3d:hover [data-depth="1"] { transform: translateZ(24px); }
.tilt-3d:hover [data-depth="2"] { transform: translateZ(48px); }
.tilt-3d:hover [data-depth="3"] { transform: translateZ(72px); }

/* ─── HERO TITLE 3D CHAR SPLIT ─── */
.split-3d { perspective: 900px; }
.split-3d .ch {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.9em) rotateX(-95deg);
  transform-origin: 50% 100%;
  transition: opacity 0.6s var(--out-expo), transform 0.9s var(--out-expo);
  transition-delay: var(--d, 0ms);
  will-change: transform;
}
body.loaded .split-3d .ch { opacity: 1; transform: translateY(0) rotateX(0); }

/* ─── A11Y: visible focus rings + skip link ─── */
:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
  border-radius: 6px;
}
.skip-link {
  position: fixed; top: -64px; left: 16px; z-index: 10000;
  padding: 11px 20px; border-radius: 10px;
  background: var(--green); color: #000;
  font-weight: 700; font-size: 14px;
  transition: top 0.25s var(--ease);
}
.skip-link:focus { top: 12px; }

/* ─── PROGRESS BAR ─── */
#progress-bar {
  position: fixed; top: 0; left: 0; height: 2px; width: 0%;
  background: linear-gradient(90deg, var(--green), var(--cyan), var(--green));
  background-size: 200% 100%;
  animation: bar-shine 2s linear infinite;
  z-index: 9999; transition: width 0.1s linear;
  box-shadow: var(--glow-sm);
}
@keyframes bar-shine { 0% { background-position: 0% 0; } 100% { background-position: 200% 0; } }

/* ─── CURSOR DOT ─── */
.cursor-dot {
  position: fixed; top: 0; left: 0; z-index: 9998;
  width: 10px; height: 10px; margin: -5px 0 0 -5px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px rgba(57,255,20,0.8);
  pointer-events: none;
  transition: width 0.25s var(--spring), height 0.25s var(--spring), margin 0.25s var(--spring), opacity 0.25s;
  mix-blend-mode: screen;
}
.cursor-dot.cursor-hovering {
  width: 44px; height: 44px; margin: -22px 0 0 -22px;
  background: rgba(57,255,20,0.12);
  box-shadow: 0 0 0 1px rgba(57,255,20,0.5), 0 0 24px rgba(57,255,20,0.3);
}
@media (hover: none) { .cursor-dot { display: none; } }

/* ─── SCROLL-TO-TOP ─── */
#to-top {
  position: fixed; bottom: 28px; right: 28px;
  width: 46px; height: 46px; border-radius: 13px;
  background: var(--glass);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  color: var(--white); font-size: 18px; font-weight: 700;
  z-index: 200; display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: translateY(12px) rotateX(40deg); perspective: 400px;
  transition: opacity 0.35s, transform 0.45s var(--spring), border-color 0.2s, box-shadow 0.2s;
  pointer-events: none;
}
#to-top.show { opacity: 1; transform: translateY(0) rotateX(0); pointer-events: auto; }
#to-top:hover { border-color: var(--green-border); box-shadow: var(--glow-sm); transform: translateY(-4px); }

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 13px 26px; border-radius: var(--r-sm);
  font-size: 15px; font-weight: 600;
  transition: transform 0.25s var(--spring), box-shadow 0.25s var(--ease), background 0.18s, border-color 0.18s;
  white-space: nowrap; cursor: pointer; position: relative; overflow: hidden;
  transform-style: preserve-3d;
}
.btn-lg { padding: 16px 34px; font-size: 16px; border-radius: 14px; }
.btn-full { width: 100%; justify-content: center; }

.btn-primary {
  background: var(--green); color: #000; font-weight: 700;
  box-shadow:
    0 0 0 1px rgba(57,255,20,0.4),
    0 6px 18px rgba(57,255,20,0.25),
    0 16px 40px rgba(57,255,20,0.12),
    inset 0 1px 0 rgba(255,255,255,0.45),
    inset 0 -2px 0 rgba(0,0,0,0.18);
}
.btn-primary:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow:
    0 0 0 1px rgba(57,255,20,0.5),
    0 10px 26px rgba(57,255,20,0.35),
    0 28px 60px rgba(57,255,20,0.18),
    inset 0 1px 0 rgba(255,255,255,0.5),
    inset 0 -2px 0 rgba(0,0,0,0.18);
}
/* Shine sweep */
.btn-primary::after {
  content: '';
  position: absolute; top: 0; left: -80%;
  width: 50%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,0.55), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s var(--ease);
}
.btn-primary:hover::after { left: 130%; }

.btn-outline {
  background: var(--glass); color: var(--white);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.btn-outline:hover {
  transform: translateY(-3px);
  border-color: var(--green-border);
  background: var(--green-dim);
  box-shadow: var(--glow-sm), var(--shadow-3d);
}

/* Ripple */
.ripple-wave {
  position: absolute; border-radius: 50%;
  background: rgba(255,255,255,0.35);
  transform: scale(0); pointer-events: none;
  animation: ripple 0.6s ease-out forwards;
}
@keyframes ripple { to { transform: scale(2.6); opacity: 0; } }

/* ─── NAV ─── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  padding: 18px 0;
  transition: padding 0.35s var(--ease), background 0.35s, border-color 0.35s, box-shadow 0.35s, transform 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  padding: 10px 0;
  background: rgba(5,5,10,0.7);
  backdrop-filter: blur(24px) saturate(1.4); -webkit-backdrop-filter: blur(24px) saturate(1.4);
  border-bottom-color: var(--glass-border);
  box-shadow: 0 12px 40px rgba(0,0,0,0.45);
}
.nav.nav-hidden { transform: translateY(-110%); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; letter-spacing: -0.02em; }
.logo-img { width: 34px; height: 34px; border-radius: 9px; object-fit: cover; box-shadow: 0 0 0 1px var(--glass-border), 0 4px 12px rgba(0,0,0,0.5); }
.logo-accent { color: var(--green); }
.nav-links { display: flex; gap: 4px; }
.nav-links a {
  padding: 8px 14px; border-radius: 10px;
  font-size: 14.5px; font-weight: 500; color: var(--muted);
  transition: color 0.2s, background 0.2s, transform 0.25s var(--spring);
  display: inline-block;
}
.nav-links a:hover { color: var(--white); background: var(--glass); transform: translateY(-2px); }
.nav-links a.active { color: var(--green); }
.nav-right { display: flex; align-items: center; gap: 14px; }
.nav-cta { padding: 10px 20px; font-size: 14px; }

.hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; z-index: 600; }
.hamburger span { width: 22px; height: 2px; background: var(--white); border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.2s; }
.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── MOBILE MENU ─── */
.mobile-menu {
  position: fixed; inset: 0; z-index: 450;
  background: rgba(5,5,10,0.92);
  backdrop-filter: blur(30px); -webkit-backdrop-filter: blur(30px);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.35s var(--ease);
  perspective: 800px;
}
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-menu ul { display: flex; flex-direction: column; gap: 8px; text-align: center; }
.mobile-menu a.mob-link {
  font-size: 30px; font-weight: 700; padding: 10px 24px; display: inline-block;
  opacity: 0; transform: translateY(24px) rotateX(-40deg);
  transition: opacity 0.45s var(--out-expo), transform 0.55s var(--out-expo), color 0.2s;
}
.mobile-menu.open a.mob-link { opacity: 1; transform: translateY(0) rotateX(0); }
.mobile-menu.open li:nth-child(1) a { transition-delay: 0.05s; }
.mobile-menu.open li:nth-child(2) a { transition-delay: 0.12s; }
.mobile-menu.open li:nth-child(3) a { transition-delay: 0.19s; }
.mobile-menu.open li:nth-child(4) a { transition-delay: 0.26s; }
.mobile-menu a.mob-link:hover { color: var(--green); }
/* Beats `.mobile-menu a.mob-link` specificity so the CTA isn't 30px */
.mobile-menu a.mob-link.btn { font-size: 17px; font-weight: 700; padding: 15px 34px; }

/* ─── HERO ─── */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 150px 0 90px;
  position: relative;
  overflow: hidden;
}

/* Glow orbs — parallax layers */
.hero-orb {
  position: absolute; border-radius: 50%;
  filter: blur(90px); pointer-events: none;
  will-change: transform;
}
.hero-orb--1 { width: 480px; height: 480px; top: -10%; left: -8%; background: radial-gradient(circle, rgba(57,255,20,0.13), transparent 70%); }
.hero-orb--2 { width: 420px; height: 420px; bottom: -14%; right: -6%; background: radial-gradient(circle, rgba(0,255,200,0.10), transparent 70%); }
.hero-orb--3 { width: 300px; height: 300px; top: 30%; right: 22%; background: radial-gradient(circle, rgba(120,80,255,0.09), transparent 70%); }

.hero-split {
  display: grid; grid-template-columns: 1.05fr 1fr;
  gap: 64px; align-items: center;
  position: relative; z-index: 3;
}

.badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 8px 16px; border-radius: 100px;
  background: var(--glass); border: 1px solid var(--glass-border);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  font-size: 13px; font-weight: 600; color: var(--off);
  margin-bottom: 26px;
  box-shadow: var(--shadow-3d);
}
.badge-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--green);
  box-shadow: 0 0 10px var(--green);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.35); opacity: 0.6; } }

.hero-title {
  font-size: clamp(48px, 6.6vw, 86px);
  font-weight: 900; line-height: 1.02; letter-spacing: -0.035em;
  margin-bottom: 26px;
}
.hero-em {
  font-style: italic; color: var(--green);
  text-shadow: 0 0 50px rgba(57,255,20,0.5), 0 0 120px rgba(57,255,20,0.2);
}
.hero-sub {
  font-size: 18px; color: var(--muted); max-width: 460px;
  margin-bottom: 38px; line-height: 1.65;
}
.hero-cta-row { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }

.hero-proof { display: flex; align-items: center; gap: 12px; }
.proof-avs { display: flex; }
.proof-av {
  width: 36px; height: 36px; border-radius: 50%; object-fit: cover;
  border: 2px solid var(--bg);
  margin-left: -10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
  transition: transform 0.3s var(--spring);
}
.proof-av:first-child { margin-left: 0; }
.hero-proof:hover .proof-av { transform: translateY(-4px); }
.hero-proof:hover .proof-av:nth-child(2) { transition-delay: 0.04s; }
.hero-proof:hover .proof-av:nth-child(3) { transition-delay: 0.08s; }
.hero-proof:hover .proof-av:nth-child(4) { transition-delay: 0.12s; }
.proof-text { font-size: 13.5px; color: var(--muted); }
.proof-text strong { color: var(--white); }

/* ─── HERO VIDEO CARD — floating 3D object ─── */
.hero-right { perspective: 1400px; }
.hero-video-card {
  border-radius: var(--r);
  background: linear-gradient(160deg, rgba(255,255,255,0.07), rgba(255,255,255,0.02));
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  overflow: visible;
  box-shadow: var(--shadow-3d);
  transform-style: preserve-3d;
  animation: card-float 7s ease-in-out infinite;
  position: relative;
}
@keyframes card-float {
  0%, 100% { transform: translateY(0) rotateX(2deg) rotateY(-3deg); }
  50%      { transform: translateY(-14px) rotateX(-2deg) rotateY(3deg); }
}
.hero-video-card.tilting { animation: none; }

/* floating chips orbiting the card in 3D */
.float-chip {
  position: absolute; z-index: 6;
  display: flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 14px;
  background: rgba(12,12,20,0.75);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  font-size: 13px; font-weight: 700;
  box-shadow: var(--shadow-3d);
  white-space: nowrap;
  will-change: transform;
}
.float-chip .chip-ic {
  width: 26px; height: 26px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
}
.float-chip--views { top: -24px; right: -20px; animation: chip-bob 5s ease-in-out infinite; }
.float-chip--views .chip-ic { background: rgba(57,255,20,0.15); }
.float-chip--rate { bottom: -22px; left: -26px; animation: chip-bob 6s ease-in-out 0.8s infinite; }
.float-chip--rate .chip-ic { background: rgba(0,255,200,0.13); }
.float-chip--fast { top: 38%; left: -44px; animation: chip-bob 5.5s ease-in-out 1.6s infinite; }
.float-chip--fast .chip-ic { background: rgba(120,80,255,0.16); }
.float-chip small { display: block; font-size: 11px; font-weight: 500; color: var(--muted); line-height: 1.2; }
@keyframes chip-bob {
  0%, 100% { transform: translateY(0) translateZ(60px); }
  50%      { transform: translateY(-10px) translateZ(60px); }
}

.vsl-topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid var(--glass-border);
}
.vsl-topbar-left { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; }
.vsl-live { color: var(--off); }
.vsl-duration-tag {
  font-size: 12px; font-weight: 600; color: var(--muted);
  padding: 4px 10px; border-radius: 100px;
  background: var(--glass); border: 1px solid var(--glass-border);
}

.vsl-thumb-wrap { padding: 12px; }
.vsl-thumb {
  position: relative; border-radius: 14px; overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--bg-1);
}
.vsl-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.vsl-thumb:hover img { transform: scale(1.05); }
.vsl-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.1), rgba(0,0,0,0.55));
}
.vsl-iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.vsl-play-btn {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--green); color: #000;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 1px rgba(57,255,20,0.5), 0 12px 40px rgba(57,255,20,0.4);
  transition: transform 0.3s var(--spring), box-shadow 0.3s;
  z-index: 4;
}
.vsl-play-btn:hover { transform: translate(-50%, -50%) scale(1.12); box-shadow: 0 0 0 1px rgba(57,255,20,0.6), 0 16px 56px rgba(57,255,20,0.55); }
.vsl-play-btn svg { margin-left: 4px; }
.vsl-play-ring {
  position: absolute; inset: -10px; border-radius: 50%;
  border: 2px solid rgba(57,255,20,0.5);
  animation: ring-pulse 2s ease-out infinite;
}
@keyframes ring-pulse {
  0%   { transform: scale(0.9); opacity: 1; }
  100% { transform: scale(1.5); opacity: 0; }
}
.vsl-info {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 16px; z-index: 3;
}
.vsl-title-tag {
  display: inline-block; font-size: 11px; font-weight: 700;
  color: var(--green); text-transform: uppercase; letter-spacing: 0.08em;
  margin-bottom: 4px;
}
.vsl-info p { font-size: 14.5px; font-weight: 600; color: var(--white); }

/* ─── STATS BAR ─── */
.stats-bar { margin-top: -40px; position: relative; z-index: 4; perspective: 1200px; }
.stats-card {
  display: flex; align-items: center; justify-content: space-around;
  gap: 20px; padding: 34px 40px;
  border-radius: var(--r);
  background: linear-gradient(160deg, rgba(255,255,255,0.07), rgba(255,255,255,0.02));
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  box-shadow: var(--shadow-3d);
  transform-style: preserve-3d;
}
.stat { text-align: center; }
.stat-num {
  display: block; font-size: 38px; font-weight: 900; letter-spacing: -0.03em;
  color: var(--green); text-shadow: 0 0 40px rgba(57,255,20,0.4);
}
.stat-label { font-size: 13.5px; color: var(--muted); font-weight: 500; }
.stat-divider { width: 1px; height: 46px; background: var(--glass-border); }

/* ─── SECTION HEADERS ─── */
.section-header { text-align: center; max-width: 640px; margin: 0 auto 64px; }
.section-label {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 16px; border-radius: 100px;
  background: var(--green-dim); border: 1px solid var(--green-border);
  color: var(--green); font-size: 12.5px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.07em;
  margin-bottom: 20px;
  box-shadow: inset 0 1px 0 rgba(57,255,20,0.15);
}
.section-title { font-size: clamp(32px, 4.4vw, 50px); font-weight: 900; letter-spacing: -0.03em; line-height: 1.1; margin-bottom: 16px; }
.section-sub { font-size: 16.5px; color: var(--muted); }

/* ─── PORTFOLIO ─── */
.portfolio-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px;
  perspective: 1600px;
}
.port-card {
  border-radius: var(--r);
  background: linear-gradient(160deg, rgba(255,255,255,0.06), rgba(255,255,255,0.015));
  border: 1px solid var(--glass-border);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-3d);
  transform-style: preserve-3d;
}
.port-card:hover { box-shadow: var(--shadow-3d-hover); border-color: var(--glass-bright); }
.port-card--featured { border-color: var(--green-border); }
.port-card--featured:hover { box-shadow: var(--shadow-3d-hover), var(--glow-md); }

.port-thumb { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.port-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.port-card:hover .port-thumb img { transform: scale(1.08); }
.port-thumb-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.05), rgba(5,5,10,0.7));
}
.port-tag {
  position: absolute; top: 14px; left: 14px; z-index: 3;
  padding: 5px 12px; border-radius: 100px;
  font-size: 11.5px; font-weight: 700;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.15);
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}
.port-tag--sales   { background: rgba(57,255,20,0.18);  color: var(--green); }
.port-tag--ecom    { background: rgba(0,200,255,0.18);  color: #5ad9ff; }
.port-tag--social  { background: rgba(255,80,180,0.18); color: #ff7ac8; }
.port-tag--ai      { background: rgba(150,90,255,0.2);  color: #b98aff; }
.port-tag--podcast { background: rgba(255,180,40,0.18); color: #ffc861; }
.port-tag--edu     { background: rgba(80,160,255,0.18); color: #7ab5ff; }

.port-play {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(0.85);
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(57,255,20,0.92); color: #000;
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transition: opacity 0.3s, transform 0.35s var(--spring);
  z-index: 4;
}
.port-card:hover .port-play { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.port-play:hover { transform: translate(-50%, -50%) scale(1.12) !important; }
.port-play svg { margin-left: 3px; }
.port-play-ring {
  position: absolute; inset: -8px; border-radius: 50%;
  border: 2px solid rgba(57,255,20,0.4);
  animation: ring-pulse 1.8s ease-out infinite;
}
.port-body { padding: 22px 24px 26px; }
.port-body h3 { font-size: 19px; font-weight: 800; margin-bottom: 8px; letter-spacing: -0.01em; }
.port-title-accent { color: var(--green); }
.port-body p { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* ─── VIDEO MODAL ─── */
.vid-modal {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.32s var(--ease);
  perspective: 1200px;
}
.vid-modal.open { opacity: 1; pointer-events: auto; }
.vid-modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(3,3,8,0.85);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}
.vid-modal-box {
  position: relative; width: min(960px, 92vw);
  transform: scale(0.92) rotateX(8deg) translateY(20px);
  transition: transform 0.45s var(--out-expo);
  transform-style: preserve-3d;
}
.vid-modal.open .vid-modal-box { transform: scale(1) rotateX(0) translateY(0); }
.vid-modal-player {
  aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden;
  background: #000;
  border: 1px solid var(--glass-bright);
  box-shadow: var(--shadow-3d-hover);
}
.vid-modal-player iframe { width: 100%; height: 100%; border: 0; }
.vid-modal-close {
  position: absolute; top: -52px; right: 0;
  width: 42px; height: 42px; border-radius: 12px;
  background: var(--glass); border: 1px solid var(--glass-border);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.25s var(--spring), border-color 0.2s, box-shadow 0.2s;
}
.vid-modal-close:hover { transform: rotate(90deg) scale(1.08); border-color: var(--green-border); box-shadow: var(--glow-sm); }

/* ─── TESTIMONIALS ─── */
.ts-slider { position: relative; max-width: 940px; margin: 0 auto; perspective: 1400px; }
.ts-track { position: relative; min-height: 380px; transform-style: preserve-3d; }
.ts-slide {
  position: absolute; inset: 0;
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 34px; align-items: center;
  opacity: 0; pointer-events: none;
  transform: rotateY(18deg) translateX(80px) scale(0.92);
  transition: opacity 0.55s var(--ease), transform 0.7s var(--out-expo);
  transform-style: preserve-3d;
}
.ts-slide.active {
  position: relative; opacity: 1; pointer-events: auto;
  transform: rotateY(0) translateX(0) scale(1);
}
.ts-video {
  position: relative; border-radius: var(--r); overflow: hidden;
  aspect-ratio: 16 / 10; background: var(--bg-1);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-3d);
}
.ts-video img { width: 100%; height: 100%; object-fit: cover; }
.ts-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ts-video-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.1), rgba(0,0,0,0.5)); }
.ts-video-tag {
  position: absolute; top: 14px; left: 14px;
  padding: 5px 12px; border-radius: 100px;
  font-size: 11.5px; font-weight: 700;
  background: rgba(57,255,20,0.18); color: var(--green);
  border: 1px solid var(--green-border);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  z-index: 3;
}
.ts-play-btn {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--green); color: #000;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 36px rgba(57,255,20,0.4);
  transition: transform 0.3s var(--spring);
  z-index: 4;
}
.ts-play-btn:hover { transform: translate(-50%, -50%) scale(1.12); }
.ts-play-btn svg { margin-left: 3px; }

.ts-info { padding: 8px 0; }
.ts-name-heading { font-size: 23px; font-weight: 800; margin-bottom: 16px; letter-spacing: -0.02em; }
.ts-profile { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.ts-avatar {
  width: 46px; height: 46px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 18px; color: #000;
  box-shadow: 0 6px 18px rgba(0,0,0,0.4);
}
.ts-avatar--1 { background: linear-gradient(135deg, var(--green), var(--cyan)); }
.ts-avatar--2 { background: linear-gradient(135deg, #5ad9ff, #b98aff); }
.ts-profile-text { display: flex; flex-direction: column; }
.ts-profile-text strong { font-size: 15px; }
.ts-profile-text span { font-size: 12.5px; color: var(--muted); }
.ts-stars { color: var(--green); font-size: 16px; letter-spacing: 3px; margin-bottom: 12px; text-shadow: 0 0 16px rgba(57,255,20,0.5); }
.ts-quote { font-size: 16.5px; color: var(--off); font-style: italic; line-height: 1.6; margin-bottom: 20px; }
.ts-result-bar { display: flex; gap: 14px; }
.ts-result-item {
  padding: 12px 18px; border-radius: 14px;
  background: var(--glass); border: 1px solid var(--glass-border);
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-3d);
}
.ts-result-num { font-size: 17px; font-weight: 800; color: var(--green); }
.ts-result-lbl { font-size: 12px; color: var(--muted); }

.ts-arrow {
  position: absolute; top: 42%; z-index: 10;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--glass); border: 1px solid var(--glass-border);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.25s var(--spring), border-color 0.2s, box-shadow 0.2s;
  box-shadow: var(--shadow-3d);
}
.ts-arrow:hover { border-color: var(--green-border); box-shadow: var(--glow-sm); transform: scale(1.1); }
.ts-arrow--prev { left: -68px; }
.ts-arrow--next { right: -68px; }
.ts-dots { display: flex; justify-content: center; gap: 10px; margin-top: 36px; }
.ts-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--subtle);
  transition: background 0.25s, transform 0.3s var(--spring), box-shadow 0.25s;
}
.ts-dot--active { background: var(--green); transform: scale(1.3); box-shadow: 0 0 12px rgba(57,255,20,0.7); }

/* ─── SERVICES ─── */
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  perspective: 1600px;
}
.service-card {
  padding: 34px 30px;
  border-radius: var(--r);
  background: linear-gradient(160deg, rgba(255,255,255,0.05), rgba(255,255,255,0.012));
  border: 1px solid var(--glass-border);
  position: relative; overflow: hidden;
  box-shadow: var(--shadow-3d);
  transform-style: preserve-3d;
}
.service-card:hover { box-shadow: var(--shadow-3d-hover); border-color: var(--glass-bright); }
.service-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(57,255,20,0.5), transparent);
  opacity: 0; transition: opacity 0.4s;
}
.service-card:hover::before { opacity: 1; }
.svc-icon {
  width: 52px; height: 52px; border-radius: 15px;
  background: var(--green-dim); border: 1px solid var(--green-border);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  box-shadow: inset 0 1px 0 rgba(57,255,20,0.2), 0 8px 20px rgba(0,0,0,0.3);
  transition: transform 0.4s var(--spring), box-shadow 0.3s;
}
.svc-icon svg { width: 24px; height: 24px; color: var(--green); }
.service-card:hover .svc-icon { transform: translateZ(40px) rotateY(12deg) scale(1.08); box-shadow: var(--glow-sm), 0 12px 28px rgba(0,0,0,0.4); }
.service-card h3 { font-size: 18.5px; font-weight: 800; margin-bottom: 10px; letter-spacing: -0.01em; }
.service-card p { font-size: 14px; color: var(--muted); line-height: 1.65; }

/* ─── PRICING ─── */
.pricing-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px;
  align-items: stretch;
  perspective: 1600px;
}
.pricing-card {
  padding: 38px 32px;
  border-radius: var(--r);
  background: linear-gradient(160deg, rgba(255,255,255,0.05), rgba(255,255,255,0.012));
  border: 1px solid var(--glass-border);
  position: relative;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-3d);
  transform-style: preserve-3d;
}
.pricing-card:hover { box-shadow: var(--shadow-3d-hover); border-color: var(--glass-bright); }
.pricing-card--featured {
  border-color: var(--green-border);
  background: linear-gradient(160deg, rgba(57,255,20,0.07), rgba(255,255,255,0.015));
  transform: scale(1.04) translateZ(30px);
}
.pricing-card--featured:hover { box-shadow: var(--shadow-3d-hover), var(--glow-md); }
.featured-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%) translateZ(20px);
  padding: 6px 18px; border-radius: 100px;
  background: var(--green); color: #000;
  font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em;
  box-shadow: 0 8px 24px rgba(57,255,20,0.4);
}
.pricing-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 16px; }
.price { display: flex; align-items: baseline; gap: 4px; margin-bottom: 12px; }
.price-amt { font-size: 46px; font-weight: 900; letter-spacing: -0.04em; color: var(--green); text-shadow: 0 0 36px rgba(57,255,20,0.35); }
.price-per { font-size: 15px; color: var(--muted); font-weight: 600; }
.price-desc { font-size: 14px; color: var(--muted); margin-bottom: 24px; line-height: 1.55; }
.price-features { margin-bottom: 30px; flex: 1; }
.price-features li {
  font-size: 14px; color: var(--off);
  padding: 9px 0 9px 28px; position: relative;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.price-features li:last-child { border-bottom: none; }
.price-features li::before {
  content: '✓';
  position: absolute; left: 0; top: 8px;
  width: 18px; height: 18px; border-radius: 6px;
  background: var(--green-dim); color: var(--green);
  font-size: 11px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.pricing-note { text-align: center; margin-top: 36px; font-size: 13.5px; color: var(--muted); }
.pricing-note a { color: var(--green); border-bottom: 1px solid var(--green-border); }

/* ─── CONTACT ─── */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start;
  perspective: 1400px;
}
.contact-left .section-label { margin-bottom: 18px; }
.contact-sub { font-size: 16px; color: var(--muted); margin: 18px 0 30px; max-width: 420px; line-height: 1.7; }
.contact-links { display: flex; flex-direction: column; gap: 12px; }
.contact-link {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 15px 22px; border-radius: 14px;
  background: var(--glass); border: 1px solid var(--glass-border);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  font-size: 15px; font-weight: 600;
  transition: transform 0.3s var(--spring), border-color 0.2s, box-shadow 0.3s;
  width: fit-content;
  box-shadow: var(--shadow-3d);
}
.contact-link:hover { transform: translateY(-4px) translateZ(20px); border-color: var(--green-border); box-shadow: var(--glow-sm), var(--shadow-3d-hover); }
.contact-link svg { color: var(--green); flex-shrink: 0; }

.booking-card {
  padding: 36px 34px;
  border-radius: var(--r);
  background: linear-gradient(160deg, rgba(255,255,255,0.06), rgba(255,255,255,0.015));
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-3d);
  transform-style: preserve-3d;
}
.booking-card h3 { font-size: 21px; font-weight: 800; margin-bottom: 8px; }
.booking-intro { font-size: 14px; color: var(--muted); margin-bottom: 26px; }
.booking-steps { display: flex; flex-direction: column; gap: 18px; margin-bottom: 28px; }
.booking-step { display: flex; gap: 14px; align-items: flex-start; }
.booking-step > span {
  width: 42px; height: 42px; border-radius: 12px; flex-shrink: 0;
  background: var(--glass); border: 1px solid var(--glass-border);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.3);
}
.booking-step strong { font-size: 15px; display: block; margin-bottom: 2px; }
.booking-step p { font-size: 13px; color: var(--muted); line-height: 1.5; }
.booking-note { text-align: center; font-size: 12.5px; color: var(--muted); margin-top: 14px; }

/* ─── FOOTER ─── */
.footer {
  border-top: 1px solid var(--glass-border);
  padding: 48px 0;
  background: linear-gradient(180deg, transparent, rgba(57,255,20,0.025));
}
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-brand p { font-size: 13.5px; color: var(--muted); margin-top: 10px; }
.footer-right p { font-size: 13px; color: var(--muted); }

/* ─── RESPONSIVE ─── */
@media (max-width: 1100px) {
  .ts-arrow--prev { left: -10px; }
  .ts-arrow--next { right: -10px; }
}
@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .hamburger { display: flex; }
  .hero-split { grid-template-columns: 1fr; gap: 56px; }
  .hero { padding-top: 130px; }
  .hero-sub { max-width: 100%; }
  .portfolio-grid, .services-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .pricing-card--featured { transform: none; }
  .ts-slide { grid-template-columns: 1fr; gap: 24px; }
  /* Let the active slide define its own height */
  .ts-track { min-height: 0; }
  /* Vertical reels: portrait frame + cover-crop kills the pillarbox bars */
  .ts-video { aspect-ratio: 9 / 14; width: 100%; max-width: 340px; margin: 0 auto; }
  .ts-video img { object-fit: cover; object-position: center; }
  /* Arrows overlay the video instead of floating over the text content */
  .ts-arrow { width: 40px; height: 40px; top: 210px; }
  .ts-arrow--prev { left: 8px; }
  .ts-arrow--next { right: 8px; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .float-chip--fast { left: -10px; }
}
@media (max-width: 600px) {
  .section { padding: 90px 0; }
  .portfolio-grid, .services-grid { grid-template-columns: 1fr; }
  .stats-card { flex-direction: column; gap: 24px; padding: 30px 24px; }
  .stat-divider { width: 60px; height: 1px; }
  .hero-title { font-size: clamp(42px, 11.5vw, 56px); }
  .float-chip--views { top: -16px; right: 0; }
  .float-chip--rate { bottom: -16px; left: 0; }
  .float-chip--fast { display: none; }
  .hero-cta-row { flex-direction: column; align-items: flex-start; }
  /* Smaller, tighter to-top so it doesn't sit on body text */
  #to-top { width: 40px; height: 40px; bottom: 16px; right: 16px; font-size: 16px; }
}

/* ─── REDUCED MOTION — kill all 3D / motion ─── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal-3d, .split-3d .ch { opacity: 1 !important; transform: none !important; }
  #webgl { display: none; }
}
