/* Google Fonts preloaded in <head> for zero-flicker performance */
/* ===== GLOBAL ZERO-FLICKER ENTRANCE & STEADY VISIBILITY ===== */
*, *::before, *::after {
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
}

html, body {
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
  text-rendering: optimizeLegibility !important;
}

/* Eliminate all rapid opacity/box-shadow blinking animations globally */
.blink, .blinking, [class*="blink"] {
  animation: none !important;
  opacity: 1 !important;
}

@keyframes sdpZoomInEntrance {
  0%, 100% {
    opacity: 1;
    transform: none;
  }
}

.sdp-zoom-in {
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
  will-change: auto;
}

.sdp-zoom-delay-1, .sdp-zoom-delay-2, .sdp-zoom-delay-3 { animation: none !important; }

/* ===== STEADY SUBTLE GLOW (NO BLINKING / PULSING) ===== */
@keyframes sdpPulseGlow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.35);
    transform: scale(1);
  }
}
.sdp-pulse-glow {
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.35) !important;
  animation: none !important;
}

@keyframes sdpBounce {
  0%, 100% { transform: translateY(0); }
}
.sdp-bounce {
  animation: none !important;
}

.sdp-float {
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}
.sdp-float:hover {
  transform: translateY(-8px) !important;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.4) !important;
}

:root {
  /* Surface & Background Palette */
  --bg: #07090e;
  --bg-2: #0b0f19;
  --panel: #0f1422;
  --panel-2: #141b2d;
  
  /* Borders & Dividers */
  --line: rgba(255, 255, 255, 0.08);
  --line-soft: rgba(255, 255, 255, 0.04);
  --line-focus: rgba(56, 189, 248, 0.5);

  /* Typography Colors */
  --text: #f8fafc;
  --muted: #94a3b8;
  --faint: #64748b;

  /* Brand Accents */
  --primary: #38bdf8;      /* Vibrant Sky Cyan */
  --accent: #8e7bff;       /* Soft Indigo / Violet */
  --accent-2: #6366f1;     /* Rich Indigo */
  --accent-3: #4fd1e0;     /* Soft Cyan */
  --gold: #f59e0b;         /* Amber Gold */
  --gold-light: #fef08a;   /* Sunlight Gold */

  /* Border Radii */
  --r-sm: 8px;
  --r-md: 12px;
  --r: 16px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-full: 9999px;

  /* Global Grid & Layout */
  --maxw: 1240px;
  --font: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Shadows */
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.7);
  --shadow-glow-cyan: 0 0 25px rgba(56, 189, 248, 0.3);
  --shadow-glow-gold: 0 0 25px rgba(245, 158, 11, 0.35);

  /* Standard Transitions */
  --ease-standard: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: -0.011em;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  min-height: 100vh;
  margin: 0;
  padding: 0;
}

::selection {
  background: rgba(56, 189, 248, 0.3);
  color: #ffffff;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

/* =========================================================================
   STANDARDIZED TYPOGRAPHY HIERARCHY
   ========================================================================= */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font);
  color: var(--text);
  letter-spacing: -0.02em;
  font-weight: 750;
  line-height: 1.18;
}

h1 {
  font-size: clamp(30px, 4.5vw, 48px);
  line-height: 1.15;
}

h2 {
  font-size: clamp(24px, 3.2vw, 36px);
  line-height: 1.2;
}

h3 {
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.3;
}

h4 {
  font-size: clamp(15px, 1.8vw, 18px);
  line-height: 1.4;
}

p, .body-text {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}

.lead {
  font-size: clamp(15px, 1.8vw, 17.5px);
  color: var(--muted);
  line-height: 1.6;
}

/* =========================================================================
   STANDARDIZED CONTAINER & GRID SYSTEM
   ========================================================================= */
.wrap, .container {
  max-width: var(--maxw);
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.section {
  padding: 96px 0;
  position: relative;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .section {
    padding: 60px 0;
  }
}

.accent {
  color: var(--primary);
}

/* ===== ZERO-FLICKER TEXT & GRADIENT COMPOSITING ===== */
h1, h2, h3, h4, h5, h6, p, span, a, li, input, textarea, select, .hero h1, .page-hero-title, .reveal {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.grad-text, .gold-text, [style*="background-clip: text"], [style*="-webkit-background-clip: text"] {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  will-change: auto;
}

.grad-text {
  background: linear-gradient(135deg, #ffffff 30%, #8e7bff 70%, #38bdf8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.gold-text {
  background: linear-gradient(135deg, #fef08a 0%, #f59e0b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* =========================================================================
   STANDARDIZED BUTTON SYSTEM
   ========================================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 22px;
  border-radius: var(--r-full);
  font-family: var(--font);
  font-weight: 700;
  font-size: 13.5px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition-normal);
  white-space: nowrap;
  text-decoration: none;
  box-sizing: border-box;
  line-height: 1;
}

/* =========================================================================
   3D BADGE GRADIENT BUTTON SYSTEM (Exact Freepik Ref Style)
   ========================================================================= */
:root {
  --btn-badge-gold-svg: url("data:image/svg+xml,%3Csvg width='48' height='38' viewBox='0 0 48 38' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3ClinearGradient id='w' x1='5' y1='2' x2='35' y2='36' gradientUnits='userSpaceOnUse'%3E%3Cstop stop-color='%23ffffff'/%3E%3Cstop offset='0.55' stop-color='%23f8fafc'/%3E%3Cstop offset='1' stop-color='%23cbd5e1'/%3E%3C/linearGradient%3E%3Cfilter id='s' x='0' y='0' width='48' height='38' filterUnits='userSpaceOnUse'%3E%3CfeDropShadow dx='2.5' dy='2' stdDeviation='2' flood-color='%23000000' flood-opacity='0.35'/%3E%3C/filter%3E%3C/defs%3E%3Cpath d='M19 1 C9.05887 1 1 9.05887 1 19 C1 28.9411 9.05887 37 19 37 L38.2 21.8 C40.4 20.2 40.4 17.8 38.2 16.2 L19 1 Z' fill='url(%23w)' filter='url(%23s)' stroke='rgba(255,255,255,0.95)' stroke-width='0.8'/%3E%3Cpath d='M16 13L22 19L16 25' stroke='%23d97706' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");

  --btn-badge-cyan-svg: url("data:image/svg+xml,%3Csvg width='48' height='38' viewBox='0 0 48 38' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3ClinearGradient id='w' x1='5' y1='2' x2='35' y2='36' gradientUnits='userSpaceOnUse'%3E%3Cstop stop-color='%23ffffff'/%3E%3Cstop offset='0.55' stop-color='%23f8fafc'/%3E%3Cstop offset='1' stop-color='%23cbd5e1'/%3E%3C/linearGradient%3E%3Cfilter id='s' x='0' y='0' width='48' height='38' filterUnits='userSpaceOnUse'%3E%3CfeDropShadow dx='2.5' dy='2' stdDeviation='2' flood-color='%23000000' flood-opacity='0.35'/%3E%3C/filter%3E%3C/defs%3E%3Cpath d='M19 1 C9.05887 1 1 9.05887 1 19 C1 28.9411 9.05887 37 19 37 L38.2 21.8 C40.4 20.2 40.4 17.8 38.2 16.2 L19 1 Z' fill='url(%23w)' filter='url(%23s)' stroke='rgba(255,255,255,0.95)' stroke-width='0.8'/%3E%3Ccircle cx='17' cy='19' r='5.5' stroke='%230284c7' stroke-width='2.2' fill='none'/%3E%3Cpath d='M17 15V19' stroke='%230284c7' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E");
}

/* Primary Gold 3D Badge Button (Hero, Primary CTA, Yellow) */
.btn-primary, 
.btn-accent, 
.hero-btn-primary-gold, 
.btn-yellow,
.btn-gradient-gold {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  position: relative !important;
  height: 48px !important;
  padding: 0 28px 0 6px !important;
  border-radius: 9999px !important;
  background: linear-gradient(90deg, #92400e 0%, #b45309 15%, #d97706 40%, #eab308 70%, #facc15 88%, #fef08a 100%) !important;
  color: #ffffff !important;
  font-weight: 750 !important;
  font-size: 15px !important;
  letter-spacing: 0.015em !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5) !important;
  text-decoration: none !important;
  border: none !important;
  cursor: pointer !important;
  box-sizing: border-box !important;
  white-space: nowrap !important;
  box-shadow: 0 10px 25px -4px rgba(217, 119, 6, 0.55), 0 4px 12px rgba(0, 0, 0, 0.35) !important;
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.25s ease !important;
}

.btn-primary::before, 
.btn-accent::before, 
.hero-btn-primary-gold::before, 
.btn-yellow::before,
.btn-gradient-gold::before {
  content: '' !important;
  display: inline-block !important;
  width: 48px !important;
  height: 38px !important;
  min-width: 48px !important;
  flex-shrink: 0 !important;
  margin-right: 12px !important;
  background-image: var(--btn-badge-gold-svg) !important;
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: center left !important;
  transition: transform 0.25s ease !important;
}

.btn-primary:hover, 
.btn-accent:hover, 
.hero-btn-primary-gold:hover, 
.btn-yellow:hover,
.btn-gradient-gold:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 14px 34px -4px rgba(234, 179, 8, 0.7), 0 6px 16px rgba(0, 0, 0, 0.4) !important;
  color: #ffffff !important;
}

.btn-primary:hover::before, 
.btn-accent:hover::before, 
.hero-btn-primary-gold:hover::before, 
.btn-yellow:hover::before,
.btn-gradient-gold:hover::before {
  transform: translateX(3px) !important;
}

/* Secondary / Tech Cyan 3D Badge Button (Navbar, Explore Services, Blog CTAs, AI Agents, Ghost) */
.btn-nav-gold,
.hero-btn-outline-glass,
.btn-cyan-cta,
.btn-agent-action,
.btn-strategy,
.btn-gradient-cyan,
.btn-outline-glass,
.btn-ghost,
.btn-secondary,
.btn-outline {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  position: relative !important;
  height: 48px !important;
  padding: 0 28px 0 6px !important;
  border-radius: 9999px !important;
  background: linear-gradient(90deg, #0369a1 0%, #0284c7 20%, #0ea5e9 60%, #38bdf8 100%) !important;
  color: #ffffff !important;
  font-weight: 750 !important;
  font-size: 15px !important;
  letter-spacing: 0.015em !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45) !important;
  text-decoration: none !important;
  border: none !important;
  cursor: pointer !important;
  box-sizing: border-box !important;
  white-space: nowrap !important;
  box-shadow: 0 10px 25px -4px rgba(14, 165, 233, 0.55), 0 4px 12px rgba(0, 0, 0, 0.35) !important;
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.25s ease !important;
}

.btn-nav-gold::before,
.hero-btn-outline-glass::before,
.btn-cyan-cta::before,
.btn-agent-action::before,
.btn-strategy::before,
.btn-gradient-cyan::before,
.btn-outline-glass::before,
.btn-ghost::before,
.btn-secondary::before,
.btn-outline::before {
  content: '' !important;
  display: inline-block !important;
  width: 48px !important;
  height: 38px !important;
  min-width: 48px !important;
  flex-shrink: 0 !important;
  margin-right: 12px !important;
  background-image: var(--btn-badge-cyan-svg) !important;
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: center left !important;
  transition: transform 0.25s ease !important;
}

.btn-nav-gold:hover,
.hero-btn-outline-glass:hover,
.btn-cyan-cta:hover,
.btn-agent-action:hover,
.btn-strategy:hover,
.btn-gradient-cyan:hover,
.btn-outline-glass:hover,
.btn-ghost:hover,
.btn-secondary:hover,
.btn-outline:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 14px 32px -4px rgba(14, 165, 233, 0.75), 0 6px 16px rgba(0, 0, 0, 0.4) !important;
  color: #ffffff !important;
}

.btn-nav-gold:hover::before,
.hero-btn-outline-glass:hover::before,
.btn-cyan-cta:hover::before,
.btn-agent-action:hover::before,
.btn-strategy:hover::before,
.btn-gradient-cyan:hover::before,
.btn-outline-glass:hover::before,
.btn-ghost:hover::before,
.btn-secondary:hover::before,
.btn-outline:hover::before {
  transform: translateX(3px) !important;
}

/* Navbar button specific compact sizing */
header#header .btn-nav-gold {
  height: 38px !important;
  padding: 0 18px 0 4px !important;
  font-size: 13px !important;
}
header#header .btn-nav-gold::before {
  width: 38px !important;
  height: 30px !important;
  min-width: 38px !important;
  flex-shrink: 0 !important;
  margin-right: 8px !important;
}

