/* ============================================================
   SUMMIT OAK AI — style.css
   ============================================================ */

/* ---- @property for rotating CTA border -------------------- */
@property --border-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

/* ---- @property for stat panel scan-line ------------------- */
@property --scan-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

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

/* ---- Keyboard focus visibility (a11y) --------------------- */
/* Mouse users see no ring (cursor:none design); keyboard users get a clear focus indicator */
a:focus-visible, button:focus-visible, input:focus-visible,
textarea:focus-visible, select:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--electric-blue);
  outline-offset: 3px;
  border-radius: 4px;
}
a:focus:not(:focus-visible), button:focus:not(:focus-visible) { outline: none; }

:root {
  --jet-black:     #0B0B0D;
  --dark-charcoal: #111318;
  --deep-navy:     #0E111A;
  --midnight-blue: #121826;
  --grad-start:    #FF6A3D;
  --grad-end:      #B24DFF;
  --gradient:      linear-gradient(135deg, #FF6A3D, #B24DFF);
  --electric-blue: #00D4FF;
  --cyan-blue:     #2DD4BF;
  --white:         #FFFFFF;
  --light-gray:    #D1D5D8;
  --medium-gray:   #9CA3AF;
  --dark-gray:     #6B7280;
  --font-head:     'Sora', sans-serif;
  --font-body:     'Inter', sans-serif;
  --font-accent:   'Outfit', sans-serif;
  --section-pad:   120px;
  --nav-h:         80px;
}

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  background: var(--jet-black);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
  cursor: none;
}

/* Noise texture */
body::before {
  content: '';
  position: fixed; inset: 0;
  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.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.022;
  pointer-events: none;
  z-index: 9998;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ---- Custom cursor ---------------------------------------- */
#cursor {
  position: fixed; width: 10px; height: 10px;
  background: var(--electric-blue); border-radius: 50%;
  pointer-events: none; z-index: 10000;
  transform: translate(-50%, -50%);
  transition: width .15s, height .15s;
  mix-blend-mode: screen;
  will-change: transform;
}
#cursor-ring {
  position: fixed; width: 38px; height: 38px;
  border: 1.5px solid rgba(0,212,255,.45); border-radius: 50%;
  pointer-events: none; z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width .3s, height .3s, border-color .2s;
  will-change: transform;
}
#cursor.hover  { width: 7px; height: 7px; }
#cursor-ring.hover { width: 54px; height: 54px; border-color: rgba(0,212,255,.7); }

/* ---- Typography ------------------------------------------- */
h1,h2,h3,h4 { font-family: var(--font-head); line-height: 1.08; letter-spacing: -.025em; }
h1 { font-size: clamp(40px,6.5vw,72px); font-weight: 800; }
h2 { font-size: clamp(28px,4vw,44px);   font-weight: 700; }
h3 { font-size: clamp(18px,2.5vw,24px); font-weight: 600; }

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---- Buttons ---------------------------------------------- */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 16px 32px;
  background: var(--gradient);
  border: none; border-radius: 6px;
  color: var(--white); font-family: var(--font-head);
  font-size: 14px; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; cursor: none;
  transition: transform .2s ease, box-shadow .2s ease;
  will-change: transform;
  position: relative; overflow: hidden;
}
.btn-primary::after {
  content: '';
  position: absolute; top: 0; left: -80%;
  width: 55%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.22), transparent);
  transform: skewX(-18deg);
  pointer-events: none;
}
.btn-primary:hover { transform: scale(1.035); }
.btn-primary:hover::after { animation: btn-shimmer 1.4s ease forwards; }
.btn-sm   { padding: 10px 20px; font-size: 12px; }
.btn-large { padding: 20px 48px; font-size: 15px; }

@keyframes glow-pulse {
  0%,100% { box-shadow: 0 0 20px rgba(255,106,61,.3), 0 0 40px rgba(178,77,255,.18); }
  50%      { box-shadow: 0 0 40px rgba(255,106,61,.6), 0 0 80px rgba(178,77,255,.4); }
}
.btn-glow { animation: glow-pulse 3s ease-in-out infinite; }

@keyframes btn-shimmer {
  0%   { left: -80%; }
  100% { left: 160%; }
}

@keyframes scan-border {
  to { --scan-angle: 360deg; }
}

