/* ==========================================================================
   AIVOX Media - Ultra-Premium Stylesheet V2 (Absolute Precision)
   ========================================================================== */

:root {
  /* Core Colors */
  --black: #000000;
  --white: #FFFFFF;
  --cyan: #58EBF2;
  
  /* Layout Surfaces */
  --bg-primary: #030303;     /* Off-black for depth */
  --bg-card: rgba(255, 255, 255, 0.02);
  --bg-card-hover: rgba(255, 255, 255, 0.04);
  
  /* Borders and Glass Edges */
  --border-light: rgba(255, 255, 255, 0.08); /* Faint edge */
  --border-glass: rgba(255, 255, 255, 0.04); /* Subtler edge */
  
  /* Typography Colors */
  --text-main: #FAFAFA;
  --text-muted: #A1A1AA; /* Zinc-400 */
  --text-dim: #71717A;   /* Zinc-500 */
  
  --font-family: 'Inter', system-ui, -apple-system, sans-serif;
  --max-width: 1200px;
  --transition: 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

/* --- RESET --- */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font-family);
  font-size: 16px; 
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  
  /* Interactive Panning Grid Background */
  background-image: radial-gradient(rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  background-position: 0 0;
  animation: bgPan 40s linear infinite;
}

@keyframes bgPan {
  0% { background-position: 0 0; }
  100% { background-position: 0 400px; }
}

a { text-decoration: none; color: inherit; transition: color var(--transition); }
ul { list-style: none; }
img { max-width: 100%; display: block; border-radius: inherit; }

/* --- PRECISION TYPOGRAPHY --- */
h1 {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
}

h2 {
  font-size: clamp(40px, 5vw, 56px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 16px;
}

h3 {
  font-size: clamp(22px, 3vw, 26px);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--white);
}

p { color: var(--text-muted); font-size: 17px; line-height: 1.7; }

/* Utilities */
.block { display: block; }
@media (max-width: 768px) { .block { display: inline; } }
.text-cyan { color: var(--cyan); }
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; display: flex; flex-direction: column; align-items: center; }

