/*
Theme Name: WebDeveloperPakistan - AI Web Development
Theme URI: https://webdeveloperpakistan.pk/
Author: WebDeveloperPakistan.pk Studio
Author URI: https://webdeveloperpakistan.pk/
Description: A bright, radiant, butterfly-smooth custom WordPress one-page theme focusing on AI Web Development in Pakistan. Engineered with Query Fan-Out architecture, structured AEO (Answer Engine Optimization) chunked content for Perplexity, SearchGPT, and Google AI Overviews, custom logo Customizer support, and silky Lenis momentum physics.
Version: 2.2.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: webdev-pakistan-ai
Tags: one-column, custom-logo, custom-menu, featured-images, theme-options, full-width-template
*/

/* ==========================================================================
   1. CSS RESET & VARIABLES - BRIGHT, ARTISTIC & BUTTERFLY PALETTE
   ========================================================================== */
:root {
  /* Iridescent Butterfly Wings Palette (Bright & Artistic) */
  --c-morpho: #00d2ff;
  --c-violet: #7c3aed;
  --c-magenta: #f43f5e;
  --c-amber: #f59e0b;
  --c-emerald: #10b981;
  --c-fuchsia: #d946ef;
  --c-cerulean: #0284c7;

  /* Radiant Artistic Gradients */
  --grad-butterfly: linear-gradient(135deg, #00d2ff 0%, #7c3aed 50%, #f43f5e 100%);
  --grad-sunset: linear-gradient(135deg, #f43f5e 0%, #f59e0b 100%);
  --grad-aurora: linear-gradient(135deg, #10b981 0%, #00d2ff 100%);
  --grad-iridescent: linear-gradient(135deg, #e0f2fe 0%, #ede9fe 35%, #fdf2f8 70%, #fef3c7 100%);
  --grad-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.72) 100%);

  /* Background & Surface (Luminous, Airy, High-Vibrancy) */
  --bg-primary: #f8fafc;
  --bg-secondary: #f1f5f9;
  --bg-card: rgba(255, 255, 255, 0.88);
  --bg-card-hover: rgba(255, 255, 255, 0.98);

  /* Typography & Contrasts */
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-light: #64748b;
  --text-white: #ffffff;

  /* Glassmorphism & Borders */
  --border-light: rgba(255, 255, 255, 0.95);
  --border-glass: rgba(148, 163, 184, 0.22);
  --border-glow: rgba(124, 58, 237, 0.4);
  --shadow-sm: 0 4px 15px rgba(124, 58, 237, 0.05);
  --shadow-md: 0 12px 35px -8px rgba(99, 102, 241, 0.12), 0 4px 15px rgba(244, 63, 94, 0.06);
  --shadow-lg: 0 25px 50px -12px rgba(124, 58, 237, 0.18), 0 0 35px rgba(0, 210, 255, 0.12);
  --shadow-prism: 0 0 25px rgba(0, 210, 255, 0.35), 0 0 45px rgba(244, 63, 94, 0.2);

  /* Butter-smooth Motion Curves */
  --ease-butterfly: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-wing: cubic-bezier(0.4, 0, 0.2, 1);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --radius-full: 9999px;
}

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

html {
  scroll-behavior: auto; /* Handled smoothly by Lenis */
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
  background-image: 
    radial-gradient(circle at 10% 15%, rgba(0, 210, 255, 0.09) 0%, transparent 45%),
    radial-gradient(circle at 90% 25%, rgba(244, 63, 94, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 50% 65%, rgba(124, 58, 237, 0.07) 0%, transparent 50%),
    radial-gradient(circle at 20% 85%, rgba(16, 185, 129, 0.07) 0%, transparent 40%);
  background-attachment: fixed;
}

/* ==========================================================================
   2. TYPOGRAPHY & ARTISTIC GRADIENTS
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', 'Plus Jakarta Sans', sans-serif;
  color: var(--text-main);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.gradient-text {
  background: var(--grad-butterfly);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

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

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

p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Zero-Highlighter Reset: Remove browser yellow marker strikes */
mark, .entity {
  background: transparent !important;
  color: inherit !important;
  font-weight: inherit !important;
  padding: 0 !important;
  border-radius: 0 !important;
}

a {
  color: var(--c-violet);
  text-decoration: none;
  transition: all 0.3s var(--ease-butterfly);
}

a:hover {
  color: var(--c-magenta);
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   3. BUTTERFLY WINGS CANVAS & FLOATING AURA
   ========================================================================== */
#butterfly-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.hero-glow-aura {
  position: absolute;
  width: 550px;
  height: 550px;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.45;
  pointer-events: none;
  z-index: 0;
  animation: auraFloat 18s ease-in-out infinite alternate;
}

.aura-1 {
  top: -100px;
  left: -100px;
  background: radial-gradient(circle, #00d2ff, #7c3aed);
}

.aura-2 {
  top: 150px;
  right: -120px;
  background: radial-gradient(circle, #f43f5e, #f59e0b);
  animation-duration: 22s;
  animation-direction: alternate-reverse;
}

@keyframes auraFloat {
  0% { transform: translate(0, 0) scale(1) rotate(0deg); }
  50% { transform: translate(60px, 40px) scale(1.1) rotate(15deg); }
  100% { transform: translate(-30px, 70px) scale(0.95) rotate(-10deg); }
}

/* Butterfly Wing Flap Animation */
@keyframes butterflyFlutter {
  0%, 100% { transform: scaleX(1) rotate(0deg); }
  50% { transform: scaleX(0.4) rotate(4deg); }
}

.butterfly-wing-icon {
  display: inline-block;
  animation: butterflyFlutter 1.8s var(--ease-wing) infinite;
  transform-origin: center;
}

/* ==========================================================================
/* ==========================================================================
   4. SITE HEADER & LOGO CUSTOMIZER ARCHITECTURE (REFINED & MODERN)
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
  box-shadow: 0 2px 14px -3px rgba(124, 58, 237, 0.05);
  transition: all 0.3s var(--ease-butterfly);
  height: 50px;
}

.site-header.scrolled {
  height: 46px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.08);
  border-bottom-color: rgba(203, 213, 225, 0.9);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 16px;
}

/* Brand Logo with Customizer Support */
.brand-logo-wrap {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.custom-logo-link {
  display: inline-flex;
  align-items: center;
  max-height: 48px;
}

.custom-logo-link img {
  max-height: 44px;
  width: auto;
  object-fit: contain;
  display: block;
  transition: transform 0.3s var(--ease-butterfly);
}

.custom-logo-link:hover img {
  transform: scale(1.03);
}

/* Fallback Handcrafted Butterfly + AI Neural Logo */
.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-icon-box {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--grad-butterfly);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 3px 10px rgba(124, 58, 237, 0.24);
  flex-shrink: 0;
  transition: transform 0.3s var(--ease-butterfly);
}

.brand-icon-box svg {
  width: 18px;
  height: 18px;
}

.brand-logo:hover .brand-icon-box {
  transform: rotate(-6deg) scale(1.06);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-domain {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-main);
}

.brand-domain .brand-accent {
  color: var(--c-violet);
}

.brand-domain .brand-tld {
  background: var(--grad-aurora);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-sub {
  font-size: 0.58rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-light);
}

/* Navigation Links - Desktop Pill Bar */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 3px;
}

.nav-links-list {
  display: flex;
  align-items: center;
  gap: 3px;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  transition: all 0.2s var(--ease-butterfly);
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--c-violet);
  background: rgba(124, 58, 237, 0.07);
}

.nav-link.active {
  color: var(--c-violet);
  background: rgba(124, 58, 237, 0.1);
  font-weight: 700;
}

.mobile-drawer-header,
.mobile-drawer-footer,
.nav-backdrop {
  display: none;
}

/* Header Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* Currency Toggle (PKR / USD) */
.currency-pill {
  display: inline-flex;
  align-items: center;
  background: #f1f5f9;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-full);
  padding: 2.5px;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.04);
}

.currency-btn {
  border: none;
  background: transparent;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s var(--ease-butterfly);
  white-space: nowrap;
}

.currency-btn.active {
  background: #ffffff;
  color: var(--c-violet);
  box-shadow: 0 2px 6px rgba(124, 58, 237, 0.15);
}

/* Action Buttons */
.nav-wa-btn {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #ffffff;
  padding: 7px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.24);
  transition: all 0.25s var(--ease-butterfly);
  white-space: nowrap;
}

.nav-wa-btn:hover {
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.35);
}