.btn-secondary {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 15px 31px;
  background: transparent; border: 1.5px solid var(--electric-blue);
  border-radius: 6px; color: var(--electric-blue);
  font-family: var(--font-head); font-size: 14px; font-weight: 600;
  letter-spacing: .04em; cursor: none;
  transition: background .2s;
}
.btn-secondary:hover { background: rgba(0,212,255,.07); }

/* ---- Layout ----------------------------------------------- */
.section { padding: var(--section-pad) 0; position: relative; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 40px; }

.section-header { text-align: center; margin-bottom: 72px; }
.section-sub { color: var(--medium-gray); margin-top: 14px; font-size: 17px; max-width: 560px; margin-left: auto; margin-right: auto; }

.overline {
  display: block; margin-bottom: 14px;
  font-family: var(--font-accent); font-size: 12px; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; color: var(--electric-blue);
}

.section-divider {
  width: 100%; max-width: 120px; height: 1px;
  background: var(--gradient); opacity: .5;
  margin: 0 auto 28px;
}

/* ---- Reveal base states ----------------------------------- */
.reveal-up    { opacity: 0; transform: translateY(40px); will-change: transform, opacity; }
.reveal-left  { opacity: 0; transform: translateX(-40px); will-change: transform, opacity; }
.reveal-right { opacity: 0; transform: translateX(40px);  will-change: transform, opacity; }

/* ---- Mobile menu overlay ---------------------------------- */
.mobile-menu {
  position: fixed; inset: 0; z-index: 9000;
  background: rgba(11,11,13,.97);
  backdrop-filter: blur(20px);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px;
  opacity: 0; pointer-events: none; transition: opacity .3s;
}
.mobile-menu.open { opacity: 1; pointer-events: all; }
.mobile-menu-close {
  position: absolute; top: 24px; right: 24px;
  background: none; border: none; color: var(--white);
  font-size: 28px; cursor: pointer; opacity: .7;
}
.mobile-nav { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.mobile-nav-link {
  font-family: var(--font-head); font-size: 28px; font-weight: 700;
  color: var(--white); letter-spacing: -.01em;
  padding: 12px 24px; opacity: 0;
  transform: translateY(20px);
  transition: color .2s;
}
.mobile-menu.open .mobile-nav-link { opacity: 1; transform: translateY(0); }
.mobile-nav-link:nth-child(1) { transition-delay: .1s; }
.mobile-nav-link:nth-child(2) { transition-delay: .15s; }
.mobile-nav-link:nth-child(3) { transition-delay: .2s; }
.mobile-nav-link:nth-child(4) { transition-delay: .25s; }
.mobile-nav-link:nth-child(5) { transition-delay: .3s; }
.mobile-nav-cta { color: var(--electric-blue); }

/* ═══════════════════════════════════════ NAV */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 800;
  padding: 20px 0;
  transition: background .35s, backdrop-filter .35s, padding .35s, border-color .35s;
  border-bottom: 1px solid transparent;
}
#nav.scrolled {
  background: rgba(11,11,13,.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 14px 0;
  border-bottom-color: rgba(0,212,255,.08);
}
.nav-inner { display: flex; align-items: center; gap: 24px; }
.nav-logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-wordmark { font-family: var(--font-head); font-size: 17px; font-weight: 800; letter-spacing: .04em; }
.nav-links { display: flex; gap: 32px; list-style: none; margin-left: auto; }
.nav-link {
  font-size: 13px; font-weight: 500; font-family: var(--font-body);
  color: var(--medium-gray); letter-spacing: .04em;
  position: relative; padding-bottom: 3px;
  transition: color .2s;
}
.nav-link::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 1.5px; background: var(--electric-blue);
  transition: width .25s ease;
}
.nav-link:hover { color: var(--white); }
.nav-link:hover::after { width: 100%; }
.nav-cta { margin-left: 12px; }

.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer;
  padding: 4px; margin-left: auto;
}
.nav-hamburger span { display: block; width: 22px; height: 1.5px; background: var(--white); border-radius: 1px; transition: .3s; }
.nav-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(4.5px, 4.5px); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(4.5px, -4.5px); }

/* ═══════════════════════════════════════ HERO */
.hero-section {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  background: radial-gradient(ellipse 90% 60% at 40% 0%, rgba(0,212,255,.05), transparent 65%),
              linear-gradient(180deg, var(--deep-navy), var(--jet-black) 80%);
  overflow: hidden;
}
#heroBgVideo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.55;
}
#vanta-bg { display: none; }

