/* ==========================================================================
   UMAIR HAZARVI — PORTFOLIO DESIGN SYSTEM
   Performance Marketer & Growth Strategist
   Theme System: Dark & Light Dual-Theme with Section Contrast & Visual Depth
   ========================================================================== */

/* --------------------------------------------------------------------------
   Theme Variables (Default Dark Theme)
   -------------------------------------------------------------------------- */
:root, [data-theme="dark"] {
  /* Surface & Background Layers (Varying tones for depth) */
  --bg-darkest: #05070b;
  --bg-primary: #0a0d15;
  --bg-secondary: #0f1422;
  --bg-tertiary: #141a2c;
  --bg-section-alt: #0c101a;
  --bg-card: #151b2a;
  --bg-card-hover: #1b2337;
  --bg-card-subtle: rgba(21, 27, 42, 0.65);
  --bg-glass: rgba(15, 20, 34, 0.82);
  --bg-glass-elevated: rgba(21, 27, 42, 0.94);
  --bg-input: #0b0e17;

  /* Accent Colors */
  --emerald: #10b981;
  --emerald-light: #34d399;
  --emerald-dark: #059669;
  --emerald-glow: rgba(16, 185, 129, 0.22);
  --cyan: #06b6d4;
  --cyan-glow: rgba(6, 182, 212, 0.2);
  --purple: #8b5cf6;
  --purple-glow: rgba(139, 92, 246, 0.2);
  --amber: #f59e0b;

  /* Typography Colors */
  --text-pure: #ffffff;
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-dim: #475569;

  /* Borders & Dividers */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-light: rgba(255, 255, 255, 0.13);
  --border-hover: rgba(255, 255, 255, 0.25);
  --border-accent: rgba(16, 185, 129, 0.4);

  /* Shadows */
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 50px -10px var(--emerald-glow);
  --shadow-header: 0 4px 20px rgba(0, 0, 0, 0.4);

  /* Ambient Glows */
  --ambient-opacity: 1;
}

/* --------------------------------------------------------------------------
   Light Theme Variables
   -------------------------------------------------------------------------- */
[data-theme="light"] {
  /* Clean, Luxury Paper & Slate Tones */
  --bg-darkest: #f1f5f9;
  --bg-primary: #f8fafc;
  --bg-secondary: #ffffff;
  --bg-tertiary: #f1f5f9;
  --bg-section-alt: #edf2f7;
  --bg-card: #ffffff;
  --bg-card-hover: #f8fafc;
  --bg-card-subtle: rgba(255, 255, 255, 0.9);
  --bg-glass: rgba(255, 255, 255, 0.88);
  --bg-glass-elevated: rgba(255, 255, 255, 0.96);
  --bg-input: #ffffff;

  /* Accents tuned for crisp contrast on light backgrounds */
  --emerald: #059669;
  --emerald-light: #047857;
  --emerald-dark: #065f46;
  --emerald-glow: rgba(5, 150, 105, 0.15);
  --cyan: #0891b2;
  --cyan-glow: rgba(8, 145, 178, 0.15);
  --purple: #7c3aed;
  --purple-glow: rgba(124, 58, 237, 0.15);
  --amber: #d97706;

  /* Typography Colors */
  --text-pure: #0f172a;
  --text-primary: #1e293b;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --text-dim: #94a3b8;

  /* Borders & Dividers */
  --border-subtle: rgba(15, 23, 42, 0.08);
  --border-light: rgba(15, 23, 42, 0.12);
  --border-hover: rgba(15, 23, 42, 0.22);
  --border-accent: rgba(5, 150, 105, 0.45);

  /* Shadows */
  --shadow-card: 0 10px 30px -10px rgba(15, 23, 42, 0.08);
  --shadow-glow: 0 0 40px -10px rgba(5, 150, 105, 0.2);
  --shadow-header: 0 4px 20px rgba(15, 23, 42, 0.06);

  /* Ambient Glows */
  --ambient-opacity: 0.45;
}

/* --------------------------------------------------------------------------
   Shared Design Constants
   -------------------------------------------------------------------------- */
:root {
  --font-display: 'Instrument Serif', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', Consolas, Monaco, monospace;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------------------------------
   Base Styles & Typography
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--bg-primary);
  transition: background-color 0.3s ease, color 0.3s ease;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color 0.3s ease, color 0.3s ease;
}