/* Mobile Screen Button Layout Protection (Stacked & Centered, Zero Distortion) */
@media (max-width: 768px) {
  .hero-actions-row {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    margin: 0 auto !important;
    width: 100% !important;
    max-width: 290px !important;
    gap: 12px !important;
  }
  .hero-actions-row > a,
  .hero-actions-row .hero-btn-primary-gold,
  .hero-actions-row .hero-btn-outline-glass {
    width: 100% !important;
    max-width: 280px !important;
    height: 48px !important;
    font-size: 14.5px !important;
    box-sizing: border-box !important;
    white-space: nowrap !important;
  }
}



/* =========================================================================
   STANDARDIZED CARD & PANEL SYSTEM
   ========================================================================= */
.card, .panel, .panel-2, .feature-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
  box-sizing: border-box;
}

.card:hover, .panel:hover, .feature-card:hover {
  border-color: rgba(56, 189, 248, 0.3);
  box-shadow: var(--shadow-lg), 0 0 25px rgba(56, 189, 248, 0.12);
  transform: translateY(-4px);
}

/* =========================================================================
   STANDARDIZED FORM & INPUT SYSTEM
   ========================================================================= */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="password"],
textarea,
select,
.form-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 12px 16px;
  color: #ffffff;
  font-family: var(--font);
  font-size: 14px;
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  box-sizing: border-box;
}

input:focus, textarea:focus, select:focus, .form-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.15);
}

input::placeholder, textarea::placeholder {
  color: var(--faint);
}

/* Universal Page Hero Header Typography System */
.eyebrow {
  display: none !important;
}
.hero-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  background: rgba(79, 209, 224, 0.1) !important;
  border: 1px solid rgba(79, 209, 224, 0.3) !important;
  color: #4fd1e0 !important;
  padding: 4px 16px !important;
  border-radius: 9999px !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  margin-bottom: 18px !important;
}

.hero-badge-dot {
  width: 6px !important;
  height: 6px !important;
  border-radius: 50% !important;
  background: #38bdf8 !important;
  box-shadow: 0 0 8px #38bdf8 !important;
}

.hero {
  position: relative;
  min-height: auto;
  padding: 115px 0 35px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  box-sizing: border-box;
  z-index: 1;
}

.hero .wrap {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(79, 209, 224, 0.1);
  border: 1px solid rgba(79, 209, 224, 0.3);
  color: #4fd1e0;
  padding: 6px 18px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 24px;
}

.badge b {
  color: #ffffff;
  background: rgba(56, 189, 248, 0.25);
  padding: 2px 8px;
  border-radius: 999px;
  font-weight: 800;
}

.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.hero-note {
  margin-top: 24px;
  font-size: 13.5px;
  color: #94a3b8;
  font-weight: 500;
}

.reveal {
  opacity: 1;
  transform: none;
  visibility: visible;
}

/* ===== DESKTOP HERO TYPOGRAPHY (min-width: 992px) ===== */
@media (min-width: 992px) {
  .hero {
    min-height: auto !important;
    padding: 95px 0 20px 0 !important;
  }
  .hero h1 {
    font-size: clamp(30px, 3.6vw, 44px) !important;
    font-weight: 800 !important;
    letter-spacing: -0.025em !important;
    line-height: 1.15 !important;
    margin-bottom: 14px !important;
    max-width: 950px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .hero p.lead, .hero p {
    font-size: 14.5px !important;
    line-height: 1.55 !important;
    max-width: 780px !important;
    margin: 0 auto 10px !important;
  }
  .hero-cta {
    display: flex !important;
    flex-direction: row !important;
    gap: 14px !important;
    margin-top: 14px !important;
    margin-bottom: 12px !important;
  }
  .hero-cta .btn {
    height: 42px !important;
    padding: 0 24px !important;
    font-size: 13.5px !important;
  }
  .hero-note {
    margin-top: 10px !important;
    font-size: 12px !important;
  }
}

/* ===== TABLET HERO TYPOGRAPHY (769px to 991px) ===== */
@media (min-width: 769px) and (max-width: 991px) {
  .hero {
    min-height: auto !important;
    padding: 90px 20px 18px 20px !important;
  }
  .hero h1 {
    font-size: clamp(26px, 3.6vw, 36px) !important;
    font-weight: 800 !important;
    letter-spacing: -0.02em !important;
    line-height: 1.16 !important;
    margin-bottom: 12px !important;
    max-width: 720px !important;
  }
  .hero p.lead, .hero p {
    font-size: 14px !important;
    line-height: 1.5 !important;
    max-width: 620px !important;
    margin: 0 auto 10px !important;
  }
  .hero-cta {
    gap: 12px !important;
    margin-top: 12px !important;
  }
}

/* ===== MOBILE HERO TYPOGRAPHY & LAYOUT (max-width: 768px) ===== */
@media (max-width: 768px) {
  .hero {
    min-height: auto !important;
    padding: 95px 16px 28px 16px !important;
    text-align: center !important;
    overflow: hidden !important;
  }
  .hero .wrap {
    padding: 0 4px !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  .badge {
    font-size: 11px !important;
    padding: 4px 12px !important;
    margin-bottom: 14px !important;
    gap: 6px !important;
    max-width: 94% !important;
    white-space: normal !important;
    text-align: center !important;
    line-height: 1.35 !important;
  }
  .badge b {
    padding: 2px 7px !important;
    font-size: 10px !important;
  }
  .hero h1 {
    font-size: clamp(24px, 6.6vw, 32px) !important;
    font-weight: 800 !important;
    letter-spacing: -0.02em !important;
    line-height: 1.22 !important;
    margin-bottom: 14px !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
    max-width: 100% !important;
  }
  .hero p.lead, .hero p {
    font-size: 14px !important;
    line-height: 1.55 !important;
    color: #94a3b8 !important;
    max-width: 100% !important;
    margin: 0 auto 20px !important;
    padding: 0 4px !important;
  }
  .hero-cta {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    gap: 10px !important;
    margin-top: 18px !important;
  }
  .hero-cta .btn {
    width: 100% !important;
    height: 46px !important;
    font-size: 14px !important;
    justify-content: center !important;
  }
  .hero-note {
    font-size: 11.5px !important;
    margin-top: 14px !important;
    line-height: 1.4 !important;
    color: #64748b !important;
    padding: 0 8px !important;
  }
  .scroll-down-indicator {
    margin-top: 20px !important;
    transform: scale(0.85) !important;
  }

  /* Mobile Hero Video Banner Enhancements */
  .hero-content-mobile h1 {
    font-size: clamp(18px, 5.2vw, 21.5px) !important;
    font-weight: 800 !important;
    line-height: 1.32 !important;
    letter-spacing: -0.015em !important;
    margin: 0 auto 14px auto !important;
    text-align: center !important;
    color: #ffffff !important;
    max-width: 330px !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.75) !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
  }
  .hero-content-mobile .hero-highlight-phrase {
    display: inline !important;
    background: linear-gradient(135deg, #ffffff 0%, #fef08a 25%, #fbbf24 65%, #f59e0b 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    text-shadow: none !important;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.65)) !important;
    font-weight: 850 !important;
  }
  .hero-content-mobile .hero-tagline-text {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    margin: 0 auto 22px auto !important;
    padding: 5px 16px !important;
    background: rgba(15, 23, 42, 0.75) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(251, 191, 36, 0.4) !important;
    border-radius: 9999px !important;
    color: #fde047 !important;
    font-size: 12.5px !important;
    font-weight: 600 !important;
    letter-spacing: 0.03em !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35) !important;
    text-shadow: none !important;
    text-align: center !important;
  }
  .hero-content-mobile .hero-tagline-text::before {
    content: '✦' !important;
    color: #fbbf24 !important;
    font-size: 11px !important;
  }
  .hero-content-mobile .hero-actions-row {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    margin: 0 auto !important;
    width: 100% !important;
    max-width: 290px !important;
    gap: 12px !important;
  }
  .hero-content-mobile .hero-actions-row a {
    width: 100% !important;
    flex: 0 0 auto !important;
    text-align: center !important;
    padding: 13px 20px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 9999px !important;
  }
}

/* ===== EXTRA SMALL SCREENS (max-width: 400px) ===== */
@media (max-width: 400px) {
  .hero {
    padding: 95px 10px 35px 10px !important;
  }
  .hero h1 {
    font-size: 23px !important;
    line-height: 1.2 !important;
  }
  .hero p.lead, .hero p {
    font-size: 13.5px !important;
  }
}

.hero[style*="text-align: center"] h1,
.sec-head h1,
.page-hero-title {
  text-align: center !important;
}

[style*="text-align: left"] h1,
[style*="text-align: left;"] h1,
.hero [style*="text-align: left"] h1 {
  text-align: left !important;
}

[style*="text-align: left"] p,
[style*="text-align: left;"] p,
.hero [style*="text-align: left"] p {
  text-align: left !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.hero-split-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero-split-grid form,
.hero-split-grid form label,
.hero-split-grid form div {
  text-align: left !important;
}

@media (max-width: 960px) {
  .hero-split-grid {
    grid-template-columns: 1fr !important;
    gap: 36px !important;
  }
}

.sec-head h1, .page-hero-title {
  font-size: clamp(28px, 4vw, 42px) !important;
  font-weight: 800 !important;
  background: linear-gradient(135deg, #ffffff 30%, #8e7bff 70%, #4fd1e0 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  letter-spacing: -0.02em !important;
  line-height: 1.2 !important;
  margin-bottom: 16px !important;
  text-shadow: 0 0 40px rgba(142, 123, 255, 0.3) !important;
}

.hero p, .sec-head p, .page-hero-subtitle {
  font-size: 15.5px !important;
  color: #94a3b8 !important;
  line-height: 1.65 !important;
  max-width: 740px !important;
  margin-bottom: 28px !important;
}

.hero[style*="text-align: center"] p,
.sec-head p {
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
}

.sec-head {
  max-width: 860px;
  margin: 0 auto 56px;
  text-align: center;
}

.sec-head h2 {
  font-size: clamp(28px, 4.2vw, 46px);
  margin-bottom: 16px;
  font-weight: 700;
}

/* backdrop: rich prominently visible ambient light variation blobs */
.bg-fx {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background: #05070a;
  overflow: hidden;
}

/* Moving Glowing Color Orbs (Violet, Cyan, Amber, Indigo) */
.bg-fx {
  contain: paint;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
}

.bg-fx-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.38;
  pointer-events: none;
  backface-visibility: hidden;
  will-change: auto;
  animation: none !important;
}

.bg-fx-orb-1 {
  top: 5%;
  left: 10%;
  width: 50vw;
  height: 50vh;
  background: radial-gradient(circle, rgba(142, 123, 255, 0.45) 0%, rgba(99, 102, 241, 0.18) 50%, transparent 75%);
  animation: none !important;
}

.bg-fx-orb-2 {
  top: 40%;
  right: 5%;
  width: 55vw;
  height: 55vh;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.4) 0%, rgba(14, 165, 233, 0.15) 50%, transparent 75%);
  animation: none !important;
}