.nav-cta-btn {
  background: var(--grad-butterfly);
  color: #ffffff;
  padding: 7px 16px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.26);
  transition: all 0.25s var(--ease-butterfly);
  white-space: nowrap;
}

.nav-cta-btn:hover {
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(124, 58, 237, 0.36);
}

/* Hamburger Toggle Button */
.mobile-toggle {
  display: none;
  background: #f8fafc;
  border: 1px solid var(--border-glass);
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4.5px;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s;
}

.mobile-toggle:hover {
  background: #f1f5f9;
}

.hamburger-bar {
  width: 18px;
  height: 2px;
  background: var(--text-main);
  border-radius: 2px;
  transition: all 0.25s var(--ease-butterfly);
}

/* Buttons System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 11px 22px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.3s var(--ease-butterfly);
  border: none;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--grad-butterfly);
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(124, 58, 237, 0.28);
}

.btn-primary:hover {
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(124, 58, 237, 0.38), 0 0 20px rgba(0, 210, 255, 0.4);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.26);
}

.btn-whatsapp:hover {
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.38);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.9);
  color: var(--text-main);
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: #ffffff;
  border-color: var(--c-violet);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-sm {
  padding: 7px 14px;
  font-size: 0.8rem;
}

.btn-lg {
  padding: 15px 32px;
  font-size: 1.05rem;
}

.desktop-only {
  display: inline-flex !important;
}

.mobile-only {
  display: none !important;
}

/* ==========================================================================
   5. CARDBOARD PRESENTATION DECK ARCHITECTURE (FULLSCREEN CARD SWITCH)
   ========================================================================== */