h1, h2, h3, h4, h5 {
  color: var(--text-pure);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.02em;
}

.font-serif {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.01em;
}

em.highlight {
  font-style: italic;
  font-family: var(--font-display);
  color: var(--emerald);
  font-size: 1.05em;
  padding: 0 2px;
}

p {
  color: var(--text-secondary);
  font-size: 1.025rem;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Atmospheric Glow Elements */
.ambient-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  opacity: var(--ambient-opacity);
  transition: opacity 0.3s ease;
}

.ambient-glow-1 {
  position: absolute;
  top: -15%;
  left: 20%;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, var(--emerald-glow) 0%, transparent 70%);
  filter: blur(80px);
}

.ambient-glow-2 {
  position: absolute;
  top: 40%;
  right: -10%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, var(--cyan-glow) 0%, transparent 70%);
  filter: blur(90px);
}

.ambient-glow-3 {
  position: absolute;
  bottom: 5%;
  left: -10%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, var(--purple-glow) 0%, transparent 70%);
  filter: blur(100px);
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

/* Responsive Grid Utilities */
.grid-3-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

@media (max-width: 1024px) {
  .grid-3-col {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .grid-3-col {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* --------------------------------------------------------------------------
   Section Alternating Contrasts (No Monotonous Single Background!)
   -------------------------------------------------------------------------- */
.section {
  padding: 6rem 0;
  position: relative;
}

/* Primary Section Background */
.section-primary {
  background-color: var(--bg-primary);
}

/* Contrasting Secondary Tone */
.section-alt {
  background-color: var(--bg-section-alt);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

/* Deep Accent Surface Tone */
.section-elevated {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

/* Dynamic Gradient Section */
.section-gradient {
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-section-alt) 50%, var(--bg-primary) 100%);
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.825rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--emerald);
  margin-bottom: 0.85rem;
}

.section-title {
  font-size: 2.75rem;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   Navigation Bar & Theme Switcher
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 1rem 0;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-header);
  transition: var(--transition);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-badge {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--emerald), var(--cyan));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  color: #ffffff;
  box-shadow: 0 0 18px var(--emerald-glow);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-name {
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  color: var(--text-pure);
}

.logo-tagline {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--emerald);
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  font-size: 0.925rem;
  font-weight: 600;
  color: var(--text-secondary);
  position: relative;
  padding: 0.35rem 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-pure);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--emerald);
  border-radius: 2px;
}

.nav-cta-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Theme Toggle Button */
.theme-toggle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  color: var(--text-pure);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-card);
  padding: 0;
  flex-shrink: 0;
}

.theme-toggle:hover {
  transform: rotate(15deg) scale(1.08);
  border-color: var(--emerald);
  color: var(--emerald);
}

.theme-toggle .icon-sun,
.theme-toggle .icon-moon {
  width: 19px;
  height: 19px;
  pointer-events: none;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
}

[data-theme="dark"] .theme-toggle .icon-moon {
  display: none !important;
}
[data-theme="dark"] .theme-toggle .icon-sun {
  display: block !important;
  color: #fbbf24;
}

[data-theme="light"] .theme-toggle .icon-moon {
  display: block !important;
  color: #4f46e5;
}
[data-theme="light"] .theme-toggle .icon-sun {
  display: none !important;
}

/* Mobile Nav Toggle */
.mobile-toggle {
  display: none;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 1.25rem;
  cursor: pointer;
  padding: 0.4rem 0.65rem;
  transition: var(--transition);
}

/* --------------------------------------------------------------------------
   Buttons & CTA System
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.78rem 1.6rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  border: 1px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, var(--emerald) 0%, var(--emerald-dark) 100%);
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 4px 20px var(--emerald-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 26px var(--emerald-glow);
  color: #ffffff;
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-primary);
  border-color: var(--border-light);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  color: var(--text-pure);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: #25D366;
  color: #032b13;
  font-weight: 700;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.28);
}

.btn-whatsapp:hover {
  background: #2ee672;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
}

.btn-sm {
  padding: 0.48rem 1.1rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 0.95rem 2.2rem;
  font-size: 1.05rem;
}

/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */
.hero-section {
  padding: 5.5rem 0 4.5rem;
  position: relative;
  background: radial-gradient(ellipse at top, var(--bg-secondary) 0%, var(--bg-primary) 70%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--emerald);
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-card);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 10px var(--emerald);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.hero-title {
  font-size: 3.75rem;
  line-height: 1.08;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
}

