/* ============================================
   Nav.ai - Professional Design System
   Built from scratch with modern best practices
   ============================================ */

/* ==========================================
   RESET & BASE
   ========================================== */

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

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  background: var(--bg-primary);
  transition: background-color 0.3s ease;
}

/* ==========================================
   DARK MODE COLOR SCHEME - COMPREHENSIVE
   ========================================== */

:root {
  /* Light mode colors (default) */
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-tertiary: #f1f5f9;
  --bg-hover: #f8fafc;

  --text-primary: #1a1a1a;
  --text-secondary: #64748b;
  --text-tertiary: #94a3b8;
  --text-heading: #1a1a1a;
  --text-muted: #94a3b8;

  --border-color: #e5e7eb;
  --border-color-light: #f1f5f9;

  --navbar-bg: rgba(255, 255, 255, 0.85);
  --card-bg: #ffffff;
  --input-bg: #ffffff;
  --hero-bg: #ffffff;
  --section-bg: #ffffff;

  --link-color: #3b82f6;
  --link-hover: #2563eb;

  --placeholder-color: #94a3b8;

  --success-color: #059669;
  --success-bg: rgba(16, 185, 129, 0.1);
  --success-border: rgba(16, 185, 129, 0.2);

  --error-color: #DC2626;
  --error-bg: rgba(239, 68, 68, 0.1);
  --error-border: rgba(239, 68, 68, 0.2);
}

.dark {
  /* Dark mode colors */
  --bg-primary: #0f172a;
  --bg-secondary: #1e293b;
  --bg-tertiary: #334155;
  --bg-hover: #334155;

  --text-primary: #f1f5f9;
  --text-secondary: #cbd5e1;
  --text-tertiary: #94a3b8;
  --text-heading: #ffffff;
  --text-muted: #94a3b8;

  --border-color: #334155;
  --border-color-light: #475569;

  --navbar-bg: rgba(15, 23, 42, 0.85);
  --card-bg: #1e293b;
  --input-bg: #1e293b;
  --hero-bg: #0f172a;
  --section-bg: #0f172a;

  --link-color: #60a5fa;
  --link-hover: #93c5fd;

  --placeholder-color: #64748b;

  --success-color: #10b981;
  --success-bg: rgba(16, 185, 129, 0.15);
  --success-border: rgba(16, 185, 129, 0.3);

  --error-color: #ef4444;
  --error-bg: rgba(239, 68, 68, 0.15);
  --error-border: rgba(239, 68, 68, 0.3);
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-primary);
  overflow-x: hidden;
  position: relative;
  transition: background-color 0.3s ease, color 0.3s ease;
}


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

button {
  font-family: inherit;
  cursor: pointer;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ==========================================
   CSS VARIABLES
   ========================================== */

:root {
  /* Legacy color variables - now reference dark mode system */
  --primary: var(--text-heading);
  --accent: #3B82F6;
  --success: #10B981;
  --border: var(--border-color);

  /* Spacing */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;

  /* Typography - Modern Sans-Serif System */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;

  /* Font Weights - Refined Elegant Typography */
  --font-light: 300;
  --font-normal: 400;
  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 600;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.1);

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --transition: 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================
   TYPOGRAPHY - MODERN SANS-SERIF SYSTEM
   ========================================== */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-sans);
  font-weight: var(--font-semibold);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-heading);
  margin: 0;
  transition: color 0.3s ease;
}

h1 {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h3 {
  font-size: clamp(1.125rem, 2.5vw, 1.75rem);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

h4 {
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 500;
  line-height: 1.4;
}

h5 {
  font-size: clamp(0.9375rem, 1.8vw, 1.125rem);
  font-weight: 500;
  line-height: 1.4;
}

h6 {
  font-size: clamp(0.875rem, 1.5vw, 1rem);
  font-weight: 500;
  line-height: 1.5;
}

p {
  font-family: var(--font-sans);
  font-size: clamp(0.875rem, 1.5vw, 1rem);
  font-weight: var(--font-normal);
  line-height: 1.7;
  color: var(--text-secondary);
  margin: 0;
}

.text-gradient {
  color: var(--accent);
}

/* ==========================================
   UNIFIED CONTAINER SYSTEM - MATCHES NAVBAR
   ========================================== */

/*
  Navbar dimensions:
  - Width: calc(100% - 80px) with max-width: 1200px
  - This means 40px margin on each side
  - All content must match these exact boundaries
*/

/* Master Container - Fluid Width */
.container,
.page-container {
  width: min(calc(100% - clamp(2rem, 5vw, 5rem)), 1240px);
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 2.5rem);
  box-sizing: border-box;
}

/* Content Inner Padding */
.container-inner {
  padding: 0 clamp(1rem, 2vw, 1.5rem);
  box-sizing: border-box;
}

/* Section Wrapper - Full Width Background with Fluid Spacing */
.section {
  padding: clamp(3rem, 8vw, 5rem) 0;
  position: relative;
}

.section-compact {
  padding: clamp(2.5rem, 6vw, 4rem) 0;
}


/* Modular Block - Visual Rectangle Card */
.block {
  background: var(--card-bg);
  border-radius: 16px;
  padding: 48px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.1),
              0 1px 2px rgba(15, 23, 42, 0.06);
  margin-bottom: 32px;
  box-sizing: border-box;
  transition: background-color 0.3s ease;
}

.block-lg {
  padding: 64px;
}

.block-alt {
  background: var(--bg-secondary);
}

.block-border {
  border: 1px solid var(--border);
}

/* Spacing Between Blocks */
.section + .section {
  margin-top: 0;
}

.block + .block {
  margin-top: 32px;
}

/* ==========================================
   NAVIGATION - CONTAINED WIDTH
   ========================================== */

.nav {
  position: fixed;
  top: 32px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 120px);
  max-width: 1140px;
  z-index: 2000;
  background: var(--bg-primary);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Scrolled State - Becomes floating with glassy effect */
.nav.scrolled {
  top: 12px;
  background: var(--navbar-bg);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.12),
              0 2px 8px rgba(15, 23, 42, 0.08);
  max-width: 920px;
}

/* Dark mode navbar adjustments */
.dark .nav.scrolled {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3),
              0 2px 12px rgba(0, 0, 0, 0.2);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0 24px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav.scrolled .nav-container {
  height: 64px;
  padding: 0 16px;
}

.nav-logo {
  font-family: var(--font-sans);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-heading);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav.scrolled .nav-logo {
  font-size: 1.25rem;
  margin-right: -4px;
}

