/* ==========================================================================
   NEXUS CHHINDWARA - DESIGN SYSTEM & STYLESHEET
   Elite Ultra-Modern Digital Agency Theme (Deep Dark Mode + Neon Accents)
   ========================================================================== */

/* --- ROOT DESIGN TOKENS --- */
:root {
  /* Colors */
  --bg-void: #060609;
  --bg-deep: #0a0a0f;
  --bg-surface: #101018;
  --bg-glass: rgba(16, 16, 26, 0.65);
  --bg-glass-heavy: rgba(12, 12, 20, 0.85);
  --bg-glass-hover: rgba(26, 26, 42, 0.8);
  
  /* Text */
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-highlight: #ffffff;

  /* Neon Brand Accents */
  --neon-purple: #a855f7;
  --neon-purple-glow: rgba(168, 85, 247, 0.4);
  --neon-cyan: #00f0ff;
  --neon-cyan-glow: rgba(0, 240, 255, 0.35);
  --neon-mint: #00f5a0;
  --neon-mint-glow: rgba(0, 245, 160, 0.35);
  --neon-amber: #f59e0b;
  --neon-pink: #ec4899;

  /* Gradients */
  --grad-primary: linear-gradient(135deg, #a855f7 0%, #00f0ff 100%);
  --grad-mint: linear-gradient(135deg, #00f5a0 0%, #00b4d8 100%);
  --grad-card: linear-gradient(145deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
  --grad-text: linear-gradient(135deg, #ffffff 15%, #cbd5e1 50%, #94a3b8 100%);
  --grad-hero: linear-gradient(135deg, #00f0ff 0%, #a855f7 50%, #ec4899 100%);

  /* Borders & Shadows */
  --border-subtle: 1px solid rgba(255, 255, 255, 0.08);
  --border-glass: 1px solid rgba(255, 255, 255, 0.12);
  --border-neon: 1px solid rgba(168, 85, 247, 0.45);
  --border-cyan: 1px solid rgba(0, 240, 255, 0.4);
  --shadow-glass: 0 20px 40px -15px rgba(0, 0, 0, 0.7), 0 0 15px rgba(168, 85, 247, 0.08);
  --shadow-neon: 0 0 35px -5px rgba(168, 85, 247, 0.5);
  --shadow-cyan: 0 0 30px -5px rgba(0, 240, 255, 0.4);

  /* Typography */
  --font-display: 'Syne', sans-serif;
  --font-body: 'Outfit', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Layout & Spacing */
  --container-max: 1240px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --header-height: 80px;

  /* Transitions */
  --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* --- RESET & GLOBAL STYLES --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  color-scheme: dark;
  -webkit-text-size-adjust: 100%;
  width: 100%;
  max-width: 100%;
  touch-action: auto;
}

body {
  background-color: var(--bg-void);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  width: 100%;
  max-width: 100%;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  touch-action: auto;
}

/* Prevent fixed header from covering section titles when navigating */
section, [id] {
  scroll-margin-top: 85px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 9px;
}
::-webkit-scrollbar-track {
  background: var(--bg-void);
}
::-webkit-scrollbar-thumb {
  background: rgba(168, 85, 247, 0.3);
  border-radius: var(--radius-full);
  border: 2px solid var(--bg-void);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--neon-purple);
}

/* Scroll Progress Indicator Bar */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: var(--grad-hero);
  z-index: 1000;
  box-shadow: 0 0 10px var(--neon-cyan);
  transition: width 0.1s linear;
}

/* --- AMBIENT ATMOSPHERE, AURORA FLOW & CYBER KINETICS --- */
.ambient-glows {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  will-change: transform;
}

/* 1. Kinetic Aurora Borealis Waves (Aceternity UI / High-End Agency Style) */
.aurora-waves-container {
  position: absolute;
  inset: -20%;
  width: 140%;
  height: 140%;
  overflow: hidden;
  filter: blur(50px);
  opacity: 0.88;
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 0;
}

.aurora-wave {
  position: absolute;
  border-radius: 50%;
  will-change: transform, opacity;
}

.aurora-wave.wave-1 {
  width: 950px;
  height: 650px;
  background: radial-gradient(ellipse at center, rgba(121, 40, 202, 0.85) 0%, rgba(79, 70, 229, 0.5) 45%, transparent 70%);
  top: -100px;
  left: 10%;
  animation: auroraFlow1 12s ease-in-out infinite alternate;
}

.aurora-wave.wave-2 {
  width: 900px;
  height: 750px;
  background: radial-gradient(ellipse at center, rgba(0, 240, 255, 0.85) 0%, rgba(6, 182, 212, 0.45) 45%, transparent 70%);
  top: 20%;
  right: -50px;
  animation: auroraFlow2 14s ease-in-out infinite alternate;
}

.aurora-wave.wave-3 {
  width: 1000px;
  height: 700px;
  background: radial-gradient(ellipse at center, rgba(236, 72, 153, 0.7) 0%, rgba(168, 85, 247, 0.45) 50%, transparent 70%);
  top: 55%;
  left: -100px;
  animation: auroraFlow3 16s ease-in-out infinite alternate;
}

.aurora-wave.wave-4 {
  width: 1050px;
  height: 800px;
  background: radial-gradient(ellipse at center, rgba(0, 245, 160, 0.75) 0%, rgba(0, 240, 255, 0.4) 45%, transparent 70%);
  bottom: -100px;
  right: 10%;
  animation: auroraFlow4 13s ease-in-out infinite alternate;
}

@keyframes auroraFlow1 {
  0% { transform: translate3d(0, 0, 0) rotate(0deg) scale(1); }
  50% { transform: translate3d(100px, 80px, 0) rotate(15deg) scale(1.18); }
  100% { transform: translate3d(-60px, 50px, 0) rotate(-10deg) scale(0.95); }
}

@keyframes auroraFlow2 {
  0% { transform: translate3d(0, 0, 0) rotate(0deg) scale(1); }
  50% { transform: translate3d(-110px, 90px, 0) rotate(-20deg) scale(1.15); }
  100% { transform: translate3d(80px, -50px, 0) rotate(12deg) scale(0.98); }
}

@keyframes auroraFlow3 {
  0% { transform: translate3d(0, 0, 0) rotate(0deg) scale(1); }
  50% { transform: translate3d(90px, -70px, 0) rotate(18deg) scale(1.22); }
  100% { transform: translate3d(-70px, 60px, 0) rotate(-15deg) scale(0.92); }
}

@keyframes auroraFlow4 {
  0% { transform: translate3d(0, 0, 0) rotate(0deg) scale(1); }
  50% { transform: translate3d(-80px, -90px, 0) rotate(-15deg) scale(1.12); }
  100% { transform: translate3d(90px, 50px, 0) rotate(10deg) scale(1.04); }
}

/* 2. Interactive High-Energy Canvas & Video */
.ambient-canvas {
  position: fixed !important;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  opacity: 0.9;
  pointer-events: none;
}
#ambientImage {
  display: block !important;
  visibility: visible !important;
  object-fit: cover !important;
  opacity: 1 !important;
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  z-index: 0 !important;
  pointer-events: none !important;
}
#ambientCanvas,
.ambient-glows, 
.cyber-grid-perspective, 
.aurora-waves-container,
.floating-holo-shape,
.cyber-grid-pattern {
  display: none !important;
}

/* 3. Animated Horizon Cyber Grid (Perspective Depth) */
.cyber-grid-perspective {
  position: absolute;
  bottom: 0;
  left: -20%;
  width: 140%;
  height: 60%;
  background-image: 
    linear-gradient(rgba(0, 240, 255, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168, 85, 247, 0.14) 1px, transparent 1px);
  background-size: 64px 64px;
  transform: perspective(400px) rotateX(74deg);
  transform-origin: bottom center;
  mask-image: linear-gradient(to top, rgba(0,0,0,1) 10%, transparent 85%);
  -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,1) 10%, transparent 85%);
  animation: gridScrollForward 8s linear infinite;
  pointer-events: none;
  z-index: 1;
}

@keyframes gridScrollForward {
  0% { background-position: 0 0; }
  100% { background-position: 0 64px; }
}

/* 4. Floating 3D Holographic Cyber Rings */
.floating-holo-shape {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(0, 240, 255, 0.28);
  box-shadow: 0 0 35px rgba(0, 240, 255, 0.15), inset 0 0 25px rgba(168, 85, 247, 0.15);
  pointer-events: none;
  z-index: 1;
  will-change: transform;
}

.holo-ring-1 {
  width: 380px;
  height: 380px;
  top: 8%;
  right: 5%;
  animation: spinHolo 25s linear infinite;
}

.holo-ring-2 {
  width: 480px;
  height: 480px;
  top: 48%;
  left: 2%;
  border-color: rgba(168, 85, 247, 0.25);
  box-shadow: 0 0 45px rgba(168, 85, 247, 0.2), inset 0 0 30px rgba(0, 245, 160, 0.12);
  animation: spinHolo 35s linear infinite reverse;
}

.holo-ring-3 {
  width: 320px;
  height: 320px;
  bottom: 12%;
  right: 8%;
  border-color: rgba(0, 245, 160, 0.25);
  animation: spinHolo 28s linear infinite;
}

@keyframes spinHolo {
  0% { transform: perspective(800px) rotateX(65deg) rotateY(15deg) rotateZ(0deg); }
  100% { transform: perspective(800px) rotateX(65deg) rotateY(15deg) rotateZ(360deg); }
}

/* 4. Interactive Magnetic Cursor Flare */
.ambient-cursor-glow {
  position: absolute;
  width: 750px;
  height: 750px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(0, 240, 255, 0.2) 0%,
    rgba(168, 85, 247, 0.12) 30%,
    rgba(217, 70, 239, 0.05) 55%,
    transparent 72%
  );
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 2;
  transition: opacity 0.4s ease;
  left: -9999px;
  top: -9999px;
  filter: blur(20px);
  will-change: left, top;
}

/* 5. Dual-Layer Cyber Tech Grid & Dot Matrix */
.cyber-grid-pattern {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.11) 1.2px, transparent 1.2px),
    linear-gradient(rgba(0, 240, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168, 85, 247, 0.04) 1px, transparent 1px);
  background-size: 32px 32px, 80px 80px, 80px 80px;
  background-position: 0 0, 0 0, 0 0;
  opacity: 0.9;
}

/* 6. Multi-Section Glowing Power Orbs */
.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  will-change: transform, opacity;
  animation: floatOrb 20s ease-in-out infinite alternate;
}

.orb-1 {
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(121, 40, 202, 0.55) 0%, rgba(168, 85, 247, 0.28) 45%, transparent 70%);
  top: -180px;
  left: -120px;
  animation-duration: 22s;
}

.orb-2 {
  width: 750px;
  height: 750px;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.45) 0%, rgba(0, 245, 160, 0.2) 50%, transparent 70%);
  top: 18%;
  right: -140px;
  animation-duration: 18s;
  animation-delay: -4s;
}

.orb-3 {
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(0, 245, 160, 0.38) 0%, rgba(0, 240, 255, 0.18) 50%, transparent 70%);
  top: 40%;
  left: -150px;
  animation-duration: 24s;
  animation-delay: -9s;
}

.orb-4 {
  width: 820px;
  height: 820px;
  background: radial-gradient(circle, rgba(217, 70, 239, 0.4) 0%, rgba(121, 40, 202, 0.25) 50%, transparent 70%);
  top: 60%;
  right: -120px;
  animation-duration: 26s;
  animation-delay: -14s;
}

.orb-5 {
  width: 780px;
  height: 780px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.42) 0%, rgba(0, 240, 255, 0.22) 50%, transparent 70%);
  top: 78%;
  left: 8%;
  animation-duration: 23s;
  animation-delay: -7s;
}

.orb-6 {
  width: 850px;
  height: 650px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.48) 0%, rgba(0, 240, 255, 0.28) 40%, transparent 70%);
  bottom: -120px;
  right: 12%;
  animation-duration: 28s;
  animation-delay: -16s;
}

@keyframes floatOrb {
  0% {
    transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
  }
  33% {
    transform: translate3d(60px, 75px, 0) scale(1.15) rotate(7deg);
  }
  66% {
    transform: translate3d(-50px, 45px, 0) scale(0.9) rotate(-6deg);
  }
  100% {
    transform: translate3d(40px, -55px, 0) scale(1.08) rotate(5deg);
  }
}

/* --- ANNOUNCEMENT BAR --- */
.announcement-bar {
  background: linear-gradient(90deg, rgba(168, 85, 247, 0.15) 0%, rgba(0, 240, 255, 0.15) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 8px 16px;
  font-size: 0.85rem;
  color: var(--text-primary);
  position: relative;
  z-index: 101;
}

.announcement-content {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  text-align: center;
}

.badge-pulse {
  width: 8px;
  height: 8px;
  background-color: var(--neon-mint);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--neon-mint);
  animation: pulseGlow 1.5s infinite;
}