.bg-fx-orb-3 {
  bottom: 5%;
  left: 15%;
  width: 45vw;
  height: 45vh;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.22) 0%, rgba(217, 119, 6, 0.08) 50%, transparent 75%);
  animation: none !important;
}

.bg-fx-orb-4 {
  top: 60%;
  left: 40%;
  width: 40vw;
  height: 40vh;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.32) 0%, rgba(126, 34, 206, 0.1) 50%, transparent 75%);
  animation: none !important;
}

/* SECTION BACKGROUND VARIATIONS */
section:nth-of-type(odd) {
  background: radial-gradient(80% 60% at 50% 20%, rgba(15, 23, 42, 0.65) 0%, rgba(8, 11, 18, 0.85) 100%);
}

section:nth-of-type(even) {
  background: radial-gradient(80% 60% at 50% 80%, rgba(13, 19, 36, 0.7) 0%, rgba(6, 8, 14, 0.9) 100%);
}

#manifesto {
  background: radial-gradient(90% 70% at 50% 50%, rgba(20, 24, 48, 0.75) 0%, rgba(9, 11, 20, 0.9) 100%) !important;
  border-top: 1px solid rgba(142, 123, 255, 0.12);
  border-bottom: 1px solid rgba(142, 123, 255, 0.12);
}

#pricing, .testimonials-section, section:has(.sec-head) {
  background: radial-gradient(80% 60% at 50% 40%, rgba(10, 28, 45, 0.75) 0%, rgba(5, 10, 18, 0.9) 100%);
}

/* Floating Color Particles Across Sections */
.bg-particles-container {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  overflow: hidden;
}

.bg-particle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  will-change: transform, opacity;
}

@keyframes floatParticle {
  0% {
    transform: translate3d(0, 105vh, 0) scale(0.6);
    opacity: 0;
  }
  10% {
    opacity: 0.95;
  }
  90% {
    opacity: 0.95;
  }
  100% {
    transform: translate3d(120px, -10vh, 0) scale(1.3);
    opacity: 0;
  }
}

.grid-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(rgba(255, 255, 255, .018) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .018) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 65% 32% at 50% 0%, #000 20%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 65% 32% at 50% 0%, #000 20%, transparent 100%);
}

@keyframes scrollBounce {
  0% {
    transform: translate3d(0, 0, 0);
    opacity: 1;
  }
  50% {
    transform: translate3d(0, 14px, 0);
    opacity: 0.4;
  }
  100% {
    transform: translate3d(0, 0, 0);
    opacity: 1;
  }
}

/* Prevent layout shifts across all pages */
html {
  overflow-y: scroll;
  scrollbar-gutter: stable;
}

/* =========================================================================
   AURA NEBULA MAGIC RINGS & CONCENTRIC PULSE ANIMATION
   ========================================================================= */
.nebula-wave-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 100vw;
  height: 900px;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  contain: paint;
}

.nebula-center-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.16) 0%, rgba(142, 123, 255, 0.08) 45%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  border-radius: 50%;
}

.nebula-flare {
  position: absolute;
  top: 20%;
  width: 450px;
  height: 450px;
  filter: blur(75px);
  opacity: 0.85;
  pointer-events: none;
  border-radius: 50%;
}

.nebula-flare-left {
  left: 2%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.35) 0%, rgba(2, 132, 199, 0.15) 45%, transparent 70%);
  animation: none !important;
  opacity: 0.75;
}

.nebula-flare-right {
  right: 2%;
  background: radial-gradient(circle, rgba(142, 123, 255, 0.4) 0%, rgba(168, 85, 247, 0.15) 45%, transparent 70%);
  animation: none !important;
  opacity: 0.75;
}

.nebula-ring-group {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.nebula-ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  box-sizing: border-box;
  animation: none !important;
  opacity: 0.65;
  transform-origin: center center;
}

.nebula-ring.ring-1 {
  width: 280px;
  height: 280px;
  border: 1.5px solid rgba(142, 123, 255, 0.6);
  box-shadow: 0 0 25px rgba(142, 123, 255, 0.4), inset 0 0 20px rgba(142, 123, 255, 0.2);
  animation-delay: 0s;
}

.nebula-ring.ring-2 {
  width: 440px;
  height: 440px;
  border: 1.5px solid rgba(79, 209, 224, 0.5);
  box-shadow: 0 0 30px rgba(79, 209, 224, 0.35);
  animation-delay: 0.4s;
}

.nebula-ring.ring-3 {
  width: 600px;
  height: 600px;
  border: 1.5px solid rgba(56, 189, 248, 0.45);
  box-shadow: 0 0 35px rgba(56, 189, 248, 0.3);
  animation-delay: 0.8s;
}

.nebula-ring.ring-4 {
  width: 780px;
  height: 780px;
  border: 1.5px solid rgba(142, 123, 255, 0.35);
  box-shadow: 0 0 40px rgba(142, 123, 255, 0.25);
  animation-delay: 1.2s;
}

.nebula-ring.ring-5 {
  width: 960px;
  height: 960px;
  border: 1px solid rgba(79, 209, 224, 0.28);
  box-shadow: 0 0 45px rgba(79, 209, 224, 0.2);
  animation-delay: 1.6s;
}

.nebula-ring.ring-6 {
  width: 1150px;
  height: 1150px;
  border: 1px solid rgba(56, 189, 248, 0.2);
  animation-delay: 2.0s;
}

.nebula-ring.ring-7 {
  width: 1350px;
  height: 1350px;
  border: 1px solid rgba(142, 123, 255, 0.15);
  animation-delay: 2.4s;
}

.nebula-ring.ring-8 {
  width: 1550px;
  height: 1550px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  animation-delay: 2.8s;
}

@keyframes nebula-ring-pulse {
  0% { transform: scale(0.92); opacity: 0.35; }
  50% { transform: scale(1.06); opacity: 0.85; }
  100% { transform: scale(0.92); opacity: 0.35; }
}

@keyframes nebula-flare-left {
  0% { transform: scale(0.9) translateY(0px); opacity: 0.6; }
  100% { transform: scale(1.15) translateY(-20px); opacity: 0.95; }
}

@keyframes nebula-flare-right {
  0% { transform: scale(1.15) translateY(0px); opacity: 0.95; }
  100% { transform: scale(0.9) translateY(20px); opacity: 0.6; }
}

/* Responsive Nebula for Mobile Devices */
@media (max-width: 768px) {
  .nebula-wave-container {
    height: 480px !important;
    top: 48% !important;
    opacity: 0.85 !important;
  }
  .nebula-ring-group {
    transform: translate(-50%, -50%) scale(0.48) !important;
  }
  .nebula-center-glow {
    width: 320px !important;
    height: 320px !important;
    filter: blur(40px) !important;
    opacity: 0.65 !important;
  }
  .nebula-flare {
    width: 180px !important;
    height: 180px !important;
    filter: blur(40px) !important;
    opacity: 0.55 !important;
  }
  .nebula-flare-left {
    left: -10% !important;
    top: 15% !important;
  }
  .nebula-flare-right {
    right: -10% !important;
    top: 15% !important;
  }
}

/* product mockup frame (huly-style) */
.shot {
  position: relative;
  margin: 64px auto 0;
  max-width: 1000px;
}

.shot::after {
  content: "";
  position: absolute;
  inset: -6% -4% -30% -4%;
  background: radial-gradient(60% 60% at 50% 0%, rgba(107,124,255,.22), transparent 70%);
  z-index: -1;
  filter: blur(20px);
}

.frame {
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .012));
  box-shadow: 0 30px 90px rgba(0, 0, 0, .55);
  overflow: hidden;
  backdrop-filter: blur(8px);
}

.frame-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line-soft);
}

.frame-bar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .14);
}

.frame-bar span {
  margin-left: 12px;
  font-size: 12px;
  color: var(--faint);
}

.app {
  display: grid;
  grid-template-columns: 188px 1fr;
  min-height: 340px;
}

.app-side {
  border-right: 1px solid var(--line-soft);
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: rgba(255, 255, 255, .012);
}

.app-side .grp {
  font-size: 11px;
  color: var(--faint);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin: 12px 8px 4px;
}

.app-side .it {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 10px;
  border-radius: 9px;
  font-size: 13.5px;
  color: var(--muted);
}

.app-side .it.on {
  background: rgba(255, 255, 255, .06);
  color: var(--text);
}

.app-side .it .d {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: rgba(255, 255, 255, .1);
}

.app-side .it.on .d {
  background: linear-gradient(140deg, var(--accent), var(--accent-2));
}

.app-main {
  padding: 20px;
}

.kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}

.kpi {
  background: rgba(255, 255, 255, .025);
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  padding: 14px;
}

.kpi .lab {
  font-size: 11.5px;
  color: var(--faint);
  margin-bottom: 6px;
}

.kpi .val {
  font-size: 23px;
  font-weight: 600;
  letter-spacing: -.02em;
}

.kpi .val small {
  font-size: 12px;
  color: var(--accent-3);
  font-weight: 550;
  margin-left: 6px;
}

.chart {
  height: 176px;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  background: rgba(255, 255, 255, .02);
  padding: 14px;
}

.chart svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

@media (max-width: 620px) {
  .app {
    grid-template-columns: 1fr;
  }
  .app-side {
    display: none;
  }
  .kpis {
    grid-template-columns: 1fr 1fr;
  }
}

/* logos */
.logos {
  padding: 60px 0 24px;
  text-align: center;
}

.logos p {
  font-size: 12.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 26px;
}