.nav-logo:hover {
  color: var(--accent);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  list-style: none;
  transition: gap 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav.scrolled .nav-menu {
  gap: 10px;
}

.nav-link {
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: var(--font-medium);
  color: var(--text-secondary);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  padding: var(--space-2) 0;
}

.nav.scrolled .nav-link {
  font-size: 0.875rem;
  padding: var(--space-2) 4px;
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  transition: gap 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav.scrolled .nav-actions {
  gap: 6px;
}

.lang-switcher {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: var(--font-semibold);
  color: var(--text-secondary);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav.scrolled .lang-switcher {
  width: 34px;
  height: 34px;
  font-size: 0.75rem;
}

.lang-switcher:hover {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
  transform: scale(1.05);
}

/* Dark Mode Toggle Button */
.dark-mode-toggle {
  position: relative;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border: none;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.2s ease;
  padding: 0;
}

.dark-mode-toggle:hover {
  background: rgba(59, 130, 246, 0.1);
}

/* Hide mobile toggle on desktop */
.dark-mode-toggle-mobile {
  display: none;
}

/* Mobile Nav Actions Wrapper - Hidden on desktop */
.mobile-nav-actions {
  display: none;
}

.dark-mode-toggle svg {
  position: absolute;
  stroke: var(--text-primary);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Show sun by default (light mode) */
.sun-icon {
  transform: rotate(0deg) scale(1);
  opacity: 1;
}

.moon-icon {
  transform: rotate(90deg) scale(0);
  opacity: 0;
}

/* Dark mode active - show moon */
.dark .sun-icon {
  transform: rotate(90deg) scale(0);
  opacity: 0;
}

.dark .moon-icon {
  transform: rotate(0deg) scale(1);
  opacity: 1;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 32px;
  height: 32px;
  padding: 4px;
  background: transparent;
  border: none;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: all var(--transition);
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translateY(8px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-8px);
}

/* ==========================================
   BUTTONS
   ========================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: clamp(0.625rem, 1.5vw, 0.75rem) clamp(1.25rem, 3vw, 1.5rem);
  font-family: var(--font-sans);
  font-size: clamp(0.875rem, 1.5vw, 1rem);
  font-weight: var(--font-medium);
  border-radius: var(--radius-full);
  border: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  white-space: nowrap;
}

.nav.scrolled .btn {
  padding: 9px 18px;
  font-size: 0.875rem;
}

.btn-primary {
  background: var(--accent);
  color: white;
}

.btn-primary:hover {
  background: #2563EB;
  transform: scale(1.02);
}

.btn-secondary {
  background: var(--primary);
  color: white;
}

.btn-secondary:hover {
  background: #334155;
  transform: scale(1.02);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}

.btn-outline:hover {
  background: rgba(59, 130, 246, 0.05);
}

.btn-lg {
  padding: var(--space-4) var(--space-8);
  font-size: 1.125rem;
}

/* iOS Blue Button - System Blue */
.btn-primary-ios {
  background: #007AFF;
  color: white;
}

.btn-primary-ios:hover {
  background: #0051D5;
  transform: scale(1.02);
}

/* Dark Outline Button */
.btn-outline-dark {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--text-primary);
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.btn-outline-dark:hover {
  background: var(--bg-hover);
  border-color: var(--text-heading);
  color: var(--text-heading);
}

/* ==========================================
   HERO SECTION
   ========================================== */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  background: var(--bg-primary);
  position: relative;
  overflow: hidden;
}

}

/* Country Flags Background */
.hero-flags {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.flag-img {
  position: absolute;
  width: 110px;
  height: auto;
  opacity: 0.18;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.08));
  animation: floatFlag 20s ease-in-out infinite;
  user-select: none;
  pointer-events: none;
  border-radius: 3px;
}

/* USA Flag - Top Left (inside walls) */
.flag-img:nth-child(1) {
  top: 12%;
  left: calc((100vw - 1240px) / 2 + 40px);
  animation-delay: 0s;
  animation-duration: 22s;
}

/* Germany Flag - Top Right (inside walls) */
.flag-img:nth-child(2) {
  top: 18%;
  right: calc((100vw - 1240px) / 2 + 60px);
  animation-delay: -5s;
  animation-duration: 25s;
}

/* UAE Flag - Middle Left (inside walls) */
.flag-img:nth-child(3) {
  top: 52%;
  left: calc((100vw - 1240px) / 2 + 80px);
  animation-delay: -10s;
  animation-duration: 24s;
}

/* Turkey Flag - Bottom Right (inside walls) */
.flag-img:nth-child(4) {
  top: 68%;
  right: calc((100vw - 1240px) / 2 + 50px);
  animation-delay: -15s;
  animation-duration: 23s;
}

/* UK Flag - Bottom Left (inside walls) */
.flag-img:nth-child(5) {
  top: 78%;
  left: calc((100vw - 1240px) / 2 + 120px);
  animation-delay: -20s;
  animation-duration: 26s;
}

@keyframes floatFlag {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg);
  }
  25% {
    transform: translate(10px, -12px) rotate(2deg);
  }
  50% {
    transform: translate(-6px, -18px) rotate(-1deg);
  }
  75% {
    transform: translate(-12px, -8px) rotate(1deg);
  }
}

/* Mobile adjustments for flags */
@media (max-width: 768px) {
  .flag-img {
    width: 80px;
    opacity: 0.2;
  }

  .flag-img:nth-child(1) {
    left: 50px;
  }

  .flag-img:nth-child(2) {
    right: 50px;
  }

  .flag-img:nth-child(3) {
    left: 40px;
  }

  .flag-img:nth-child(4) {
    right: 60px;
  }

  .flag-img:nth-child(5) {
    left: 70px;
  }
}

/* Tablet adjustments */
@media (min-width: 769px) and (max-width: 1280px) {
  .flag-img {
    width: 90px;
    opacity: 0.23;
  }

  .flag-img:nth-child(1) {
    left: 80px;
  }

  .flag-img:nth-child(2) {
    right: 100px;
  }

  .flag-img:nth-child(3) {
    left: 100px;
  }

  .flag-img:nth-child(4) {
    right: 90px;
  }

  .flag-img:nth-child(5) {
    left: 140px;
  }
}


.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 4rem);
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 2.5rem);
  box-sizing: border-box;
  position: relative;
  z-index: 1;
}

/* Centered hero layout */
.hero-container.hero-centered {
  grid-template-columns: 1fr;
  max-width: 900px;
  text-align: center;
}

.hero-centered .hero-content {
  max-width: 100%;
}

.hero-centered .hero-badge {
  justify-content: center;
}

.hero-centered .hero-actions {
  justify-content: center;
  flex-wrap: wrap;
}

.hero-centered .hero-trust {
  justify-content: center;
}

.hero-content {
  max-width: 600px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: var(--success-bg);
  border: 1px solid var(--success-border);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--success-color);
  margin-bottom: var(--space-6);
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.hero-title {
  margin-bottom: var(--space-6);
  letter-spacing: -0.02em;
  color: var(--text-heading);
  transition: color 0.3s ease;
}

.hero-subtitle {
  margin-bottom: var(--space-8);
  color: var(--text-secondary);
  transition: color 0.3s ease;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.875rem;
  color: var(--text-tertiary);
}