html, body {
  height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
}

body.deck-active {
  overflow: hidden; /* Deck controller manages transitions when active */
}

/* WordPress Admin Bar Compatibility */
body.admin-bar .site-header {
  top: 32px;
}
body.admin-bar .deck-container {
  height: calc(100vh - 32px);
  height: calc(100dvh - 32px);
}
body.admin-bar .deck-slide {
  padding-top: 100px;
  padding-bottom: 28px;
}
body.admin-bar .slide-cardboard {
  max-height: calc(100vh - 128px);
  max-height: calc(100dvh - 128px);
}
@media screen and (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }
  body.admin-bar .deck-container {
    height: calc(100vh - 46px);
    height: calc(100dvh - 46px);
  }
  body.admin-bar .deck-slide {
    padding-top: 118px;
    padding-bottom: 24px;
  }
  body.admin-bar .slide-cardboard {
    max-height: calc(100vh - 142px);
    max-height: calc(100dvh - 142px);
  }
}

.deck-container {
  height: 100vh;
  height: 100dvh;
  width: 100vw;
  position: relative;
  overflow: hidden;
  perspective: 1400px;
}

/* Individual Cardboard Slide - Strict Viewport Fit */
.deck-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 72px 24px 28px;
  box-sizing: border-box;
  opacity: 0;
  pointer-events: none;
  transform: translateY(60px) scale(0.94) rotateX(6deg);
  transform-origin: center bottom;
  filter: blur(5px);
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
              filter 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity, filter;
  z-index: 1;
  overflow: hidden;
}

/* Active Slide (In Full View) */
.deck-slide.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1) rotateX(0deg);
  filter: blur(0);
  z-index: 10;
}

/* Previous Slide (Sliding Upwards Behind) */
.deck-slide.prev {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-60px) scale(0.94) rotateX(-6deg);
  transform-origin: center top;
  filter: blur(5px);
  z-index: 2;
}