.hero-title .serif-lead {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  color: var(--emerald);
}

.hero-subtitle {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 580px;
}

.hero-subtitle strong {
  color: var(--text-pure);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.hero-subproof {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.825rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.subproof-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.subproof-item svg {
  color: var(--emerald);
}

/* Hero Visual / Avatar Card */
.hero-visual-wrap {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-image-card {
  position: relative;
  width: 100%;
  max-width: 440px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.4), var(--shadow-glow);
}

.hero-image-card img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.hero-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, var(--bg-darkest) 100%);
  opacity: 0.9;
  pointer-events: none;
}

.hero-card-badge {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
  background: var(--bg-glass-elevated);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 0.9rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.badge-info h4 {
  font-size: 1rem;
  margin-bottom: 0.15rem;
}

.badge-info p {
  font-size: 0.775rem;
  color: var(--emerald);
  font-weight: 600;
}

.badge-verified-tag {
  background: var(--emerald-glow);
  color: var(--emerald);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-accent);
}

/* Floating Metrics Badges */
.floating-badge {
  position: absolute;
  background: var(--bg-glass-elevated);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 0.75rem 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
  z-index: 2;
  animation: float-badge 6s ease-in-out infinite;
}

.floating-badge-1 {
  top: 10%;
  left: -20px;
}

.floating-badge-2 {
  top: 52%;
  right: -25px;
  animation-delay: -3s;
}

@keyframes float-badge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.badge-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.badge-icon.green {
  background: var(--emerald-glow);
  color: var(--emerald);
}

.badge-icon.cyan {
  background: var(--cyan-glow);
  color: var(--cyan);
}

.badge-metric-value {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-pure);
  line-height: 1;
}

.badge-metric-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.05em;
}

/* --------------------------------------------------------------------------
   Metrics Bar (Verified Stats)
   -------------------------------------------------------------------------- */
.metrics-section {
  padding: 2.5rem 0 3.5rem;
}

.metrics-bar {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.metrics-bar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--emerald), var(--cyan), transparent);
}

.metric-item {
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--border-subtle);
  padding-right: 1.5rem;
}

.metric-item:last-child {
  border-right: none;
  padding-right: 0;
}

.metric-top {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  margin-bottom: 0.35rem;
}

.metric-number {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--text-pure);
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.metric-suffix {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--emerald);
}

.metric-label {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.2rem;
}

.metric-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Social Proof Ticker / Logos */
.ticker-section {
  padding: 1.75rem 0 3rem;
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-section-alt);
}

.ticker-label {
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.ticker-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.8rem;
  flex-wrap: wrap;
}

.ticker-logo-item {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.85;
  transition: var(--transition);
}

.ticker-logo-item:hover {
  opacity: 1;
  color: var(--text-pure);
}

/* --------------------------------------------------------------------------
   Philosophy / Systems Shift Card
   -------------------------------------------------------------------------- */
.philosophy-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 3.5rem;
  margin-bottom: 1rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.philosophy-quote {
  font-family: var(--font-display);
  font-size: 2.4rem;
  line-height: 1.25;
  color: var(--text-pure);
  margin-bottom: 1.75rem;
  max-width: 900px;
}

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2.5rem;
}

.comparison-col {
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
}

.comparison-col.bad {
  background: rgba(239, 68, 68, 0.05);
  border-color: rgba(239, 68, 68, 0.25);
}

.comparison-col.good {
  background: var(--emerald-glow);
  border-color: var(--border-accent);
}

.comparison-title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.comparison-col.bad .comparison-title { color: #ef4444; }
.comparison-col.good .comparison-title { color: var(--emerald); }

.comparison-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.comparison-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

/* --------------------------------------------------------------------------
   The Umair Growth System (7-Step Framework)
   -------------------------------------------------------------------------- */
.framework-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.framework-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-card);
}

.framework-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
}

.framework-card.featured-card {
  grid-column: span 2;
  background: var(--bg-secondary);
  border-color: var(--border-accent);
}

.framework-card-top {
  margin-bottom: 1.5rem;
}

.framework-num {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--emerald);
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
  display: block;
}

.framework-title {
  font-size: 1.45rem;
  margin-bottom: 0.75rem;
}