.trust-icon {
  color: var(--success);
}

.hero-visual {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-xl);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.visual-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: var(--space-4);
  margin-bottom: var(--space-6);
  border-bottom: 1px solid var(--border);
}

.visual-dots {
  display: flex;
  gap: var(--space-2);
}

.visual-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.visual-dots span:nth-child(1) { background: #FF5F57; }
.visual-dots span:nth-child(2) { background: #FFBD2E; }
.visual-dots span:nth-child(3) { background: #28CA42; }

.visual-title {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.code-block {
  font-family: 'Monaco', 'Courier New', monospace;
  font-size: 0.875rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

.code-line {
  margin-bottom: var(--space-1);
}

.code-keyword { color: #D73A49; font-weight: 500; }
.code-var { color: #6F42C1; }
.code-property { color: var(--accent); }
.code-string { color: #22863A; }

.code-indent {
  padding-left: var(--space-6);
}

/* ==========================================
   STATS BAR - MODULAR GRID
   ========================================== */

.stats {
  padding: 80px 0;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  background: transparent;
}


.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
  gap: clamp(1.5rem, 4vw, 2rem);
  position: relative;
}

.stat-card {
  text-align: center;
  padding: clamp(2rem, 5vw, 3rem) clamp(1rem, 3vw, 1.5rem);
  background: var(--card-bg);
  border: none;
  border-radius: 12px;
  transition: all 0.2s ease;
  min-height: clamp(150px, 20vw, 200px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.stat-card:hover {
  background: var(--bg-secondary);
  transform: none;
  box-shadow: none;
}

.stat-number {
  font-family: var(--font-sans);
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--accent);
  margin-bottom: var(--space-2);
}

.stat-label {
  font-family: var(--font-sans);
  font-size: clamp(0.75rem, 1.5vw, 0.875rem);
  font-weight: var(--font-medium);
  color: var(--text-secondary);
  transition: color 0.3s ease;
}

/* ==========================================
   FEATURES SECTION - MODULAR GRID
   ========================================== */

.features {
  padding: 80px 0;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  background: var(--section-bg);
  transition: background-color 0.3s ease;
}


.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 24px 48px;
}

.section-badge {
  display: inline-block;
  padding: var(--space-2) var(--space-4);
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: var(--radius-full);
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: var(--font-semibold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
  margin-bottom: var(--space-4);
}

.section-title {
  margin-bottom: var(--space-4);
  letter-spacing: -0.02em;
  color: var(--text-heading);
  transition: color 0.3s ease;
}

.section-subtitle {
  font-family: var(--font-sans);
  font-size: 1.125rem;
  font-weight: var(--font-normal);
  line-height: 1.6;
  color: var(--text-secondary);
  transition: color 0.3s ease;
}

.features-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 2.5rem) clamp(2rem, 6vw, 3.75rem);
  box-sizing: border-box;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: clamp(1rem, 3vw, 2rem);
  padding: 0;
}

.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2rem);
  transition: all var(--transition);
  box-sizing: border-box;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
  border-color: rgba(59, 130, 246, 0.3);
}

.dark .feature-card:hover {
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

.feature-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #3B82F6;
  border-radius: 10px;
  color: white;
  margin-bottom: var(--space-4);
  flex-shrink: 0;
}

.feature-icon svg,
.feature-icon i {
  width: 24px;
  height: 24px;
}

.feature-title {
  font-family: var(--font-sans);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text-heading);
  margin-bottom: var(--space-3);
  line-height: 1.3;
  transition: color 0.3s ease;
}

.feature-description {
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: var(--font-normal);
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
  transition: color 0.3s ease;
}

/* ==========================================
   WAITLIST FORM - INTEGRATED GRID
   ========================================== */

.waitlist {
  padding: 80px 0;
  background: var(--section-bg);
  position: relative;
  transition: background-color 0.3s ease;
}


.waitlist-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 2.5rem);
  box-sizing: border-box;
}

.form-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  box-sizing: border-box;
}

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

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group-full {
  grid-column: 1 / -1;
}

.form-label {
  font-family: var(--font-sans);
  font-size: clamp(0.75rem, 1.5vw, 0.875rem);
  font-weight: var(--font-medium);
  color: var(--text-primary);
  margin-bottom: var(--space-2);
}

.form-input,
.form-select {
  padding: clamp(0.75rem, 2vw, 1rem);
  font-size: clamp(0.875rem, 1.5vw, 1rem);
  font-family: var(--font-sans);
  font-weight: var(--font-normal);
  color: var(--text-primary);
  background: var(--input-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  min-height: 48px;
}

.form-input::placeholder,
.form-select::placeholder {
  color: var(--placeholder-color);
}

.form-input:focus,
.form-select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.dark .form-input:focus,
.dark .form-select:focus {
  box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.2);
}

.form-hint {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: var(--font-normal);
  color: var(--text-tertiary);
  margin-top: var(--space-1);
}

.form-submit {
  width: 100%;
}

.form-message {
  margin-top: var(--space-6);
  padding: var(--space-6);
  border-radius: var(--radius-md);
  display: none;
}

.form-message.success {
  background: var(--success-bg);
  border: 1px solid var(--success-border);
  color: var(--success-color);
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.form-message.error {
  background: var(--error-bg);
  border: 1px solid var(--error-border);
  color: var(--error-color);
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.form-message h3 {
  font-size: 1.25rem;
  margin-bottom: var(--space-3);
}

.form-message p {
  font-size: 1rem;
  margin-bottom: var(--space-2);
}

/* ==========================================
   POSITION CHECKER - INTEGRATED GRID
   ========================================== */

.position-checker {
  padding: 80px 0;
  background: var(--bg-secondary);
  position: relative;
  transition: background-color 0.3s ease;
}


.checker-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 2.5rem);
  box-sizing: border-box;
}

.checker-container {
  max-width: 700px;
  margin: 0 auto;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  box-sizing: border-box;
  text-align: center;
}

.checker-form {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-8);
}

.checker-input {
  flex: 1;
}

.position-result {
  margin-top: var(--space-8);
  padding: var(--space-8);
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  display: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.position-number {
  font-family: var(--font-sans);
  font-size: 4rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--accent);
  margin-bottom: var(--space-2);
}

/* ==========================================
   FAQ SECTION - WALL-TO-WALL GRID
   ========================================== */

.faq {
  padding: 80px 0;
  background: var(--section-bg);
  position: relative;
  transition: background-color 0.3s ease;
}


.faq-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 2.5rem);
  box-sizing: border-box;
}

.faq-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 2.5rem);
  box-sizing: border-box;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: var(--space-12);
  border-top: 1px solid var(--border-color);
}