/* Orbs */
.hero-orbs { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(80px); }
.orb-1 { width: 600px; height: 600px; background: rgba(0,212,255,.12); top: -200px; left: -100px; animation: orbA 12s ease-in-out infinite; }
.orb-2 { width: 400px; height: 400px; background: rgba(178,77,255,.12); bottom: -80px; right: -60px; animation: orbB 8s ease-in-out infinite; }
.orb-3 { width: 300px; height: 300px; background: rgba(45,212,191,.09); top: 20%; right: 8%; animation: orbC 10s ease-in-out infinite; }
@keyframes orbA { 0%,100%{transform:translate(0,0)} 33%{transform:translate(40px,35px)} 66%{transform:translate(-20px,55px)} }
@keyframes orbB { 0%,100%{transform:translate(0,0)} 50%{transform:translate(-35px,-45px)} }
@keyframes orbC { 0%,100%{transform:translate(0,0)} 40%{transform:translate(22px,-28px)} 80%{transform:translate(-12px,18px)} }

.hero-content {
  position: relative; z-index: 3;
  padding-top: 140px; padding-bottom: 100px;
  max-width: 900px;
}
.hero-badge {
  display: inline-block; margin-bottom: 24px;
  padding: 7px 16px;
  border: 1px solid rgba(0,212,255,.25);
  border-radius: 100px;
  font-family: var(--font-accent); font-size: 11px; font-weight: 500;
  letter-spacing: .14em; color: var(--electric-blue);
  background: rgba(0,212,255,.05);
  opacity: 0; transform: translateY(20px); will-change: transform, opacity;
}
.hero-headline {
  font-size: clamp(44px, 7.5vw, 88px); font-weight: 800;
  line-height: 1.0; letter-spacing: -.03em;
  margin-bottom: 28px;
}
.hero-br { display: none; }
.hero-headline .word { display: inline-block; margin-right: .22em; opacity: 0; transform: translateY(40px); will-change: transform, opacity; }
.hero-headline .word:last-child { margin-right: 0; }
.hero-sub { font-size: clamp(16px,2vw,19px); color: var(--medium-gray); max-width: 520px; line-height: 1.65; margin-bottom: 40px; opacity: 0; transform: translateY(20px); will-change: transform, opacity; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; opacity: 0; transform: scale(.9); will-change: transform, opacity; }

.scroll-indicator {
  position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
  opacity: 0;
  animation: bounce 2.2s ease-in-out infinite;
}
@keyframes bounce { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(8px)} }

/* ═══════════════════════════════════════ PROBLEM */
.problem-section {
  background: var(--deep-navy);
  padding: 120px 0; position: relative; overflow: hidden;
  text-align: center;
}
.problem-decor-num {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  font-family: var(--font-accent); font-size: clamp(140px, 20vw, 260px); font-weight: 600;
  color: rgba(255,255,255,.03); line-height: 1; pointer-events: none; user-select: none;
  will-change: transform;
}
.problem-inner { position: relative; z-index: 1; max-width: 800px; margin: 0 auto; }
.problem-headline {
  font-size: clamp(28px,4.5vw,52px); font-weight: 800;
  line-height: 1.12; letter-spacing: -.025em;
  margin-bottom: 28px;
}
.problem-headline .word { display: inline-block; margin-right: .2em; opacity: 0; transform: translateY(40px); will-change: transform, opacity; }
.problem-body { font-size: 18px; color: var(--medium-gray); line-height: 1.7; max-width: 680px; margin: 0 auto; opacity: 0; transform: translateY(20px); will-change: transform, opacity; }

/* ═══════════════════════════════════════ SERVICES */
.services-section { background: var(--dark-charcoal); overflow: hidden; }
#services .container { position: relative; z-index: 2; }
#services .section-bg-vid.active { opacity: 0.35; }
#services .section-header { margin-bottom: 48px; }
.services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }

.section-bg-vid {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.7s ease;
}
.section-bg-vid.active { opacity: 0.25; }