.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.marquee-track {
  display: flex;
  gap: 32px;
  width: max-content;
  animation: scrollx 38s linear infinite;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

.marquee-track span {
  font-weight: 700;
  font-size: 19px;
  color: #ffffff;
  white-space: nowrap;
  opacity: 1;
}

.marquee-track span.ticker-svc {
  font-weight: 600;
  font-size: 14.5px;
  color: #e2e8f0;
  white-space: nowrap;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.25s ease;
}

.marquee-track span.ticker-svc:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(56, 189, 248, 0.35);
}

.marquee-track span.ticker-wl {
  color: #fef08a;
  border-color: rgba(245, 158, 11, 0.3);
  background: rgba(245, 158, 11, 0.07);
}

.marquee-track span.ticker-wl:hover {
  background: rgba(245, 158, 11, 0.14);
  border-color: rgba(245, 158, 11, 0.5);
}

@keyframes scrollx {
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

section {
  position: relative;
}

.section {
  padding: 96px 0;
}

/* alternating feature rows */
.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.row+.row {
  margin-top: 108px;
}

.row.flip .copy {
  order: 2;
}

.copy .eyebrow {
  margin-bottom: 14px;
}

.copy h2 {
  font-size: clamp(26px, 3.6vw, 38px);
  margin-bottom: 16px;
  font-weight: 600;
}

.copy p {
  color: var(--muted);
  font-size: 16.5px;
  margin-bottom: 22px;
}

.ticks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ticks li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  font-size: 15px;
  color: var(--muted);
}

.ticks li b {
  color: var(--text);
  font-weight: 550;
}

.ticks svg {
  width: 18px;
  height: 18px;
  flex: none;
  margin-top: 2px;
  stroke: var(--accent);
  stroke-width: 2.2;
  fill: none;
}

.visual {
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .01));
  padding: 22px;
  position: relative;
  overflow: hidden;
  min-height: 300px;
}

.visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(80% 60% at 50% 0%, rgba(107,124,255,.1), transparent 70%);
}

@media (max-width: 840px) {
  .row {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .row+.row {
    margin-top: 72px;
  }
  .row.flip .copy {
    order: 0;
  }
}

/* mini mock widgets inside visuals */
.mini {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mini .bar {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, .03);
  border: 1px solid var(--line-soft);
  border-radius: 11px;
  padding: 11px 13px;
}

.mini .bar .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
}

.mini .bar .dot.c {
  background: var(--accent-3);
}

.mini .bar .dot.v {
  background: var(--accent-2);
}

.mini .bar .t {
  font-size: 13.5px;
  color: var(--text);
}

.mini .bar .t small {
  display: block;
  color: var(--faint);
  font-size: 11.5px;
}

.mini .bar .pill {
  margin-left: auto;
  font-size: 11px;
  color: var(--accent-3);
  background: rgba(79, 209, 224, .1);
  padding: 3px 9px;
  border-radius: 999px;
}

.mini .bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 90px;
  padding: 6px 2px;
}

.mini .bars span {
  flex: 1;
  border-radius: 6px 6px 3px 3px;
  background: linear-gradient(180deg, var(--accent), rgba(107, 124, 255, .15));
}

/* feature grid (small icons) */
.grid6 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.cell {
  background: var(--bg);
  padding: 30px 26px;
  transition: background .3s;
}

.cell:hover {
  background: var(--panel);
}

.cell .ico {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(107, 124, 255, .12);
  border: 1px solid rgba(107, 124, 255, .2);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}

.cell .ico svg {
  width: 18px;
  height: 18px;
  stroke: var(--accent);
  stroke-width: 1.9;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cell h3 {
  font-size: 16px;
  margin-bottom: 7px;
  font-weight: 600;
}

.cell p {
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 840px) {
  .grid6 {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .grid6 {
    grid-template-columns: 1fr;
  }
}

/* schema */
.schema-wrap {
  position: relative;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: radial-gradient(ellipse at 50% -10%, rgba(107,124,255,.1), transparent 60%), var(--bg-2);
  padding: 30px;
}

.schema-svg {
  width: 100%;
  height: auto;
  display: block;
}

.node-label {
  font-size: 13px;
  fill: var(--text);
  font-weight: 600;
}

.node-sub {
  font-size: 10px;
  fill: var(--muted);
}

.flow {
  stroke: rgba(255, 255, 255, .14);
  stroke-width: 1.6;
  fill: none;
  stroke-linecap: round;
}

.flow-dash {
  stroke: var(--accent);
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
}

.legend {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 22px;
  font-size: 13px;
  color: var(--muted);
}

.legend i {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 3px;
  margin-right: 8px;
  vertical-align: middle;
}

/* stats */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.stat {
  background: var(--bg);
  padding: 34px 22px;
  text-align: center;
}

.stat .num {
  font-size: clamp(30px, 4.4vw, 46px);
  font-weight: 600;
  letter-spacing: -.03em;
}

.stat .lab {
  color: var(--muted);
  font-size: 13.5px;
  margin-top: 8px;
}

@media (max-width: 680px) {
  .stats {
    grid-template-columns: 1fr 1fr;
  }
}

/* testimonials */
.quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.quote {
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: var(--r);
  padding: 26px;
  font-size: 15px;
}

.quote p {
  color: var(--text);
  margin-bottom: 20px;
  font-weight: 400;
}

.quote .who {
  display: flex;
  align-items: center;
  gap: 11px;
}

.quote .av {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--accent), var(--accent-2));
  flex: none;
}

.quote .who b {
  font-size: 14px;
  display: block;
  font-weight: 600;
}

.quote .who span {
  font-size: 12.5px;
  color: var(--faint);
}

@media (max-width: 840px) {
  .quotes {
    grid-template-columns: 1fr;
  }
}

/* pricing */
.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
}

.plan {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  padding: 30px;
  display: flex;
  flex-direction: column;
}

.plan.feature {
  border-color: rgba(107, 124, 255, .4);
  background: linear-gradient(180deg, rgba(107, 124, 255, .08), rgba(255, 255, 255, .012));
}

.plan .tag {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  color: #fff;
  font-size: 11.5px;
  font-weight: 600;
  padding: 4px 13px;
  border-radius: 999px;
}

.plan h3 {
  font-size: 16px;
  margin-bottom: 6px;
  color: var(--muted);
  font-weight: 550;
}

.plan .price {
  font-size: 40px;
  font-weight: 600;
  letter-spacing: -.03em;
  margin: 8px 0;
}

.plan .price small {
  font-size: 14px;
  color: var(--faint);
  font-weight: 400;
}

.plan .desc {
  color: var(--muted);
  font-size: 13.5px;
  margin-bottom: 22px;
  min-height: 38px;
}

.plan ul {
  list-style: none;
  margin-bottom: 24px;
  flex: 1;
}

.plan li {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  padding: 6px 0;
  font-size: 14px;
  color: var(--muted);
}

.plan li svg {
  width: 16px;
  height: 16px;
  flex: none;
  margin-top: 3px;
  stroke: var(--accent);
  stroke-width: 2.4;
  fill: none;
}

@media (max-width: 840px) {
  .pricing {
    grid-template-columns: 1fr;
  }
}

/* cta */
.cta-box {
  position: relative;
  text-align: center;
  border-radius: 28px;
  border: 1px solid var(--line);
  padding: 76px 28px;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 130%, rgba(107, 124, 255, .3), transparent 62%), var(--bg-2);
}

.cta-box h2 {
  font-size: clamp(30px, 4.6vw, 50px);
  margin-bottom: 16px;
  font-weight: 600;
}

.cta-box p {
  color: var(--muted);
  font-size: 17px;
  max-width: 480px;
  margin: 0 auto 30px;
}

/* footer */
footer {
  border-top: 1px solid var(--line-soft);
  padding: 56px 0 40px;
  margin-top: 30px;
}

.foot {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 32px;
}

.foot p {
  color: var(--muted);
  font-size: 13.5px;
  margin-top: 14px;
  max-width: 270px;
}

.foot h4 {
  font-size: 12.5px;
  letter-spacing: .04em;
  color: var(--faint);
  margin-bottom: 13px;
  font-weight: 600;
}

.foot a {
  display: block;
  color: var(--muted);
  font-size: 14px;
  padding: 5px 0;
  transition: color .2s;
}

.foot a:hover {
  color: var(--text);
}

.foot-bot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 46px;
  padding-top: 24px;
  border-top: 1px solid var(--line-soft);
  color: var(--faint);
  font-size: 13px;
  flex-wrap: wrap;
  gap: 10px;
}

@media (max-width: 680px) {
  .foot {
    grid-template-columns: 1fr 1fr;
  }
}

/* ===== manifesto (word-highlight scrub) ===== */
.manifesto {
  padding: 130px 0;
  text-align: center;
}

.manifesto .eyebrow {
  display: none !important;
}

.manifesto .big {
  font-size: clamp(26px, 4.6vw, 52px);
  font-weight: 600;
  line-height: 1.28;
  letter-spacing: -.03em;
  max-width: 940px;
  margin: 0 auto;
}

.manifesto .big .w {
  color: #33353d;
  transition: color .15s linear;
  will-change: color;
}

/* ===== pinned horizontal modules ===== */
.hscroll {
  position: relative;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, .012), transparent);
}

.hhead {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 90px 24px 0;
}

.hpin {
  height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.htrack {
  display: flex;
  gap: 22px;
  padding: 0 max(24px, calc((100vw - var(--maxw))/2 + 24px));
  will-change: transform;
}

.hcard {
  flex: 0 0 360px;
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  padding: 28px;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.hcard::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(70% 50% at 50% 0%, rgba(107,124,255,.1), transparent 70%);
  opacity: 0;
  transition: opacity .4s;
}

.hcard:hover::before {
  opacity: 1;
}

.hcard .num {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  position: relative;
  z-index: 1;
}

.hcard .vis {
  position: relative;
  z-index: 1;
  height: 160px;
  border-radius: 14px;
  border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, .02);
  margin: 18px 0 22px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.hcard .vis svg {
  width: 80%;
  height: 70%;
}

.hcard h3 {
  font-size: 21px;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.hcard p {
  color: var(--muted);
  font-size: 14.5px;
  position: relative;
  z-index: 1;
}

@media (max-width: 840px) {
  .hpin {
    height: auto;
    display: block;
    padding: 30px 0 90px;
  }
  .htrack {
    transform: none !important;
    flex-direction: column;
    padding: 0 24px;
  }
  .hcard {
    flex: none;
    min-height: 0;
  }
}

/* ===== scrub timeline ===== */
.timeline {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  padding-left: 54px;
}

.tl-line {
  position: absolute;
  left: 18px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: var(--line);
  overflow: hidden;
}

.tl-line span {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 0;
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
}

.tl-step {
  position: relative;
  padding: 0 0 52px;
}

.tl-step:last-child {
  padding-bottom: 0;
}

.tl-dot {
  position: absolute;
  left: -45px;
  top: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--line);
  transition: border-color .3s, box-shadow .3s, background .3s;
}

.tl-step.on .tl-dot {
  border-color: var(--accent);
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(107, 124, 255, .18);
}

.tl-step h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.tl-step p {
  color: var(--muted);
  font-size: 15.5px;
}

.tl-step .k {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 6px;
  display: block;
}

/* ===== How it works: unique "x-ray" timeline ===== */
.timeline.timeline-xray {
  padding-left: 64px;
}

.timeline.timeline-xray::before {
  content: "";
  position: absolute;
  inset: -18px -18px -18px -28px;
  border-radius: 26px;
  background: radial-gradient(70% 80% at 20% 0%, rgba(107,124,255,.12), transparent 55%), radial-gradient(60% 70% at 75% 20%, rgba(79,209,224,.08), transparent 60%);
  border: 1px solid rgba(255, 255, 255, .06);
  pointer-events: none;
}

.timeline.timeline-xray .tl-top {
  position: sticky;
  top: 84px;
  z-index: 3;
  margin: 0 0 20px -10px;
  padding: 10px 10px 10px 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  pointer-events: none;
}

.timeline.timeline-xray .tl-readout {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08);
  backdrop-filter: blur(10px);
}