/* The Mentrix Gradient Glow Text */
.text-gradient {
  background: linear-gradient(110deg, var(--white) 30%, var(--cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

/* Elegant Eyebrow Badge */
.eyebrow-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 16px;
  border-radius: 100px;
  border: 1px solid var(--border-light);
  background: var(--bg-card);
  color: var(--text-muted);
  font-size: 12px; letter-spacing: 0.15em; text-transform: uppercase;
  font-weight: 600; margin-bottom: 40px;
}

.eyebrow-badge .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
}

/* Simple Eyebrow Text (for sections) */
.section-eyebrow {
  color: var(--cyan); font-size: 13px; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 16px; display: block;
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 15px; letter-spacing: 0.05em; text-transform: uppercase;
  border-radius: 8px;
  transition: all var(--transition);
  cursor: pointer; border: none; text-decoration: none;
}

.btn-primary {
  background-color: var(--white); color: var(--black);
  padding: 0 48px; height: 56px;
  box-shadow: 0 4px 12px rgba(255,255,255,0.05);
}

.btn-primary:hover {
  background-color: #F4F4F5;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255,255,255,0.15);
}

/* Button Shimmer Effect */
.btn-shimmer {
  position: relative; overflow: hidden;
}
.btn-shimmer::before {
  content: ""; position: absolute; top: 0; left: -100%; width: 50%; height: 100%;
  background: linear-gradient(to right, transparent, rgba(88,235,242,0.5), transparent);
  transform: skewX(-20deg); animation: shimmer 4s infinite cubic-bezier(0.2, 0.8, 0.2, 1);
}
@keyframes shimmer {
  0% { left: -100%; }
  20% { left: 200%; }
  100% { left: 200%; }
}

.btn-primary.btn-large { height: 64px; padding: 0 64px; font-size: 16px; }
.btn-primary.btn-small { height: 48px; padding: 0 32px; font-size: 14px; }

.btn-secondary {
  background-color: transparent; color: var(--white);
  border: 1px solid var(--border-light);
  padding: 0 48px; height: 56px;
}

.btn-secondary:hover {
  background-color: var(--bg-card-hover);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-secondary.btn-large { height: 64px; padding: 0 48px; font-size: 16px; }

/* --- LAYOUT UTILITIES --- */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 32px; }
.section { padding: 90px 0; position: relative; } /* Balanced spacing */

/* --- AMBIENT GLOW ORBS & ELEGANT FLOW LINES --- */
.glow-orb {
  position: absolute; border-radius: 50%; filter: blur(150px); opacity: 0.12; z-index: 0; pointer-events: none;
}
.orb-hero-1 { width: 800px; height: 800px; background: var(--cyan); top: -200px; left: -300px; }
.orb-hero-2 { width: 600px; height: 600px; background: #0077FF; top: 40%; right: -200px; opacity: 0.08; }

/* Graceful Abstract Flow Lines */
.hero-flow-lines {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none;
  opacity: 0.8; overflow: hidden;
}
.hero-flow-lines svg { width: 100%; height: 100%; }
.flow-line { fill: none; stroke: var(--cyan); vector-effect: non-scaling-stroke; stroke-width: 1px; }
.line-1 { opacity: 0.2; animation: floatSlight 12s ease-in-out infinite alternate; }
.line-2 { opacity: 0.15; animation: floatSlight 15s ease-in-out infinite alternate-reverse; }
.line-3 { opacity: 0.25; animation: floatSlight 18s ease-in-out infinite alternate; }
.line-4 { opacity: 0.1; animation: floatSlight 10s ease-in-out infinite alternate-reverse; }
.line-5 { opacity: 0.3; animation: floatSlight 20s ease-in-out infinite alternate; }

@keyframes floatSlight {
  0% { transform: translateY(-10px) scaleY(0.98); }
  100% { transform: translateY(10px) scaleY(1.02); }
}

/* --- HEADER --- */
.site-header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 100;
  background-color: rgba(3, 3, 3, 0.5); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(255,255,255,0.03);
  transition: all 0.3s ease;
}
.site-header.scrolled {
  background-color: rgba(3, 3, 3, 0.85); backdrop-filter: blur(40px); -webkit-backdrop-filter: blur(40px);
  border-bottom: 1px solid rgba(88,235,242,0.1);
}

.nav-container { display: flex; justify-content: space-between; align-items: center; height: 100px; width: 100%; box-sizing: border-box; }
.nav-logo { display: flex; align-items: center; height: 72px; width: 360px; overflow: hidden; margin-top: 8px; flex-shrink: 0; }
.nav-logo img { height: 280px; width: auto; max-width: none; margin-left: -50px; flex-shrink: 0; }

.nav-links { display: flex; gap: 8px; background: rgba(255,255,255,0.03); padding: 6px; border-radius: 50px; border: 1px solid rgba(255,255,255,0.05); }
.nav-links a {
  color: var(--text-muted); text-decoration: none; padding: 10px 24px; border-radius: 50px; transition: all 0.3s ease; font-weight: 500; font-size: 15px;
}
.nav-links a:hover, .nav-links a.active { background: var(--cyan); color: var(--black); }

.nav-cta { flex-shrink: 0; }
.mobile-menu-toggle { display: none; background: none; border: none; color: var(--white); font-size: 24px; cursor: pointer; position: relative; z-index: 105; }

/* --- HERO SECTION --- */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding-top: 80px;
}
.hero-buttons { display: flex; gap: 16px; justify-content: center; margin-bottom: 48px; width: 100%; box-sizing: border-box; }

.hero-content { position: relative; z-index: 2; max-width: 1000px; }

.hero-desc { font-size: 18px; line-height: 1.8; color: var(--text-muted); max-width: 680px; margin: 0 auto; margin-bottom: 40px; }
.subhead { font-size: 24px; font-weight: 500; color: var(--white); margin-bottom: 40px; letter-spacing: 0; }