.service-card {
  background: var(--midnight-blue);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 8px; padding: 24px 24px;
  position: relative; overflow: hidden; z-index: 1;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
  opacity: 0; transform: translateY(50px); will-change: transform, opacity;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--gradient); border-radius: 8px 8px 0 0;
}
.service-card::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at var(--mouse-x, 20%) var(--mouse-y, 20%), rgba(0,212,255,.1), transparent 60%);
  opacity: 0; transition: opacity .3s;
  pointer-events: none;
}
.service-card:hover { border-color: rgba(0,212,255,.35); box-shadow: 0 12px 48px rgba(0,0,0,.4); z-index: 2; }
.service-card:hover::after { opacity: 1; }

.service-icon-wrap {
  width: 56px; height: 56px; margin-bottom: 16px;
  background: rgba(0,212,255,.06); border: 1px solid rgba(0,212,255,.12);
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  position: relative; z-index: 1;
  box-shadow: 0 0 20px rgba(0,212,255,0); transition: box-shadow .3s;
}
.service-card:hover .service-icon-wrap { box-shadow: 0 0 20px rgba(0,212,255,.18); }
.service-card h3 { font-size: 20px; margin-bottom: 10px; position: relative; z-index: 1; }
.service-card p  { font-size: 14px; color: var(--medium-gray); line-height: 1.65; position: relative; z-index: 1; }
.service-card-learn-more {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 18px; font-size: 12px; font-family: var(--font-accent);
  font-weight: 600; letter-spacing: .05em;
  color: rgba(0,212,255,.55); text-decoration: none;
  transition: color .2s, gap .2s;
  position: relative; z-index: 1;
}
.service-card-learn-more:hover { color: var(--electric-blue); gap: 10px; }

/* Featured (full-width) 7th service card */
.service-card--featured {
  grid-column: 1 / -1;
  padding: 24px 32px;
}
.service-card-featured-inner {
  display: flex; align-items: center; gap: 32px;
}
.service-card-featured-inner .service-icon-wrap { flex-shrink: 0; margin-bottom: 0; }
.service-card-featured-text { flex: 1; }
.service-card-featured-text h3 { font-size: 22px; }
.service-card-featured-cta { flex-shrink: 0; }
.service-card-meta { color: var(--electric-blue); font-style: italic; opacity: .85; }

/* ═══════════════════════════════════════ PROCESS */
.process-section {
  background: var(--deep-navy); position: relative;
  padding-top: var(--section-pad);
  padding-bottom: 0;
}
.proc-vid-stage {
  position: sticky; top: 0;
  width: 100%; height: 100vh;
  overflow: hidden;
  margin-bottom: -100vh;
  z-index: 0; pointer-events: none;
}
.process-header { padding-bottom: 0; margin-bottom: 48px; position: relative; z-index: 2; }

.process-wrapper {
  display: grid; grid-template-columns: 38% 62%;
  align-items: start;
  max-width: 1200px; margin: 0 auto; padding: 0 40px;
  position: relative; z-index: 2;
}

/* LEFT sticky panel */
.process-left {
  position: sticky; top: 0;
  height: 100vh;
  display: flex; align-items: center;
  padding-right: 48px;
}
.proc-step-vid {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.7s ease;
}
.proc-step-vid.active { opacity: 0.35; }
.process-left-inner { position: relative; z-index: 2; width: 100%; }
.process-ghost-num {
  font-family: var(--font-accent); font-size: 160px; font-weight: 600;
  color: rgba(255,255,255,.04); line-height: 1;
  position: absolute; top: -40px; left: -20px;
  pointer-events: none; user-select: none;
  transition: opacity .4s;
}
.process-counter { font-family: var(--font-accent); font-size: 13px; color: var(--dark-gray); letter-spacing: .08em; margin-bottom: 16px; }
.process-active-num {
  font-family: var(--font-accent); font-size: 64px; font-weight: 600;
  color: var(--electric-blue); line-height: 1; margin-bottom: 16px;
  transition: opacity .3s;
}
.process-active-title { font-family: var(--font-head); font-size: 36px; font-weight: 700; margin-bottom: 14px; transition: opacity .3s; }
.process-title-line { width: 60px; height: 2px; background: var(--electric-blue); opacity: .7; }

/* RIGHT scrolling column */
.process-right { position: relative; padding-left: 48px; }

.process-line-track {
  position: absolute; left: 0; top: 80px; bottom: 80px;
  width: 1px; background: rgba(0,212,255,.15);
}
.process-line-fill {
  position: absolute; top: 0; left: 0; right: 0;
  height: 0; background: var(--gradient);
  transition: height .1s linear;
}