.timeline.timeline-xray .tl-readout .t {
  font-size: 11.5px;
  color: var(--faint);
  letter-spacing: .06em;
  text-transform: uppercase;
}

.timeline.timeline-xray .tl-readout .v {
  font-size: 12.5px;
  color: var(--muted);
}

.timeline.timeline-xray .tl-readout b {
  color: var(--text);
  font-weight: 600;
}

.timeline.timeline-xray .tl-readout .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-3);
  display: inline-block;
  box-shadow: 0 0 8px rgba(79, 209, 224, .6);
}

@keyframes tlblink {
  0%, 100% {
    opacity: 1;
    box-shadow: 0 0 8px rgba(79, 209, 224, .6);
  }
}

.timeline.timeline-xray .tl-pulse {
  position: absolute;
  left: 18px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(180deg, rgba(107, 124, 255, 0), rgba(107, 124, 255, .25), rgba(79, 209, 224, 0));
  filter: blur(.2px);
  opacity: .75;
}

.timeline.timeline-xray .tl-scan {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 34px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(107,124,255,.10), rgba(79,209,224,.08), transparent);
  filter: blur(.1px);
  opacity: .55;
  transform: translateY(0);
}

.timeline.timeline-xray .tl-line {
  left: 22px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: rgba(255, 255, 255, .08);
  border-radius: 999px;
}

.timeline.timeline-xray .tl-line .tl-glow {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 0;
  width: 22px;
  height: 0;
  border-radius: 999px;
  background: radial-gradient(circle at 50% 10%, rgba(107,124,255,.35), rgba(107,124,255,0) 60%);
  filter: blur(6px);
  opacity: .9;
  pointer-events: none;
}

.timeline.timeline-xray .tl-step {
  padding: 18px 18px 56px 0;
}

.timeline.timeline-xray .tl-step::before {
  content: "";
  position: absolute;
  left: -18px;
  right: 0;
  top: -10px;
  bottom: 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .01);
  border: 1px solid rgba(255, 255, 255, .05);
  opacity: .0;
  transform: translateY(6px);
  transition: opacity .35s ease, transform .35s ease, border-color .35s ease, background .35s ease;
}

.timeline.timeline-xray .tl-step.on::before {
  opacity: 1;
  transform: translateY(0);
  background: linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, .01));
  border-color: rgba(107,124,255,.22);
}

.timeline.timeline-xray .tl-dot {
  left: -49px;
  top: 22px;
  width: 18px;
  height: 18px;
  background: var(--bg);
  border: 2px solid rgba(255, 255, 255, .14);
}

.timeline.timeline-xray .tl-step.on .tl-dot {
  border-color: rgba(107,124,255,.9);
  background: linear-gradient(140deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 0 6px rgba(107,124,255,.14), 0 0 24px rgba(107,124,255,.22);
}

.timeline.timeline-xray .tl-ghost {
  position: absolute;
  left: -6px;
  top: 10px;
  font-size: 42px;
  font-weight: 600;
  letter-spacing: -.06em;
  color: rgba(255, 255, 255, .04);
  pointer-events: none;
}

.timeline.timeline-xray .tl-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .6);
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, .08);
}

.timeline.timeline-xray .tl-step.on .tl-chip {
  color: rgba(255, 255, 255, .82);
  border-color: rgba(107,124,255,.25);
  background: rgba(107,124,255,.08);
}

.timeline.timeline-xray .k {
  color: var(--accent);
  opacity: .95;
}

.timeline.timeline-xray h3 {
  font-size: 20px;
  letter-spacing: -.02em;
}

.timeline.timeline-xray p {
  color: var(--muted);
}

@media (max-width: 680px) {
  .timeline.timeline-xray {
    padding-left: 54px;
  }
  .timeline.timeline-xray .tl-top {
    top: 74px;
  }
}

/* ===== clip-path wipe comparison ===== */
.compare {
  position: relative;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  overflow: hidden;
  min-height: 420px;
  background: var(--bg-2);
}

.compare .layer {
  position: absolute;
  inset: 0;
  padding: 46px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.compare .before {
  background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .02) 0 12px, transparent 12px 24px), var(--bg-2);
}

.compare .after {
  background: radial-gradient(80% 90% at 50% 50%, rgba(107,124,255,.16), transparent 70%), var(--bg-2);
  clip-path: inset(0 100% 0 0);
}

.compare .tagx {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
  width: max-content;
}

.compare .before .tagx {
  background: rgba(255, 255, 255, .06);
  color: var(--muted);
}

.compare .after .tagx {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  color: #fff;
}

.compare h3 {
  font-size: clamp(22px, 3vw, 34px);
  margin-bottom: 12px;
  max-width: 440px;
}

.compare p {
  color: var(--muted);
  font-size: 15.5px;
  max-width: 420px;
}

.compare .handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 2px;
  background: linear-gradient(180deg, transparent, var(--accent), transparent);
  box-shadow: 0 0 16px var(--accent);
  z-index: 3;
}

.compare .handle::after {
  content: "⇆";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 14px;
}

/* ===== integrations parallax grid ===== */
.integ {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  max-width: 760px;
  margin: 0 auto;
}

.chip {
  aspect-ratio: 1;
  border-radius: 18px;
  background: var(--panel);
  border: 1px solid var(--line-soft);
  display: grid;
  place-items: center;
  font-weight: 600;
  font-size: 13px;
  color: var(--muted);
  transition: border-color .3s, color .3s, transform .3s;
  will-change: transform;
}

.chip:hover {
  border-color: rgba(107,124,255,.4);
  color: var(--text);
  transform: translateY(-4px);
}

.chip .d {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: linear-gradient(140deg, var(--accent), var(--accent-2));
  opacity: .85;
}

@media (max-width: 680px) {
  .integ {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 440px) {
  .integ {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ===== FAQ ===== */
.faq {
  max-width: 780px;
  margin: 0 auto;
}

.qa {
  border-bottom: 1px solid var(--line-soft);
}

.qa button {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  color: var(--text);
  font-family: inherit;
  font-size: 17px;
  font-weight: 550;
  padding: 22px 40px 22px 0;
  cursor: pointer;
  position: relative;
  letter-spacing: -.01em;
}

.qa button::after {
  content: "+";
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  color: var(--accent);
  transition: transform .3s;
  font-weight: 400;
}

.qa.open button::after {
  transform: translateY(-50%) rotate(45deg);
}

.qa .a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease;
  color: var(--muted);
  font-size: 15px;
}

.qa .a p {
  padding: 0 0 22px;
}

/* ===== three.js hero canvas ===== */
#bgGL {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -3;
  pointer-events: none;
  display: block;
}

/* ===== compare split visuals ===== */
.compare .layer {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 30px;
  align-items: center;
}

.compare .layer .txt {
  min-width: 0;
}

.cv-card {
  background: rgba(255, 255, 255, .03);
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  padding: 16px;
  backdrop-filter: blur(4px);
}

.cv-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11.5px;
  color: var(--faint);
  margin-bottom: 14px;
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 600;
  color: var(--accent-3);
}

.live-badge .ld {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-3);
  box-shadow: 0 0 8px rgba(79, 209, 224, .6);
}

@keyframes blink {
  0%, 100% {
    opacity: 1;
    box-shadow: 0 0 8px rgba(79, 209, 224, .6);
  }
}

.cv-card svg {
  display: block;
  width: 100%;
}

.flowmini {
  stroke: var(--accent);
  stroke-width: 2;
  fill: none;
  stroke-dasharray: 5 8;
  animation: flowmove 1.4s linear infinite;
}

@keyframes flowmove {
  to {
    stroke-dashoffset: -26;
  }
}

.pulsem {
  transform-box: fill-box;
  transform-origin: center;
}

@keyframes pulsem {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
}

.spark .ln {
  fill: none;
  stroke: url(#sgrad);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 7 7;
  animation: march 1s linear infinite;
}

@keyframes march {
  to {
    stroke-dashoffset: -14;
  }
}

.stale {
  filter: grayscale(.8);
  opacity: .62;
}

.bars2 {
  display: flex;
  align-items: flex-end;
  gap: 7px;
  height: 64px;
  margin-bottom: 6px;
}

.bars2 span {
  flex: 1;
  background: rgba(255, 255, 255, .16);
  border-radius: 4px 4px 0 0;
}

.prog {
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, .08);
  overflow: hidden;
  margin-top: 14px;
}

.prog i {
  display: block;
  height: 100%;
  width: 42%;
  background: rgba(255, 255, 255, .28);
}