/* Elevated Luxury Cardboard Sheet (100% Screen-Fitting with Breathable Scroll) */
.slide-cardboard {
  width: 100%;
  max-width: 1220px;
  height: 100%;
  max-height: calc(100vh - 98px);
  max-height: calc(100dvh - 98px);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1.5px solid rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  box-shadow: 0 20px 45px -10px rgba(15, 23, 42, 0.1),
              0 0 0 1px rgba(226, 232, 240, 0.8),
              0 0 35px rgba(124, 58, 237, 0.04);
  padding: 34px 34px 64px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  position: relative;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: rgba(148, 163, 184, 0.4) transparent;
  box-sizing: border-box;
}

.slide-cardboard::-webkit-scrollbar {
  width: 5px;
}

.slide-cardboard::-webkit-scrollbar-track {
  background: rgba(241, 245, 249, 0.5);
  border-radius: 999px;
}

.slide-cardboard::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.4);
  border-radius: 999px;
}

.slide-cardboard::-webkit-scrollbar-thumb:hover {
  background: var(--c-violet);
}

/* Compact Section Headers for 100vh Presentations */
.section-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 18px;
  padding-top: 4px;
  flex-shrink: 0;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 12px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-sm);
  color: var(--c-violet);
  border: 1px solid rgba(226, 232, 240, 0.8);
  margin-bottom: 8px;
}

.section-title {
  font-size: clamp(1.28rem, 2vw, 1.65rem);
  font-weight: 800;
  line-height: 1.28;
  margin-bottom: 5px;
  padding-top: 2px;
  padding-bottom: 2px;
}

.section-subtitle {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.45;
  max-width: 660px;
  margin: 0 auto;
}

/* ==========================================================================
   6. HERO SECTION - BALANCED 2-COLUMN PRESENTATION BOARD
   ========================================================================== */
.hero-inner.slide-cardboard {
  display: grid !important;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  align-items: center;
  padding: 34px 38px 45px;
}

.hero-left {
  display: flex;
  flex-direction: column;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-sm);
  color: var(--c-violet);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 8px;
  width: fit-content;
}

.hero-title {
  font-size: clamp(1.35rem, 2.1vw, 1.95rem);
  font-weight: 800;
  line-height: 1.16;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: 0.84rem;
  line-height: 1.4;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.hero-cta-group {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.hero-cta-group .btn {
  padding: 9px 18px;
  font-size: 0.84rem;
}

.hero-right {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero-aeo-box {
  background: #ffffff;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  box-shadow: var(--shadow-sm);
}

.aeo-label {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--c-violet);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-aeo-text {
  font-size: 0.78rem;
  line-height: 1.42;
  color: var(--text-main);
  margin: 0;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.metric-card {
  background: #ffffff;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.metric-val {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--c-violet);
  line-height: 1.1;
  font-family: 'Space Grotesk', sans-serif;
}

.metric-title {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-light);
}

/* Floating Deck Controls (Bottom Left) */
.deck-controls {
  position: fixed;
  bottom: 20px;
  left: 24px;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 10px;
}

.deck-counter-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(15, 23, 42, 0.88);
  color: #ffffff;
  padding: 7px 16px;
  border-radius: var(--radius-full);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
}

.deck-indicator-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #00d2ff;
  box-shadow: 0 0 8px #00d2ff;
  animation: pulseGreen 2s infinite;
}

.deck-index {
  color: #ffffff;
  font-weight: 800;
  font-size: 0.92rem;
}

.deck-slash {
  color: #64748b;
}

.deck-total {
  color: #94a3b8;
}

.deck-section-name {
  margin-left: 6px;
  padding-left: 8px;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  color: #38bdf8;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.72rem;
}

.deck-arrows {
  display: flex;
  align-items: center;
  gap: 6px;
}

.deck-arrow-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.2s var(--ease-butterfly);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.deck-arrow-btn:hover {
  background: var(--grad-butterfly);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(124, 58, 237, 0.3);
}

/* Floating Right Deck Pagination */
.deck-pagination {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.deck-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(148, 163, 184, 0.35);
  border: 2px solid transparent;
  cursor: pointer;
  position: relative;
  transition: all 0.25s var(--ease-butterfly);
  padding: 0;
}

.deck-dot:hover {
  background: var(--c-violet);
  transform: scale(1.3);
}

.deck-dot.active {
  background: var(--c-violet);
  border-color: #ffffff;
  transform: scale(1.4);
  box-shadow: 0 0 10px var(--c-violet);
}

.deck-dot::after {
  content: attr(data-label);
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  background: rgba(15, 23, 42, 0.92);
  color: #ffffff;
  padding: 3px 8px;
  border-radius: 5px;
  font-size: 0.7rem;
  font-weight: 700;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: all 0.2s;
}

.deck-dot:hover::after {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

/* Bottom Deck Progress Line */
.deck-progress-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: rgba(226, 232, 240, 0.5);
  z-index: 1000;
}

.deck-progress-fill {
  height: 100%;
  width: 10%;
  background: var(--grad-butterfly);
  transition: width 0.45s ease;
}

/* ==========================================================================
   7. QUERY FAN-OUT CLUSTER EXPLORER (COMPACT PRESENTATION BOARD)
   ========================================================================== */
.fanout-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.fanout-nav {
  display: flex;
  gap: 6px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.fanout-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  background: #ffffff;
  border: 1px solid var(--border-glass);
  font-weight: 700;
  font-size: 0.76rem;
  color: var(--text-main);
  cursor: pointer;
  transition: all 0.2s var(--ease-butterfly);
}

.fanout-nav-btn i {
  color: var(--c-violet);
  font-size: 0.82rem;
}

.fanout-nav-btn:hover,
.fanout-nav-btn.active {
  background: var(--grad-butterfly);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.2);
}