.service-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; padding-bottom: 80px; }
.pill {
  border: 1px solid rgba(255,255,255,0.08); background: rgba(255,255,255,0.02);
  backdrop-filter: blur(12px); padding: 10px 28px; border-radius: 50px;
  font-size: 15px; font-weight: 500; color: var(--text-muted);
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  cursor: pointer;
}
.pill:hover {
  border-color: rgba(88,235,242,0.4);
  background: rgba(88,235,242,0.05);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(88,235,242,0.1);
}

/* --- CONTINUOUS MARQUEE --- */
.social-proof {
  padding: 60px 0; border-top: 1px solid var(--border-light); border-bottom: 1px solid var(--border-light);
  background: linear-gradient(180deg, var(--bg-primary) 0%, rgba(15,15,15,1) 100%);
  overflow: hidden; position: relative;
}
.social-proof-title { text-align: center; margin-bottom: 40px; font-size: 32px; letter-spacing: -0.02em; color: var(--white); text-transform: uppercase; font-weight: 800; }
.marquee-wrapper { width: 100%; overflow: hidden; position: relative; }
/* Gradients to blend slider fading at edges since it's now inside the container */
.marquee-wrapper::before, .marquee-wrapper::after { content: ""; position: absolute; top: 0; width: 100px; height: 100%; z-index: 2; pointer-events: none; }
.marquee-wrapper::before { left: 0; background: linear-gradient(to right, var(--bg-primary) 0%, transparent 100%); }
.marquee-wrapper::after { right: 0; background: linear-gradient(to left, var(--bg-primary) 0%, transparent 100%); }

.marquee-container { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee-content { display: flex; gap: 32px; align-items: center; padding: 0 16px; flex-shrink: 0; width: auto; }
.logo-ph { width: 240px; height: 90px; border-radius: 12px; flex-shrink: 0; background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 24px; font-weight: 700; letter-spacing: -0.02em; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* --- BENTO BOX CARDS (Meticulous Glass Edge) --- */
.grid { display: grid; gap: 32px; margin-top: 64px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: linear-gradient(180deg, rgba(255,255,255,0.02) 0%, rgba(255,255,255,0.005) 100%);
  border: 1px solid var(--border-glass);
  border-radius: 24px;
  padding: 48px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(20px);
  box-shadow: inset 0 1px 0 0 rgba(255,255,255,0.05), 0 4px 24px rgba(0,0,0,0.5);
  transition: all var(--transition);
}

/* Inner hover glow map */
.card::after {
  content: ""; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
  background: radial-gradient(circle at 50% 0%, rgba(255,255,255,0.04) 0%, transparent 60%);
  opacity: 0; transition: opacity 0.5s ease; pointer-events: none;
}
/* Shimmer sheen */
.card::before {
  content: ""; position: absolute; top: 0; left: -100%; width: 50%; height: 100%;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.03), transparent);
  transform: skewX(-20deg); transition: left 0.7s ease; z-index: 1; pointer-events: none;
}
.card:hover { transform: translateY(-4px); border-color: rgba(255,255,255,0.1); box-shadow: inset 0 1px 0 0 rgba(255,255,255,0.1), 0 20px 40px rgba(0,0,0,0.8); }
.card:hover::after { opacity: 1; }
.card:hover::before { left: 200%; }

/* SERVICES */
.service-card .num { font-family: 'Inter', monospace; color: var(--cyan); font-size: 15px; margin-bottom: 32px; display: block; opacity: 0.8; font-weight: 500; }
.service-card h3 { margin-bottom: 16px; font-weight: 600; font-size: 24px; color: var(--white); }
.service-card p { font-size: 16px; line-height: 1.6; }

/* PROCESS */
.process-step { padding: 40px; text-align: left; }
.process-step .step-num { font-size: 64px; font-weight: 700; color: var(--white); opacity: 0.05; margin-bottom: 24px; line-height: 1; letter-spacing: -0.05em; }