.faq-item {
  background: var(--card-bg);
  border: none;
  border-bottom: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  transition: background-color 0.2s ease;
  box-shadow: none;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-item:hover {
  background: var(--bg-secondary);
  box-shadow: none;
  border-color: var(--border-color);
}

.faq-item.active {
  background: var(--bg-secondary);
  border-color: var(--border-color);
  box-shadow: none;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-6) var(--space-8);
  background: transparent;
  border: none;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  font-weight: var(--font-semibold);
  color: var(--text-heading);
  text-align: left;
  cursor: pointer;
  transition: color 0.3s ease;
}

.faq-question:hover {
  color: var(--accent);
}

.faq-icon {
  flex-shrink: 0;
  color: var(--accent);
  transition: transform var(--transition);
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 var(--space-8) var(--space-6);
}

.faq-answer p {
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: var(--font-normal);
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ==========================================
   FOOTER
   ========================================== */

.footer {
  padding: 64px 0;
  background: var(--bg-primary);
  color: var(--text-primary);
  border-top: 1px solid var(--border-color);
}

.footer-container {
  width: calc(100% - 80px);
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-12);
  margin-bottom: var(--space-12);
}

.footer-brand {
  max-width: 400px;
}

.footer-logo {
  font-family: var(--font-sans);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: var(--space-4);
  color: var(--primary);
}

.footer-tagline {
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: var(--font-normal);
  color: var(--text-secondary);
  line-height: 1.6;
}