.framework-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.framework-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.tag {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-full);
  background: var(--bg-tertiary);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}

/* --------------------------------------------------------------------------
   Case Studies / Proof Cards
   -------------------------------------------------------------------------- */
.case-study-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

.case-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
  box-shadow: var(--shadow-card);
}

.case-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.3);
}

.case-card-image {
  position: relative;
  height: 250px;
  overflow: hidden;
  background: #06070a;
  cursor: pointer;
}

.case-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.5s ease;
}

.case-card:hover .case-card-image img {
  transform: scale(1.04);
}

.case-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 12, 19, 0.2) 0%, rgba(10, 12, 19, 0.9) 100%);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 1.25rem;
}

.case-pill {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.zoom-hint {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--emerald);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--bg-card);
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-accent);
}

.case-card-body {
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.case-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.case-title {
  font-size: 1.65rem;
  line-height: 1.25;
  margin-bottom: 1rem;
}

.case-summary {
  font-size: 0.975rem;
  color: var(--text-secondary);
  margin-bottom: 1.75rem;
  line-height: 1.6;
}

.case-metrics-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.25rem;
  margin-bottom: 1.75rem;
}

.case-metric-cell h5 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--emerald);
  margin-bottom: 0.15rem;
}

.case-metric-cell p {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  font-weight: 600;
}

.case-footer-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-pure);
}

.case-footer-link:hover {
  color: var(--emerald);
  gap: 0.75rem;
}

/* ==========================================================================
   Case Studies & Proof Display System
   ========================================================================== */
.case-filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2.75rem;
}

.case-filter-btn {
  padding: 0.6rem 1.35rem;
  border-radius: 9999px;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  background: var(--bg-card);
  color: var(--text-secondary);
  border: 1px solid var(--border-light);
  cursor: pointer;
  transition: var(--transition);
}

.case-filter-btn:hover {
  color: var(--text-pure);
  border-color: var(--emerald);
  background: var(--bg-card-hover);
}

.case-filter-btn.active {
  background: var(--emerald);
  color: #04100c;
  border-color: var(--emerald);
  font-weight: 700;
  box-shadow: 0 4px 15px var(--emerald-glow);
}

.case-detail-block {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 2.75rem;
  margin-bottom: 2.75rem;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  display: block;
}

.case-detail-block:hover {
  border-color: var(--border-hover);
  box-shadow: 0 20px 45px -15px rgba(0, 0, 0, 0.4);
}

.case-detail-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
}

.case-detail-visual {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.proof-thumbnail-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  background: #06070a;
  cursor: pointer;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}

.proof-thumbnail-wrap:hover {
  transform: translateY(-3px) scale(1.01);
  border-color: var(--emerald);
  box-shadow: 0 15px 35px -10px var(--emerald-glow);
}

.proof-thumbnail-wrap img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.5s ease;
}

.proof-thumbnail-wrap:hover img {
  transform: scale(1.04);
}

.proof-badge-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.9rem 1.15rem;
  background: linear-gradient(180deg, rgba(6, 7, 10, 0) 0%, rgba(6, 7, 10, 0.94) 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.proof-stat-badge {
  font-family: var(--font-mono);
  font-size: 0.775rem;
  font-weight: 700;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.2);
  letter-spacing: 0.02em;
}

/* Proof Gallery Vault Grid */
.proof-vault-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.proof-vault-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.proof-vault-card:hover {
  transform: translateY(-4px);
  border-color: var(--emerald);
  box-shadow: 0 15px 30px -10px var(--emerald-glow);
}

.proof-vault-img-wrap {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: #06070a;
}

.proof-vault-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.4s ease;
  display: block;
}

.proof-vault-card:hover .proof-vault-img-wrap img {
  transform: scale(1.05);
}

.proof-vault-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.proof-vault-badge {
  font-family: var(--font-mono);
  font-size: 0.725rem;
  font-weight: 700;
  color: var(--emerald-light);
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.proof-vault-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-pure);
  line-height: 1.35;
  margin-bottom: 0.5rem;
}

.proof-vault-metric {
  font-size: 0.825rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   Interactive Acquisition Economics / ROAS Calculator
   -------------------------------------------------------------------------- */
.calculator-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 3.5rem;
  box-shadow: var(--shadow-card);
}