/* WHY AI & FLOATING AVATAR */
@keyframes float {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(2deg) scale(1.02); }
  100% { transform: translateY(0px) rotate(0deg); }
}
.floating-avatar { animation: float 8s ease-in-out infinite; display: block; }
.animated-ring {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 400px; height: 400px; border-radius: 50%;
  border: 1px dashed rgba(88,235,242,0.3);
  animation: spinRing 20s linear infinite; z-index: 1; pointer-events: none;
}
.animated-ring.ring-2 {
  width: 450px; height: 450px; border: 1px solid rgba(88,235,242,0.1);
  animation: spinRing 30s linear infinite reverse;
}
@keyframes spinRing { 100% { transform: translate(-50%, -50%) rotate(360deg); } }
.ai-list li { position: relative; padding-left: 32px; margin-bottom: 24px; color: var(--text-main); font-weight: 400; font-size: 18px; line-height: 1.5; }
.ai-list li::before { content: ""; position: absolute; left: 0; top: 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }

/* PRICING */
.pricing-card { padding: 56px 40px; display: flex; flex-direction: column; }
.pricing-card.featured {
  background: linear-gradient(180deg, rgba(88,235,242,0.03) 0%, rgba(3,3,3,1) 100%);
  border-color: rgba(88,235,242,0.15);
  box-shadow: inset 0 1px 0 0 rgba(88,235,242,0.1), 0 0 80px rgba(88,235,242,0.05);
  animation: pulseGlow 4s infinite alternate ease-in-out;
}
@keyframes pulseGlow {
  0% { box-shadow: inset 0 1px 0 0 rgba(88,235,242,0.1), 0 0 40px rgba(88,235,242,0.02); border-color: rgba(88,235,242,0.1); }
  100% { box-shadow: inset 0 1px 0 0 rgba(88,235,242,0.2), 0 0 120px rgba(88,235,242,0.15); border-color: rgba(88,235,242,0.4); }
}
.pricing-card.featured:hover { border-color: rgba(88,235,242,0.3); box-shadow: inset 0 1px 0 0 rgba(88,235,242,0.2), 0 20px 40px rgba(0,0,0,0.8), 0 0 120px rgba(88,235,242,0.1); }
.badge { position: absolute; top: 24px; right: 24px; background: rgba(88,235,242,0.05); color: var(--cyan); font-size: 12px; font-weight: 600; padding: 6px 16px; border-radius: 50px; border: 1px solid rgba(88,235,242,0.1); letter-spacing: 0.05em; }
.pricing-card h3 { margin-bottom: 8px; font-size: 28px; }
.pricing-card .best-for { font-size: 15px; margin-bottom: 32px; color: var(--cyan); }
.pricing-divider { height: 1px; background: var(--border-light); margin: 32px 0; }
.pricing-list { display: flex; flex-direction: column; flex-grow: 1; align-items: stretch; margin-bottom: 40px; }
.pricing-list li { margin-bottom: 16px; font-size: 16px; color: var(--text-muted); display: flex; align-items: flex-start; gap: 12px; }
.pricing-list li::before { content: "✓"; color: var(--black); background: var(--white); width: 18px; height: 18px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; font-size: 10px; font-weight: bold; margin-top: 4px; flex-shrink: 0; }