.footer-column h4 {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: var(--font-semibold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-4);
  color: var(--text-heading);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-link {
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: var(--font-normal);
  color: var(--text-secondary);
  transition: color var(--transition);
}

.footer-link:hover {
  color: var(--text-heading);
}

.footer-bottom {
  padding-top: var(--space-8);
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-copyright {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: var(--font-normal);
  color: var(--text-secondary);
}

.footer-social {
  display: flex;
  gap: var(--space-3);
}

.social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  color: var(--text-primary);
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
  transition: all var(--transition);
}

.social-link:hover {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
  transform: translateY(-2px);
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */

@media (max-width: 1024px) {
  /* Tablet: Navbar and all content match at 64px margins */
  .nav {
    width: calc(100% - 64px);
  }

  .nav.scrolled {
    width: calc(100% - 96px);
  }

  .nav-container {
    padding: 0 20px;
  }

  .nav.scrolled .nav-container {
    padding: 0 20px;
  }

  /* All content containers match navbar width */
  .hero-container,
  .features-container,
  .waitlist-container,
  .checker-wrapper,
  .faq-wrapper,
  .footer-container {
    padding: 0 32px;
  }

  .hero-container {
    grid-template-columns: 1fr;
    gap: var(--space-12);
  }

  .hero-visual {
    order: -1;
  }

  /* Tablet features */
  .features-grid {
    gap: var(--space-5);
  }

  .feature-card {
    flex: 1 1 calc(50% - var(--space-5));
    min-width: 240px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-card:nth-child(2n) {
    border-right: none;
  }

  .stat-card:nth-child(3),
  .stat-card:nth-child(4) {
    border-bottom: none;
  }

  .stat-card:nth-child(odd) {
    border-right: 1px solid var(--border-color);
  }

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

/* ==========================================
   VIEW TRANSITION API - CIRCULAR REVEAL
   ========================================== */

/* Enable view transitions for dark mode toggle */
@supports (view-transition-name: none) {
  /* Ensure view transition appears above all content */
  ::view-transition-group(root),
  ::view-transition-image-pair(root),
  ::view-transition-old(root),
  ::view-transition-new(root) {
    z-index: 999999 !important;
  }

  /* Disable default fade animation */
  ::view-transition-old(root),
  ::view-transition-new(root) {
    animation: none;
    mix-blend-mode: normal;
  }

  /* Apply circular reveal to new view */
  ::view-transition-new(root) {
    animation: reveal 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  }
}

/* Circular reveal animation */
@keyframes reveal {
  from {
    clip-path: circle(0% at var(--x, 50%) var(--y, 50%));
  }
  to {
    clip-path: circle(150% at var(--x, 50%) var(--y, 50%));
  }
}

/* ==========================================
   MOBILE DESIGN - CLEAN REBUILD
   Professional, properly-spaced mobile experience
   ========================================== */

@media (max-width: 768px) {
  /* ===== MOBILE NAVBAR ===== */

  /* Static state (initial) */
  .nav {
    position: fixed;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: none;
    height: 56px;
    background: var(--bg-primary);
    border: none;
    border-radius: 0;
    box-shadow: none;
    z-index: 2000;
    transition: all 0.3s ease;
  }

  /* Floating state (scrolled) */
  .nav.scrolled {
    top: 8px;
    width: 92%;
    max-width: 420px;
    height: 52px;
    background: var(--navbar-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.1),
                0 2px 8px rgba(15, 23, 42, 0.05);
  }

  .nav-container {
    height: 56px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .nav.scrolled .nav-container {
    height: 52px;
    padding: 0 18px;
  }

  .nav-logo {
    font-size: 1.25rem;
    font-weight: 600;
  }

  .nav.scrolled .nav-logo {
    font-size: 1.125rem;
  }

  /* Hide desktop menu items */
  .nav-menu {
    display: none;
  }

  .nav-actions {
    display: none;
  }

  /* Show mobile nav actions wrapper - aligned to the right */
  .mobile-nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem; /* 16px gap between dark mode toggle and hamburger */
  }

  /* Show mobile dark mode toggle */
  .dark-mode-toggle-mobile {
    display: flex !important;
  }

  /* Show burger menu - FIXED: Perfect centering */
  .menu-toggle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    padding: 0;
    background: transparent;
    border: none;
    cursor: pointer;
  }

  .menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transition: all 0.3s ease;
  }

  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translateY(9px);
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-9px);
  }

  /* ===== BOTTOM SHEET MENU - Professional AI-style ===== */

  /* Backdrop */
  .menu-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 998;
  }

  .menu-backdrop.active {
    opacity: 1;
    visibility: visible;
  }

  /* Bottom Sheet */
  .mobile-menu {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70vh;
    max-height: 600px;
    background: var(--navbar-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: 24px 24px 0 0;
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.15);
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), background 0.3s ease;
    z-index: 999;
    overflow: hidden;
    padding-bottom: env(safe-area-inset-bottom);
  }

  .mobile-menu.active {
    transform: translateY(0);
  }

  /* Drag Handle (Pill) */
  .menu-handle {
    width: 40px;
    height: 5px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    margin: 12px auto 20px auto;
    cursor: grab;
  }

  /* Navigation Container */
  .mobile-menu-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 0 24px 32px 24px;
    overflow-y: auto;
    max-height: calc(70vh - 100px);
  }

  /* Navigation Links */
  .mobile-menu-link {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    font-size: 18px;
    font-weight: 500;
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 12px;
    transition: background 0.2s ease, color 0.3s ease;
    min-height: 56px;
  }

  .mobile-menu-link:active {
    background: rgba(0, 0, 0, 0.05);
  }

  .dark .mobile-menu-link:active {
    background: rgba(255, 255, 255, 0.1);
  }

  /* CTA Button inside sheet */
  .mobile-menu-cta {
    width: 100%;
    padding: 16px;
    margin-top: 16px;
    background: #3B82F6;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    min-height: 56px;
    cursor: pointer;
    transition: background 0.2s ease;
  }

  .mobile-menu-cta:active {
    background: #2563EB;
  }

  /* Close button */
  .menu-close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F8FAFC;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
  }

  .menu-close:active {
    background: #E5E7EB;
    transform: scale(0.95);
  }

  /* Menu items */
  .mobile-menu-items {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
  }

  .mobile-menu-items li {
    border-bottom: 1px solid var(--border-color);
  }

  .mobile-menu-items li:last-child {
    border-bottom: none;
  }

  .mobile-menu-items a {
    display: flex;
    align-items: center;
    padding: 16px 0;
    min-height: 48px;
    font-size: 18px;
    font-weight: 500;
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.2s ease;
  }

  .mobile-menu-items a:active {
    color: var(--accent);
  }

  /* Language switcher in menu */
  .mobile-menu .lang-switcher {
    width: 100%;
    height: 48px;
    justify-content: center;
    margin: 16px 0;
  }

  /* CTA button in menu */
  .mobile-menu .btn-primary {
    width: 100%;
    height: 52px;
    justify-content: center;
    font-size: 16px;
  }

  /* ===== MOBILE CONTENT CONTAINERS ===== */

  /* All containers fit within walls with proper padding */
  .hero-container,
  .features-container,
  .waitlist-container,
  .checker-wrapper,
  .faq-wrapper,
  .footer-container {
    padding: 0 20px;
    box-sizing: border-box;
  }


  /* ===== MOBILE TYPOGRAPHY ===== */

  body {
    font-size: 16px;
  }

  h1 {
    font-size: 28px;
    line-height: 1.2;
  }

  h2 {
    font-size: 22px;
    line-height: 1.3;
  }

  h3 {
    font-size: 18px;
    line-height: 1.4;
  }

  p {
    font-size: 16px;
    line-height: 1.6;
  }

  /* ===== MOBILE SECTIONS ===== */

  /* Hero Section - FIXED: Better positioning and background blending */
  .hero {
    min-height: auto;
    padding: clamp(80px, 20vh, 120px) 0 40px;
    background: var(--hero-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }

  .hero-content {
    transform: translateY(20px);
  }

  /* STEP 1: Hide flags completely on mobile */
  .hero-flags,
  .flag-img {
    display: none !important;
  }

  .hero-badge {
    font-size: 14px;
    padding: 8px 16px;
    margin-bottom: 16px;
  }

  /* STEP 2: Hero title - ONE LINE on mobile (22px) - FIXED: Better positioning */
  .hero-title {
    font-size: 22px;
    line-height: 1.2;
    margin-top: clamp(60px, 15vh, 100px);
    margin-bottom: 16px;
    letter-spacing: -0.01em;
  }

  .hero-subtitle {
    font-size: 16px;
    margin-bottom: 24px;
  }

  /* STEP 3: Button hierarchy - blue smaller, onboarding larger */
  .hero-actions {
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
  }

  /* Blue CTA button - SMALLER */
  .hero-actions .btn-primary {
    width: 100%;
    height: 42px;
    font-size: 14px;
    padding: 10px 20px;
  }

  /* Onboarding button - LARGER and prominent */
  .hero-actions .btn-secondary,
  .hero-actions .btn-outline-dark {
    width: 100%;
    height: 48px;
    font-size: 16px;
    padding: 12px 24px;
    font-weight: 500;
  }

  .hero-trust {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .trust-item {
    font-size: 14px;
  }

  /* Section Spacing */
  .section {
    padding: 32px 0;
  }

  /* STEP 4: Section headers with proper padding - within walls */
  .section-header {
    padding: 24px 20px;
    margin-left: 0;
    margin-right: 0;
  }

  .section-badge {
    font-size: 12px;
  }

  .section-title {
    font-size: 22px;
    margin-bottom: 12px;
    padding-left: 0;
    padding-right: 0;
    max-width: 100%;
  }

  .section-subtitle {
    font-size: 16px;
    padding-left: 0;
    padding-right: 0;
  }

  /* Stats Section - FIXED: Add proper padding from edges */
  .stats {
    padding: 40px 20px;
    max-width: 100%;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0;
    margin: 0;
  }

  .stat-card {
    padding: 32px 20px;
    min-height: 80px;
    border-right: none;
    border-bottom: 1px solid var(--border-color);
    margin: 0;
  }

  .stat-card:last-child {
    border-bottom: none;
  }

  .stat-number {
    font-size: 32px;
    margin-bottom: 8px;
  }

  .stat-label {
    font-size: 14px;
  }

  /* Features Section - FIXED: Add proper padding from edges */

  .features {
    padding: 40px 0;
  }

  .features-container {
    padding: 0 20px 40px;
    box-sizing: border-box;
    margin: 0 auto;
    max-width: 100%;
  }

  .features-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 0;
    margin: 0;
  }

  .feature-card {
    flex: 1 1 100%;
    min-width: 0;
    padding: 24px 20px;
    box-sizing: border-box;
    margin: 0;
  }

  .feature-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 16px;
  }

  .feature-icon svg,
  .feature-icon i {
    width: 20px;
    height: 20px;
  }

  .feature-title {
    font-size: 18px;
    margin-bottom: 8px;
  }

  .feature-description {
    font-size: 14px;
  }

  /* Waitlist Section */
  .waitlist {
    padding: 40px 0;
  }

  .waitlist-container {
    padding: 0 20px;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    padding-left: 0;
    padding-right: 0;
  }

  .form-container {
    padding: 32px 0;
    margin-left: 0;
    margin-right: 0;
  }

  .form-label {
    font-size: 14px;
    margin-bottom: 8px;
  }

  .form-input,
  .form-select {
    width: 100%;
    height: 48px;
    font-size: 16px;
    padding: 12px 16px;
    box-sizing: border-box;
  }

  /* Waitlist submit button - within walls, proper padding */
  .form-submit {
    width: 100%;
    height: 48px;
    font-size: 16px;
    margin-top: 8px;
    box-sizing: border-box;
  }

  /* Position Checker Section */
  .position-checker {
    padding: 40px 0;
  }

  .checker-wrapper {
    padding: 0 20px;
  }

  .checker-container {
    padding: 32px 0;
    margin-left: 0;
    margin-right: 0;
  }

  .checker-form {
    flex-direction: column;
    gap: 12px;
    padding-left: 0;
    padding-right: 0;
  }

  .checker-input {
    width: 100%;
    height: 48px;
    box-sizing: border-box;
    padding: 12px 16px;
  }

  /* Position checker button - within walls */
  .checker-form .btn {
    width: 100%;
    height: 48px;
    box-sizing: border-box;
  }

  .position-number {
    font-size: 48px;
  }

  /* FAQ Section - FIXED: Proper padding from edges, no stretching */
  .faq {
    padding: 40px 0;
  }

  .faq-wrapper {
    padding: 0 20px;
    box-sizing: border-box;
    margin: 0 auto;
    max-width: 100%;
  }

  .faq-container {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
  }

  .faq-list {
    margin-top: 24px;
    padding: 0;
    box-sizing: border-box;
  }

  .faq-item {
    padding: 0;
    margin: 0 0 12px 0;
    box-sizing: border-box;
  }

  .faq-question {
    padding: 16px 20px;
    font-size: 16px;
    min-height: 56px;
    box-sizing: border-box;
    width: 100%;
    text-align: left;
  }

  .faq-answer {
    padding: 0 20px;
    box-sizing: border-box;
  }

  .faq-answer p {
    font-size: 14px;
    line-height: 1.6;
    padding: 0;
    margin: 0;
  }

  .faq-item.active .faq-answer {
    padding: 12px 20px 16px;
  }

  /* Footer */
  .footer {
    padding: 32px 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-logo {
    font-size: 20px;
    margin-bottom: 12px;
  }

  .footer-tagline {
    font-size: 14px;
  }

  .footer-column h4 {
    font-size: 14px;
    margin-bottom: 12px;
  }

  .footer-link {
    font-size: 14px;
  }

  .footer-links {
    gap: 12px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
    padding-top: 24px;
  }

  .footer-copyright {
    font-size: 14px;
  }

  .social-link {
    width: 44px;
    height: 44px;
  }

  /* ===== MOBILE UTILITIES ===== */

  .block {
    padding: 20px;
  }

  .btn {
    min-height: 44px;
    padding: 12px 24px;
  }

  .btn-lg {
    height: 48px;
    font-size: 16px;
  }

  /* ===== HIDE ALL HORIZONTAL SEPARATORS ON MOBILE ===== */
  /* No horizontal lines visible on mobile for cleaner look */

  .faq-list {
    border-top: none !important;
  }

  .faq-item {
    border-bottom: none !important;
    border-top: none !important;
  }

  .stat-card {
    border-right: none !important;
    border-bottom: none !important;
  }

  hr,
  .horizontal-separator,
  .section-divider,
  [class*="separator"],
  [class*="divider"] {
    display: none !important;
  }

  /* Remove any section borders/separators */
  .hero::after,
  .stats::after,
  .features::after,
  .waitlist::after,
  .position-checker::after,
  .faq::after,
  .section::after {
    display: none !important;
  }
}