.fanout-nav-btn:hover i,
.fanout-nav-btn.active i {
  color: #ffffff;
}

.fanout-content-pane {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  box-shadow: var(--shadow-sm);
}

.fanout-panel {
  display: none;
  animation: fadeIn 0.3s var(--ease-butterfly);
}

.fanout-panel.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.fanout-header {
  margin-bottom: 8px;
}

.fanout-query-tag {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  background: rgba(124, 58, 237, 0.08);
  color: var(--c-violet);
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 4px;
}

.fanout-panel-title {
  font-size: 1.12rem;
  font-weight: 800;
  margin-bottom: 2px;
}

.fanout-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.35;
}

.fanout-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 8px;
}

.fanout-subcard {
  background: #ffffff;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s var(--ease-butterfly);
}

.fanout-subcard:hover {
  transform: translateY(-2px);
  border-color: var(--c-violet);
  box-shadow: var(--shadow-md);
}

.subcard-query {
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 3px;
  color: var(--text-main);
  line-height: 1.25;
}

.subcard-ans {
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.35;
}

/* ==========================================================================
   8. SERVICES MATRIX - BREATHABLE 3-CARD PRESENTATION ROW
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.service-card {
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 16px 18px;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  transition: all 0.25s var(--ease-butterfly);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-3px);
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-md);
}

.service-icon-box {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--grad-iridescent);
  border: 1px solid rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--c-violet);
  margin-bottom: 6px;
  box-shadow: 0 3px 8px rgba(124, 58, 237, 0.1);
}

.service-card:hover .service-icon-box {
  transform: scale(1.06);
  background: var(--grad-butterfly);
  color: #ffffff;
}

.service-title {
  font-size: 1.02rem;
  font-weight: 800;
  margin-bottom: 4px;
  line-height: 1.25;
}

.service-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.48;
  margin-bottom: 8px;
  flex-grow: 1;
}

.service-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 10px;
  border-top: 1px solid var(--border-glass);
  padding-top: 8px;
}

.service-features li {
  font-size: 0.76rem;
  color: var(--text-main);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.service-features li i {
  color: var(--c-emerald);
  font-size: 0.74rem;
}

.service-link {
  font-weight: 700;
  font-size: 0.78rem;
  color: var(--c-violet);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: auto;
}

.service-card:hover .service-link {
  color: var(--c-magenta);
}

/* ==========================================================================
   9. AEO CHUNKS - EXECUTIVE DIRECT Q&A & GEO BENCHMARKS
   ========================================================================== */
.aeo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.aeo-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 16px 20px;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s var(--ease-butterfly);
}