@media (max-width: 760px) {
  .compare .layer {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .compare .layer .cv {
    display: none;
  }
}

/* ===== kinetic typography fixed ===== */
.kinetic {
  padding: 128px 0;
  overflow: hidden;
}

.kinetic .lines {
  text-align: center;
}

.kinetic .line {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  width: auto !important;
  max-width: none !important;
  font-size: clamp(46px, 13.5vw, 184px);
  font-weight: 700;
  line-height: .9;
  letter-spacing: -.045em;
  text-transform: uppercase;
  perspective: 700px;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}

.kinetic .line::before,
.kinetic .line::after,
.kinetic .line.outline::before,
.kinetic .line.outline::after {
  content: none !important;
  display: none !important;
}

.kinetic .line .ch {
  display: inline-block;
  transform-style: preserve-3d;
  will-change: transform, opacity;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}

.kinetic .line.fill .ch {
  background: linear-gradient(100deg, #8e7bff, #6b7cff 40%, #4fd1e0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.kinetic .line.outline .ch {
  color: transparent;
  -webkit-text-stroke: 1.6px rgba(255, 255, 255, .32);
}

.kinetic .line.solid .ch {
  color: var(--text);
}

.vmarq {
  margin-top: 48px;
  overflow: hidden;
  white-space: nowrap;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  padding: 18px 0;
}

.vtrack {
  display: inline-flex;
  gap: 0;
  will-change: transform;
}

.vtrack span {
  font-size: clamp(18px, 2.4vw, 30px);
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--muted);
  padding: 0 26px;
  display: inline-flex;
  align-items: center;
  gap: 26px;
}

.vtrack span::after {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.vtrack span.hl {
  color: var(--text);
}

/* ===== particle text canvas ===== */
.particles {
  padding: 80px 0 90px !important;
  text-align: center;
  position: relative;
}

.particles .sec-head {
  margin-bottom: 32px !important;
}

.particles .sec-head h2 {
  margin-bottom: 14px !important;
  font-size: clamp(28px, 4vw, 48px) !important;
  line-height: 1.15 !important;
}

.particles .sec-head p {
  margin-bottom: 0 !important;
  font-size: 16px !important;
  color: var(--muted, #94a3b8) !important;
}

.stage {
  position: relative;
  height: 150px !important;
  max-width: 1100px;
  margin: 35px auto !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stage canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block !important;
  z-index: 2;
  pointer-events: none;
}

.stage .fallback {
  display: none !important;
}

.no-js .stage canvas {
  display: none;
}

.no-js .stage .fallback {
  display: flex;
}

.particles .hint {
  margin-top: 28px !important;
  font-size: 14px !important;
  color: var(--faint, #64748b) !important;
}

.reveal {
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
}

.no-js .reveal {
  opacity: 1 !important;
  transform: none !important;
}

.no-js .compare .after {
  clip-path: none;
}

.no-js .compare .handle {
  display: none;
}

/* Additional specific helper styles from inline blocks */
.hide-scrollbar::-webkit-scrollbar {
  display: none;
}

.hide-scrollbar {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.bg-grid-pattern {
  background-image: linear-gradient(to right, rgba(255,255,255,0.03) 1px, transparent 1px), linear-gradient(to bottom, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 20px 20px;
}

@keyframes pipeline-flow {
  0% { left: -20%; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { left: 110%; opacity: 0; }
}

/* ===== Contact Form Page Layout & Styling ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: 40px;
  margin-top: 48px;
  align-items: stretch;
  position: relative;
  z-index: 10;
}

@media(max-width: 840px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-info-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 35px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.contact-info-card h3 {
  font-size: 24px;
  color: var(--text);
  font-weight: 600;
  margin-bottom: 5px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.contact-ico {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(107, 124, 255, 0.08);
  border: 1px solid rgba(107, 124, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform 0.3s, background 0.3s;
}

.contact-item:hover .contact-ico {
  transform: scale(1.05);
  background: rgba(107, 124, 255, 0.15);
}

.contact-ico svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.contact-det h4 {
  color: var(--accent-3);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
  font-weight: 700;
}

.contact-det p {
  color: var(--text);
  font-size: 16.5px;
  font-weight: 500;
  line-height: 1.4;
}

.contact-form-card {
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  padding: 40px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.contact-form-card form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media(max-width: 560px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  display: block;
  color: var(--muted);
  font-size: 13.5px;
  margin-bottom: 8px;
  font-weight: 550;
  text-align: left;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  color: var(--text);
  outline: none;
  transition: border-color 0.3s, background 0.3s;
  font-family: var(--font);
  font-size: 14.5px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.04);
}

/* Custom Blog Grid and Cards */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 40px;
}

.blog-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), border-color 0.3s, box-shadow 0.3s;
  height: 100%;
}

.blog-card:hover {
  transform: translateY(-6px);
  border-color: #38bdf8;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 24px rgba(56, 189, 248, 0.22);
}

.blog-card-img-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  overflow: hidden;
  background: #060b13;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--line-soft);
}

.blog-card-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  transition: transform 0.4s ease;
}

.blog-card:hover .blog-card-img {
  transform: scale(1.03);
}

.blog-card-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-card-tag {
  color: #ff9f43; /* warm orange/gold tag */
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.blog-card-title {
  color: var(--text);
  font-size: 19px;
  font-weight: 650;
  line-height: 1.4;
  margin-bottom: 20px;
  transition: color 0.2s;
}

.blog-card:hover .blog-card-title {
  color: #fff;
}

.blog-card-link {
  color: var(--accent-3); /* soft cyan link */
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  transition: gap 0.2s, color 0.2s;
}

.blog-card:hover .blog-card-link {
  gap: 10px;
  color: #fff;
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 767px) {
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* Value Card styling and hovers */
.value-card {
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), border-color 0.3s, box-shadow 0.3s;
}

@media (min-width: 768px) {
  .grid-3d {
    perspective: 1200px;
    transform-style: preserve-3d;
  }
  
  .value-card:nth-child(1) {
    transform: rotateY(12deg) scale(0.97);
    transform-origin: right center;
  }
  
  .value-card:nth-child(2) {
    transform: translateY(-28px) scale(1.02);
    z-index: 10;
  }
  
  .value-card:nth-child(3) {
    transform: rotateY(-12deg) scale(0.97);
    transform-origin: left center;
  }
  
  /* Hover States */
  .value-card:nth-child(1):hover {
    transform: rotateY(0deg) translateY(-12px) scale(1.04);
    z-index: 15;
  }
  
  .value-card:nth-child(2):hover {
    transform: translateY(-40px) scale(1.06);
    z-index: 15;
  }
  
  .value-card:nth-child(3):hover {
    transform: rotateY(0deg) translateY(-12px) scale(1.04);
    z-index: 15;
  }
}

/* Individual Card Hover Glow Effects */
.value-card:nth-child(1):hover,
.value-card:nth-child(2):hover,
.value-card:nth-child(3):hover {
  border-color: #38bdf8;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 24px rgba(56, 189, 248, 0.22);
}

/* Philosophy Card Hover Effect */
.philosophy-card {
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), border-color 0.3s, box-shadow 0.3s;
}
.philosophy-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: #38bdf8;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 24px rgba(56, 189, 248, 0.22);
}

/* Yellow Button Styles */
.btn-yellow {
  background: #ffb800;
  color: #050d14 !important;
  font-weight: 600;
  border-radius: 999px;
  padding: 13px 32px;
  box-shadow: 0 4px 15px rgba(255, 184, 0, 0.2);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.btn-yellow:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(255, 184, 0, 0.4), 0 0 15px rgba(255, 184, 0, 0.2);
  background: #ffa800;
}

/* ===== Areas We Serve Auto-Scrolling Marquee Track ===== */
.areas-carousel-viewport {
  width: 100%;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
  padding: 10px 0 20px;
}

.areas-carousel-track {
  display: flex !important;
  gap: 24px !important;
  width: max-content !important;
  animation: sdpAreasMarquee 26s linear infinite !important;
  will-change: transform;
}

.areas-carousel-track:hover {
  animation-play-state: paused !important;
}

@keyframes sdpAreasMarquee {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

/* State Cards in Areas We Serve */
.state-card {
  width: 280px !important;
  flex-shrink: 0 !important;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 240px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg);
  cursor: pointer;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
  text-decoration: none;
}

.state-card-bg-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 1;
}

.state-card-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.state-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 10, 12, 0.45) 0%, rgba(9, 10, 12, 0.85) 100%);
  z-index: 2;
  transition: background 0.3s;
}

.state-card-content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  width: 100%;
  height: 100%;
}

.state-card-title {
  font-size: clamp(24px, 3.5vw, 32px);
  font-weight: 700;
  color: #fff;
  margin: 0;
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.state-card-link {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--accent-3); /* soft cyan */
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Hover States */
.state-card:hover {
  border-color: #38bdf8;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 24px rgba(56, 189, 248, 0.22);
}

.state-card:hover .state-card-bg {
  transform: scale(1.06);
}

/* GLOBAL HORIZONTAL PROCESS TIMELINE PROTOCOL (5-STEP & 4-STEP) */
.timeline-scroll-wrap {
  width: 100%;
  position: relative;
}
.timeline-scroll-inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}
.timeline-track-wrap {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  width: 100%;
}
.timeline-track-wrap-5 {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  width: 100%;
}

/* Connecting Horizontal Line with Shooting Light Beam Animation (Always Horizontal) */
.timeline-line {
  position: absolute;
  top: 28px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: rgba(255, 255, 255, 0.15);
  z-index: 1;
  overflow: hidden;
}
.timeline-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 35%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, #38bdf8 50%, #ffffff 80%, transparent 100%);
  box-shadow: 0 0 15px #38bdf8, 0 0 25px #ffffff;
  animation: timelineBeam 3.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  will-change: transform;
}

@keyframes timelineBeam {
  0% { transform: translate3d(-100%, 0, 0); }
  100% { transform: translate3d(400%, 0, 0); }
}