/* Step blocks */
.step-block {
  min-height: 100vh; display: flex; align-items: center;
  padding: 80px 0;
  position: relative;
}
.step-glass {
  background: rgba(255,255,255,.025);
  border: 1px solid rgba(255,255,255,.07);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-radius: 12px; padding: 48px;
  position: relative; width: 100%;
  border-left: 1px solid rgba(255,255,255,.07);
  transition: border-color .3s, box-shadow .3s;
  opacity: 0; transform: translateY(60px); will-change: transform, opacity;
  z-index: 2;
}
.step-glass:hover { border-color: rgba(0,212,255,.2); box-shadow: 0 0 40px rgba(0,212,255,.04); }
.step-block.step-active .step-glass { border-left: 4px solid var(--electric-blue); box-shadow: 0 0 40px rgba(0,212,255,.06); }

.step-icon { margin-bottom: 24px; }
.step-headline { font-size: 26px; font-weight: 700; margin-bottom: 14px; line-height: 1.2; }
.step-body { font-size: 16px; color: var(--medium-gray); line-height: 1.7; margin-bottom: 28px; }
.step-metric { display: flex; align-items: baseline; gap: 10px; }
.step-metric-num { font-family: var(--font-accent); font-size: 32px; font-weight: 600; }
.step-metric-label { font-size: 13px; color: var(--dark-gray); }

/* ═══════════════════════════════════════ STATS */
.stats-section {
  background: var(--jet-black); position: relative;
  overflow: hidden;
}
#statsCanvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 0;
}
.stats-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 24px;
  position: relative; z-index: 1;
}

.stat-panel {
  background: var(--dark-charcoal);
  border: 1px solid rgba(0,212,255,.1);
  border-radius: 8px; padding: 40px 32px;
  position: relative; overflow: hidden;
  transition: border-color .3s, box-shadow .3s;
  opacity: 0; transform: translateY(40px); will-change: transform, opacity;
}
.stat-panel:hover { border-color: rgba(0,212,255,.3); box-shadow: 0 0 32px rgba(0,212,255,.06); }
.stat-panel::after {
  content: '';
  position: absolute; inset: 0;
  border-radius: 8px; padding: 1px;
  background: conic-gradient(from var(--scan-angle),
    transparent 0deg, transparent 75%,
    rgba(0,212,255,.9) 85%, rgba(45,212,191,.7) 92%,
    transparent 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity .35s;
}
.stat-panel:hover::after {
  opacity: 1;
  animation: scan-border 2.5s linear infinite;
}
.stat-panel::before {
  content: ''; position: absolute; top: -50px; left: -50px;
  width: 160px; height: 160px;
  background: radial-gradient(circle, rgba(0,212,255,.08), transparent 70%);
  pointer-events: none;
}

.stat-sparkline { height: 30px; margin-bottom: 20px; opacity: .6; }
.stat-sparkline svg { width: 100%; height: 100%; }
.spark-path { stroke-dasharray: 200; stroke-dashoffset: 200; transition: stroke-dashoffset 1.8s ease; }
.spark-path.drawn { stroke-dashoffset: 0; }

.stat-top { display: flex; align-items: baseline; gap: 2px; margin-bottom: 10px; }
.stat-number {
  font-family: var(--font-accent); font-size: clamp(56px,6vw,96px);
  font-weight: 600; color: var(--electric-blue); line-height: 1;
}
.stat-number.stat-static { font-size: clamp(44px,5vw,80px); }
.stat-prefix { font-family: var(--font-accent); font-size: 36px; font-weight: 600; background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.stat-suffix { font-family: var(--font-accent); font-size: 36px; font-weight: 600; background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.stat-label { font-family: var(--font-accent); font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--medium-gray); }

@keyframes stat-glow-pulse {
  0%,100% { text-shadow: 0 0 20px rgba(0,212,255,.3); }
  50%      { text-shadow: 0 0 40px rgba(0,212,255,.7), 0 0 60px rgba(0,212,255,.3); }
}
.stat-number.counted { animation: stat-glow-pulse 3s ease-in-out infinite; }

/* Testimonial row (stats section) */
.testimonial-row { margin-top: 64px; position: relative; z-index: 1; }
.inline-testimonial {
  max-width: 680px; margin: 0 auto; text-align: center;
  padding: 48px 40px;
  background: var(--dark-charcoal);
  border: 1px solid rgba(0,212,255,.12);
  border-radius: 12px; position: relative;
}
.inline-testimonial::before {
  content: '"'; position: absolute; top: -20px; left: 50%; transform: translateX(-50%);
  font-family: var(--font-accent); font-size: 80px; line-height: 1;
  background: var(--gradient); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text; opacity: .4;
}
.inline-testimonial-quote {
  font-family: var(--font-head); font-size: clamp(17px,2.2vw,22px);
  font-weight: 600; font-style: italic; color: var(--light-gray);
  line-height: 1.55; margin-bottom: 28px;
}
.inline-testimonial-attribution { display: flex; align-items: center; justify-content: center; gap: 14px; }
.inline-testimonial-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--gradient); display: flex; align-items: center; justify-content: center;
  font-family: var(--font-accent); font-size: 13px; font-weight: 600; color: var(--white);
  flex-shrink: 0;
}
.inline-testimonial-name { font-family: var(--font-accent); font-size: 14px; font-weight: 600; color: var(--white); }
.inline-testimonial-title { font-size: 13px; color: var(--medium-gray); }