/* ==========================================
   MOBILE SMALL - ENHANCED RESPONSIVE DESIGN
   iPhone SE, Small Android phones (< 480px)
   ========================================== */

@media (max-width: 479px) {
  /* Typography scaling for very small screens */
  h1 {
    font-size: 2rem;
    line-height: 1.1;
  }

  h2 {
    font-size: 1.75rem;
    line-height: 1.2;
  }

  h3 {
    font-size: 1.25rem;
    line-height: 1.3;
  }

  /* Hero adjustments */
  .hero {
    min-height: auto;
    padding: calc(64px + 32px) 16px 48px;
  }

  .hero-title {
    font-size: 2rem;
    margin-bottom: var(--space-4);
  }

  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: var(--space-6);
  }

  .hero-badge {
    font-size: 0.75rem;
    padding: 6px 12px;
    margin-bottom: var(--space-4);
  }

  .hero-trust {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-3);
  }

  .trust-item {
    font-size: 0.8125rem;
  }

  /* Stats section */
  .stat-card {
    padding: 32px 16px;
    min-height: 150px;
  }

  .stat-number {
    font-size: 2.5rem;
  }

  .stat-label {
    font-size: 0.8125rem;
  }

  /* Features section */
  .section-header {
    padding: 40px 16px 32px;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .section-subtitle {
    font-size: 1rem;
  }

  .feature-card {
    padding: 32px 24px;
    min-height: 280px;
  }

  .feature-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 20px;
  }

  .feature-icon svg {
    width: 24px;
    height: 24px;
  }

  .feature-title {
    font-size: 1.125rem;
  }

  .feature-description {
    font-size: 0.875rem;
  }

  /* Waitlist form */
  .form-container {
    padding: 24px 16px;
  }

  .form-input,
  .form-select {
    padding: 14px;
    font-size: 1rem;
    min-height: 48px;
  }

  .form-label {
    font-size: 0.8125rem;
  }

  .btn-lg {
    padding: 14px 24px;
    font-size: 1rem;
    min-height: 48px;
  }

  /* Position checker */
  .checker-container {
    padding: 24px 16px;
  }

  .position-number {
    font-size: 3rem;
  }

  /* FAQ */
  .faq-question {
    padding: 16px;
    font-size: 1rem;
  }

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

  /* Footer */
  .footer {
    padding: 48px 0;
  }

  .footer-logo {
    font-size: 1.25rem;
  }

  .footer-tagline {
    font-size: 0.875rem;
  }

  /* Tighter container padding on very small screens */
  .hero-container,
  .waitlist-container,
  .checker-wrapper,
  .faq-wrapper,
  .footer-container {
    padding: 0 16px;
  }

  /* Navigation */
  .nav-container {
    padding: 0 16px;
  }

  .nav-logo {
    font-size: 1.25rem;
  }

  /* Ensure buttons meet touch target minimum */
  .btn {
    min-height: 44px;
    padding: 12px 20px;
  }

  /* Form touch targets */
  .checker-input {
    min-height: 48px;
  }
}

/* ==========================================
   LARGE DESKTOP - ENHANCED SPACING
   (1440px and above)
   ========================================== */

@media (min-width: 1440px) {
  .hero-title {
    font-size: 5rem;
  }

  .hero-subtitle {
    font-size: 1.25rem;
  }

  .section-title {
    font-size: 3rem;
  }

  .feature-card {
    padding: 56px 48px;
  }

  .stat-card {
    padding: 56px 32px;
  }
}

/* ==========================================
   TOUCH DEVICE OPTIMIZATIONS
   ========================================== */

@media (hover: none) and (pointer: coarse) {
  /* Remove hover effects on touch devices */
  .feature-card:hover,
  .stat-card:hover,
  .faq-item:hover {
    background: var(--card-bg);
    transform: none;
  }

  /* Enhance active states for touch */
  .btn:active {
    transform: scale(0.98);
  }

  .nav-link:active {
    background: var(--bg-secondary);
  }

  .faq-question:active {
    background: var(--bg-secondary);
  }

  /* Larger tap targets for mobile */
  .nav-link {
    min-height: 48px;
    padding: 12px;
  }

  .social-link {
    width: 48px;
    height: 48px;
  }
}