.calculator-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
}

.calc-control-group {
  margin-bottom: 2rem;
}

.calc-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.calc-label {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
}

.calc-val-display {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--emerald);
}

input[type="range"] {
  width: 100%;
  height: 8px;
  background: var(--bg-tertiary);
  border-radius: 4px;
  outline: none;
  -webkit-appearance: none;
  cursor: pointer;
  border: 1px solid var(--border-subtle);
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--emerald);
  cursor: pointer;
  box-shadow: 0 0 14px var(--emerald);
  border: 2px solid var(--bg-card);
}

.calc-result-box {
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.calc-result-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--emerald);
}

.result-stat-group {
  margin-bottom: 1.75rem;
}

.result-stat-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.result-stat-number {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--text-pure);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.result-breakdown-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
}

.breakdown-item h6 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--emerald);
}

.breakdown-item p {
  font-size: 0.775rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   Productized Offer Ladder (Services)
   -------------------------------------------------------------------------- */
.offers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.offer-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
  position: relative;
  box-shadow: var(--shadow-card);
}

.offer-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
}

.offer-card.featured-offer {
  background: var(--bg-secondary);
  border-color: var(--emerald);
  box-shadow: 0 15px 40px -10px var(--emerald-glow);
}

.featured-pill {
  position: absolute;
  top: -12px;
  right: 24px;
  background: linear-gradient(90deg, var(--emerald), var(--cyan));
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
}

.offer-tier {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--emerald);
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
}

.offer-name {
  font-size: 1.6rem;
  margin-bottom: 0.75rem;
}

.offer-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 1.75rem;
  line-height: 1.6;
}

.offer-deliverables {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
}

.offer-deliverables li {
  font-size: 0.9rem;
  color: var(--text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.offer-deliverables li svg {
  color: var(--emerald);
  flex-shrink: 0;
  margin-top: 3px;
}

/* --------------------------------------------------------------------------
   About Section & CS Edge
   -------------------------------------------------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4rem;
  align-items: center;
}

.about-bio-box {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 3rem;
  box-shadow: var(--shadow-card);
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 2rem;
  position: relative;
  padding-left: 1.5rem;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 0;
  width: 2px;
  background: var(--border-light);
}

.timeline-step {
  position: relative;
}

.timeline-dot {
  position: absolute;
  left: -1.85rem;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--emerald);
  border: 2px solid var(--bg-card);
}

.timeline-date {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--emerald);
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.timeline-role {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-pure);
}

.timeline-company {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* --------------------------------------------------------------------------
   FAQ Section
   -------------------------------------------------------------------------- */
.faq-wrap {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-card);
}

.faq-item.active {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
}

.faq-question {
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text-pure);
  user-select: none;
}

.faq-toggle-icon {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
  color: var(--emerald);
}

.faq-item.active .faq-toggle-icon {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 2rem 1.75rem;
  display: none;
  font-size: 0.985rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.faq-item.active .faq-answer {
  display: block;
}

/* --------------------------------------------------------------------------
   CTA Banner & Contact Hub
   -------------------------------------------------------------------------- */
.cta-banner {
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-xl);
  padding: 4.5rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-glow);
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 30%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--emerald-glow) 0%, transparent 70%);
  filter: blur(80px);
}

.cta-title {
  font-size: 3.2rem;
  margin-bottom: 1.25rem;
  line-height: 1.15;
}

.cta-desc {
  font-size: 1.15rem;
  max-width: 620px;
  margin: 0 auto 2.5rem;
  color: var(--text-secondary);
}

.cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* Contact Page Specifics */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3.5rem;
  align-items: start;
}

.contact-card-sidebar {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-card);
}

.contact-channel-item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.2rem;
  border-radius: var(--radius-md);
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  margin-bottom: 1rem;
  transition: var(--transition);
}

.contact-channel-item:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-light);
  transform: translateX(4px);
}

.channel-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 2.8rem;
  box-shadow: var(--shadow-card);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.85rem 1.1rem;
  background: var(--bg-input);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  color: var(--text-pure);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--emerald);
  box-shadow: 0 0 15px var(--emerald-glow);
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

@media (max-width: 640px) {
  .form-grid-2 {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }
}

/* --------------------------------------------------------------------------
   Lightbox / Proof Image Modal
   -------------------------------------------------------------------------- */