@keyframes pulseGlow {
  0% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.7; }
}

.announcement-text strong {
  color: var(--neon-cyan);
}

.announcement-link {
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px dashed var(--neon-cyan);
  transition: all 0.2s ease;
}

.announcement-link:hover {
  color: var(--neon-cyan);
  border-bottom-style: solid;
}

/* --- GLASSMORPHISM NAVBAR --- */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: rgba(8, 8, 14, 0.75);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: var(--border-subtle);
  z-index: 100;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled {
  background: rgba(6, 6, 11, 0.92);
  border-bottom: 1px solid rgba(168, 85, 247, 0.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.header-container {
  max-width: var(--container-max);
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  cursor: pointer;
}

.logo-mark {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, #1e1136 0%, #112836 100%);
  border: 1px solid rgba(168, 85, 247, 0.5);
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.25);
  transition: all 0.3s var(--ease-spring);
}

.logo-icon {
  font-size: 1.1rem;
  background: var(--grad-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 900;
}

.brand-logo:hover .logo-mark {
  transform: rotate(45deg) scale(1.05);
  border-color: var(--neon-cyan);
  box-shadow: 0 0 25px rgba(0, 240, 255, 0.4);
}

.brand-logo:hover .logo-mark .logo-icon {
  transform: rotate(-45deg);
}

.logo-text-group {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #ffffff;
  line-height: 1.1;
}

.brand-accent {
  color: var(--neon-cyan);
}

.brand-tag {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--neon-purple);
  text-transform: uppercase;
}

/* Nav Links */
.desktop-nav .nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
  align-items: center;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  padding: 6px 0;
  transition: color 0.25s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--grad-hero);
  transition: width 0.3s var(--ease-smooth);
  border-radius: var(--radius-full);
}

.nav-link:hover {
  color: #ffffff;
}

.nav-link:hover::after {
  width: 100%;
}

/* Header Action & Magnetic Nav Button */
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-glass-nav {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
  backdrop-filter: blur(12px);
  transition: all 0.3s ease;
  overflow: hidden;
}

.btn-glass-nav:hover {
  background: rgba(168, 85, 247, 0.2);
  border-color: var(--neon-purple);
  box-shadow: 0 0 25px rgba(168, 85, 247, 0.4);
  transform: translateY(-2px);
}

/* Mobile Toggle Hamburger */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 32px;
  height: 22px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 105;
}

.hamburger-line {
  width: 100%;
  height: 2px;
  background-color: #ffffff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.mobile-toggle.is-active .hamburger-line:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}
.mobile-toggle.is-active .hamburger-line:nth-child(2) {
  opacity: 0;
}
.mobile-toggle.is-active .hamburger-line:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}

/* --- MOBILE DRAWER --- */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 100000;
  pointer-events: none;
  visibility: hidden;
  transition: visibility 0.3s ease;
}

.mobile-drawer.open {
  pointer-events: auto;
  visibility: visible;
}

.drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-drawer.open .drawer-backdrop {
  opacity: 1;
}

.drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(85vw, 360px);
  height: 100%;
  background: rgba(13, 13, 22, 0.96);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease-smooth);
}

.mobile-drawer.open .drawer-panel {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 36px;
}

.drawer-close {
  background: transparent;
  border: none;
  font-size: 2rem;
  color: var(--text-secondary);
  cursor: pointer;
  line-height: 1;
}

.drawer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.drawer-link {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-block;
}

.drawer-link:hover {
  color: var(--neon-cyan);
  transform: translateX(8px);
}

.drawer-footer {
  margin-top: auto;
}

/* --- BUTTONS & MAGNETIC CTA STYLES --- */
.magnetic-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease-spring), box-shadow 0.3s ease, background 0.3s ease;
  will-change: transform;
}

.btn-primary {
  padding: 16px 36px;
  font-size: 1rem;
  font-weight: 700;
  color: #050508;
  background: var(--grad-hero);
  border-radius: var(--radius-full);
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.35);
  position: relative;
  overflow: hidden;
}

.btn-primary .btn-text {
  position: relative;
  z-index: 2;
  color: #07070a;
}

.btn-primary .btn-icon {
  font-size: 1.1rem;
  position: relative;
  z-index: 2;
  color: #07070a;
  transition: transform 0.2s ease;
}

.btn-primary:hover .btn-icon {
  transform: translateY(3px);
}

.btn-shimmer {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    60deg,
    transparent 20%,
    rgba(255, 255, 255, 0.4) 50%,
    transparent 80%
  );
  transform: rotate(25deg);
  animation: shimmerSweep 4s infinite linear;
  pointer-events: none;
}

@keyframes shimmerSweep {
  0% { transform: translateX(-150%) rotate(25deg); }
  100% { transform: translateX(150%) rotate(25deg); }
}

.btn-glass {
  padding: 16px 32px;
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
  backdrop-filter: blur(16px);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--neon-cyan);
  box-shadow: 0 0 25px rgba(0, 240, 255, 0.25);
}

.btn-icon-wa {
  display: flex;
  align-items: center;
  color: #25d366;
}

.w-full {
  width: 100%;
}
.text-center {
  text-align: center;
}

/* --- HERO SECTION --- */
.hero-section {
  position: relative;
  padding: 80px 24px 60px;
  min-height: calc(100vh - var(--header-height) - 40px);
  display: flex;
  align-items: center;
  z-index: 2;
}

.hero-container {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}


/* Kinetic Headline */
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6.5vw, 5.2rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
  max-width: 1050px;
}

.kinetic-line {
  display: block;
}

.hero-headline .word {
  display: inline-block;
  opacity: 1;
  color: #ffffff;
}

@keyframes kineticReveal {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.gradient-text-hero {
  background: var(--grad-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.neon-glow-text {
  color: #ffffff;
  text-shadow: 0 0 25px rgba(0, 240, 255, 0.45);
  position: relative;
}

/* Subtext */
.hero-subtext {
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
  color: var(--text-secondary);
  max-width: 780px;
  margin-bottom: 40px;
  line-height: 1.65;
}

.hero-subtext strong {
  color: #ffffff;
  font-weight: 600;
}

/* Hero CTA Group */
.hero-cta-group {
  display: flex;
  gap: 18px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

/* Niche Selector Pills in Hero */
.niche-selector-wrapper {
  width: 100%;
  max-width: 780px;
  margin-bottom: 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.selector-label {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.niche-pill-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.niche-tab {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.niche-tab:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.25);
}

.niche-tab.active {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.25) 0%, rgba(0, 240, 255, 0.25) 100%);
  border-color: var(--neon-cyan);
  color: #ffffff;
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
}

.niche-insight-card {
  width: 100%;
  background: rgba(18, 18, 30, 0.7);
  border: 1px solid rgba(168, 85, 247, 0.25);
  border-radius: var(--radius-md);
  padding: 16px 24px;
  backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.insight-badge {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  background: rgba(168, 85, 247, 0.25);
  color: var(--neon-purple);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  white-space: nowrap;
}

.insight-text {
  font-size: 0.92rem;
  color: #cbd5e1;
  line-height: 1.5;
}

.insight-text strong {
  color: #ffffff;
}

/* Stats Row */
.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  width: 100%;
  max-width: 960px;
}

.stat-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-md);
  padding: 20px 16px;
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all 0.3s ease;
}

.stat-card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(168, 85, 247, 0.35);
  transform: translateY(-4px);
}

.stat-value {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  background: var(--grad-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
  text-align: center;
}

/* --- LOCAL TICKER SECTION --- */
.ticker-section {
  position: relative;
  background: rgba(10, 10, 16, 0.8);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 16px 0;
  overflow: hidden;
  z-index: 2;
  display: flex;
  align-items: center;
}

.ticker-label-badge {
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--neon-cyan);
  background: rgba(0, 240, 255, 0.1);
  padding: 6px 18px;
  border-right: 1px solid rgba(0, 240, 255, 0.2);
  margin-right: 20px;
  white-space: nowrap;
}

.ticker-track-wrapper {
  overflow: hidden;
  width: 100%;
  display: flex;
  position: relative;
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 1) 4%, rgba(0, 0, 0, 1) 96%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 1) 4%, rgba(0, 0, 0, 1) 96%, transparent 100%);
}

.ticker-track {
  display: flex;
  align-items: center;
  gap: 28px;
  white-space: nowrap;
  animation: tickerScroll 24s linear infinite !important;
  -webkit-animation: tickerScroll 24s linear infinite !important;
  will-change: transform;
}

.ticker-track:hover {
  animation-play-state: running !important;
}

@keyframes tickerScroll {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

@-webkit-keyframes tickerScroll {
  0% {
    -webkit-transform: translate3d(0, 0, 0);
  }
  100% {
    -webkit-transform: translate3d(-50%, 0, 0);
  }
}

.ticker-item {
  font-size: 0.9rem;
  font-weight: 600;
  color: #cbd5e1;
}

.ticker-dot {
  color: var(--neon-purple);
  font-weight: 900;
}

/* --- COMMON SECTION STYLES --- */
section {
  position: relative;
  padding: 100px 24px;
  z-index: 2;
}

.section-container {
  max-width: var(--container-max);
  margin: 0 auto;
}

.section-header {
  margin-bottom: 60px;
}

.section-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--neon-cyan);
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.25);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
  text-transform: uppercase;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -1px;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto;
}

/* Glass Panel Base */
.glass-panel {
  background: var(--bg-glass);
  border: var(--border-glass);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: var(--shadow-glass);
  position: relative;
  overflow: hidden;
  transition: all 0.4s var(--ease-smooth);
}

/* --- PRICING GRID (THE MONEY MAKER) --- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 28px;
  margin-bottom: 60px;
  align-items: stretch;
}

/* Row 1: 3 cards (span 2 each = 6 columns) */
.pricing-grid > .pricing-card:nth-child(1),
.pricing-grid > .pricing-card:nth-child(2),
.pricing-grid > .pricing-card:nth-child(3) {
  grid-column: span 2;
}

/* Row 2: 3 cards (span 2 each = 6 columns) */
.pricing-grid > .pricing-card:nth-child(4),
.pricing-grid > .pricing-card:nth-child(5),
.pricing-grid > .pricing-card:nth-child(6) {
  grid-column: span 2;
}

/* Row 3: 2 Wide Flagship Cards (span 3 each = 6 columns) */
.pricing-grid > .pricing-card:nth-child(7),
.pricing-grid > .pricing-card:nth-child(8) {
  grid-column: span 3;
}

/* Card Terms & Policy Box */
.card-terms-box {
  margin: 16px 0 20px 0;
  padding: 13px 15px;
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.35);
  border-radius: var(--radius-md, 12px);
  backdrop-filter: blur(8px);
  text-align: left;
}

.card-terms-box .terms-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading, 'Outfit', sans-serif);
  font-size: 0.78rem;
  font-weight: 700;
  color: #f87171;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.card-terms-box .terms-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.card-terms-box .terms-list li {
  font-size: 0.77rem;
  line-height: 1.45;
  color: rgba(254, 202, 202, 0.9);
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

.card-terms-box .terms-list li::before {
  content: "•";
  color: #ef4444;
  font-weight: bold;
  font-size: 0.9rem;
  line-height: 1.2;
}

.card-terms-box .terms-list li strong {
  color: #ffffff;
  font-weight: 600;
}

.pricing-card {
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  background: rgba(16, 16, 26, 0.7);
  transform-style: preserve-3d;
  perspective: 1000px;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.85s cubic-bezier(0.16, 1, 0.3, 1),
              filter 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.3s ease,
              box-shadow 0.3s ease;
}

.pricing-card:hover {
  border-color: rgba(168, 85, 247, 0.45);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8), 0 0 30px rgba(168, 85, 247, 0.2);
}

.pricing-card.featured-tier {
  background: linear-gradient(170deg, rgba(28, 20, 48, 0.85) 0%, rgba(14, 14, 24, 0.9) 100%);
  border: 1px solid rgba(168, 85, 247, 0.6);
  box-shadow: 0 25px 60px -10px rgba(0, 0, 0, 0.8), 0 0 35px rgba(168, 85, 247, 0.25);
  transform: scale(1.02);
}

/* Highlighted Best Value Tier with Special Glowing Animated Border */
.pricing-card.best-value-tier {
  background: linear-gradient(170deg, rgba(32, 16, 52, 0.94) 0%, rgba(12, 14, 26, 0.98) 100%);
  border: 1.5px solid rgba(168, 85, 247, 0.95);
  box-shadow: 0 0 35px rgba(168, 85, 247, 0.45), 0 0 60px rgba(0, 240, 255, 0.3), inset 0 0 20px rgba(168, 85, 247, 0.2);
  transform: scale(1.03);
  position: relative;
  z-index: 3;
}