/* VIDEO CARDS */
.video-card { padding: 0; box-shadow: inset 0 1px 0 0 rgba(255,255,255,0.05), 0 10px 30px rgba(0,0,0,0.8); }
.video-thumb { position: relative; aspect-ratio: 16/9; background: #111; overflow: hidden; display: block; }
.video-thumb img { transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1); width: 100%; height: 100%; object-fit: cover; }
.video-thumb::before {
  content: "WATCH VIDEO"; position: absolute; inset: 0; background: rgba(0,0,0,0.4); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  display: flex; align-items: flex-end; justify-content: center; padding-bottom: 24px;
  color: var(--white); font-weight: 700; font-size: 13px; letter-spacing: 0.1em;
  opacity: 0; transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1); z-index: 1;
}
.play-icon { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 72px; height: 72px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); border-radius: 50%; display: flex; align-items: center; justify-content: center; backdrop-filter: blur(8px); transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1); z-index: 2; }
.play-icon::after { content: ""; border-top: 10px solid transparent; border-bottom: 10px solid transparent; border-left: 16px solid var(--white); margin-left: 6px; }
.video-thumb:hover img { transform: scale(1.05); }
.video-thumb:hover::before { opacity: 1; padding-bottom: 32px; }
.video-thumb:hover .play-icon { transform: translate(-50%, -50%) scale(1.1); background: var(--white); border-color: var(--white); box-shadow: 0 0 30px rgba(255,255,255,0.4); }
.video-thumb:hover .play-icon::after { border-left-color: var(--black); }
.video-card .label { padding: 24px; font-size: 15px; font-weight: 500; color: var(--text-muted); text-align: center; border-top: 1px solid var(--border-glass); }

/* --- PORTFOLIO IFRAME WRAPPERS --- */
.iframe-vertical-wrapper { position: relative; width: 100%; padding-bottom: 177.77%; }
.iframe-wide-wrapper { position: relative; width: 100%; padding-bottom: 56.25%; }
.iframe-vertical-wrapper iframe, .iframe-wide-wrapper iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; }
.portfolio-grid { margin-top: 48px; }

/* --- FINAL CTA --- */
.final-cta { 
  text-align: center; position: relative; padding: 120px 0; overflow: hidden;
  margin: 60px auto; max-width: 1100px; border-radius: 32px;
  background: linear-gradient(180deg, rgba(255,255,255,0.02) 0%, rgba(0,0,0,0.5) 100%);
  box-shadow: inset 0 1px 0 0 rgba(88,235,242,0.1), 0 20px 40px rgba(0,0,0,0.5);
  border: 1px solid rgba(88,235,242,0.2);
}
.final-cta::before { content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 1000px; height: 600px; background: radial-gradient(circle, rgba(88,235,242,0.05) 0%, transparent 70%); pointer-events: none; }
hr.cyan-line { border: none; height: 1px; background: linear-gradient(90deg, transparent, var(--cyan), transparent); width: 100px; margin: 0 auto 40px auto; opacity: 0.5; }