/* ═══════════════════════════════════════ CASE STUDY */
.case-study-section { background: linear-gradient(180deg, var(--dark-charcoal) 0%, var(--deep-navy) 100%); }
.case-company-tag { font-size: 14px; color: var(--dark-gray); margin-top: 12px; font-family: var(--font-accent); letter-spacing: .06em; }

.case-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }

.case-block { margin-bottom: 36px; }
.case-block-label { font-family: var(--font-accent); font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--electric-blue); margin-bottom: 14px; padding-left: 16px; border-left: 3px solid var(--electric-blue); }
.case-block p { font-size: 15px; color: var(--medium-gray); line-height: 1.75; }

.case-timeline-section { margin-top: 8px; }
.case-timeline-labels { display: flex; justify-content: space-between; font-family: var(--font-accent); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--dark-gray); margin-bottom: 10px; }
.case-timeline-bar { display: flex; height: 5px; border-radius: 3px; overflow: hidden; background: rgba(255,255,255,.05); }
.case-timeline-before { width: 50%; background: var(--dark-gray); opacity: .4; }
.case-timeline-after  { width: 0; background: var(--gradient); transition: width 1.6s cubic-bezier(0.16,1,.3,1); }

.case-results-panel {
  background: rgba(255,255,255,.025);
  border: 1px solid rgba(255,255,255,.07);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-radius: 12px; padding: 40px; margin-bottom: 20px;
}
.case-results-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.case-result-item {}
.case-result-num { font-family: var(--font-accent); font-size: 44px; font-weight: 600; line-height: 1; margin-bottom: 6px; }
.case-result-label { font-size: 13px; color: var(--medium-gray); line-height: 1.4; }

.no-video-placeholder {
  background: rgba(255,255,255,.02); border: 1px dashed rgba(255,255,255,.08);
  border-radius: 8px; padding: 32px; text-align: center;
  color: var(--dark-gray); font-size: 14px;
}

/* Before/After Slider */
.ba-slider {
  position: relative; border-radius: 12px; overflow: hidden;
  height: 320px; cursor: col-resize; user-select: none;
  background: var(--dark-charcoal);
}
.ba-after, .ba-before {
  position: absolute; inset: 0;
}
.ba-after img, .ba-before img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.ba-before {
  clip-path: inset(0 50% 0 0);
}
.ba-label {
  position: absolute; bottom: 12px;
  font-family: var(--font-accent); font-size: 10px; font-weight: 700;
  letter-spacing: .1em; padding: 4px 10px; border-radius: 100px;
}
.ba-label-after { right: 12px; background: rgba(0,212,255,.15); color: var(--electric-blue); }
.ba-label-before { left: 12px; background: rgba(255,106,61,.15); color: #FF6A3D; }
.ba-handle {
  position: absolute; top: 0; bottom: 0; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center;
  width: 40px; z-index: 10;
}
.ba-handle-line {
  flex: 1; width: 2px; background: rgba(255,255,255,.5);
}
.ba-handle-grip {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--dark-charcoal); border: 2px solid rgba(255,255,255,.4);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.ba-placeholder {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.02);
  border: 1px dashed rgba(255,255,255,.08); border-radius: 12px;
}