.pricing-card.best-value-tier .card-glow-border {
  position: absolute;
  inset: -2px;
  border-radius: var(--radius-lg);
  padding: 2px;
  background: linear-gradient(135deg, #a855f7, #00f0ff, #00f5a0, #ec4899, #a855f7);
  background-size: 300% 300%;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: borderGlowRotate 4s ease infinite;
  pointer-events: none;
  box-shadow: 0 0 25px rgba(168, 85, 247, 0.6);
}

@keyframes borderGlowRotate {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Flagship Enterprise Tier (On-Demand Custom App Development) */
.pricing-card.flagship-tier {
  background: linear-gradient(165deg, rgba(14, 24, 48, 0.92) 0%, rgba(10, 14, 26, 0.96) 100%);
  border: 1.5px solid rgba(0, 240, 255, 0.7);
  box-shadow: 0 25px 60px -10px rgba(0, 0, 0, 0.85), 0 0 35px rgba(0, 240, 255, 0.25);
  position: relative;
  z-index: 2;
}

.pricing-card.flagship-tier .card-glow-border {
  position: absolute;
  inset: -1.5px;
  border-radius: var(--radius-lg);
  padding: 1.5px;
  background: linear-gradient(135deg, #00f0ff, #3b82f6, #a855f7, #00f5a0, #00f0ff);
  background-size: 300% 300%;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: borderGlowRotate 5s ease infinite;
  pointer-events: none;
  box-shadow: 0 0 25px rgba(0, 240, 255, 0.4);
}

@media (min-width: 900px) {
  .pricing-card.flagship-tier .feature-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 28px;
  }
}

.featured-ribbon {
  position: absolute;
  top: 20px;
  right: -32px;
  background: var(--grad-hero);
  color: #07070a;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 4px 38px;
  transform: rotate(45deg);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  z-index: 5;
}

/* Dual Price Box for Multi-Tier Cards */
.dual-price-box {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}

.price-tier-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
  color: var(--text-secondary);
  gap: 8px;
}

.price-tier-row.highlight-sub {
  border-top: 1px dashed rgba(255, 255, 255, 0.08);
  padding-top: 8px;
}

.price-tier-row .tier-val strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: #ffffff;
}

.price-tier-row.highlight-sub .tier-val strong {
  color: var(--neon-cyan);
}

.price-tier-row small {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.billing-sub-label {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--neon-mint);
  margin-top: -12px;
  margin-bottom: 16px;
  font-weight: 600;
}

.card-badge {
  display: inline-block;
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
}

.badge-popular {
  background: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.badge-viral {
  background: rgba(0, 240, 255, 0.12);
  color: var(--neon-cyan);
  border: 1px solid rgba(0, 240, 255, 0.3);
}

.badge-premium {
  background: rgba(168, 85, 247, 0.2);
  color: #e9d5ff;
  border: 1px solid rgba(168, 85, 247, 0.4);
}

.badge-growth {
  background: rgba(16, 185, 129, 0.15);
  color: var(--neon-mint);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.card-icon-wrap {
  width: 52px;
  height: 52px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  font-size: 1.6rem;
}

.card-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
  margin-bottom: 6px;
}

.card-target {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 20px;
}

.price-box {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.price-prefix {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-weight: 500;
  margin-right: 2px;
}

.currency {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: #ffffff;
}

.amount {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 900;
  color: #ffffff;
  line-height: 1;
}

.price-range {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: #cbd5e1;
}

.billing-term {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-left: 6px;
}

.card-summary {
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.55;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
  flex-grow: 1;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.88rem;
  color: #cbd5e1;
  line-height: 1.45;
}

.check-icon {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  background: rgba(0, 245, 160, 0.15);
  color: var(--neon-mint);
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 900;
  flex-shrink: 0;
  margin-top: 2px;
}

.card-footer {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn-card-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-card-cta:hover {
  background: rgba(168, 85, 247, 0.2);
  border-color: var(--neon-purple);
  box-shadow: 0 0 25px rgba(168, 85, 247, 0.35);
  transform: translateY(-2px);
}

.arrow-right {
  transition: transform 0.2s ease;
}

.btn-card-cta:hover .arrow-right,
.btn-primary:hover .arrow-right {
  transform: translateX(4px);
}

.guarantee-note {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  text-align: center;
}

/* --- ROI CALCULATOR WIDGET --- */
.roi-calculator-box {
  padding: 44px;
  border-color: rgba(0, 240, 255, 0.25);
  background: linear-gradient(145deg, rgba(14, 18, 30, 0.85) 0%, rgba(10, 10, 18, 0.95) 100%);
}

.calc-badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--neon-mint);
  font-weight: 700;
  letter-spacing: 1.5px;
}

.roi-title {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 800;
  color: #ffffff;
  margin: 6px 0 8px;
}

.roi-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.roi-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}

.slider-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.95rem;
  color: #e2e8f0;
  font-weight: 600;
  margin-bottom: 12px;
  margin-top: 18px;
}

.slider-label:first-of-type {
  margin-top: 0;
}

.slider-val {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--neon-cyan);
}

.custom-slider {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  height: 8px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.1);
  outline: none;
  transition: background 0.2s;
}

.custom-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--neon-cyan);
  cursor: pointer;
  box-shadow: 0 0 15px var(--neon-cyan);
  border: 2px solid #000;
  transition: transform 0.2s ease;
}

.custom-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.roi-output-col {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.roi-metric {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.roi-metric-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

.roi-metric-num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff;
}

.gradient-text-cyan {
  background: linear-gradient(135deg, #00f0ff 0%, #00f5a0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 2.1rem;
}

.btn-small-glow {
  display: inline-block;
  text-align: center;
  padding: 12px 20px;
  background: rgba(0, 240, 255, 0.15);
  border: 1px solid rgba(0, 240, 255, 0.4);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: var(--radius-full);
  text-decoration: none;
  margin-top: 10px;
  transition: all 0.3s ease;
}

.btn-small-glow:hover {
  background: var(--neon-cyan);
  color: #050508;
  box-shadow: 0 0 25px rgba(0, 240, 255, 0.5);
}

/* --- NICHE SOLUTIONS CARDS --- */
.niche-cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.niche-feature-card {
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
}

.niche-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.niche-icon {
  font-size: 2.2rem;
  width: 58px;
  height: 58px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
}

.niche-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
}

.niche-location {
  font-size: 0.8rem;
  color: var(--neon-purple);
  font-family: var(--font-mono);
}

.niche-body {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
}

.niche-perks {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.perk-tag {
  font-size: 0.88rem;
  color: #e2e8f0;
  font-weight: 500;
}

.niche-cta-link {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--neon-cyan);
  text-decoration: none;
  margin-top: auto;
  transition: transform 0.2s ease, color 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.niche-cta-link:hover {
  color: #ffffff;
  transform: translateX(6px);
}

/* --- TECH + DESIGN SECTION --- */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  margin-bottom: 60px;
}

.tech-card {
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
}

.tech-icon-glow {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
}

.neon-blue {
  background: rgba(0, 240, 255, 0.12);
  border: 1px solid rgba(0, 240, 255, 0.4);
  box-shadow: 0 0 25px rgba(0, 240, 255, 0.25);
}

.neon-purple {
  background: rgba(168, 85, 247, 0.15);
  border: 1px solid rgba(168, 85, 247, 0.4);
  box-shadow: 0 0 25px rgba(168, 85, 247, 0.25);
}

.neon-mint {
  background: rgba(0, 245, 160, 0.12);
  border: 1px solid rgba(0, 245, 160, 0.4);
  box-shadow: 0 0 25px rgba(0, 245, 160, 0.25);
}

.neon-gold {
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.4);
  box-shadow: 0 0 25px rgba(245, 158, 11, 0.25);
}

.tech-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 12px;
}

.tech-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
  flex-grow: 1;
}

.metric-meter {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.meter-bar {
  height: 6px;
  background: var(--neon-cyan);
  border-radius: var(--radius-full);
  box-shadow: 0 0 10px var(--neon-cyan);
}

.purple-bar { background: var(--neon-purple); box-shadow: 0 0 10px var(--neon-purple); }
.mint-bar { background: var(--neon-mint); box-shadow: 0 0 10px var(--neon-mint); }
.gold-bar { background: var(--neon-amber); box-shadow: 0 0 10px var(--neon-amber); }

.meter-score {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* Comparison Table */
.comparison-card {
  padding: 44px;
}

.comparison-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 28px;
  text-align: center;
}

.table-responsive {
  overflow-x: auto;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.comparison-table th,
.comparison-table td {
  padding: 16px 20px;
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.comparison-table th {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
}

.comparison-table .col-highlight {
  background: rgba(168, 85, 247, 0.08);
  color: #ffffff;
  font-weight: 600;
}

.badge-success {
  color: var(--neon-mint);
  font-weight: 700;
}

.badge-fail {
  color: #ef4444;
}

/* --- WORK / LIVE PROTOTYPE SECTION --- */
.work-tabs-wrap {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.work-tab-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.work-tab-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.work-tab-btn.active {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.3) 0%, rgba(0, 240, 255, 0.3) 100%);
  border-color: var(--neon-cyan);
  color: #ffffff;
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
}

.showcase-stage {
  padding: 50px 40px;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 50px;
  align-items: center;
}

.showcase-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--neon-cyan);
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid rgba(0, 240, 255, 0.25);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.showcase-name {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
  margin-bottom: 18px;
}

.showcase-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
}

.showcase-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
}

.feature-chip {
  font-size: 0.9rem;
  color: #cbd5e1;
  font-weight: 500;
}

/* Simulated Smartphone Frame */
.phone-mockup-wrapper {
  display: flex;
  justify-content: center;
}

.phone-frame {
  width: 320px;
  height: 560px;
  background: #09090f;
  border: 4px solid #2a2a3e;
  border-radius: 40px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9), 0 0 40px rgba(168, 85, 247, 0.2);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.phone-notch {
  width: 130px;
  height: 22px;
  background: #2a2a3e;
  margin: 0 auto;
  border-bottom-left-radius: 14px;
  border-bottom-right-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  z-index: 10;
}

.camera-dot {
  width: 8px;
  height: 8px;
  background: #0d0d18;
  border-radius: 50%;
}

.speaker-bar {
  width: 36px;
  height: 3px;
  background: #181828;
  border-radius: 2px;
}

.phone-screen {
  flex-grow: 1;
  background: #0d0d17;
  padding: 16px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  font-size: 0.85rem;
}

.phone-app-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 14px;
}

.app-status {
  font-size: 0.65rem;
  color: var(--neon-mint);
  font-weight: 700;
}

.app-brand {
  font-weight: 700;
  color: #ffffff;
  font-size: 0.88rem;
}

.app-rating {
  font-size: 0.72rem;
  color: #f59e0b;
}

.sim-banner {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.3) 0%, rgba(0, 240, 255, 0.2) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: 14px;
  margin-bottom: 14px;
}

.sim-pill {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--neon-cyan);
  font-weight: 700;
  display: block;
  margin-bottom: 4px;
}

.sim-title {
  font-size: 1rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 4px;
}

.sim-price {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--neon-mint);
}

.sim-menu-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
}

.sim-menu-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sim-item-info strong {
  display: block;
  font-size: 0.85rem;
  color: #ffffff;
}

.sim-item-info span {
  font-size: 0.72rem;
  color: var(--text-muted);
  display: block;
}

.sim-tag {
  font-size: 0.72rem;
  color: var(--neon-purple);
  font-weight: 600;
  margin-top: 2px;
}

.sim-add-btn {
  background: rgba(0, 240, 255, 0.15);
  border: 1px solid var(--neon-cyan);
  color: #ffffff;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.sim-add-btn:hover {
  background: var(--neon-cyan);
  color: #000;
}

.sim-bottom-bar {
  margin-top: auto;
}

.sim-order-btn {
  width: 100%;
  background: #25d366;
  border: none;
  padding: 10px;
  border-radius: 8px;
  color: #050508;
  font-weight: 800;
  font-size: 0.8rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

/* --- PROCESS & ETHICS SECTION (100% HONEST TRANSPARENCY & CLIENT BLUEPRINT) --- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}

.process-card {
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.process-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 240, 255, 0.4);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.7), 0 0 25px rgba(0, 240, 255, 0.15);
}

.step-num-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--neon-cyan);
  background: rgba(0, 240, 255, 0.1);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(0, 240, 255, 0.25);
}

.process-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  margin-bottom: 18px;
}

.process-card-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 10px;
  line-height: 1.25;
}

.process-card-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.process-commitment {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--neon-mint);
  border-top: 1px dashed rgba(255, 255, 255, 0.08);
  padding-top: 14px;
}

/* Ethics Pledge Banner */
.ethics-pledge-banner {
  padding: 40px;
  border: 1px solid rgba(168, 85, 247, 0.35);
  background: linear-gradient(150deg, rgba(20, 16, 36, 0.85) 0%, rgba(10, 12, 22, 0.95) 100%);
}

.ethics-header {
  text-align: center;
  margin-bottom: 32px;
}

.ethics-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--neon-cyan);
  letter-spacing: 1.5px;
}