.aeo-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.aeo-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  background: rgba(124, 58, 237, 0.08);
  color: var(--c-violet);
  padding: 3px 9px;
  border-radius: var(--radius-full);
  margin-bottom: 6px;
}

.aeo-question {
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 8px;
  line-height: 1.25;
}

.aeo-answer-chunk {
  background: #ffffff;
  border: 1px solid var(--border-glass);
  border-left: 3.5px solid var(--c-cerulean);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 0.83rem;
  color: var(--text-main);
  line-height: 1.48;
  margin-bottom: 8px;
}

.aeo-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.78rem;
  margin-top: 8px;
}

.aeo-table th,
.aeo-table td {
  padding: 6px 8px;
  border-bottom: 1px solid var(--border-glass);
  text-align: left;
}

.aeo-table th {
  background: rgba(241, 245, 249, 0.85);
  font-weight: 700;
  color: var(--text-main);
}

.aeo-table td {
  color: var(--text-muted);
}

.aeo-feature-list-box {
  background: rgba(248, 250, 252, 0.95);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  margin-top: 8px;
}

.aeo-box-title {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 5px;
}

.aeo-checklist {
  padding-left: 18px;
  font-size: 0.77rem;
  line-height: 1.45;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.aeo-note-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(248, 250, 252, 0.95);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  padding: 7px 10px;
  font-size: 0.76rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-top: 8px;
}

.aeo-note-box i {
  color: var(--c-violet);
  flex-shrink: 0;
}

.aeo-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 10px;
}

.aeo-stat-item {
  text-align: center;
  background: #ffffff;
  padding: 8px 6px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-sm);
}

.aeo-stat-num {
  font-weight: 800;
  color: var(--c-violet);
  font-size: 1.15rem;
  font-family: 'Space Grotesk', sans-serif;
  line-height: 1.1;
  margin-bottom: 2px;
}

.aeo-stat-lbl {
  font-size: 0.68rem;
  color: var(--text-light);
  font-weight: 600;
}

/* ==========================================================================
   10. TECH STACK & AI MODEL MATRIX (COMPACT 4-COLUMN)
   ========================================================================== */
.tech-matrix-wrap {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  box-shadow: var(--shadow-sm);
}

.tech-categories {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.tech-column {
  background: #ffffff;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  padding: 12px 12px;
  box-shadow: var(--shadow-sm);
}

.tech-col-title {
  font-size: 0.85rem;
  font-weight: 800;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--c-violet);
  border-bottom: 1px solid var(--border-glass);
  padding-bottom: 6px;
}

.tech-pill-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.tech-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 8px;
  background: rgba(248, 250, 252, 0.9);
  border: 1px solid var(--border-glass);
  border-radius: 6px;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--text-main);
}

.tech-pill span.spec {
  font-size: 0.66rem;
  color: var(--c-violet);
  background: rgba(124, 58, 237, 0.08);
  padding: 1px 5px;
  border-radius: 3px;
}

/* ==========================================================================
   11. PAKISTAN ADVANTAGE & CITY HUBS (3-COLUMN BOARD)
   ========================================================================== */
.advantage-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 20px;
  align-items: center;
}

.advantage-card {
  background: #ffffff;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.advantage-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0, 210, 255, 0.12);
  color: var(--c-cerulean);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  margin: 0 auto 6px;
}

.advantage-title {
  font-size: 0.88rem;
  font-weight: 800;
  margin-bottom: 3px;
  color: var(--text-main);
}

.advantage-desc {
  font-size: 0.74rem;
  line-height: 1.35;
  color: var(--text-muted);
}

.city-hubs-matrix {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 10px;
}

.city-hub-card {
  background: rgba(248, 250, 252, 0.9);
  border: 1px solid var(--border-glass);
  border-radius: 8px;
  padding: 8px 10px;
  text-align: center;
}

.city-hub-icon {
  font-size: 1.1rem;
  color: var(--c-cerulean);
  margin-bottom: 2px;
}

.city-hub-name {
  font-size: 0.82rem;
  font-weight: 700;
}

.city-hub-zone {
  font-size: 0.68rem;
  color: var(--text-light);
}