.case-quote {
  margin-top: 72px; text-align: center; position: relative;
  opacity: 0; transform: scale(.97); will-change: transform, opacity;
}
.case-quote-mark {
  font-family: var(--font-accent); font-size: 120px; line-height: .7;
  background: var(--gradient); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text;
  opacity: .3; display: block; margin-bottom: 0;
}
.case-quote p { font-family: var(--font-head); font-size: 22px; font-weight: 600; font-style: italic; color: var(--light-gray); line-height: 1.5; max-width: 680px; margin: 0 auto 16px; }
.case-quote cite { font-size: 14px; color: var(--medium-gray); font-style: normal; font-family: var(--font-accent); letter-spacing: .05em; }

/* ═══════════════════════════════════════ ABOUT */
.about-section { background: var(--deep-navy); }
.about-inner { max-width: 1100px; margin: 0 auto; }
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: start; margin-top: 48px;
}
.about-text h2 { margin-bottom: 24px; }
.about-body { font-size: 16px; color: var(--medium-gray); line-height: 1.75; margin-bottom: 18px; }
.about-pillars { display: flex; flex-direction: column; gap: 24px; }
.about-pillar {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 24px;
  background: rgba(255,255,255,.025);
  border: 1px solid rgba(255,255,255,.06);
  border-left: 3px solid var(--electric-blue);
  border-radius: 6px;
}
.about-pillar-icon {
  flex-shrink: 0; width: 40px; height: 40px;
  background: rgba(0,212,255,.06); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
}
.about-pillar-title { font-family: var(--font-head); font-size: 15px; font-weight: 600; color: var(--white); margin-bottom: 6px; }
.about-pillar-body { font-size: 14px; color: var(--medium-gray); line-height: 1.6; }

/* ═══════════════════════════════════════ CTA */
.cta-section {
  background: var(--jet-black);
  text-align: center; position: relative; overflow: hidden;
  min-height: 100vh;
}
.cta-bg-radial {
  position: absolute; top: 30%; left: 50%; transform: translate(-50%,-50%);
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(0,212,255,.06), transparent 65%);
  pointer-events: none;
}
.cta-orbs { position: absolute; inset: 0; pointer-events: none; }
.cta-orb { position: absolute; border-radius: 50%; filter: blur(60px); }
.cta-orb-1 { width: 350px; height: 350px; background: rgba(255,106,61,.07); top: -80px; right: -80px; animation: orbB 9s ease-in-out infinite; }
.cta-orb-2 { width: 280px; height: 280px; background: rgba(178,77,255,.07); bottom: -60px; left: -60px; animation: orbA 11s ease-in-out infinite; }

.cta-ghost-text {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  font-family: var(--font-head); font-size: clamp(80px,14vw,200px); font-weight: 800;
  color: var(--electric-blue); opacity: .025; filter: blur(2px);
  white-space: nowrap; pointer-events: none; user-select: none;
  will-change: transform;
}