.ethics-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff;
  margin-top: 6px;
}

.ethics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.ethics-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.ethics-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.ethics-item strong {
  display: block;
  font-size: 0.95rem;
  color: #ffffff;
  margin-bottom: 4px;
}

.ethics-item p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* --- FAQ ACCORDION SECTION --- */
.faq-accordion-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  padding: 0;
  transition: border-color 0.3s ease;
}

.faq-trigger {
  width: 100%;
  background: transparent;
  border: none;
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.faq-icon {
  font-size: 1.4rem;
  color: var(--neon-cyan);
  transition: transform 0.3s ease;
  line-height: 1;
  font-weight: 300;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  color: var(--neon-purple);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-smooth), padding 0.3s ease;
  padding: 0 28px;
}

.faq-item.active .faq-answer {
  max-height: 250px;
  padding: 0 28px 24px;
}

.faq-answer p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --- MASSIVE CTA FOOTER HERO --- */
.mega-cta-section {
  padding: 80px 24px 100px;
}

.mega-cta-container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 70px 40px;
  border: 1px solid rgba(168, 85, 247, 0.4);
  box-shadow: 0 25px 80px -20px rgba(168, 85, 247, 0.3);
  position: relative;
  background: linear-gradient(160deg, rgba(20, 16, 36, 0.9) 0%, rgba(8, 8, 14, 0.98) 100%);
}

.cta-badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--neon-mint);
  margin-bottom: 16px;
  display: inline-block;
}

.mega-cta-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -1px;
  color: #ffffff;
  margin-bottom: 20px;
}

.mega-cta-subtext {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 720px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.cta-button-wrapper {
  margin-bottom: 48px;
  display: flex;
  justify-content: center;
}

.btn-cta-massive {
  padding: 22px 50px;
  font-size: 1.25rem;
  font-weight: 800;
  color: #050508;
  background: var(--grad-hero);
  border-radius: var(--radius-full);
  box-shadow: 0 0 45px rgba(0, 240, 255, 0.45);
  position: relative;
  overflow: hidden;
}

.btn-cta-massive .cta-massive-text {
  position: relative;
  z-index: 2;
  color: #050508;
}

.btn-cta-massive .wa-large-icon {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
}

.cta-shimmer-sweep {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    60deg,
    transparent 20%,
    rgba(255, 255, 255, 0.6) 50%,
    transparent 80%
  );
  transform: rotate(25deg);
  animation: shimmerSweep 3.5s infinite linear;
  pointer-events: none;
}

.direct-contact-bar {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.contact-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.04);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-pill a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.contact-pill a:hover {
  color: var(--neon-cyan);
}

/* --- FOOTER --- */
.site-footer {
  position: relative;
  background: #040407;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 70px 24px 30px;
  z-index: 2;
}

.footer-container {
  max-width: var(--container-max);
  margin: 0 auto;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-tagline {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 18px 0 22px;
  max-width: 320px;
}

.footer-social-links {
  display: flex;
  gap: 16px;
  font-size: 0.88rem;
}

.footer-social-links a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-social-links a:hover {
  color: var(--neon-cyan);
}

.footer-col-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
}

.footer-links-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links-col a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-block;
}

.footer-links-col a:hover {
  color: #ffffff;
  transform: translateX(4px);
}

.footer-info-text {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 16px;
}

.local-pride-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--neon-mint);
  background: rgba(0, 245, 160, 0.1);
  padding: 6px 12px;
  border-radius: var(--radius-full);
}

.footer-bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  font-size: 0.85rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 16px;
}

.footer-legal {
  display: flex;
  gap: 12px;
  align-items: center;
}

.footer-legal a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-legal a:hover {
  color: #ffffff;
}

/* --- FLOATING QUICK WHATSAPP WIDGET --- */
.floating-wa-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 99;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.wa-center {
  right: 50% !important;
  transform: translateX(50%) !important;
  bottom: 24px !important;
}

.floating-wa-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: #050508;
  padding: 12px 20px;
  border-radius: var(--radius-full);
  text-decoration: none;
  font-weight: 800;
  font-size: 0.92rem;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.45);
  position: relative;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s ease;
}

.floating-wa-btn:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 15px 35px rgba(37, 211, 102, 0.6);
}

.floating-ping {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 10px;
  height: 10px;
  background: #ffffff;
  border-radius: 50%;
  animation: pingGlow 1.4s infinite;
}

@keyframes pingGlow {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(2.4); opacity: 0; }
}

.floating-icon {
  display: flex;
  align-items: center;
}