.proof-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(4, 5, 8, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.proof-modal.active {
  display: flex;
  opacity: 1;
}

.modal-content-wrap {
  max-width: 1100px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.8);
}

.modal-header {
  padding: 1.25rem 1.75rem;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-header h4 {
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.modal-close-btn {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.modal-close-btn:hover {
  color: var(--text-pure);
  background: rgba(255, 255, 255, 0.1);
}

.modal-image-area {
  padding: 1.5rem;
  overflow-y: auto;
  display: flex;
  justify-content: center;
  background: #06070a;
}

.modal-image-area img {
  max-height: 70vh;
  width: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

.modal-footer {
  padding: 1rem 1.75rem;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  padding: 4.5rem 0 2.5rem;
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-darkest);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand-col p {
  font-size: 0.925rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
  max-width: 320px;
}

.footer-col h5 {
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
  color: var(--text-primary);
}

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

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-muted);
}

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.825rem;
  color: var(--text-dim);
}

/* --------------------------------------------------------------------------
   Mobile Drawer Backdrop
   -------------------------------------------------------------------------- */
.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 7, 12, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

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

/* --------------------------------------------------------------------------
   Comprehensive Mobile & Tablet Responsiveness
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-title { font-size: clamp(2.4rem, 4.5vw, 3.2rem); }
  .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
  .hero-visual-wrap { order: -1; }
  .hero-image-card { max-width: 360px; }
  .floating-badge { display: none !important; }
  .case-study-grid { grid-template-columns: 1fr; }
  .offers-grid { grid-template-columns: 1fr; }
  .framework-grid { grid-template-columns: 1fr; }
  .framework-card.featured-card { grid-column: auto; }
  .calculator-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .case-detail-grid { grid-template-columns: 1fr; gap: 2.25rem; }
  .proof-vault-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  /* Container Safe Spacing */
  .container {
    padding: 0 1.15rem;
  }

  /* Compact Site Header */
  .site-header {
    padding: 0.75rem 0;
  }

  .nav-inner {
    gap: 0.5rem;
  }

  .logo-badge {
    width: 34px;
    height: 34px;
    font-size: 0.9rem;
  }

  .logo-name {
    font-size: 0.95rem;
  }

  .logo-tagline {
    display: none;
  }

  .nav-cta-group {
    gap: 0.45rem;
  }

  .nav-cta-group .btn-secondary {
    display: none;
  }

  .nav-cta-group .btn-whatsapp {
    padding: 0.42rem 0.8rem;
    font-size: 0.825rem;
    gap: 0.35rem;
  }

  .theme-toggle {
    width: 36px;
    height: 36px;
  }

  .mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    font-size: 1.15rem;
    flex-shrink: 0;
  }

  /* Full-Screen Drawer Menu */
  .nav-links {
    display: flex;
    position: fixed;
    top: 58px;
    left: 0;
    right: 0;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-light);
    flex-direction: column;
    padding: 1.75rem 1.5rem;
    gap: 0.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    z-index: 999;
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  }

  .nav-links.mobile-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-link {
    font-size: 1.1rem;
    font-weight: 700;
    padding: 0.65rem 0;
    border-bottom: 1px solid var(--border-subtle);
    display: block;
    width: 100%;
  }

  .nav-links li:last-child .nav-link {
    border-bottom: none;
  }

  /* Section Spacing & Fluid Typography */
  .section {
    padding: 3rem 0;
  }

  .section-head {
    margin-bottom: 2rem;
  }

  .section-eyebrow {
    font-size: 0.75rem;
    margin-bottom: 0.5rem;
  }

  .section-title {
    font-size: clamp(1.65rem, 5.5vw, 2.25rem);
    line-height: 1.18;
    margin-bottom: 0.75rem;
  }

  .section-desc {
    font-size: 0.95rem;
    line-height: 1.55;
  }

  /* Hero Section */
  .hero-section {
    padding: 2.75rem 0 2.25rem;
  }

  .hero-status-pill {
    font-size: 0.75rem;
    padding: 0.35rem 0.75rem;
    margin-bottom: 1rem;
    line-height: 1.4;
    max-width: 100%;
  }

  .hero-title {
    font-size: clamp(2rem, 6.8vw, 2.75rem);
    line-height: 1.12;
    margin-bottom: 1rem;
  }

  .hero-subtitle {
    font-size: 0.985rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
  }

  .hero-actions {
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
    margin-bottom: 1.5rem;
  }

  .hero-actions .btn {
    width: 100%;
    padding: 0.85rem 1.4rem;
    font-size: 0.95rem;
  }

  .hero-image-card {
    height: auto;
    max-width: 280px;
    margin: 0 auto;
  }

  .hero-image-card img {
    height: 320px;
  }

  .floating-badge {
    display: none !important;
  }

  /* Metrics 2x2 Grid on Mobile */
  .metrics-section {
    margin-top: 0;
    padding-bottom: 0.5rem;
  }

  .metrics-bar {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.25rem 0.75rem;
    padding: 1.5rem 1rem;
  }

  .metric-item {
    border-right: none !important;
    border-bottom: none !important;
    padding: 0.25rem;
    text-align: center;
  }

  .metric-number {
    font-size: 1.85rem;
  }

  .metric-suffix {
    font-size: 1.2rem;
  }

  .metric-label {
    font-size: 0.75rem;
    line-height: 1.35;
  }

  .metric-sub {
    display: none;
  }

  /* Philosophy & Comparison */
  .philosophy-card {
    padding: 1.6rem 1.15rem;
  }

  .philosophy-quote {
    font-size: 1.35rem;
    line-height: 1.3;
    margin-bottom: 1rem;
  }

  .comparison-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .comparison-col {
    padding: 1.35rem 1.15rem;
  }

  /* Framework & Offers Grids */
  .framework-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .framework-card {
    padding: 1.5rem 1.2rem;
  }

  .offers-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .offer-card {
    padding: 1.75rem 1.25rem;
  }

  /* Calculator Mobile Polish */
  .calculator-card {
    padding: 1.6rem 1.15rem;
  }

  .calc-result-box {
    padding: 1.4rem 1.15rem;
  }

  .result-stat-number {
    font-size: clamp(1.85rem, 6vw, 2.3rem);
  }

  .result-breakdown-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
  }

  .breakdown-item h6 {
    font-size: 1.05rem;
  }

  /* CTA Banner Mobile */
  .cta-banner {
    padding: 2.25rem 1.2rem;
  }

  .cta-title {
    font-size: clamp(1.55rem, 5.2vw, 2.1rem);
    line-height: 1.2;
  }

  .cta-buttons {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }

  .cta-buttons .btn {
    width: 100%;
    padding: 0.85rem 1.25rem;
  }

  /* FAQ Accordion Mobile */
  .faq-question {
    padding: 1.15rem 1.15rem;
    font-size: 0.985rem;
    gap: 0.75rem;
  }

  .faq-answer {
    padding: 0 1.15rem 1.15rem;
    font-size: 0.9rem;
    line-height: 1.55;
  }

  /* Forms & Contact Grid */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .contact-card-sidebar {
    padding: 1.6rem 1.15rem;
  }

  .form-card {
    padding: 1.6rem 1.15rem;
  }

  .form-input, .form-select, .form-textarea {
    padding: 0.8rem 1rem;
    font-size: 16px; /* Prevents auto-zoom on iOS safari */
  }

  /* Case Studies Mobile */
  .case-detail-block {
    padding: 1.6rem 1.15rem;
    margin-bottom: 1.75rem;
  }

  .case-detail-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .proof-thumbnail-wrap img {
    height: 220px;
  }

  .proof-vault-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .case-filter-bar {
    gap: 0.45rem;
    margin-bottom: 1.75rem;
  }

  .case-filter-btn {
    padding: 0.45rem 0.9rem;
    font-size: 0.8rem;
  }

  .case-metrics-row {
    flex-wrap: wrap;
    gap: 1rem;
  }

  /* Footer Mobile */
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }

  /* Modal Mobile */
  .proof-modal {
    padding: 0.75rem;
  }

  .modal-image-area img {
    max-height: 52vh;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 0.9rem;
  }

  .section {
    padding: 2.25rem 0;
  }

  .hero-section {
    padding: 2.25rem 0 1.75rem;
  }

  .nav-cta-group .btn-whatsapp {
    padding: 0.38rem 0.65rem;
    font-size: 0.78rem;
  }

  .theme-toggle {
    width: 34px;
    height: 34px;
  }

  .mobile-toggle {
    width: 34px;
    height: 34px;
  }
}