.rate-banner {
  margin-top: 8px;
  padding: 8px 14px;
  background: rgba(248, 250, 252, 0.95);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
}

/* ==========================================================================
   12. PRICING TIERS - STREAMLINED 3-COLUMN
   ========================================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.pricing-card {
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 14px 18px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.25s var(--ease-butterfly);
  text-align: center;
}

.pricing-card.featured {
  background: #ffffff;
  border: 2px solid var(--c-violet);
  box-shadow: var(--shadow-md), 0 0 20px rgba(124, 58, 237, 0.1);
}

.pricing-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--grad-butterfly);
  color: #ffffff;
  font-size: 0.66rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 2px 10px;
  border-radius: var(--radius-full);
}

.pricing-tier {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 2px;
}

.pricing-desc {
  font-size: 0.74rem;
  color: var(--text-muted);
  margin-bottom: 8px;
  line-height: 1.3;
}

.pricing-amount-box {
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border-glass);
}

.price-val {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1;
}

.price-currency {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--c-violet);
  margin-right: 3px;
}

.price-period {
  font-size: 0.7rem;
  color: var(--text-light);
  margin-top: 3px;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 10px;
  text-align: left;
  flex-grow: 1;
}

.pricing-features li {
  font-size: 0.74rem;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 6px;
}

.pricing-features li i {
  color: var(--c-emerald);
  font-size: 0.76rem;
}

/* ==========================================================================
   13. QUESTION-BASED FAQ - 2-COLUMN ACCORDION
   ========================================================================== */
.faq-wrap {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  width: 100%;
}

.faq-item {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: all 0.2s var(--ease-butterfly);
}

.faq-item:hover {
  border-color: var(--c-violet);
}

.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  padding: 9px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
  text-align: left;
}

.faq-question i {
  font-size: 0.74rem;
  color: var(--c-violet);
  transition: transform 0.25s var(--ease-butterfly);
  flex-shrink: 0;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease-butterfly);
  padding: 0 14px;
}

.faq-item.active .faq-answer {
  padding: 0 14px 10px;
}

.faq-answer-content {
  font-size: 0.77rem;
  color: var(--text-muted);
  line-height: 1.45;
  border-top: 1px solid var(--border-glass);
  padding-top: 8px;
}

/* ==========================================================================
   14. CONTACT & CONSULTATION - 2-COLUMN SPLIT
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 18px;
  align-items: start;
}

.contact-info-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 14px 16px;
  box-shadow: var(--shadow-sm);
}

.contact-channel {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 8px;
}

.channel-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--grad-butterfly);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
  box-shadow: 0 3px 10px rgba(124, 58, 237, 0.2);
}

.channel-info h4 {
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 1px;
}

.channel-info p,
.channel-info a {
  font-size: 0.74rem;
  color: var(--text-muted);
  line-height: 1.3;
}

.form-card {
  background: #ffffff;
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  padding: 14px 18px;
  box-shadow: var(--shadow-sm);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 6px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 6px;
}

.form-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-main);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 6px 10px;
  border: 1px solid var(--border-glass);
  border-radius: 6px;
  background: #f8fafc;
  font-size: 0.76rem;
  font-family: inherit;
  color: var(--text-main);
  transition: all 0.2s var(--ease-butterfly);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  background: #ffffff;
  border-color: var(--c-violet);
  box-shadow: 0 0 0 2px rgba(124, 58, 237, 0.12);
}

.form-status {
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 0.75rem;
  margin-top: 8px;
  display: none;
}

.form-status.success {
  display: block;
  background: rgba(16, 185, 129, 0.12);
  color: #065f46;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.form-status.error {
  display: block;
  background: rgba(244, 63, 94, 0.12);
  color: #9f1239;
  border: 1px solid rgba(244, 63, 94, 0.3);
}

/* ==========================================================================
   15. SITE FOOTER
   ========================================================================== */
.site-footer {
  background: #0f172a;
  color: #f8fafc;
  padding: 80px 0 35px;
  position: relative;
  overflow: hidden;
}

.site-footer p {
  color: #94a3b8;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 50px;
}