/* --- FOOTER --- */
.site-footer { border-top: 1px solid var(--border-light); padding: 80px 0 40px 0; background: #010101; overflow-x: hidden; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 80px; }
.footer-brand { flex-shrink: 0; }
.footer-brand .logo-wrapper { display: flex; align-items: center; height: 72px; width: 360px; overflow: hidden; margin-bottom: 24px; }
.footer-brand img { height: 280px; width: auto; max-width: none; margin-left: -50px; display: block; flex-shrink: 0; }
.footer-brand p { font-size: 15px; max-width: 320px; color: var(--text-muted); }
.footer-nav { display: flex; gap: 40px; }
.footer-nav a { opacity: 0.7; font-weight: 500; font-size: 15px; }
.footer-nav a:hover { opacity: 1; color: var(--white); }
.footer-social { display: flex; gap: 16px; }
.footer-social a { width: 44px; height: 44px; border: 1px solid var(--border-glass); border-radius: 50px; background: var(--bg-card); display: flex; align-items: center; justify-content: center; transition: all 0.2s ease; color: var(--white); }
.footer-social a:hover { background: var(--white); color: var(--black); transform: translateY(-2px); }
.footer-bottom { border-top: 1px solid var(--border-glass); padding-top: 40px; display: flex; justify-content: space-between; align-items: center; }

/* --- ANIMATIONS --- */
.fade-up { opacity: 0; transform: translateY(40px); transition: opacity 1s cubic-bezier(0.2, 0.8, 0.2, 1), transform 1s cubic-bezier(0.2, 0.8, 0.2, 1); }
.fade-up.is-visible { opacity: 1; transform: translateY(0); }
.stagger-1 { transition-delay: 100ms; }
.stagger-2 { transition-delay: 200ms; }
.stagger-3 { transition-delay: 300ms; }

/* Crisp Hero Entrance */
.hero-line { opacity: 0; transform: translateY(30px); animation: heroFadeUp 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards; }
.hero-line-1 { animation-delay: 0.1s; }
.hero-line-2 { animation-delay: 0.2s; }
.hero-reveal { opacity: 0; transform: translateY(20px); animation: heroFadeUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards; }
.hero-reveal-1 { animation-delay: 0.4s; }
.hero-reveal-2 { animation-delay: 0.5s; }
.hero-reveal-3 { animation-delay: 0.6s; }
.hero-reveal-4 { animation-delay: 0.7s; }

@keyframes heroFadeUp { to { opacity: 1; transform: translateY(0); } }

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
  .section { padding: 120px 0; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .why-split { grid-template-columns: 1fr; gap: 40px; }
  .nav-links { display: none; z-index: 99; }
  .mobile-menu-toggle { display: block; }
}
@media (max-width: 768px) {
  /* Precision Typographic Appeal */
  h1 { font-size: clamp(34px, 10vw, 44px); line-height: 1.1; letter-spacing: -0.04em; margin-bottom: 24px; }
  h2 { font-size: clamp(28px, 8vw, 36px); line-height: 1.25; letter-spacing: -0.02em; }
  .subhead { font-size: clamp(18px, 5vw, 22px); margin-bottom: 16px; }
  .hero-desc { font-size: 16px; line-height: 1.65; max-width: 90%; margin: 0 auto 40px auto; }
  
  /* Mobile Header Alignment Fix */
  .nav-cta { display: none; }
  .nav-container { padding: 0 16px; height: 80px; }
  
  /* Applying exact 360px crop-box scaled perfectly down, offsetting its flex shadow so toggle menu appears */
  .nav-logo { transform: scale(0.40); transform-origin: left center; margin-right: -216px; margin-top: 4px; }
  
  .mobile-menu-toggle { font-size: 32px; padding: 8px; margin: 0; display: block; z-index: 105; position: relative; }
  
  .section { padding: 64px 0; }
  .final-cta { padding: 64px 0; margin: 32px 16px; border-radius: 24px; }
  .hero { min-height: auto; padding-top: 100px; padding-bottom: 40px; }
  .hero-buttons { flex-direction: column; margin-bottom: 32px; width: 100%; box-sizing: border-box; }
  .hero-buttons .btn { width: 100%; }
  
  .card { padding: 32px 24px; }
  .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; gap: 24px; }
  
  .footer-top { flex-direction: column; gap: 40px; margin-bottom: 48px; }
  .footer-brand .logo-wrapper { transform: scale(0.50); transform-origin: left center; margin-right: -180px; margin-bottom: 16px; }
  .footer-nav { flex-wrap: wrap; gap: 16px 24px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  
  .service-pills { flex-direction: column; padding: 0 16px; padding-bottom: 40px; gap: 8px; }
  .pill { text-align: center; width: 100%; box-sizing: border-box; }
  
  .process-step .step-num { font-size: 48px; margin-bottom: 16px; }
  
  /* Restored Client Marquee Spacing */
  .marquee-wrapper { position: relative; }
  .marquee-content { align-items: center; gap: 16px; }
  .logo-ph { width: fit-content; min-width: max-content; transform: scale(0.65); transform-origin: center left; margin-right: -35%; }
  
  .why-split { gap: 32px; }
  .avatar-container { margin-bottom: 32px; }
}

/* --- INTERACTIVE BACKGROUND --- */
#bg-canvas {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  z-index: -1; pointer-events: none; opacity: 0.8;
}