/* --- SILKY SMOOTH SCROLL REVEAL ANIMATIONS (MOTION SKILL DYNAMICS) --- */
.reveal-elem {
  opacity: 0;
  transform: translate3d(0, 48px, 0) scale(0.97);
  filter: blur(8px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.85s cubic-bezier(0.16, 1, 0.3, 1),
              filter 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform, filter;
}

.reveal-elem.is-revealed {
  opacity: 1 !important;
  transform: translate3d(0, 0, 0) scale(1) !important;
  filter: blur(0px) !important;
}

.reveal-elem.is-revealed.featured-tier {
  transform: translate3d(0, 0, 0) scale(1.02) !important;
}

.reveal-elem.is-revealed.best-value-tier {
  transform: translate3d(0, 0, 0) scale(1.03) !important;
}

.pricing-card.best-value-tier:not(.is-revealed),
.pricing-card.featured-tier:not(.is-revealed) {
  opacity: 0;
  transform: translate3d(0, 48px, 0) scale(0.97);
  filter: blur(8px);
}

/* Subtle Kinetic Glow Flash on Card Reveal */
@keyframes cardEntranceGlow {
  0% {
    box-shadow: 0 0 0 rgba(0, 240, 255, 0);
  }
  50% {
    box-shadow: 0 15px 45px rgba(0, 240, 255, 0.35), 0 0 25px rgba(168, 85, 247, 0.3);
  }
  100% {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  }
}

.pricing-card.is-revealed {
  animation: cardEntranceGlow 1.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Kinetic Hover Lift once revealed */
.pricing-card.is-revealed:not(.is-flipped):hover {
  transform: translate3d(0, -8px, 0) scale(1.015) !important;
  box-shadow: 0 25px 60px -10px rgba(0, 0, 0, 0.9), 0 0 35px rgba(0, 240, 255, 0.35) !important;
  border-color: rgba(0, 240, 255, 0.6) !important;
}

.pricing-card.featured-tier.is-revealed:not(.is-flipped):hover {
  transform: translate3d(0, -10px, 0) scale(1.035) !important;
  box-shadow: 0 30px 70px -10px rgba(0, 0, 0, 0.95), 0 0 45px rgba(168, 85, 247, 0.45) !important;
  border-color: rgba(168, 85, 247, 0.8) !important;
}

.pricing-card.best-value-tier.is-revealed:not(.is-flipped):hover {
  transform: translate3d(0, -10px, 0) scale(1.045) !important;
  box-shadow: 0 32px 75px -10px rgba(0, 0, 0, 0.95), 0 0 50px rgba(168, 85, 247, 0.5) !important;
  border-color: rgba(168, 85, 247, 0.9) !important;
}

@media (max-width: 992px) {
  /* Lightweight hardware composite isolation on mobile without disabling animations */
  .pricing-card,
  .bundle-builder-box,
  .roi-calculator-box,
  .stat-card,
  .tech-card,
  .process-card,
  .niche-feature-card,
  .comparison-card,
  .faq-item {
    background: rgba(12, 14, 28, 0.94);
  }
}

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 1024px) {
  .hero-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .showcase-stage {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .showcase-actions {
    display: flex;
    justify-content: center;
  }

  .footer-top-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  /* 1. Prevent horizontal overflow on 1.0x while enabling smooth 2D pan & pinch-zoom */
  html, body {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
    position: relative !important;
    touch-action: pan-x pan-y pinch-zoom !important;
    -webkit-overflow-scrolling: touch !important;
  }

  *, *::before, *::after {
    box-sizing: border-box !important;
  }

  main {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: visible !important;
  }

  /* GPU-optimized aurora waves for mobile: vibrant glow with hardware layer isolation */
  .aurora-waves-container {
    display: block !important;
    position: absolute !important;
    inset: -10% !important;
    width: 120% !important;
    height: 120% !important;
    filter: blur(28px) !important;
    opacity: 0.8 !important;
    contain: strict !important;
    transform: translateZ(0) !important;
    -webkit-transform: translateZ(0) !important;
    pointer-events: none !important;
  }

  .aurora-wave {
    width: 360px !important;
    height: 280px !important;
    animation-duration: 22s !important;
  }

  .cyber-grid-perspective {
    height: 42%;
    opacity: 0.65;
    transform: perspective(300px) rotateX(68deg);
  }

  /* 2. Top Announcement Bar */
  .announcement-bar {
    padding: 6px 10px !important;
    font-size: 0.74rem !important;
    line-height: 1.35 !important;
  }

  .announcement-content {
    gap: 6px !important;
    justify-content: center !important;
  }

  /* 3. Site Header & Compact Mobile Navigation */
  .site-header {
    height: 62px !important;
    padding: 0 !important;
  }

  .header-container {
    padding: 0 12px !important;
    max-width: 100% !important;
  }

  .brand-logo {
    gap: 8px !important;
  }

  .logo-mark {
    width: 34px !important;
    height: 34px !important;
  }

  .logo-icon {
    font-size: 0.92rem !important;
  }

  .brand-name {
    font-size: 1.12rem !important;
    letter-spacing: -0.3px !important;
  }

  .brand-tag {
    font-size: 0.5rem !important;
    letter-spacing: 1.2px !important;
  }

  .desktop-nav {
    display: none !important;
  }

  .header-actions {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
  }

  .header-actions #navCtaBtn {
    display: none !important; /* Kept in mobile drawer to prevent 200px header overflow */
  }

  .portal-nav-btn {
    padding: 5px 11px !important;
    font-size: 0.74rem !important;
    gap: 5px !important;
    white-space: nowrap !important;
    border-radius: var(--radius-full) !important;
  }

  .mobile-toggle {
    display: flex !important;
    width: 28px !important;
    height: 20px !important;
    margin-left: 2px !important;
  }

  /* 4. Hero Section & Kinetic Typography */
  .hero-section {
    padding: 32px 14px 36px !important;
    min-height: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: clip !important;
  }

  .hero-container {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
  }


  .hero-headline {
    font-size: clamp(1.75rem, 7.8vw, 2.3rem) !important;
    line-height: 1.18 !important;
    letter-spacing: -0.5px !important;
    margin-bottom: 18px !important;
    width: 100% !important;
    max-width: 100% !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
  }

  .kinetic-line {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 4px 6px !important;
    width: 100% !important;
  }

  .hero-headline .word {
    display: inline-block !important;
  }

  .hero-subtext {
    font-size: 0.92rem !important;
    line-height: 1.55 !important;
    padding: 0 4px !important;
    margin-bottom: 24px !important;
    max-width: 100% !important;
  }

  .hero-cta-group {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    max-width: 320px !important;
    gap: 10px !important;
    margin: 0 auto 32px !important;
  }

  .hero-cta-group .magnetic-btn {
    width: 100% !important;
    justify-content: center !important;
    padding: 13px 18px !important;
    font-size: 0.92rem !important;
  }

  /* 5. Niche Selector Pills & Insight Card */
  .niche-selector-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    margin-bottom: 32px !important;
    padding: 0 !important;
  }

  .selector-label {
    font-size: 0.72rem !important;
    text-align: center !important;
  }

  .niche-pill-tabs {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 6px !important;
    width: 100% !important;
  }

  .niche-tab {
    padding: 7px 12px !important;
    font-size: 0.78rem !important;
  }

  .niche-insight-card {
    width: 100% !important;
    max-width: 100% !important;
    padding: 14px !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
    border-radius: var(--radius-sm) !important;
    box-sizing: border-box !important;
  }

  .insight-badge {
    font-size: 0.65rem !important;
    padding: 3px 8px !important;
  }

  .insight-text {
    font-size: 0.86rem !important;
    line-height: 1.45 !important;
  }

  /* 6. Hero Stats Grid (Fits in 2 compact columns) */
  .hero-stats-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  .stat-card {
    padding: 12px 6px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .stat-value {
    font-size: 1.5rem !important;
  }

  .stat-label {
    font-size: 0.68rem !important;
    text-align: center !important;
    line-height: 1.3 !important;
  }

  /* 7. Local Ticker Section (Eliminates 6868px flex overflow) */
  .ticker-section {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
    padding: 10px 0 !important;
    box-sizing: border-box !important;
  }

  .ticker-label-badge {
    font-size: 0.62rem !important;
    padding: 4px 8px !important;
    margin-right: 6px !important;
    flex-shrink: 0 !important;
    letter-spacing: 1px !important;
  }

  .ticker-track-wrapper {
    min-width: 0 !important;
    flex: 1 1 0% !important;
    overflow: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .ticker-item {
    font-size: 0.78rem !important;
  }

  /* 8. Mobile 3D Wave & Helix Stage */
  .wave-stage-section {
    padding: 36px 0 50px !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
  }

  .wave-stage-header {
    margin-bottom: 20px !important;
    padding: 0 12px !important;
  }


  .wave-3d-viewport {
    height: 425px !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
    touch-action: pan-y !important;
    mask-image: none !important;
    -webkit-mask-image: none !important;
  }

  .wave-card {
    width: 240px !important;
    height: 180px !important;
    left: -120px !important;
    top: -90px !important;
    border-radius: 16px !important;
    background: rgba(14, 18, 36, 0.94) !important;
    border: 1px solid rgba(0, 240, 255, 0.28) !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.75), inset 0 0 15px rgba(0, 240, 255, 0.05) !important;
    filter: none !important;
    will-change: auto !important;
  }

  /* Release mobile GPU compositor memory so textures never drop */
  .hero-ambient-glow,
  .hero-orb,
  .aurora-glow,
  .reveal-elem,
  .wave-card {
    will-change: auto !important;
  }

  .wave-card.is-front-highlight {
    background: rgba(16, 22, 46, 0.98) !important;
    border-color: rgba(0, 240, 255, 0.8) !important;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.9), 0 0 25px rgba(0, 240, 255, 0.25) !important;
  }

  .wave-card-sheen {
    display: none !important;
  }

  .wave-card-front {
    padding: 14px !important;
    border-radius: 16px !important;
  }

  .wave-card-title {
    font-size: 0.98rem !important;
  }

  .wave-card-sub {
    font-size: 0.72rem !important;
    margin: 2px 0 6px !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .wave-card-icon {
    font-size: 1.35rem !important;
    margin: 2px 0 !important;
  }

  .wave-card-stats {
    padding-top: 5px !important;
    font-size: 0.7rem !important;
  }

  .stage-ambient-flare {
    width: 220px !important;
    height: 220px !important;
    filter: blur(25px) !important;
  }

  .wave-heading {
    font-size: clamp(1.4rem, 6vw, 2.2rem) !important;
    line-height: 1.18 !important;
  }

  /* Mobile Client Quick-Action Dock (1-Tap Thumb Access) */
  .mobile-client-dock {
    display: flex !important;
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 99998 !important;
    background: rgba(10, 13, 26, 0.94) !important;
    backdrop-filter: blur(24px) !important;
    -webkit-backdrop-filter: blur(24px) !important;
    border-top: 1px solid rgba(0, 240, 255, 0.25) !important;
    padding: 8px 10px calc(env(safe-area-inset-bottom, 8px) + 6px) !important;
    justify-content: space-around !important;
    align-items: center !important;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 240, 255, 0.12) !important;
  }

  .dock-btn {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 3px !important;
    background: none !important;
    border: none !important;
    color: var(--text-secondary) !important;
    text-decoration: none !important;
    font-family: var(--font-body) !important;
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    padding: 4px 6px !important;
    border-radius: 12px !important;
    transition: all 0.25s ease !important;
    cursor: pointer !important;
    min-width: 62px !important;
    touch-action: manipulation !important;
  }

  .dock-btn .dock-icon {
    font-size: 1.25rem !important;
    line-height: 1 !important;
    transition: transform 0.2s ease !important;
  }

  .dock-btn:active .dock-icon {
    transform: scale(0.85) !important;
  }

  .dock-btn.dock-btn-wa {
    color: #25d366 !important;
  }

  .dock-btn.dock-btn-wa .dock-icon {
    filter: drop-shadow(0 0 8px rgba(37, 211, 102, 0.6)) !important;
  }

  .dock-btn.dock-btn-call {
    color: #38bdf8 !important;
  }

  .dock-btn.dock-btn-call .dock-icon {
    filter: drop-shadow(0 0 8px rgba(56, 189, 248, 0.6)) !important;
  }

  .dock-btn.dock-btn-pricing {
    color: #f59e0b !important;
  }

  .dock-btn.dock-btn-pricing .dock-icon {
    filter: drop-shadow(0 0 8px rgba(245, 158, 11, 0.6)) !important;
  }

  .dock-btn.dock-btn-toggle {
    color: var(--neon-cyan) !important;
  }

  .dock-btn.dock-btn-toggle .dock-icon {
    filter: drop-shadow(0 0 8px rgba(0, 240, 255, 0.6)) !important;
  }

  /* Add padding to body so dock never obscures content */
  body {
    padding-bottom: calc(env(safe-area-inset-bottom, 8px) + 82px) !important;
  }

  body.drawer-open .mobile-client-dock {
    display: none !important;
  }

  /* Hide old standalone floating WA button on phone (dock has WhatsApp) */
  .floating-wa-widget,
  .view-mode-switcher {
    display: none !important;
  }

  /* 9. Universal Section Containers & Responsive Typography */
  .section-container {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 14px !important;
    box-sizing: border-box !important;
  }

  .section-header {
    margin-bottom: 32px !important;
  }

  .section-title {
    font-size: clamp(1.5rem, 6.5vw, 2rem) !important;
    line-height: 1.22 !important;
    word-break: break-word !important;
  }

  .section-subtext {
    font-size: 0.88rem !important;
    line-height: 1.5 !important;
  }

  /* 10. Responsive Grids - Stack to single column on mobile */
  .pricing-grid,
  .roi-grid,
  .niche-cards-container,
  .tech-grid,
  .process-grid,
  .ethics-grid,
  .footer-top-grid,
  .bundle-items-grid,
  .showcase-stage {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .roi-calculator-box {
    padding: 18px !important;
  }

  .pricing-card.featured-tier {
    transform: none !important;
  }

  .phone-frame {
    width: 100% !important;
    max-width: 310px !important;
    height: 520px !important;
    margin: 0 auto !important;
  }

  /* 11. Comparison Table - Smooth Horizontal Scrolling */
  .table-responsive {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    padding-bottom: 8px !important;
    box-sizing: border-box !important;
  }

  .comparison-table {
    min-width: 320px !important;
    width: 100% !important;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 9px 7px !important;
    font-size: 0.78rem !important;
    line-height: 1.3 !important;
  }

  /* 12. Massive WhatsApp CTA Button & Container */
  .cta-section {
    padding: 40px 10px !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: clip !important;
  }

  .mega-cta-container {
    padding: 36px 14px !important;
    border-radius: var(--radius-md) !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .mega-cta-title {
    font-size: clamp(1.4rem, 6.4vw, 1.95rem) !important;
    line-height: 1.2 !important;
    letter-spacing: -0.4px !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    margin-bottom: 16px !important;
  }

  .mega-cta-subtext {
    font-size: 0.88rem !important;
    line-height: 1.5 !important;
    margin-bottom: 24px !important;
    padding: 0 4px !important;
  }

  .btn-cta-massive {
    width: 100% !important;
    max-width: 100% !important;
    padding: 15px 16px !important;
    font-size: 0.94rem !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    text-align: center !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
  }

  .cta-massive-text {
    font-size: 0.92rem !important;
    line-height: 1.3 !important;
  }

  .direct-contact-bar {
    flex-direction: column !important;
    gap: 10px !important;
    width: 100% !important;
  }

  .contact-pill {
    justify-content: center !important;
    padding: 10px 14px !important;
    font-size: 0.85rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* 13. Popout Modal & Drawer */
  .popout-modal-card {
    max-width: calc(100% - 20px) !important;
    width: 100% !important;
    padding: 22px 14px !important;
    max-height: 88vh !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }

  .modal-metric-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 6px !important;
  }

  .modal-metric-card {
    padding: 8px 4px !important;
  }

  .modal-metric-val {
    font-size: 1.1rem !important;
  }

  .modal-metric-lbl {
    font-size: 0.62rem !important;
  }

  .footer-bottom-bar {
    flex-direction: column !important;
    text-align: center !important;
    gap: 12px !important;
  }

  .floating-text {
    display: none !important;
  }

  .floating-wa-btn {
    padding: 13px !important;
    border-radius: 50% !important;
    bottom: 18px !important;
    right: 18px !important;
  }
}

/* ==========================================================================
   SKILL-DRIVEN ENHANCEMENTS (UI-UX-PRO-MAX, TASTE-SKILL, MOTION, DESIGN-SYSTEM)
   ========================================================================== */

/* 1. Accessibility: Skip to Content & Focus Indicators */
.skip-link {
  position: absolute;
  top: -70px;
  left: 20px;
  background: var(--neon-cyan);
  color: #050508;
  font-weight: 800;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  z-index: 9999;
  text-decoration: none;
  box-shadow: 0 0 20px var(--neon-cyan);
  transition: top 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.skip-link:focus {
  top: 16px;
}

:focus-visible {
  outline: 2px solid var(--neon-cyan);
  outline-offset: 3px;
}

/* 2. Tactile Press Physics (taste-skill & motion) */
button:active, 
.magnetic-btn:active, 
.btn-card-cta:active, 
.niche-tab:active, 
.work-tab-btn:active, 
.pricing-filter-btn:active,
.sim-add-btn:active,
.sim-order-btn:active {
  transform: scale(0.97) !important;
  transition: transform 0.08s ease !important;
}

/* 3. Pricing Filter Tabs */
.pricing-filter-wrapper {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.pricing-filter-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  min-height: 40px;
}

.pricing-filter-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.pricing-filter-btn.active {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.25) 0%, rgba(0, 240, 255, 0.25) 100%);
  border-color: var(--neon-cyan);
  color: #ffffff;
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.3);
}

@media (max-width: 992px) {
  .pricing-filter-wrapper {
    display: flex !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    margin-bottom: 20px !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    padding: 6px 16px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .pricing-filter-wrapper::-webkit-scrollbar {
    display: none !important;
  }

  .pricing-filter-btn {
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    padding: 8px 14px !important;
    font-size: 0.82rem !important;
    min-height: 38px !important;
  }

  .pricing-card {
    padding: 24px 18px !important;
  }
}

.pricing-card.is-dimmed {
  opacity: 0.22 !important;
  filter: grayscale(60%) !important;
  transform: scale(0.96) !important;
  pointer-events: none;
}

.pricing-card.is-highlighted {
  opacity: 1 !important;
  filter: none !important;
  border-color: var(--neon-cyan) !important;
  box-shadow: 0 0 35px rgba(0, 240, 255, 0.35) !important;
}

/* 4. Interactive Custom Growth Bundle Builder */
.bundle-builder-box {
  margin-top: 48px;
  padding: 40px;
  background: linear-gradient(150deg, rgba(20, 18, 40, 0.9) 0%, rgba(10, 12, 22, 0.95) 100%);
  border: 1px solid rgba(168, 85, 247, 0.4);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.bundle-builder-header {
  text-align: center;
  margin-bottom: 28px;
}

.bundle-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: #ffffff;
  margin: 6px 0 8px;
}

.bundle-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.bundle-items-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}

.bundle-item-label {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 16px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.25s ease;
  user-select: none;
  min-height: 48px;
}

.bundle-item-label:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(0, 240, 255, 0.3);
}

.bundle-item-label.selected {
  background: rgba(168, 85, 247, 0.15);
  border-color: var(--neon-purple);
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.25);
}

.bundle-checkbox {
  width: 20px;
  height: 20px;
  accent-color: var(--neon-cyan);
  cursor: pointer;
}

.bundle-item-title {
  font-size: 0.95rem;
  color: #ffffff;
  font-weight: 600;
  display: block;
}

.bundle-item-price {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--neon-mint);
  display: block;
  margin-top: 2px;
}

.bundle-summary-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 24px 30px;
  flex-wrap: wrap;
  gap: 20px;
}

.bundle-total-text {
  font-size: 0.88rem;
  color: var(--text-muted);
  display: block;
}

.bundle-total-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
  color: #ffffff;
  display: block;
  letter-spacing: -0.5px;
}

.bundle-note-banner {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(0, 240, 255, 0.05);
  border: 1px solid rgba(0, 240, 255, 0.22);
  border-radius: var(--radius-md);
  padding: 10px 18px;
  margin-top: 14px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
  text-align: left;
  max-width: 760px;
}