.timeline-step-item {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.timeline-node {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #070a12;
  border: 2px solid #38bdf8;
  color: #ffffff;
  font-size: 17px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px auto;
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.45), inset 0 0 12px rgba(56, 189, 248, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-step-item:hover .timeline-node {
  transform: scale(1.12);
  box-shadow: 0 0 32px rgba(56, 189, 248, 0.7), inset 0 0 16px rgba(56, 189, 248, 0.4);
}

.timeline-step-title {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.timeline-step-desc {
  font-size: 13.5px;
  color: #94a3b8;
  line-height: 1.6;
  max-width: 220px;
  margin: 0 auto;
}

/* MAINTAIN EXACT HORIZONTAL FLOW ON NARROW SCREENS VIA SWIPE/SCROLL */
@media (max-width: 960px) {
  .timeline-scroll-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 24px;
    scrollbar-width: thin;
    scrollbar-color: rgba(56, 189, 248, 0.35) rgba(255, 255, 255, 0.05);
  }
  .timeline-scroll-wrap::-webkit-scrollbar {
    height: 6px;
  }
  .timeline-scroll-wrap::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 9999px;
  }
  .timeline-scroll-wrap::-webkit-scrollbar-thumb {
    background: rgba(56, 189, 248, 0.35);
    border-radius: 9999px;
  }
  .timeline-scroll-inner {
    min-width: 860px;
    padding: 0 20px;
  }
  .timeline-track-wrap-5 {
    min-width: 860px;
    grid-template-columns: repeat(5, 1fr) !important;
    gap: 16px !important;
  }
  .timeline-track-wrap {
    min-width: 700px;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 16px !important;
  }
  .timeline-line {
    min-width: calc(100% - 140px);
    left: 70px !important;
    right: 70px !important;
  }
}

@media (max-width: 768px) {
  /* 6-item grids layout: 2 2 2 on mobile */
  .capabilities-grid,
  .ppc-capabilities-grid,
  .app-capabilities-grid,
  .content-capabilities-grid,
  .cms-capabilities-grid,
  .grid6 {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px 12px !important;
  }
}

.state-card:hover .state-card-overlay {
  background: linear-gradient(180deg, rgba(9, 10, 12, 0.5) 0%, rgba(9, 10, 12, 0.9) 100%);
}

.state-card:hover .state-card-title {
  transform: translateY(-8px);
}

.state-card:hover .state-card-link {
  opacity: 1;
  transform: translateY(0);
}

/* PURE BLACK GLOBAL FOOTER WITH WHITE TEXT (ALL PAGES) */
html {
  background-color: #000000 !important;
}
footer {
  position: relative !important;
  z-index: 10 !important;
  background: #000000 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: #ffffff !important;
  padding: 70px 0 35px 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}
footer .wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
footer .foot {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.6fr;
  gap: 40px;
  margin-bottom: 40px;
}
footer .logo {
  color: #ffffff !important;
  font-weight: 800 !important;
  font-size: 22px !important;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
footer p {
  color: #94a3b8 !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
}
footer h4 {
  color: #ffffff !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  margin-bottom: 20px !important;
  letter-spacing: -0.01em !important;
}
footer a {
  display: block;
  color: #cbd5e1 !important;
  text-decoration: none !important;
  font-size: 14px !important;
  margin-bottom: 12px !important;
  transition: color 0.2s ease !important;
}
footer a:hover {
  color: #ffffff !important;
}

/* Newsletter Input Form */
.newsletter-form {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
}
.newsletter-input {
  flex: 1;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 10px 14px;
  color: #ffffff;
  font-size: 13.5px;
  outline: none;
  transition: border-color 0.2s ease;
}
.newsletter-input:focus {
  border-color: #fbbf24;
}
.newsletter-btn {
  background: #fbbf24;
  color: #0a111a;
  border: none;
  border-radius: 8px;
  width: 40px;
  height: 40px;
  font-size: 18px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}
.newsletter-btn:hover {
  background: #f59e0b;
  transform: scale(1.05);
}

footer .foot-bot {
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  padding-top: 24px !important;
  margin-top: 40px !important;
  color: #94a3b8 !important;
  font-size: 13.5px !important;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
footer .foot-bot-links {
  display: flex;
  align-items: center;
  gap: 24px;
}
footer .foot-bot-links a {
  display: inline-block !important;
  color: #cbd5e1 !important;
  font-size: 13.5px !important;
  margin-bottom: 0 !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
}
footer .foot-bot-links a:hover {
  color: #ffffff !important;
}

@media (max-width: 991px) {
  footer .foot {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}
@media (max-width: 768px) {
  footer {
    padding: 36px 0 20px 0 !important;
  }
  footer .wrap {
    padding: 0 18px !important;
  }
  footer .foot {
    grid-template-columns: 1fr 1fr !important;
    gap: 24px 16px !important;
    margin-bottom: 20px !important;
  }
  footer .foot-col-brand {
    grid-column: 1 / -1 !important;
  }
  footer .foot-col-company {
    grid-column: 1 !important;
  }
  footer .foot-col-solutions {
    grid-column: 2 !important;
  }
  footer .foot-col-newsletter,
  footer .foot-newsletter {
    grid-column: 1 / -1 !important;
    padding-top: 12px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
  }
  footer .logo {
    margin-bottom: 8px !important;
  }
  footer .logo img {
    height: 36px !important;
  }
  footer p {
    font-size: 12.5px !important;
    line-height: 1.5 !important;
    max-width: 100% !important;
    margin-bottom: 10px !important;
  }
  footer h4 {
    font-size: 13.5px !important;
    margin-bottom: 10px !important;
  }
  footer a {
    font-size: 12.5px !important;
    margin-bottom: 6px !important;
    padding: 2px 0 !important;
  }
  footer .foot-bot {
    margin-top: 20px !important;
    padding-top: 14px !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 8px !important;
    font-size: 11.5px !important;
  }
}

@keyframes prismQuartzSpin {
  0% {
    transform: rotate3d(1, 1, 0, 0deg) scale(0.85);
    filter: drop-shadow(0 0 10px rgba(56, 189, 248, 0.5)) drop-shadow(0 0 15px rgba(142, 123, 255, 0.3));
  }
  50% {
    transform: rotate3d(1, 1, 1, 180deg) scale(1.15);
    filter: drop-shadow(0 0 20px rgba(245, 158, 11, 0.8)) drop-shadow(0 0 25px rgba(56, 189, 248, 0.7));
  }
  100% {
    transform: rotate3d(0, 1, 1, 360deg) scale(0.85);
    filter: drop-shadow(0 0 10px rgba(56, 189, 248, 0.5)) drop-shadow(0 0 15px rgba(142, 123, 255, 0.3));
  }
}




/* =========================================================================
   SINGLE UNIFIED MASTER NAVBAR SYSTEM (100% IDENTICAL ACROSS ALL PAGES)
   Zero Layout Shift, Zero Blinking, Zero Resize on Route Transition
   ========================================================================= */
header#header {
  position: fixed !important;
  top: 16px !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 99999 !important;
  pointer-events: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
}

header#header .wrap {
  max-width: 1360px !important;
  width: 100% !important;
  margin: 0 auto !important;
  padding: 0 20px !important;
  box-sizing: border-box !important;
}

header#header nav {
  pointer-events: auto !important;
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  min-height: 60px !important;
  height: auto !important;
  background: rgba(8, 12, 22, 0) !important;
  border: 1px solid rgba(255, 255, 255, 0) !important;
  border-radius: 999px !important;
  padding: 6px 24px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0) !important;
  box-sizing: border-box !important;
  transition: border-color 0.45s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.45s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

header#header nav::before {
  content: '' !important;
  position: absolute !important;
  inset: 0 !important;
  border-radius: 999px !important;
  background: rgba(8, 12, 22, 0.94) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  opacity: 0 !important;
  transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1) !important;
  pointer-events: none !important;
  z-index: 0 !important;
}

header#header.scrolled nav::before,
header#header.is-scrolled nav::before {
  opacity: 1 !important;
}

header#header.scrolled nav,
header#header.is-scrolled nav {
  border-color: rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
}

header#header .nav-left,
header#header .nav-links,
header#header .nav-right,
header#header .header-actions,
header#header .mobile-menu-btn {
  position: relative !important;
  z-index: 2 !important;
}

header#header .logo {
  display: flex !important;
  align-items: center !important;
  text-decoration: none !important;
  color: inherit !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

header#header .logo img,
header#header .nav-logo-img {
  width: auto;
  max-width: 360px;
  display: block;
  object-fit: contain;
}

header#header .nav-links {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 22px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  list-style: none !important;
}

/* Exact identical padding and transparent border on inactive vs active to eliminate layout shift */
header#header .nav-links > a,
header#header .dropdown-trigger,
header#header .dropdown-trigger span,
header#header .dropdown-trigger a {
  color: #cbd5e1 !important;
  font-size: 13.5px !important;
  font-weight: 550 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  background: transparent !important;
  padding: 8px 14px !important;
  border: 1px solid transparent !important;
  border-radius: 999px !important;
  cursor: pointer !important;
  white-space: nowrap !important;
  box-sizing: border-box !important;
}

header#header .nav-links > a:hover,
header#header .dropdown-trigger:hover,
header#header .dropdown-trigger:hover span,
header#header .dropdown-trigger:hover a {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}

/* Refined Premium Active Tab (Luxury Amber Gold Glass) */
header#header .nav-links > a.active,
header#header .dropdown-trigger.active {
  background: rgba(245, 158, 11, 0.12) !important;
  border: 1px solid rgba(245, 158, 11, 0.35) !important;
  color: #fbbf24 !important;
  font-weight: 650 !important;
  padding: 8px 14px !important;
  border-radius: 999px !important;
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.2), inset 0 0 10px rgba(245, 158, 11, 0.06) !important;
  text-shadow: 0 0 12px rgba(245, 158, 11, 0.35) !important;
  position: relative !important;
}

header#header .nav-links > a.active::after,
header#header .dropdown-trigger.active::after {
  display: none !important;
  content: none !important;
}



/* Dropdown Menu Styling */
header#header .dropdown {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
}

header#header .dropdown-content {
  position: absolute !important;
  top: 100% !important;
  margin-top: 10px !important;
  left: 50% !important;
  transform: translateX(-50%) translateY(4px) !important;
  background: rgba(8, 12, 22, 0.96) !important;
  backdrop-filter: blur(24px) !important;
  -webkit-backdrop-filter: blur(24px) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 16px !important;
  padding: 8px !important;
  min-width: 230px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 3px !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6) !important;
  z-index: 1000 !important;
}

/* Invisible bridge so mouse hover is never lost when moving to dropdown */
header#header .dropdown-content::before {
  content: '' !important;
  position: absolute !important;
  top: -16px !important;
  left: 0 !important;
  right: 0 !important;
  height: 20px !important;
  background: transparent !important;
  display: block !important;
}

header#header .dropdown:hover .dropdown-content,
header#header .dropdown:focus-within .dropdown-content,
header#header .dropdown.is-open .dropdown-content {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translateX(-50%) translateY(0) !important;
}

header#header .dropdown-content a {
  color: #94a3b8 !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  padding: 10px 14px !important;
  border-radius: 10px !important;
  text-decoration: none !important;
  display: block !important;
  transition: all 0.15s ease !important;
  white-space: nowrap !important;
}

header#header .dropdown-content a:hover {
  color: #38bdf8 !important;
  background: rgba(0, 180, 216, 0.1) !important;
  transform: translateX(4px) !important;
}

header#header .dropdown-caret {
  width: 9px !important;
  height: 5px !important;
  transition: transform 0.2s ease !important;
  opacity: 0.7 !important;
}

header#header .dropdown:hover .dropdown-caret,
header#header .dropdown.is-open .dropdown-caret {
  transform: rotate(180deg) !important;
  opacity: 1 !important;
  color: #00b4d8 !important;
}

header#header .nav-cta {
  display: flex !important;
  align-items: center !important;
}

/* Mobile Toggle Button */
header#header .mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  cursor: pointer;
  margin-left: auto;
}

header#header .mobile-menu-btn span {
  display: block;
  width: 18px;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
}

/* Responsive Breakpoints - Fluid Navbar for All Laptop, Tablet & Mobile Screens */
@media (max-width: 1320px) {
  header#header .wrap {
    padding: 0 14px !important;
  }
  header#header nav {
    padding: 6px 16px !important;
    gap: 12px !important;
  }
  header#header .nav-links {
    gap: 10px !important;
  }
  header#header .nav-links > a,
  header#header .dropdown-trigger,
  header#header .dropdown-trigger span,
  header#header .dropdown-trigger a {
    font-size: 13px !important;
    padding: 6px 9px !important;
  }
  header#header .header-actions .btn {
    padding: 7px 14px !important;
    font-size: 12.5px !important;
  }
}

@media (max-width: 1140px) {
  header#header .wrap {
    padding: 0 10px !important;
  }
  header#header nav {
    padding: 5px 12px !important;
    gap: 8px !important;
  }
  header#header .logo img,
  header#header .nav-logo-img {
    height: 34px !important;
    max-height: 34px !important;
    max-width: 135px !important;
  }
  header#header .nav-links {
    gap: 5px !important;
  }
  header#header .nav-links > a,
  header#header .dropdown-trigger,
  header#header .dropdown-trigger span,
  header#header .dropdown-trigger a {
    font-size: 12.2px !important;
    padding: 5px 7px !important;
    letter-spacing: -0.01em !important;
  }
  header#header .header-actions .btn {
    padding: 6px 12px !important;
    font-size: 12px !important;
  }
}

@media (max-width: 980px) {
  header#header .wrap {
    padding: 0 8px !important;
  }
  header#header nav {
    padding: 4px 8px !important;
    gap: 6px !important;
  }
  header#header .logo img,
  header#header .nav-logo-img {
    height: 30px !important;
    max-height: 30px !important;
    max-width: 118px !important;
  }
  header#header .nav-links {
    gap: 2px !important;
  }
  header#header .nav-links > a,
  header#header .dropdown-trigger,
  header#header .dropdown-trigger span,
  header#header .dropdown-trigger a {
    font-size: 11.5px !important;
    padding: 4px 5px !important;
  }
  header#header .header-actions .btn {
    padding: 5px 10px !important;
    font-size: 11.5px !important;
  }
}