/* --- PORTFOLIO FILTERS --- */
.portfolio-filters {
  display: flex; gap: 12px; overflow-x: auto; padding-bottom: 16px;
  -webkit-overflow-scrolling: touch; scrollbar-width: none;
  justify-content: flex-start;
}
@media (min-width: 768px) {
  .portfolio-filters { justify-content: center; }
}
.portfolio-filters::-webkit-scrollbar { display: none; }
.filter-btn {
  background: rgba(255,255,255,0.05); color: var(--text-muted);
  border: 1px solid rgba(255,255,255,0.1); border-radius: 50px;
  padding: 10px 24px; font-size: 15px; font-weight: 500; cursor: pointer;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  flex-shrink: 0; white-space: nowrap;
}
.filter-btn:hover { background: rgba(255,255,255,0.1); color: var(--white); }
.filter-btn.active {
  background: var(--cyan); color: var(--black); border-color: var(--cyan);
  box-shadow: 0 0 20px rgba(88,235,242,0.3);
}

/* --- VIDEO MODAL --- */
.video-modal {
  position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.4s ease; padding: 24px;
}
.video-modal.active { opacity: 1; pointer-events: all; }
.video-modal-overlay {
  position: absolute; inset: 0; background: rgba(0,0,0,0.9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.video-modal-content {
  position: relative; z-index: 10; width: 100%; max-width: 1000px;
  transform: scale(0.95); transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.video-modal.active .video-modal-content { transform: scale(1); }
.video-modal-close {
  position: absolute; top: -40px; right: 0; background: none; border: none;
  color: var(--white); font-size: 36px; line-height: 1; cursor: pointer; opacity: 0.7; transition: opacity 0.2s;
}
.video-modal-close:hover { opacity: 1; }
.video-container {
  position: relative; width: 100%; padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  background: #000; border-radius: 16px; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,0.8);
  border: 1px solid rgba(255,255,255,0.1);
}
.video-container.vertical-aspect {
  padding-bottom: 177.77%; max-width: 400px; margin: 0 auto;
}
.video-container iframe {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none;
}

/* --- FAQ ACCORDION --- */
.faq-accordion { display: flex; flex-direction: column; gap: 16px; text-align: left; }
.faq-item {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px;
  overflow: hidden; transition: all 0.3s ease;
}
.faq-item.active { border-color: rgba(88,235,242,0.3); box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.faq-question {
  width: 100%; text-align: left; background: none; border: none; padding: 24px;
  color: var(--white); font-size: 18px; font-weight: 600; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
}
.faq-icon {
  font-size: 24px; color: var(--cyan); transition: transform 0.3s ease; font-weight: 400;
}
.faq-item.active .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0; overflow: hidden; transition: max-height 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  padding: 0 24px; color: var(--text-muted); line-height: 1.6; font-size: 16px;
}
.faq-item.active .faq-answer { padding-bottom: 24px; }

/* --- CUSTOM CURSOR --- */
@media (hover: hover) and (pointer: fine) {
  body, a, button, .filter-btn, .video-thumb { cursor: none !important; }
  .custom-cursor, .custom-cursor-follower {
    position: fixed; top: 0; left: 0; border-radius: 50%; pointer-events: none; z-index: 9999;
    transform: translate(-50%, -50%);
  }
  .custom-cursor { width: 8px; height: 8px; background: var(--cyan); }
  .custom-cursor-follower {
    width: 40px; height: 40px; border: 1px solid rgba(88,235,242,0.5);
    transition: width 0.2s, height 0.2s, background 0.2s, border-color 0.2s;
  }
  .custom-cursor-follower.hovering {
    width: 60px; height: 60px; background: rgba(88,235,242,0.1); border-color: transparent;
  }
}
@media (hover: none) {
  .custom-cursor, .custom-cursor-follower { display: none !important; }
}

/* --- SCROLL PROGRESS --- */
.scroll-progress-bar {
  position: fixed; top: 0; left: 0; height: 3px; background: var(--cyan);
  width: 0%; z-index: 10000; box-shadow: 0 0 10px var(--cyan);
}

/* --- PAGE TRANSITION --- */
.page-transition {
  position: fixed; inset: 0; background: var(--black); z-index: 99999;
  opacity: 0; pointer-events: none; transition: opacity 0.4s ease;
}
.page-transition.active { opacity: 1; pointer-events: all; }