.bundle-note-banner .note-icon {
  font-size: 1.15rem;
  flex-shrink: 0;
}

.bundle-summary-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.bundle-disclaimer-sub {
  font-size: 0.78rem;
  color: var(--neon-mint);
  margin-top: 4px;
  font-family: var(--font-mono);
  letter-spacing: -0.2px;
}

/* ==========================================================================
   6. 3D KINETIC WAVE GALLERY & HELIX SPIRAL SHOWCASE
   ========================================================================== */
.wave-gallery-container {
  margin-bottom: 70px;
  position: relative;
  z-index: 10;
}

.wave-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 30px;
}

.wave-title-group .calc-badge {
  display: inline-block;
  margin-bottom: 6px;
}

.wave-heading {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 6px;
}

.wave-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  max-width: 620px;
}

.wave-view-toggles {
  display: inline-flex;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  padding: 4px;
  gap: 4px;
}

.wave-toggle-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.wave-toggle-btn:hover {
  color: #ffffff;
}

.wave-toggle-btn.active {
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.25) 0%, rgba(168, 85, 247, 0.25) 100%);
  border: 1px solid var(--neon-cyan);
  color: #ffffff;
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.3);
}



/* Stage Swipe Micro-Hint */
.stage-swipe-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 12px auto 14px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--neon-cyan);
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.22);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  max-width: fit-content;
  letter-spacing: 0.02em;
}

.swipe-pulse {
  display: inline-block;
  animation: swipePulseAnim 2s ease-in-out infinite;
}

@keyframes swipePulseAnim {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}

/* Mobile Client Dock (Default hidden on desktop monitors) */
.mobile-client-dock {
  display: none;
}

.wave-3d-viewport {
  position: relative;
  width: 100%;
  height: 540px;
  perspective: 1200px;
  perspective-origin: 50% 50%;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: radial-gradient(ellipse at 50% 60%, rgba(20, 24, 45, 0.7) 0%, rgba(7, 8, 15, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8), inset 0 0 40px rgba(0, 240, 255, 0.05);
  mask-image: linear-gradient(to bottom, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 8%, black 92%, transparent 100%);
  cursor: grab;
  user-select: none;
  transition: height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}



/* 3D Pop-Out Detail Modal System (Accessible from anywhere, including Fullscreen) */
.popout-modal-backdrop {
  position: fixed !important;
  inset: 0 !important;
  z-index: 200000 !important;
  background: rgba(4, 5, 14, 0.88);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  display: flex !important;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.popout-modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.popout-modal-card {
  position: relative;
  max-width: 580px;
  width: 100%;
  background: linear-gradient(145deg, rgba(16, 20, 44, 0.97) 0%, rgba(8, 10, 24, 0.98) 100%);
  border: 1px solid rgba(0, 240, 255, 0.4);
  border-radius: 28px;
  padding: 34px;
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.95), 0 0 50px rgba(0, 240, 255, 0.25);
  transform: scale(0.9) translateY(24px);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.popout-modal-backdrop.active .popout-modal-card {
  transform: scale(1) translateY(0);
}

.modal-glow-ambient {
  position: absolute;
  top: -80px;
  right: -80px;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.35) 0%, rgba(168, 85, 247, 0.2) 50%, transparent 70%);
  pointer-events: none;
  filter: blur(50px);
}

.modal-close-btn {
  position: absolute;
  top: 18px;
  right: 20px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
}

.modal-close-btn:hover {
  background: rgba(255, 0, 85, 0.3);
  border-color: #ff0055;
  transform: rotate(90deg);
}

.modal-tag {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--neon-cyan);
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.modal-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 14px;
  line-height: 1.25;
}

.modal-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
}

.modal-metric-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 26px;
}

.metric-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 12px 14px;
  text-align: center;
}

.metric-box .m-val {
  display: block;
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--neon-cyan);
  margin-bottom: 2px;
}

.metric-box .m-label {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.modal-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.modal-action-btn {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  padding: 12px 26px !important;
  border-radius: var(--radius-full) !important;
  text-decoration: none !important;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4) !important;
  transition: all 0.3s ease !important;
}

.modal-action-btn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6) !important;
}

.wave-3d-viewport:active {
  cursor: grabbing;
}

.stage-ambient-flare {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.15) 0%, rgba(168, 85, 247, 0.08) 50%, transparent 70%);
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  filter: blur(40px);
}

.wave-3d-track {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  transform-style: preserve-3d;
  will-change: transform;
  z-index: 10;
}

.wave-card {
  position: absolute;
  width: 310px;
  height: 230px;
  left: -155px;
  top: -115px;
  perspective: 1200px;
  transform-style: preserve-3d;
  cursor: pointer;
  border-radius: 20px;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.wave-card.is-front-highlight {
  box-shadow: 0 0 35px rgba(0, 240, 255, 0.4), 0 20px 50px rgba(0, 0, 0, 0.8);
}

.wave-card.is-front-highlight .wave-card-front {
  border-color: rgba(0, 240, 255, 0.7) !important;
}

.wave-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.wave-card-front {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 24px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(22, 26, 46, 0.94) 0%, rgba(10, 13, 26, 0.97) 100%);
  border: 1px solid rgba(0, 240, 255, 0.3);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.22);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  overflow: hidden;
}

.wave-card-sheen {
  position: absolute;
  top: 0;
  left: -100%;
  width: 200%;
  height: 100%;
  background: linear-gradient(115deg, transparent 20%, rgba(255, 255, 255, 0.14) 45%, transparent 60%);
  pointer-events: none;
  animation: waveCardSheen 5s infinite ease-in-out;
}

@keyframes waveCardSheen {
  0% { transform: translateX(0); }
  50%, 100% { transform: translateX(100%); }
}

/* FROSTED HELIX BACK PANEL - Solves mirrored text and gives true helix depth */
.wave-card-back {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 22px;
  border-radius: 20px;
  transform: rotateY(180deg);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  background: rgba(14, 18, 38, 0.86);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1.5px solid rgba(0, 240, 255, 0.38);
  box-shadow: inset 0 0 30px rgba(0, 240, 255, 0.15), 0 15px 40px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.frosted-helix-back {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.frosted-watermark {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 900;
  letter-spacing: 2px;
  color: rgba(0, 240, 255, 0.4);
  text-align: right;
}

.frosted-specs {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: rgba(0, 0, 0, 0.42);
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.f-spec-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.74rem;
}

.f-label {
  font-family: var(--font-mono);
  color: var(--text-muted);
  font-weight: 600;
}

.f-val {
  color: var(--neon-mint);
  font-weight: 700;
}

.frosted-badge {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--neon-cyan);
  text-align: center;
  background: rgba(0, 240, 255, 0.12);
  padding: 4px 8px;
  border-radius: 20px;
  border: 1px solid rgba(0, 240, 255, 0.3);
}

/* 3D POP-OUT on Hover */
.wave-card:hover {
  border-color: var(--neon-cyan);
  box-shadow: 0 25px 65px rgba(0, 240, 255, 0.45), inset 0 0 25px rgba(0, 240, 255, 0.25);
  z-index: 100 !important;
}

.wave-card-glow {
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: radial-gradient(circle at 50% 0%, rgba(0, 240, 255, 0.22) 0%, transparent 70%);
  pointer-events: none;
}

.wave-card-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 1.5px;
  color: var(--neon-cyan);
  font-weight: 700;
  text-transform: uppercase;
}

.wave-card-icon {
  font-size: 2rem;
  margin: 4px 0 2px;
}

.wave-card-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
  line-height: 1.2;
}

.wave-card-sub {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.4;
  margin: 4px 0 8px;
}

.wave-card-stats {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--neon-mint);
  font-weight: 600;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 8px;
}

.badge-accent {
  background: rgba(0, 240, 255, 0.15);
  color: var(--neon-cyan);
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.wave-card-footer {
  display: flex;
  justify-content: flex-end;
}

.wave-pop-hint {
  font-size: 0.72rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

.wave-card:hover .wave-pop-hint {
  color: var(--neon-cyan);
}

/* 3D Pop-Out Detail Modal Window */
.popout-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(5, 5, 12, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.popout-modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.popout-modal-card {
  position: relative;
  width: 100%;
  max-width: 580px;
  background: linear-gradient(145deg, rgba(20, 24, 48, 0.98) 0%, rgba(10, 12, 24, 0.99) 100%);
  border: 1.5px solid var(--neon-cyan);
  box-shadow: 0 0 60px rgba(0, 240, 255, 0.3), inset 0 0 30px rgba(0, 240, 255, 0.1);
  border-radius: 24px;
  padding: 36px 32px;
  transform: scale(0.9) translateY(20px);
  transition: transform 0.4s cubic-bezier(0.34, 1.4, 0.64, 1);
  overflow: hidden;
}

.popout-modal-backdrop.active .popout-modal-card {
  transform: scale(1) translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 1.1rem;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.modal-close-btn:hover {
  background: var(--neon-pink);
  border-color: var(--neon-pink);
  box-shadow: 0 0 15px rgba(236, 72, 153, 0.5);
  transform: rotate(90deg);
}

.modal-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--neon-cyan);
  margin-bottom: 8px;
}

.modal-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 12px;
}

.modal-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 24px;
}

.modal-metric-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}

.metric-box {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(0, 240, 255, 0.2);
  border-radius: 14px;
  padding: 14px 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.m-val {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--neon-mint);
}

.m-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
}

.modal-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.modal-action-btn {
  flex: 1;
  text-align: center;
  padding: 14px 18px;
  font-size: 0.92rem;
  border-radius: var(--radius-full);
  text-decoration: none;
  font-weight: 700;
}

.wave-nav-controls {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 10;
}

.wave-nav-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(15, 18, 30, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 1.1rem;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.25s ease;
}

.wave-nav-btn:hover {
  background: var(--neon-cyan);
  color: #050508;
  border-color: var(--neon-cyan);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.4);
}

.wave-progress-dots {
  display: flex;
  gap: 8px;
}

.wave-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: all 0.3s ease;
}

.wave-dot.active {
  background: var(--neon-cyan);
  width: 24px;
  border-radius: var(--radius-full);
  box-shadow: 0 0 10px var(--neon-cyan);
}

/* ==========================================================================
   7. 3D CARD FLIP & POP-OUT LAYER INTERACTION (.card-flip-inner ARCHITECTURE)
   ========================================================================== */
.pricing-card.flip-card {
  perspective: 1600px;
  position: relative;
  transform-style: preserve-3d;
  cursor: pointer;
}

.card-flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.8s cubic-bezier(0.34, 1.4, 0.64, 1);
  display: flex;
  flex-direction: column;
}

.pricing-card.is-flipped .card-flip-inner {
  transform: rotateY(180deg);
}

.card-header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 14px;
  position: relative;
  z-index: 10;
  gap: 8px;
}

.pricing-card.best-value-tier .card-header-flex {
  padding-right: 52px;
}

.card-header-flex .card-badge {
  margin-bottom: 0 !important;
  font-size: 0.70rem;
  padding: 4px 10px;
  white-space: nowrap;
  flex-shrink: 1;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-flip-btn {
  background: rgba(0, 240, 255, 0.15);
  border: 1px solid rgba(0, 240, 255, 0.45);
  color: var(--neon-cyan);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  cursor: pointer;
  z-index: 25;
  transition: all 0.25s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.card-flip-btn:hover {
  background: var(--neon-cyan);
  color: #050508;
  box-shadow: 0 0 18px rgba(0, 240, 255, 0.5);
  transform: scale(1.06);
}

.flip-hint-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--neon-cyan);
  background: rgba(0, 240, 255, 0.1);
  border: 1px dashed rgba(0, 240, 255, 0.35);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  margin: 6px 0 12px;
  width: fit-content;
  transition: all 0.25s ease;
}

.pricing-card:hover .flip-hint-pill {
  background: rgba(0, 240, 255, 0.25);
  border-color: var(--neon-cyan);
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.4);
  transform: translateZ(25px);
}

.card-front-content {
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  display: flex;
  flex-direction: column;
}

.card-back-content {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 34px 28px;
  border-radius: var(--radius-lg);
  background: linear-gradient(150deg, rgba(16, 14, 34, 0.98) 0%, rgba(8, 10, 22, 0.99) 100%);
  border: 1.5px solid var(--neon-cyan);
  box-shadow: 0 0 40px rgba(0, 240, 255, 0.25), inset 0 0 25px rgba(0, 240, 255, 0.08);
  transform: rotateY(180deg);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-back-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--neon-mint);
  font-weight: 700;
  letter-spacing: 1px;
}

.card-back-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  margin: 6px 0 16px;
  line-height: 1.3;
}

.card-back-specs {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}

.card-back-specs li {
  display: flex;
  flex-direction: column;
  font-size: 0.85rem;
  line-height: 1.3;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 6px;
}