/* Switch cleanly to mobile slide-out drawer below 880px */
@media (max-width: 880px) {
  header#header .nav-links {
    display: none !important;
  }
  header#header .header-actions {
    display: none !important;
  }
  header#header .mobile-menu-btn {
    display: flex !important;
  }
  header#header nav {
    padding: 6px 16px !important;
  }
}

/* Mobile Slide-out Drawer & Backdrop */
.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 12, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 99998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.mobile-nav-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(88vw, 360px);
  background: rgba(7, 12, 22, 0.98);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: -15px 0 50px rgba(0, 0, 0, 0.85);
  z-index: 99999;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 24px 20px;
}
.mobile-nav-drawer.active {
  transform: translateX(0);
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 18px;
}
.mobile-nav-logo {
  font-size: 16px;
  font-weight: 800;
  color: #ffffff;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}
.mobile-nav-close {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 20px;
  transition: all 0.2s ease;
  line-height: 1;
}
.mobile-nav-close:hover {
  color: #ffffff;
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(239, 68, 68, 0.5);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.mobile-nav-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: 10px;
  color: #e2e8f0;
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none;
  background: transparent;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  cursor: pointer;
  width: 100%;
  text-align: left;
}
.mobile-nav-item:hover,
.mobile-nav-item.active {
  background: rgba(56, 189, 248, 0.1);
  color: #38bdf8;
  border-color: rgba(56, 189, 248, 0.2);
}

.mobile-accordion-toggle {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  cursor: pointer;
  background: transparent;
  border: none;
}

.mobile-accordion-caret,
.mobile-accordion-toggle svg {
  width: 12px !important;
  height: 8px !important;
  max-width: 12px !important;
  max-height: 8px !important;
  min-width: 12px !important;
  min-height: 8px !important;
  flex-shrink: 0 !important;
  transition: transform 0.25s ease !important;
  color: #94a3b8 !important;
  fill: none !important;
}

.mobile-accordion-toggle.expanded .mobile-accordion-caret,
.mobile-accordion-toggle.expanded svg,
.mobile-accordion-toggle[aria-expanded="true"] .mobile-accordion-caret,
.mobile-accordion-toggle[aria-expanded="true"] svg {
  transform: rotate(180deg) !important;
  color: #38bdf8 !important;
}
.mobile-submenu {
  display: none;
  flex-direction: column;
  gap: 2px;
  padding: 4px 0 4px 14px;
  margin-left: 8px;
  border-left: 2px solid rgba(56, 189, 248, 0.3);
}
.mobile-submenu.expanded {
  display: flex;
}
.mobile-submenu a {
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 500;
  color: #94a3b8;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.2s ease;
}
.mobile-submenu a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
}

.mobile-nav-cta-box {
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}

/* =========================================================================
   ACCESSIBILITY & PREFERS-REDUCED-MOTION OPTIMIZATION
   ========================================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .bg-fx-orb,
  .bg-particle,
  .marquee-track,
  .areas-carousel-track,
  .sdp-zoom-in {
    animation: none !important;
  }
}

/* =========================================================================
   UNIFIED GLOBAL GRID & CARD HOVER EFFECT (SAME ACCENT ACROSS WHOLE SITE)
   ========================================================================= */
.glow-card,
.about-grid-card,
.cap-card,
.cap-card-cms,
.cap-card-content,
.cap-card-app,
.cap-card-ppc,
.bo-card,
.bo-card-cms,
.bo-card-content,
.bo-card-app,
.bo-card-ppc,
.testimonial-card,
.ugc-reel-card,
.kb-intel-card,
.blog-card,
.state-card,
.agent-card,
.author-stat-card,
.author-article-card,
.contact-info-card,
.contact-form-card,
.card,
.feature-card {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease, box-shadow 0.35s ease !important;
}

.glow-card:hover,
.about-grid-card:hover,
.cap-card:hover,
.cap-card-cms:hover,
.cap-card-content:hover,
.cap-card-app:hover,
.cap-card-ppc:hover,
.bo-card:hover,
.bo-card-cms:hover,
.bo-card-content:hover,
.bo-card-app:hover,
.bo-card-ppc:hover,
.testimonial-card:hover,
.ugc-reel-card:hover,
.kb-intel-card:hover,
.blog-card:hover,
.state-card:hover,
.agent-card:hover,
.author-stat-card:hover,
.author-article-card:hover,
.contact-info-card:hover,
.contact-form-card:hover,
.card:hover,
.feature-card:hover {
  transform: translateY(-6px) !important;
  border-color: #38bdf8 !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 24px rgba(56, 189, 248, 0.22) !important;
}

/* =========================================================================
   MOBILE FAQ SECTION HEADING CENTER ALIGNMENT (ALL PAGES)
   ========================================================================= */
@media (max-width: 820px) {
  .faq-section-title,
  .faq-heading-ppc,
  .faq-heading-seo,
  .faq-heading-app,
  .faq-heading-content,
  .faq-heading-cms,
  .whitelabel-faq-section h2,
  #faq h2,
  #faq .sec-head,
  .faq-sec-head {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  #faq .sec-head p,
  .faq-sec-head p {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

/* =========================================================================
   HOMEPAGE 2-IN-1-LINE MOBILE RESPONSIVE SYSTEM (max-width: 768px)
   ========================================================================= */
@media (max-width: 768px) {
  /* 1. Section: Digital Solutions Built Around Your Business Goals (Stacked 1-column upper neeche on mobile) */
  #business-goals h2 {
    font-size: clamp(22px, 6vw, 28px) !important;
    line-height: 1.25 !important;
  }
  #business-goals .sec-head p {
    font-size: 14px !important;
    line-height: 1.6 !important;
  }
  #business-goals .grid {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }
  #business-goals .glow-card {
    padding: 26px 20px !important;
    border-radius: 18px !important;
  }
  #business-goals .glow-card > div:first-child {
    width: 44px !important;
    height: 44px !important;
    margin-bottom: 16px !important;
    border-radius: 12px !important;
  }
  #business-goals .glow-card > div:first-child svg {
    width: 22px !important;
    height: 22px !important;
  }
  #business-goals .glow-card h3 {
    font-size: 18px !important;
    line-height: 1.35 !important;
    margin-bottom: 10px !important;
  }
  #business-goals .glow-card p {
    font-size: 13.5px !important;
    line-height: 1.65 !important;
  }

  /* 2. Section: Why Choose StratDigi Pros? (5 cards in 2-2-1 layout) */
  #why-choose-us .grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px 10px !important;
  }
  #why-choose-us .glow-card {
    padding: 16px 12px !important;
    border-radius: 14px !important;
  }
  #why-choose-us .glow-card > div:first-child {
    font-size: 18px !important;
    margin-bottom: 8px !important;
  }
  #why-choose-us .glow-card h3 {
    font-size: 14px !important;
    line-height: 1.25 !important;
    margin-bottom: 6px !important;
  }
  #why-choose-us .glow-card p {
    font-size: 11.5px !important;
    line-height: 1.45 !important;
  }
  #why-choose-us .glow-card:nth-child(5) {
    grid-column: 1 / -1 !important;
    max-width: 280px !important;
    margin: 0 auto !important;
    width: 100% !important;
  }

  /* 3. Section: Stats (4 stats in 2x2 grid) */
  .stats {
    grid-template-columns: 1fr 1fr !important;
    gap: 1px !important;
  }
  .stat {
    padding: 16px 10px !important;
  }
  .stat .num {
    font-size: 26px !important;
    line-height: 1.1 !important;
  }
  .stat .lab {
    font-size: 11.5px !important;
    margin-top: 4px !important;
  }

  /* 4. Section: UGC That Converts (2 reels per row) */
  #ugc-converts .ugc-grid-wrapper {
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
  }
  #ugc-converts .ugc-reels-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px 10px !important;
    padding: 0 !important;
    overflow: visible !important;
  }
  #ugc-converts .ugc-reel-card {
    width: 100% !important;
    height: 250px !important;
    border-radius: 14px !important;
  }
  #ugc-converts .ugc-reel-card:nth-child(5) {
    grid-column: 1 / -1 !important;
    max-width: 190px !important;
    margin: 0 auto !important;
    width: 100% !important;
  }
  #ugc-converts .ugc-play-ring {
    width: 36px !important;
    height: 36px !important;
  }
  #ugc-converts .ugc-play-ring svg {
    width: 14px !important;
    height: 14px !important;
  }
  #ugc-converts .ugc-bottom-info {
    padding: 10px !important;
  }
  #ugc-converts .ugc-avatar {
    width: 24px !important;
    height: 24px !important;
  }
  #ugc-converts .ugc-creator-name {
    font-size: 11px !important;
  }
  #ugc-converts .ugc-creator-tag {
    font-size: 9px !important;
  }
  #ugc-converts .ugc-badge {
    top: 8px !important;
    left: 8px !important;
    font-size: 9px !important;
    padding: 3px 8px !important;
  }

  /* 5. Section: Client Testimonials (2 per row on mobile) */
  #testimonials .testimonials-grid-layout {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px 10px !important;
  }
  #testimonials .testimonial-card {
    padding: 16px 12px !important;
    border-radius: 14px !important;
  }
  #testimonials .testimonial-stars {
    font-size: 12px !important;
    margin-bottom: 8px !important;
  }
  #testimonials .testimonial-quote {
    font-size: 11.5px !important;
    line-height: 1.45 !important;
    margin-bottom: 12px !important;
  }
  #testimonials .testimonial-author-flex {
    gap: 8px !important;
  }
  #testimonials .testimonial-avatar {
    width: 32px !important;
    height: 32px !important;
  }
  #testimonials .testimonial-author-name {
    font-size: 11.5px !important;
  }
  #testimonials .testimonial-author-role {
    font-size: 10px !important;
  }
  #testimonials .testimonial-card:nth-child(3) {
    grid-column: 1 / -1 !important;
    max-width: 280px !important;
    margin: 0 auto !important;
    width: 100% !important;
  }

  /* 6. Section: Latest Intelligence Knowledge Base (2 cards per view) */
  #knowledge-base .kb-intel-card {
    flex: 0 0 calc(50% - 6px) !important;
    min-width: 140px !important;
    border-radius: 14px !important;
  }
  #knowledge-base .kb-card-body {
    padding: 12px 10px !important;
  }
  #knowledge-base .kb-card-title {
    font-size: 13px !important;
    line-height: 1.3 !important;
    margin-bottom: 6px !important;
  }
  #knowledge-base .kb-card-snippet {
    font-size: 11px !important;
    line-height: 1.4 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }
  #knowledge-base .kb-badge {
    top: 6px !important;
    left: 6px !important;
    font-size: 9px !important;
    padding: 2px 7px !important;
  }
  #knowledge-base #kb-prev-btn,
  #knowledge-base #kb-next-btn {
    width: 34px !important;
    height: 34px !important;
  }
}