.footer-col-title {
  color: #ffffff;
  font-size: 1.05rem;
  margin-bottom: 18px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: #94a3b8;
  font-size: 0.88rem;
}

.footer-links a:hover {
  color: var(--c-morpho);
}

.footer-bottom {
  border-top: 1px solid rgba(148, 163, 184, 0.15);
  padding-top: 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.84rem;
  color: #64748b;
  flex-wrap: wrap;
  gap: 12px;
}

/* ==========================================================================
   16. RESPONSIVE MEDIA QUERIES (FLUID HEADER & MODERN DRAWER)
   ========================================================================== */
@media (max-width: 1160px) {
  .nav-link {
    padding: 6px 9px;
    font-size: 0.82rem;
  }
  
  .nav-wa-btn .wa-btn-text {
    display: none;
  }
  
  .nav-wa-btn {
    padding: 7px 10px;
  }
}

@media (max-width: 1040px) {
  .site-header {
    height: 66px;
  }

  .mobile-toggle {
    display: flex !important;
  }

  .desktop-only {
    display: none !important;
  }

  /* Backdrop Overlay */
  .nav-backdrop {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1001;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s var(--ease-butterfly);
  }

  .nav-backdrop.open {
    opacity: 1;
    pointer-events: auto;
  }

  /* Mobile Slide-In Drawer */
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(350px, 86vw);
    height: 100vh;
    height: 100dvh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    flex-direction: column;
    padding: 24px 20px;
    align-items: stretch;
    gap: 0;
    z-index: 1002;
    transition: right 0.35s var(--ease-butterfly);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
    overflow-y: auto;
  }

  .nav-menu.open {
    right: 0 !important;
  }

  /* Mobile Drawer Header */
  .mobile-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 16px;
    margin-bottom: 18px;
    border-bottom: 1px solid var(--border-glass);
  }

  .drawer-title {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 800;
    font-size: 1rem;
    color: var(--text-main);
  }

  .drawer-close-btn {
    border: none;
    background: #f1f5f9;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.2s;
  }

  .drawer-close-btn:hover {
    background: #e2e8f0;
    color: var(--c-magenta);
  }

  /* Mobile Nav Links */
  .nav-links-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
    margin-bottom: 24px;
  }

  .nav-link {
    width: 100%;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    color: var(--text-main);
    background: #f8fafc;
    border: 1px solid var(--border-glass);
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .nav-link::after {
    display: none;
  }

  .nav-link:hover,
  .nav-link.active {
    background: rgba(124, 58, 237, 0.08);
    color: var(--c-violet);
    border-color: rgba(124, 58, 237, 0.25);
    transform: none;
  }

  /* Mobile Drawer Footer */
  .mobile-drawer-footer {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px solid var(--border-glass);
  }

  .drawer-currency-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .drawer-label {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-light);
  }

  /* Grids */
  .services-grid,
  .pricing-grid,
  .tech-categories {
    grid-template-columns: repeat(2, 1fr);
  }

  .fanout-container {
    grid-template-columns: 1fr;
  }

  .fanout-hub-card {
    position: static;
  }
}

@media (max-width: 768px) {
  .hero-metrics {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid,
  .pricing-grid,
  .aeo-grid,
  .tech-categories,
  .advantage-grid,
  .contact-grid,
  .city-hubs-matrix,
  .footer-top {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .fanout-grid {
    grid-template-columns: 1fr;
  }

  .hero-section {
    padding-top: 120px;
  }

  /* Presentation Deck Responsive Optimizations */
  .deck-pagination {
    display: none;
  }

  .deck-controls {
    bottom: 12px;
    left: 12px;
    gap: 6px;
  }

  .deck-counter-badge {
    padding: 5px 12px;
    font-size: 0.75rem;
  }

  .deck-arrow-btn {
    width: 32px;
    height: 32px;
    font-size: 0.72rem;
  }

  .deck-slide {
    padding: 68px 12px 20px;
  }

  .slide-cardboard {
    padding: 24px 18px 52px;
    height: 100%;
    max-height: calc(100vh - 88px);
    max-height: calc(100dvh - 88px);
    border-radius: var(--radius-md);
  }
}