.card-back-specs .spec-k {
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.card-back-specs .spec-v {
  color: #ffffff;
  font-weight: 600;
}

.card-back-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.btn-flip-back {
  width: 100%;
  padding: 10px 18px;
  background: rgba(0, 240, 255, 0.15);
  border: 1px solid var(--neon-cyan);
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.25s ease;
  display: grid;
  place-items: center;
}

.btn-flip-back:hover {
  background: var(--neon-cyan);
  color: #050508;
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.4);
}

.btn-back-whatsapp {
  width: 100%;
  padding: 10px 18px;
  background: linear-gradient(135deg, rgba(37, 211, 102, 0.2) 0%, rgba(18, 140, 126, 0.3) 100%);
  border: 1px solid rgba(37, 211, 102, 0.55);
  color: #25d366;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  text-decoration: none;
  display: grid;
  place-items: center;
  transition: all 0.25s ease;
}

.btn-back-whatsapp:hover {
  background: #25d366;
  color: #050508;
  box-shadow: 0 0 20px rgba(37, 211, 102, 0.5);
}

/* 3D POP-OUT LAYERS (Transforms elements forward in Z-space on Hover) */
.pricing-card .card-badge,
.pricing-card .service-icon,
.pricing-card .card-title,
.pricing-card .dual-price-box,
.pricing-card .price-box,
.pricing-card .btn-card-cta,
.pricing-card .btn-primary,
.pricing-card .flip-hint-pill {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
  will-change: transform;
}

.pricing-card:not(.is-flipped):hover .card-badge {
  transform: translateZ(40px);
}
.pricing-card:not(.is-flipped):hover .service-icon {
  transform: translateZ(48px) scale(1.1);
}
.pricing-card:not(.is-flipped):hover .card-title {
  transform: translateZ(32px);
}
.pricing-card:not(.is-flipped):hover .dual-price-box,
.pricing-card:not(.is-flipped):hover .price-box {
  transform: translateZ(46px);
}
.pricing-card:not(.is-flipped):hover .btn-card-cta,
.pricing-card:not(.is-flipped):hover .btn-primary {
  transform: translateZ(55px);
}

/* Nav & Stage CTA Button Styles */
.nav-link.nav-highlight {
  color: var(--neon-cyan) !important;
  font-weight: 700;
  text-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
}

.btn-stage-cta {
  background: rgba(0, 240, 255, 0.12);
  border: 1px solid rgba(0, 240, 255, 0.45);
  color: var(--neon-cyan);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.15);
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
}

.btn-stage-cta:hover {
  background: rgba(0, 240, 255, 0.22);
  border-color: var(--neon-cyan);
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.45);
  transform: translateY(-2px);
  color: #ffffff;
}

.wave-stage-section {
  padding: 80px 0 100px;
  position: relative;
  z-index: 10;
}

/* 5. Reduced Motion Compliance (a11y) */
@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;
  }
  .pricing-card.best-value-tier .card-glow-border {
    animation: none !important;
  }
  .ticker-track {
    animation: tickerScroll 24s linear infinite !important;
    -webkit-animation: tickerScroll 24s linear infinite !important;
  }
}

/* 6. Client & Admin Portal Nav Button */
.portal-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.12), rgba(168, 85, 247, 0.16));
  border: 1px solid rgba(0, 240, 255, 0.4);
  color: var(--neon-cyan);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
}

.portal-nav-btn:hover {
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.25), rgba(168, 85, 247, 0.35));
  border-color: var(--neon-cyan);
  box-shadow: 0 0 25px rgba(0, 240, 255, 0.45);
  transform: translateY(-1px);
}

.portal-dot-live {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: pulseDotLive 2s infinite;
}

.mobile-portal-text {
  display: none;
}

@media (max-width: 768px) {
  .desktop-portal-text {
    display: none !important;
  }
  .mobile-portal-text {
    display: inline !important;
  }
}

@keyframes pulseDotLive {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}


/* When forced desktop layout is active on small screens */
html.force-desktop-layout,
body.force-desktop-layout {
  min-width: 1240px !important;
  width: 1240px !important;
  max-width: 1240px !important;
  overflow-x: auto !important;
  overflow-y: auto !important;
  touch-action: pan-x pan-y pinch-zoom !important;
  -webkit-overflow-scrolling: touch !important;
  overscroll-behavior: auto !important;
  -webkit-text-size-adjust: 100% !important;
  text-size-adjust: 100% !important;
  position: relative !important;
  margin: 0 auto !important;
}

html.force-desktop-layout main,
body.force-desktop-layout main,
html.force-desktop-layout section,
body.force-desktop-layout section,
html.force-desktop-layout .section-container,
body.force-desktop-layout .section-container {
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: visible !important;
}

body.force-desktop-layout .site-header {
  position: sticky !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  min-width: 1240px !important;
  height: 80px !important;
  z-index: 1000 !important;
  background: rgba(8, 12, 28, 0.94) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  border-bottom: 1px solid rgba(0, 240, 255, 0.2) !important;
  transform: translateZ(0) !important;
  -webkit-transform: translateZ(0) !important;
  will-change: transform !important;
}

body.force-desktop-layout .desktop-nav {
  display: block !important;
}

body.force-desktop-layout .mobile-toggle {
  display: none !important;
}

body.force-desktop-layout .header-actions #navCtaBtn {
  display: inline-flex !important;
}

body.force-desktop-layout .desktop-portal-text {
  display: inline !important;
}

body.force-desktop-layout .mobile-portal-text {
  display: none !important;
}

body.force-desktop-layout .hero-headline {
  font-size: clamp(2.6rem, 6.5vw, 5.2rem) !important;
}

body.force-desktop-layout .hero-stats-grid {
  grid-template-columns: repeat(4, 1fr) !important;
}

body.force-desktop-layout .services-grid {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)) !important;
}

body.force-desktop-layout .pricing-grid {
  display: grid !important;
  grid-template-columns: repeat(6, 1fr) !important;
  gap: 28px !important;
}

body.force-desktop-layout .pricing-grid > .pricing-card:nth-child(1),
body.force-desktop-layout .pricing-grid > .pricing-card:nth-child(2),
body.force-desktop-layout .pricing-grid > .pricing-card:nth-child(3),
body.force-desktop-layout .pricing-grid > .pricing-card:nth-child(4),
body.force-desktop-layout .pricing-grid > .pricing-card:nth-child(5),
body.force-desktop-layout .pricing-grid > .pricing-card:nth-child(6) {
  grid-column: span 2 !important;
}

body.force-desktop-layout .pricing-grid > .pricing-card:nth-child(7),
body.force-desktop-layout .pricing-grid > .pricing-card:nth-child(8) {
  grid-column: span 3 !important;
}

body.force-desktop-layout .roi-grid {
  grid-template-columns: 1.2fr 1fr !important;
}

body.force-desktop-layout .footer-top-grid {
  grid-template-columns: 1.8fr 1fr 1fr 1.2fr !important;
}

/* FULL ANIMATION FIDELITY: Hardware composite isolation for buttery 60 FPS zoom */
body.force-desktop-layout .aurora-waves-container {
  display: block !important;
  contain: strict !important;
  transform: translateZ(0) !important;
  -webkit-transform: translateZ(0) !important;
  filter: blur(28px) !important;
  pointer-events: none !important;
}

body.force-desktop-layout .glow-orb {
  display: block !important;
  contain: strict !important;
  transform: translateZ(0) !important;
  -webkit-transform: translateZ(0) !important;
  filter: blur(45px) !important;
  pointer-events: none !important;
}

body.force-desktop-layout .cyber-grid-perspective {
  display: block !important;
  contain: strict !important;
  transform: perspective(300px) rotateX(68deg) translateZ(0) !important;
  pointer-events: none !important;
}

/* Hardware-accelerated cards with glassmorphism that pan instantly */
body.force-desktop-layout .glass-panel,
body.force-desktop-layout .pricing-card,
body.force-desktop-layout .bundle-builder-box,
body.force-desktop-layout .roi-calculator-box,
body.force-desktop-layout .stat-card,
body.force-desktop-layout .tech-card,
body.force-desktop-layout .process-card,
body.force-desktop-layout .niche-feature-card,
body.force-desktop-layout .comparison-card,
body.force-desktop-layout .faq-item {
  will-change: transform, opacity !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
}

/* Hide redundant mobile elements in desktop layout */
body.force-desktop-layout .mobile-client-dock,
.desktop-mode-top-banner {
  display: none !important;
}

/* ==========================================================================
   PROOF OF CRAFT & LIVE ENGINEERING SHOWCASE
   ========================================================================== */

/* Navbar & Drawer Highlights */
.nav-highlight-cyan {
  background: rgba(0, 245, 212, 0.12) !important;
  border: 1px solid rgba(0, 245, 212, 0.35) !important;
  color: var(--neon-cyan, #00f5d4) !important;
  border-radius: 999px !important;
  padding: 6px 14px !important;
  font-weight: 600 !important;
  transition: all 0.25s ease !important;
}

.nav-highlight-cyan:hover {
  background: rgba(0, 245, 212, 0.22) !important;
  box-shadow: 0 0 16px rgba(0, 245, 212, 0.3) !important;
}

.drawer-highlight-cyan {
  color: var(--neon-cyan, #00f5d4) !important;
  font-weight: 700 !important;
}

/* Benchmark Stats Ribbon */
.craft-benchmark-ribbon {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 36px auto 32px auto;
  max-width: 1140px;
}

.benchmark-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 14px 18px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.3s ease;
}

.benchmark-pill:hover {
  border-color: rgba(0, 245, 212, 0.3);
  background: rgba(15, 23, 42, 0.85);
  transform: translateY(-2px);
}

.benchmark-icon {
  font-size: 1.5rem;
  line-height: 1;
}

.benchmark-text {
  display: flex;
  flex-direction: column;
}

.benchmark-text strong {
  font-size: 0.95rem;
  color: #ffffff;
  font-weight: 700;
  letter-spacing: -0.2px;
}

.benchmark-text span {
  font-size: 0.78rem;
  color: var(--text-muted, #94a3b8);
  margin-top: 2px;
}

/* Filter Bar */
.craft-filter-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.craft-filter-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary, #cbd5e1);
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(8px);
}

.craft-filter-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(0, 245, 212, 0.25);
  color: #ffffff;
}

.craft-filter-btn.active {
  background: rgba(0, 245, 212, 0.16);
  border-color: var(--neon-cyan, #00f5d4);
  color: var(--neon-cyan, #00f5d4);
  box-shadow: 0 0 20px rgba(0, 245, 212, 0.2);
}

/* Showcase Grid */
.craft-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  gap: 32px;
  max-width: 1240px;
  margin: 0 auto 60px auto;
}

/* Showcase Card */
.craft-card {
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.75) 0%, rgba(10, 16, 30, 0.9) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, box-shadow 0.4s ease, opacity 0.3s ease;
  position: relative;
}

.craft-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 245, 212, 0.4);
  box-shadow: 0 24px 60px -15px rgba(0, 245, 212, 0.16), 0 0 35px rgba(0, 245, 212, 0.06);
}

.craft-card.hidden {
  display: none !important;
}

/* Browser Mockup Top Bar */
.craft-browser-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(6, 10, 18, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 12px 18px;
}

.browser-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}

.b-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: inline-block;
}