.cta-inner { position: relative; z-index: 1; }
.cta-card {
  max-width: 520px; margin: 0 auto;
  background: var(--dark-charcoal);
  border-radius: 16px; padding: 32px 36px;
  position: relative;
  opacity: 0; transform: translateY(40px); will-change: transform, opacity;
  animation: card-glow-pulse 3s ease-in-out infinite;
}
/* Static gradient border + pulsing outer glow */
.cta-card::before {
  content: ''; position: absolute; inset: -2px;
  border-radius: 18px;
  background: linear-gradient(135deg, #FF6A3D, #B24DFF);
  z-index: -1;
}
@keyframes card-glow-pulse {
  0%,100% { box-shadow: 0 0 30px rgba(255,106,61,0.25), 0 0 60px rgba(178,77,255,0.15); }
  50%      { box-shadow: 0 0 50px rgba(255,106,61,0.45), 0 0 100px rgba(178,77,255,0.3); }
}
.cta-card::after {
  content: ''; position: absolute; inset: 0;
  border-radius: 16px;
  background: var(--dark-charcoal);
  z-index: -1;
}
@keyframes rotate-border { to { --border-angle: 360deg; } }

.cta-logo-mark { margin-bottom: 20px; display: flex; justify-content: center; }
.cta-overline { margin-bottom: 16px; }
.cta-headline {
  font-size: clamp(28px,4vw,48px); font-weight: 800;
  margin-bottom: 20px;
}
.cta-headline .word { display: inline-block; margin-right: .2em; opacity: 0; transform: translateY(30px); will-change: transform, opacity; }
.cta-sub { font-size: 17px; color: var(--medium-gray); max-width: 520px; margin: 0 auto 40px; line-height: 1.65; }
.cta-buttons { margin-bottom: 20px; }
.cta-email { font-size: 14px; color: var(--dark-gray); }
.cta-email a { color: var(--medium-gray); transition: color .2s; }
.cta-email a:hover { color: var(--white); }

/* ═══════════════════════════════════════ FOOTER */
.footer { background: var(--jet-black); position: relative; }
.footer-gradient-border { height: 1px; background: var(--gradient); opacity: .25; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-top: 24px; padding-bottom: 20px; }
.footer-brand { flex-shrink: 0; }
.footer-logo { display: flex; align-items: center; gap: 10px; }
.footer-nav { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-nav a { font-size: 13px; color: var(--dark-gray); transition: color .2s; }
.footer-nav a:hover { color: var(--white); }
.footer-contact { display: flex; flex-direction: row; align-items: center; gap: 20px; }
.footer-contact > a { font-size: 13px; color: var(--medium-gray); transition: color .2s; }
.footer-contact > a:hover { color: var(--white); }
.footer-social { display: flex; gap: 12px; }
.footer-social a { opacity: .6; transition: opacity .2s; }
.footer-social a:hover { opacity: 1; }
.footer-bottom { padding: 14px 40px; border-top: 1px solid rgba(255,255,255,.04); }
.footer-bottom p { font-size: 12px; color: var(--dark-gray); }
.footer-bottom a { color: var(--medium-gray); transition: color .2s; }
.footer-bottom a:hover { color: var(--white); }

/* ═══════════════════════════════════════ RESPONSIVE */
@media (max-width: 1024px) {
  .stats-grid    { grid-template-columns: repeat(2,1fr); }
  .services-grid { grid-template-columns: repeat(2,1fr); }
  .service-card--featured { padding: 28px; }
  .footer-inner  { gap: 16px; }
}

@media (max-width: 900px) {
  .process-wrapper { display: block; padding: 0 20px; }
  .process-left  { position: static; height: auto; padding: 0 0 48px; }
  .process-ghost-num { display: none; }
  .process-left-inner { display: flex; align-items: center; gap: 16px; }
  .process-active-num { font-size: 40px; margin-bottom: 0; }
  .process-active-title { font-size: 24px; }
  .process-title-line { display: none; }
  .process-right { padding-left: 20px; }
  .step-block { min-height: auto; padding: 0 0 40px; }
  .step-glass { padding: 32px 24px; }
  .step-headline { font-size: 20px; }
}

@media (max-width: 768px) {
  :root { --section-pad: 72px; }
  .container { padding: 0 20px; }
  body { cursor: auto; }
  #cursor, #cursor-ring { display: none; }

  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }

  .hero-headline { font-size: clamp(36px,9vw,52px); }
  .hero-content { padding-top: 110px; }
  .hero-ctas { flex-direction: column; }
  .hero-br { display: block; }

  .services-grid { grid-template-columns: 1fr; }
  .service-card-featured-inner { flex-direction: column; align-items: flex-start; gap: 20px; }
  .service-card-featured-cta { align-self: flex-start; }
  .mobile-nav-link:nth-child(6) { transition-delay: .35s; }
  .stats-grid    { grid-template-columns: 1fr 1fr; gap: 16px; }
  .stat-panel    { padding: 28px 20px; }
  .inline-testimonial { padding: 36px 24px; }

  .about-grid { grid-template-columns: 1fr; gap: 48px; }

  .case-grid { grid-template-columns: 1fr; gap: 48px; }
  .case-results-grid { grid-template-columns: 1fr 1fr; }

  .cta-card { padding: 28px 20px; }
  .cta-ghost-text { display: none; }

  .footer-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
  .footer-contact { flex-wrap: wrap; }
  .footer-bottom { padding: 20px; }

  .proc-vid-stage { display: none; }
}

@media (max-width: 480px) {
  .stats-grid         { grid-template-columns: 1fr; }
  .case-results-grid  { grid-template-columns: 1fr; }
  .stat-number        { font-size: 72px; }
  .orb-1, .orb-2, .orb-3 { display: none; }
}