/* ==========================================
   ANIMATIONS
   ========================================== */

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

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* ==========================================
   SCROLL-TRIGGERED ANIMATIONS (APPLE-STYLE)
   ========================================== */

/* Initial hidden state for scroll animations */
.scroll-animate {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform, opacity;
}

/* Animated visible state */
.scroll-animate.animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* Hero section: fade in on load */
.hero.scroll-animate {
  opacity: 0;
  transform: none;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero.scroll-animate.animate-in {
  opacity: 1;
}

/* Waitlist: fade + scale effect */
.waitlist.scroll-animate {
  opacity: 0;
  transform: scale(0.95) translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.waitlist.scroll-animate.animate-in {
  opacity: 1;
  transform: scale(1) translateY(0);
}

/* Position checker: slide from side */
.position-checker.scroll-animate {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.position-checker.scroll-animate.animate-in {
  opacity: 1;
  transform: translateX(0);
}

/* Staggered delays for feature cards */
.feature-card.scroll-animate:nth-child(1) { transition-delay: 0s; }
.feature-card.scroll-animate:nth-child(2) { transition-delay: 0.1s; }
.feature-card.scroll-animate:nth-child(3) { transition-delay: 0.2s; }
.feature-card.scroll-animate:nth-child(4) { transition-delay: 0.3s; }
.feature-card.scroll-animate:nth-child(5) { transition-delay: 0.4s; }
.feature-card.scroll-animate:nth-child(6) { transition-delay: 0.5s; }

/* FAQ items: sequential fade in */
.faq-item.scroll-animate:nth-child(1) { transition-delay: 0s; }
.faq-item.scroll-animate:nth-child(2) { transition-delay: 0.1s; }
.faq-item.scroll-animate:nth-child(3) { transition-delay: 0.2s; }
.faq-item.scroll-animate:nth-child(4) { transition-delay: 0.3s; }
.faq-item.scroll-animate:nth-child(5) { transition-delay: 0.4s; }
.faq-item.scroll-animate:nth-child(6) { transition-delay: 0.5s; }
.faq-item.scroll-animate:nth-child(7) { transition-delay: 0.6s; }
.faq-item.scroll-animate:nth-child(8) { transition-delay: 0.7s; }

/* Accessibility: respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .scroll-animate {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ==========================================
   UTILITIES
   ========================================== */

.hidden {
  display: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

body.menu-open {
  overflow: hidden;
}

/* ==========================================
   BOOKING MODAL
   ========================================== */

.modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.modal-content {
  position: relative;
  width: 90%;
  max-width: 900px;
  max-height: 90vh;
  background: var(--card-bg);
  border-radius: 16px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.3s ease;
  z-index: 10000;
}

.dark .modal-content {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.modal.active .modal-content {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-hover);
  border: none;
  border-radius: 50%;
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 10001;
}

.modal-close:hover {
  background: var(--bg-tertiary);
  transform: scale(1.1);
}

.modal-title {
  font-family: var(--font-sans);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-heading);
  padding: 32px 32px 0;
  margin-bottom: 0;
  transition: color 0.3s ease;
}

.modal-body {
  padding: 24px 32px 32px;
  overflow-y: auto;
  color: var(--text-primary);
  transition: color 0.3s ease;
  max-height: calc(90vh - 120px);
}

.calendly-container {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.calendly-container iframe {
  display: block;
}

.modal-hint {
  margin-top: 16px;
  font-size: 0.875rem;
  color: var(--text-tertiary);
  text-align: center;
}

.modal-hint kbd {
  display: inline-block;
  padding: 3px 8px;
  font-family: 'Monaco', 'Courier New', monospace;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-primary);
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 4px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
}

/* Prevent body scroll when modal is open */
body.modal-open {
  overflow: hidden;
}

/* Mobile adjustments for modal */
@media (max-width: 768px) {
  .modal-content {
    width: 95%;
    max-height: 95vh;
  }

  .modal-title {
    font-size: 1.25rem;
    padding: 24px 20px 0;
  }

  .modal-body {
    padding: 20px;
    max-height: calc(95vh - 100px);
  }

  .modal-close {
    top: 12px;
    right: 12px;
  }

  .calendly-container iframe {
    height: 600px;
  }
}

/* ============================================
   GLOBAL DARK MODE RESET
   Explicit targeting for stubborn white patches
   ============================================ */

/* Smooth transitions for all color changes (temporary - remove if too slow) */
* {
  transition: background-color 0.3s ease-in-out,
              color 0.3s ease-in-out,
              border-color 0.3s ease-in-out !important;
}

/* ==========================================
   DARK MODE: FORM ELEMENTS
   ========================================== */

.dark input,
.dark textarea,
.dark select,
.dark button:not(.btn):not(.dark-mode-toggle):not(.menu-toggle):not(.modal-close) {
  background-color: var(--input-bg) !important;
  color: var(--text-primary) !important;
  border-color: var(--border-color) !important;
}

/* Form placeholders */
.dark input::placeholder,
.dark textarea::placeholder,
.dark select::placeholder {
  color: var(--placeholder-color) !important;
}

/* Ensure CTA buttons maintain their vibrant colors in dark mode */
.dark .btn-primary {
  background: var(--accent) !important;
  color: white !important;
}

.dark .btn-primary:hover {
  background: #2563EB !important;
}

.dark .btn-secondary {
  background: var(--text-primary) !important;
  color: var(--bg-primary) !important;
}

.dark .btn-secondary:hover {
  background: #cbd5e1 !important;
}

/* ==========================================
   DARK MODE: CONTAINERS
   ========================================== */

.dark section,
.dark article,
.dark footer,
.dark header,
.dark main,
.dark aside,
.dark nav:not(.nav) {
  background-color: transparent !important;
}

/* Specific sections that need dark backgrounds */
.dark section.hero,
.dark section.features,
.dark section.waitlist,
.dark section.position-checker,
.dark section.faq {
  background-color: var(--section-bg) !important;
}

/* ==========================================
   DARK MODE: POPUPS & MODALS
   ========================================== */

.dark dialog,
.dark [role="dialog"],
.dark [role="alertdialog"] {
  background-color: var(--card-bg) !important;
  color: var(--text-primary) !important;
  border-color: var(--border-color) !important;
}

/* Target all position absolute/fixed elements that might have white backgrounds */
.dark [style*="position: absolute"],
.dark [style*="position: fixed"],
.dark *[style*="background: white"],
.dark *[style*="background: #fff"],
.dark *[style*="background: #FFF"],
.dark *[style*="background: #ffffff"],
.dark *[style*="background: #FFFFFF"],
.dark *[style*="background-color: white"],
.dark *[style*="background-color: #fff"],
.dark *[style*="background-color: #ffffff"] {
  background-color: var(--card-bg) !important;
  color: var(--text-primary) !important;
}

/* ==========================================
   DARK MODE: DIVS & GENERIC CONTAINERS
   ========================================== */

.dark div:not([class*="icon"]):not([class*="svg"]):not([class*="img"]) {
  /* Only apply if div has a white background */
  &[style*="background: white"],
  &[style*="background: #fff"],
  &[style*="background-color: white"],
  &[style*="background-color: #fff"] {
    background-color: var(--card-bg) !important;
  }
}

/* ==========================================
   DARK MODE: TEXT ELEMENTS
   ========================================== */

.dark h1,
.dark h2,
.dark h3,
.dark h4,
.dark h5,
.dark h6 {
  color: var(--text-heading) !important;
}

.dark p,
.dark span:not([class*="icon"]),
.dark div:not([class*="icon"]),
.dark label {
  color: var(--text-primary) !important;
}

.dark a {
  color: var(--link-color) !important;
}

.dark a:hover {
  color: var(--link-hover) !important;
}

/* ==========================================
   DARK MODE: BORDERS & SEPARATORS
   ========================================== */

.dark hr,
.dark [class*="separator"],
.dark [class*="divider"] {
  border-color: var(--border-color) !important;
  background-color: var(--border-color) !important;
}

/* ==========================================
   DARK MODE: CARDS & PANELS
   ========================================== */

.dark [class*="card"],
.dark [class*="panel"],
.dark [class*="box"],
.dark [class*="container"]:not(.nav-container):not(.hero-container) {
  background-color: transparent !important;
}

.dark .card,
.dark .feature-card,
.dark .stat-card,
.dark .faq-item,
.dark .position-result,
.dark .block,
.dark .modal-content {
  background-color: var(--card-bg) !important;
  border-color: var(--border-color) !important;
}

/* ==========================================
   DARK MODE: LISTS
   ========================================== */

.dark ul,
.dark ol,
.dark li {
  color: var(--text-primary) !important;
}

/* ==========================================
   DARK MODE: TABLES
   ========================================== */

.dark table {
  background-color: var(--card-bg) !important;
  color: var(--text-primary) !important;
  border-color: var(--border-color) !important;
}

.dark th,
.dark td {
  border-color: var(--border-color) !important;
  color: var(--text-primary) !important;
}

.dark thead {
  background-color: var(--bg-secondary) !important;
}

/* ==========================================
   DARK MODE: IMAGES & MEDIA
   ========================================== */

/* Slightly dim images in dark mode for better integration */
.dark img:not([class*="logo"]):not([class*="icon"]) {
  opacity: 0.9;
}

.dark video {
  opacity: 0.9;
}

/* ==========================================
   DARK MODE: SCROLLBARS (Webkit)
   ========================================== */

.dark ::-webkit-scrollbar {
  width: 12px;
  background-color: var(--bg-secondary);
}

.dark ::-webkit-scrollbar-track {
  background-color: var(--bg-secondary);
}

.dark ::-webkit-scrollbar-thumb {
  background-color: var(--bg-tertiary);
  border-radius: 6px;
}

.dark ::-webkit-scrollbar-thumb:hover {
  background-color: var(--bg-hover);
}

/* ==========================================
   DARK MODE: SELECTION
   ========================================== */

.dark ::selection {
  background-color: var(--link-color);
  color: var(--bg-primary);
}

.dark ::-moz-selection {
  background-color: var(--link-color);
  color: var(--bg-primary);
}

/* ==========================================
   IMPORTANT OVERRIDES
   Force these no matter what
   ========================================== */

.dark body {
  background-color: var(--bg-primary) !important;
  color: var(--text-primary) !important;
}

.dark html {
  background-color: var(--bg-primary) !important;
}

/* End Global Dark Mode Reset */

/* ==========================================
   CUSTOM OVERRIDES
   ========================================== */

/* Fix stat-card in Dark Mode (Force Transparent) */
html.dark .stats-grid .stat-card,
html.dark .stat-card {
    background: transparent !important;
    box-shadow: none !important;
    border: 1px solid var(--border-color);
}

/* Fix FAQ Horizontal Spacing */
.faq-container {
    width: 90%;
    max-width: 800px;
    margin: 0 auto;
    padding: 0;
}

/* Fix Features Section Width */
.features-section-alt,
.features-grid {
    width: 90%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================
   FORCE THEME TOGGLE VISIBILITY
   ========================================== */

/* Force the nav-actions wrapper to display */
.nav-actions {
    display: flex !important;
    align-items: center !important;
    gap: 1rem !important;
    width: auto !important;
    min-width: fit-content !important;
}

/* Force theme toggle button visibility and layering */
.theme-toggle,
.theme-toggle-btn {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 9999 !important;
    pointer-events: auto !important;
}

/* Force icon color to be visible */
.theme-toggle svg,
.theme-toggle-btn svg,
.theme-toggle path,
.theme-toggle-btn path {
    color: var(--text-primary) !important;
    fill: currentColor !important;
    stroke: currentColor !important;
}

/* Ensure button has visible background and padding */
.theme-toggle,
.theme-toggle-btn {
    background: var(--bg-secondary) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 8px !important;
    padding: 0.5rem !important;
    cursor: pointer !important;
    min-width: 40px !important;
    min-height: 40px !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Hover state for visibility */
.theme-toggle:hover,
.theme-toggle-btn:hover {
    background: var(--bg-hover) !important;
    transform: scale(1.05) !important;
}

/* ==========================================
   REMOVE STAT CARD BORDERS
   ========================================== */

.stat-card {
    border: none !important;
}

html.dark .stat-card {
    border: none !important;
}

/* ==========================================
   MOBILE NAVBAR LAYOUT FIX
   ========================================== */

/* Ensure navbar container uses space-between layout */
.nav-container {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
}

/* Mobile: Hide desktop navigation links */
@media (max-width: 768px) {
    .nav-menu {
        display: none !important;
    }

    /* Keep logo on left, actions on right */
    .nav-container {
        justify-content: space-between !important;
    }

    .nav-logo {
        order: 1;
    }

    .nav-actions {
        order: 3;
        display: flex !important;
        gap: 0.5rem !important;
    }
}

/* ==========================================
   HIDE MOBILE MENU ON DESKTOP
   ========================================== */

/* Desktop: Hide the mobile bottom sheet container */
@media (min-width: 769px) {
    .mobile-menu {
        display: none !important;
    }
}

/* Mobile: Ensure mobile menu is available (default behavior) */
@media (max-width: 768px) {
    .mobile-menu {
        /* Don't force display here - let JS handle visibility */
        /* This ensures the bottom sheet only appears when triggered */
    }
}

/* ==========================================
   REDUCE HERO SECTION BOTTOM SPACING
   (After removing hero-trust section)
   ========================================== */

.hero {
    padding-bottom: 40px !important;
}

@media (max-width: 768px) {
    .hero {
        padding-bottom: 24px !important;
    }
}