.b-dot.red { background: #ef4444; box-shadow: 0 0 6px rgba(239, 68, 68, 0.4); }
.b-dot.yellow { background: #f59e0b; box-shadow: 0 0 6px rgba(245, 158, 11, 0.4); }
.b-dot.green { background: #10b981; box-shadow: 0 0 6px rgba(16, 185, 129, 0.4); }

.browser-url-pill {
  flex-grow: 1;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  padding: 5px 12px;
  color: var(--neon-cyan, #00f5d4);
  font-family: var(--font-mono, monospace);
  font-size: 0.74rem;
  letter-spacing: 0.02em;
}

/* Visual Abstract Banners */
.craft-visual-banner {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}



.banner-cafe-flagship {
  background: radial-gradient(circle at 50% 50%, rgba(212, 175, 55, 0.26) 0%, rgba(180, 83, 9, 0.16) 35%, rgba(6, 10, 18, 0.98) 75%);
}

.banner-luxury-noir {
  background: radial-gradient(circle at 50% 50%, rgba(245, 158, 11, 0.22) 0%, rgba(130, 80, 20, 0.14) 40%, rgba(6, 10, 18, 0.98) 75%);
}

.banner-bistro-fig {
  background: radial-gradient(circle at 50% 50%, rgba(16, 185, 129, 0.22) 0%, rgba(180, 83, 9, 0.12) 40%, rgba(6, 10, 18, 0.98) 75%);
}

.craft-card-flagship {
  border-color: rgba(212, 175, 55, 0.35);
  box-shadow: 0 20px 50px -10px rgba(212, 175, 55, 0.12), 0 0 30px rgba(0, 245, 212, 0.05);
}

.craft-card-flagship:hover {
  border-color: rgba(212, 175, 55, 0.7);
  box-shadow: 0 28px 70px -15px rgba(212, 175, 55, 0.28), 0 0 45px rgba(212, 175, 55, 0.15);
}

@media (min-width: 1024px) {
  .craft-card.craft-card-flagship {
    grid-column: 1 / -1;
  }
}

.banner-crest {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
}

.banner-icon {
  font-size: 2.2rem;
  line-height: 1;
  filter: drop-shadow(0 0 12px rgba(0, 245, 212, 0.5));
}

.banner-level-tag {
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #e2e8f0;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 4px 12px;
}

/* Card Body */
.craft-card-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.craft-card-header {
  margin-bottom: 14px;
}

.craft-card-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.4px;
  line-height: 1.3;
  margin-bottom: 4px;
  transition: color 0.3s ease;
}

.craft-card:hover .craft-card-title {
  color: var(--neon-cyan, #00f5d4);
}

.craft-card-subtitle {
  font-size: 0.85rem;
  color: var(--text-muted, #94a3b8);
  display: block;
}

.craft-card-desc {
  font-size: 0.92rem;
  color: var(--text-secondary, #cbd5e1);
  line-height: 1.6;
  margin-bottom: 20px;
}

/* Tags */
.craft-tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.craft-tag {
  background: rgba(0, 245, 212, 0.06);
  border: 1px solid rgba(0, 245, 212, 0.2);
  color: #5eead4;
  font-size: 0.76rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
}

/* Metrics Row */
.craft-metrics-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 24px;
  text-align: center;
}

.cm-item {
  display: flex;
  flex-direction: column;
}

.cm-val {
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.2px;
}

.cm-lbl {
  font-size: 0.72rem;
  color: var(--text-muted, #94a3b8);
  margin-top: 2px;
}

/* Card Action Buttons */
.craft-card-actions {
  display: flex;
  gap: 12px;
  margin-top: auto;
  flex-wrap: wrap;
}

.btn-craft-launch {
  flex: 1 1 55%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #00f5d4 0%, #00b4d8 100%);
  color: #04121d !important;
  font-weight: 800;
  font-size: 0.92rem;
  padding: 12px 18px;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 16px rgba(0, 245, 212, 0.25);
}

.btn-craft-launch:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 245, 212, 0.4);
  filter: brightness(1.06);
}

.btn-craft-launch .launch-arrow {
  font-size: 1.1rem;
  transition: transform 0.2s ease;
}

.btn-craft-launch:hover .launch-arrow {
  transform: translate(2px, -2px);
}

.btn-craft-wa {
  flex: 1 1 40%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: rgba(37, 211, 102, 0.08);
  border: 1px solid rgba(37, 211, 102, 0.3);
  color: #25d366 !important;
  font-weight: 700;
  font-size: 0.86rem;
  padding: 12px 16px;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.25s ease;
}

.btn-craft-wa:hover {
  background: rgba(37, 211, 102, 0.16);
  border-color: rgba(37, 211, 102, 0.6);
  transform: translateY(-2px);
}

/* Simulator Station Wrap */
.simulator-station-wrap {
  margin: 60px auto 40px auto;
  border-radius: 28px;
  padding: 40px 32px;
  max-width: 1200px;
}

.station-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 30px auto;
}

.station-badge {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--neon-cyan, #00f5d4);
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.station-title {
  font-size: 1.7rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.5px;
  margin-bottom: 10px;
}

.station-desc {
  font-size: 0.95rem;
  color: var(--text-secondary, #cbd5e1);
  line-height: 1.5;
}

/* Callout Bottom Banner */
.craft-callout-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 32px 40px;
  border-radius: 24px;
  max-width: 1200px;
  margin: 40px auto 0 auto;
  background: linear-gradient(135deg, rgba(121, 40, 202, 0.15) 0%, rgba(0, 245, 212, 0.1) 100%);
  border: 1px solid rgba(0, 245, 212, 0.25);
  flex-wrap: wrap;
}

.callout-badge {
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--neon-cyan, #00f5d4);
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 6px;
}

.callout-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.4px;
  margin-bottom: 6px;
}

.callout-desc {
  font-size: 0.92rem;
  color: var(--text-secondary, #cbd5e1);
  max-width: 620px;
  line-height: 1.5;
}

.callout-actions {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}

/* Responsive Overrides */
@media (max-width: 1100px) {
  .craft-benchmark-ribbon {
    grid-template-columns: repeat(2, 1fr);
  }
  .craft-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .craft-benchmark-ribbon {
    grid-template-columns: 1fr;
  }
  .craft-media-wrap {
    height: 210px;
  }
  .craft-card-body {
    padding: 20px;
  }
  .craft-card-actions {
    flex-direction: column;
  }
  .btn-craft-launch, .btn-craft-wa {
    flex: 1 1 100%;
    width: 100%;
  }
  .craft-callout-banner {
    padding: 24px;
    flex-direction: column;
    text-align: center;
  }
  .callout-actions {
    width: 100%;
    justify-content: center;
  }

  /* Footer Mobile Left Alignment Override */
  .site-footer, 
  .footer-container,
  .footer-top-grid,
  .footer-brand-col,
  .footer-links-col,
  .footer-bottom-bar,
  .footer-legal,
  .footer-tagline,
  .footer-info-text {
    text-align: left !important;
    align-items: flex-start !important;
  }
  
  .footer-social-links {
    justify-content: flex-start !important;
  }
  
  .footer-brand-col .brand-logo {
    justify-content: flex-start !important;
    margin: 0 !important;
    margin-bottom: 15px !important;
  }
  
  .local-pride-badge {
    margin: 0 !important;
  }
  
  .footer-bottom-bar {
    flex-direction: column !important;
    gap: 15px !important;
  }
  
  .footer-legal {
    justify-content: flex-start !important;
  }

  /* Services Grid Icon Mobile Overrides */
  .pricing-card .card-icon-wrap {
    text-align: left !important;
    justify-content: flex-start !important;
    align-items: flex-start !important;
    display: flex !important;
  }
  
  .pricing-card .service-icon {
    font-size: 5rem !important; /* Made icons noticeably larger */
    text-align: left !important;
    display: inline-block !important;
    line-height: 1.2 !important;
  }
  
  .pricing-card .card-title,
  .pricing-card .card-target,
  .pricing-card .dual-price-box,
  .pricing-card .price-box,
  .pricing-card .card-summary,
  .pricing-card .card-footer {
    text-align: center !important;
    align-items: center !important;
  }
  
  .pricing-card .feature-list li {
    justify-content: center !important;
    text-align: center !important;
  }

  /* =========================================
     🔥 MOBILE PREMIUM 'MAST' ENHANCEMENTS 🔥
     ========================================= */
  
  /* 1. iOS-Style Floating Action Dock */
  .mobile-client-dock {
    bottom: 20px !important;
    left: 20px !important;
    right: 20px !important;
    border-radius: 30px !important;
    background: rgba(16, 16, 26, 0.75) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 240, 255, 0.15) !important;
    padding: 10px 15px !important;
    width: auto !important;
    z-index: 1000 !important;
  }
  
  /* 2. Premium Frosted Glass Cards */
  .pricing-card, .glass-panel, .showcase-item {
    border-radius: 28px !important;
    background: linear-gradient(145deg, rgba(20, 20, 30, 0.95) 0%, rgba(10, 10, 15, 0.95) 100%) !important;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.15), 0 15px 30px rgba(0, 0, 0, 0.5) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    margin-bottom: 24px !important;
  }
  
  /* 3. High-Contrast Hero Headline with Glow */
  .hero-headline {
    background: linear-gradient(135deg, #ffffff 0%, #00f0ff 60%, #a855f7 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    text-shadow: 0 0 35px rgba(0, 240, 255, 0.3) !important;
    font-weight: 900 !important;
  }
  
  /* 4. Ultra-Clickable Glowing Buttons */
  .btn-card-cta, .btn-primary, .btn-craft-launch, .mega-cta-content .magnetic-btn {
    background: linear-gradient(135deg, #00f5a0 0%, #00f0ff 100%) !important;
    color: #040914 !important;
    font-weight: 800 !important;
    border-radius: 999px !important;
    border: none !important;
    box-shadow: 0 8px 25px rgba(0, 240, 255, 0.4) !important;
    padding: 16px 20px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
  }

  .btn-card-cta span, .btn-primary span {
    color: #040914 !important;
  }

  /* =========================================
     🚀 MOBILE ULTIMATE PERFORMANCE & UX OVERHAUL 🚀
     ========================================= */
  
  /* 1. Kill Heavy GPU Killers to Stop Lag & Glitches */
  .ambient-glows, 
  .cyber-grid-perspective, 
  .floating-holo-shape,
  .cyber-grid-pattern {
    display: none !important;
    animation: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
  }
  
  /* Animations are now handled via pointer: coarse block for touch screens */

  /* 3. Optimal Reading Typography */
  p, .card-desc, .card-summary, .feature-list li span, .footer-tagline, .footer-info-text, .mega-cta-subtext {
    font-size: 1.05rem !important;
    line-height: 1.65 !important;
    letter-spacing: 0.2px !important;
    color: #f1f5f9 !important;
    word-wrap: break-word !important;
    text-shadow: none !important;
  }

  /* 4. Container Padding - Prevent text from hitting edges */
  .section-container, .hero-container, .footer-container {
    padding-left: 20px !important;
    padding-right: 20px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }

  /* 5. Heading Readability */
  h1, h2, h3, h4, .section-title, .card-title, .mega-cta-title {
    line-height: 1.3 !important;
    padding-bottom: 6px !important;
    word-wrap: break-word !important;
  }

  .hero-headline {
    font-size: clamp(2rem, 9vw, 2.6rem) !important;
    background: #ffffff !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    text-shadow: none !important;
    font-weight: 800 !important;
  }

  .section-title {
    font-size: 1.8rem !important;
  }

  /* 6. Clean Card Padding & Layout (No 3D translation glitches) */
  .pricing-card, .glass-panel, .showcase-item {
    padding: 24px 20px !important;
    border-radius: 24px !important;
    background: #0f111a !important; /* Solid fallback instead of heavy glass filter */
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    margin-bottom: 24px !important;
    transform: none !important; /* Prevents 3D z-index overlap glitches */
    backdrop-filter: none !important; /* Fixes scrolling lag */
  }

  .pricing-card:hover, .tilt-card:hover {
    transform: none !important;
  }

  /* 7. CRITICAL FIX: Prevent Grid Squishing */
  .pricing-grid > .pricing-card,
  .roi-grid > div,
  .niche-cards-container > div,
  .tech-grid > div,
  .process-grid > div,
  .ethics-grid > div,
  .footer-top-grid > div,
  .bundle-items-grid > div,
  .showcase-stage > div {
    grid-column: span 1 !important;
    grid-row: auto !important;
    width: 100% !important;
    min-width: 0 !important; /* Allow flex/grid children to shrink */
  }
}

/* ==========================================================================
   📱 TOUCH DEVICE (PHONES/TABLETS) ZOOM & GPU GLITCH FIX
   (Applies even when viewing the 1240px desktop layout)
   ========================================================================== */
@media (pointer: coarse) {
  
  /* 1. USE RECORDED VIDEO ON MOBILE */
  #ambientCanvas {
    display: none !important;
  }
  #ambientImage {
    display: block !important;
    object-fit: cover !important;
    opacity: 0.8 !important; 
  }

  /* Background elements are now hidden globally via the main CSS rules */

  /* 3. LIGHTWEIGHT SCROLL REVEAL (No 3D/Blur to prevent glitching) */
  .reveal-elem {
    opacity: 0;
    transform: translateY(30px) !important; 
    filter: none !important;
    transition: opacity 0.6s ease-out, transform 0.6s ease-out !important;
    will-change: auto !important; 
  }

  .reveal-elem.is-revealed {
    opacity: 1 !important;
    transform: translateY(0) !important;
  }

  .pricing-card.best-value-tier:not(.is-revealed),
  .pricing-card.featured-tier:not(.is-revealed) {
    opacity: 0 !important;
    transform: translateY(30px) !important;
    filter: none !important;
  }

  /* 4. Kill 3D Tilts that tear the screen on pinch zoom */
  .tilt-card, .pricing-card, .glass-panel {
    transform-style: flat !important;
    perspective: none !important;
  }
  .tilt-card:hover, .pricing-card:hover {
    transform: none !important;
  }
  
  /* 5. Disable backdrop-filter lag */
  .glass-panel, .pricing-card {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: rgba(16, 16, 26, 0.95) !important;
  }
}

