/**
 * BesteDomeinen.nl - Mobile-First Design System
 * =============================================
 * Mobile-first approach: Base styles for mobile, enhance for larger screens
 * Touch targets: minimum 44x44px (iOS/Android accessibility guideline)
 */

/* ============================================
   CSS CUSTOM PROPERTIES
   ============================================ */
:root {
  /* Primary Colors */
  --primary: #f97316;
  --primary-dark: #ea580c;
  --primary-light: #fb923c;
  
  /* Neutral Colors */
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  
  /* Semantic Colors */
  --success: #10b981;
  --warning: #f59e0b;
  --error: #ef4444;
  --info: #3b82f6;
  
  /* Theme-aware colors (light mode default) */
  --bg-body: #f9fafb;
  --bg-card: #ffffff;
  --text-primary: #1f2937;
  --text-secondary: #4b5563;
  --text-muted: #6b7280;
  --border-color: #e5e7eb;
  
  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Mobile-First Spacing (base for mobile) */
  --space-1: 0.25rem;   /* 4px */
  --space-2: 0.5rem;    /* 8px */
  --space-3: 0.75rem;   /* 12px */
  --space-4: 1rem;      /* 16px */
  --space-5: 1.25rem;   /* 20px */
  --space-6: 1.5rem;    /* 24px */
  --space-8: 2rem;      /* 32px */
  --space-10: 2.5rem;   /* 40px */
  --space-12: 3rem;     /* 48px */
  --space-16: 4rem;     /* 64px */
  
  /* Border Radius */
  --radius-sm: 0.375rem;  /* 6px */
  --radius-md: 0.5rem;    /* 8px */
  --radius-lg: 0.75rem;   /* 12px */
  --radius-xl: 1rem;      /* 16px */
  --radius-2xl: 1.5rem;   /* 24px */
  --radius-full: 9999px;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  
  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  
  /* Touch Target Minimum Size */
  --touch-target: 44px;
  --touch-target-lg: 48px;
}

/* ============================================
   BASE STYLES (MOBILE-FIRST)
   ============================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-800);
  background-color: var(--gray-50);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  padding-top: 60px; /* FIX: Compensate for fixed navbar on mobile */
}

@media (min-width: 1024px) {
  body {
    padding-top: 72px; /* FIX: Larger padding for desktop navbar */
  }
}

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

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

/* ============================================
   MOBILE TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--gray-900);
}

/* Mobile: Smaller headings */
h1 { font-size: 1.75rem; }  /* 28px */
h2 { font-size: 1.5rem; }   /* 24px */
h3 { font-size: 1.25rem; }  /* 20px */
h4 { font-size: 1.125rem; } /* 18px */

.text-display {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.text-lead {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--gray-600);
}

/* Tablet (768px+) */
@media (min-width: 768px) {
  h1 { font-size: 2.25rem; }  /* 36px */
  h2 { font-size: 1.875rem; } /* 30px */
  h3 { font-size: 1.5rem; }   /* 24px */
  
  .text-display {
    font-size: 3rem;
  }
  
  .text-lead {
    font-size: 1.25rem;
  }
}

/* Desktop (1024px+) */
@media (min-width: 1024px) {
  h1 { font-size: 2.5rem; }   /* 40px */
  h2 { font-size: 2rem; }     /* 32px */
  
  .text-display {
    font-size: 3.5rem;
  }
}

/* ============================================
   MOBILE LAYOUT
   ============================================ */
.container {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 var(--space-4);  /* 16px on mobile */
}

@media (min-width: 640px) {
  .container {
    max-width: 640px;
    padding: 0 var(--space-6);
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 768px;
  }
}

@media (min-width: 1024px) {
  .container {
    max-width: 1024px;
  }
}

@media (min-width: 1280px) {
  .container {
    max-width: 1280px;
  }
}

.section {
  padding: var(--space-12) 0;  /* 48px on mobile */
}

@media (min-width: 768px) {
  .section {
    padding: var(--space-16) 0;  /* 64px */
  }
}

@media (min-width: 1024px) {
  .section {
    padding: var(--space-20) 0;  /* 80px */
  }
}

/* ============================================
   MOBILE NAVIGATION - HAMBURGER MENU
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-200);
  height: 60px;  /* Fixed height for mobile */
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  padding: 0 var(--space-4);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--primary);
}

.navbar-brand .flag {
  width: 28px;
  height: 20px;
  background: linear-gradient(180deg, #c8102e 33%, #fff 33%, #fff 66%, #002776 66%);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: var(--touch-target);
  height: var(--touch-target);
  background: none;
  border: none;
  cursor: pointer;
  gap: 5px;
  padding: 10px;
  z-index: 1001;
}

.mobile-menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gray-700);
  transition: all var(--transition-base);
  border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

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

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Navigation Menu */
.navbar-nav {
  display: none;  /* Hidden by default on mobile */
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  bottom: 0;
  background: white;
  flex-direction: column;
  padding: var(--space-6);
  gap: 0;
  overflow-y: auto;
  z-index: 999;
  box-shadow: var(--shadow-xl);
}

.navbar-nav.active {
  display: flex;
}

.nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) 0;
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--gray-700);
  border-bottom: 1px solid var(--gray-100);
  min-height: var(--touch-target-lg);
}

.nav-link::after {
  content: '→';
  font-size: 1.25rem;
  color: var(--gray-400);
}

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

.nav-button {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-3) var(--space-6);
  background: var(--primary);
  color: white;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  min-height: var(--touch-target);
  margin-top: var(--space-4);
}

/* Desktop Navigation */
@media (min-width: 1024px) {
  .navbar {
    height: 72px;
  }
  
  .navbar-inner {
    height: 72px;
    padding: 0 var(--space-6);
  }
  
  .navbar-brand {
    font-size: 1.5rem;
    gap: var(--space-3);
  }
  
  .navbar-brand .flag {
    width: 32px;
    height: 24px;
  }
  
  .mobile-menu-toggle {
    display: none;  /* Hide hamburger on desktop */
  }
  
  .navbar-nav {
    display: flex !important;  /* Always show on desktop */
    position: static;
    flex-direction: row;
    padding: 0;
    gap: var(--space-8);
    background: transparent;
    box-shadow: none;
  }
  
  .nav-link {
    padding: var(--space-2) 0;
    font-size: 1rem;
    font-weight: 500;
    border-bottom: none;
    min-height: auto;
    position: relative;
  }
  
  .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width var(--transition-base);
  }
  
  .nav-link:hover::after,
  .nav-link.active::after {
    width: 100%;
  }
  
  .nav-button {
    margin-top: 0;
    padding: var(--space-3) var(--space-6);
    box-shadow: var(--shadow-md);
  }
  
  .nav-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
  }
}

/* ============================================
   MOBILE HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: auto;
  padding: 100px 0 var(--space-12);
  background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
  background-size: 200% 200%;
  animation: gradientShift 15s ease infinite;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.6;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 100%;
}

.hero-subtitle {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-4);
  backdrop-filter: blur(4px);
}

.hero-title {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.1;
  color: #ffffff;
  margin-bottom: var(--space-4);
  text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.hero-title span {
  color: #ffffff;
  opacity: 0.9;
}

.hero-description {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--space-6);
  text-shadow: 0 1px 4px rgba(0,0,0,0.15);
}

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

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

@media (min-width: 768px) {
  .hero {
    min-height: 70vh;
    padding: 120px 0 var(--space-16);
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-description {
    font-size: 1.25rem;
  }
}

@media (min-width: 1024px) {
  .hero {
    min-height: 80vh;
    padding: 140px 0 var(--space-20);
  }
  
  .hero-title {
    font-size: 3rem;
  }
}

/* ============================================
   MOBILE BUTTONS (Touch Targets)
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-6);
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  min-height: var(--touch-target-lg);  /* 48px minimum */
  width: 100%;  /* Full width on mobile */
}

@media (min-width: 640px) {
  .btn {
    width: auto;
  }
}

.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 4px 14px rgba(249, 115, 22, 0.4);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(249, 115, 22, 0.5);
}

.btn-secondary {
  background: white;
  color: var(--gray-700);
  border: 2px solid var(--gray-200);
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(249, 115, 22, 0.05);
}

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

/* ============================================
   MOBILE CARDS
   ============================================ */
.card {
  background: white;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  border: 1px solid var(--gray-100);
}

.card:active {
  transform: scale(0.98);  /* Touch feedback */
}

@media (min-width: 1024px) {
  .card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
  }
}

.card-content {
  padding: var(--space-5);
}

@media (min-width: 768px) {
  .card-content {
    padding: var(--space-6);
  }
}

/* Domain Cards - Mobile Optimized */
.domain-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.domain-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  padding: var(--space-5);
  position: relative;
  overflow: hidden;
}

.domain-name {
  font-size: 1.25rem;
  font-weight: 800;
}

.domain-tld {
  opacity: 0.8;
}

.domain-body {
  flex: 1;
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
}

.domain-price {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: var(--space-1);
}

.domain-price-label {
  font-size: 0.8125rem;
  color: var(--gray-500);
  margin-bottom: var(--space-4);
}

.domain-features {
  flex: 1;
  margin-bottom: var(--space-5);
}

.domain-feature {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--gray-100);
  font-size: 0.9375rem;
  color: var(--gray-600);
  min-height: var(--touch-target);
}

.domain-feature-icon {
  width: 20px;
  height: 20px;
  color: var(--success);
  flex-shrink: 0;
}

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

@media (min-width: 480px) {
  .domain-actions {
    flex-direction: row;
  }
  
  .domain-actions .btn {
    flex: 1;
  }
}

/* ============================================
   MOBILE SEARCH BAR
   ============================================ */
.search-bar {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  background: rgba(255, 255, 255, 0.95);
  border-radius: var(--radius-xl);
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
  padding: var(--space-3);
  border: 2px solid transparent;
  transition: all var(--transition-fast);
}

.search-bar:focus-within {
  border-color: var(--primary);
  box-shadow: 0 8px 40px rgba(0,0,0,0.3);
  transform: translateY(-2px);
}

@media (min-width: 640px) {
  .search-bar {
    flex-direction: row;
    align-items: center;
  }
}

.search-input {
  flex: 1;
  padding: var(--space-4) var(--space-5);
  border: none;
  background: none;
  font-size: 1.125rem;
  outline: none;
  min-height: var(--touch-target-lg);
  width: 100%;
}

.search-button {
  padding: var(--space-4) var(--space-8);
  background: var(--primary);
  color: white;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: background var(--transition-fast);
  min-height: var(--touch-target-lg);
  width: 100%;
}

@media (min-width: 640px) {
  .search-button {
    width: auto;
  }
}

.search-button:hover {
  background: var(--primary-dark);
}

/* ============================================
   MOBILE GRIDS
   ============================================ */
.grid {
  display: grid;
  gap: var(--space-4);
}

/* Single column on mobile */
.grid-1 {
  grid-template-columns: 1fr;
}

/* Stats grid - 2 columns on mobile */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
}

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
  }
}

/* Features grid - single column mobile */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}

@media (min-width: 640px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8);
  }
}

/* Domain grid - single column mobile */
.domain-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}

@media (min-width: 640px) {
  .domain-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .domain-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
  }
}

/* ============================================
   MOBILE STATS
   ============================================ */
.stats-section {
  background: var(--gray-900);
  color: white;
  padding: var(--space-10) 0;
}

.stat-item {
  text-align: center;
  padding: var(--space-4);
}

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: var(--space-2);
}

.stat-label {
  font-size: 0.875rem;
  color: var(--gray-400);
}

@media (min-width: 768px) {
  .stats-section {
    padding: var(--space-16) 0;
  }
  
  .stat-number {
    font-size: 3rem;
  }
  
  .stat-label {
    font-size: 1.125rem;
  }
}

/* ============================================
   MOBILE FEATURE CARDS
   ============================================ */
.feature-card {
  padding: var(--space-6);
  background: white;
  border-radius: var(--radius-xl);
  border: 1px solid var(--gray-100);
  transition: all var(--transition-base);
}

.feature-card:active {
  border-color: var(--primary);
}

@media (min-width: 1024px) {
  .feature-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
  }
}

.feature-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(249, 115, 22, 0.1);
  color: var(--primary);
  font-size: 1.5rem;
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-4);
}

@media (min-width: 768px) {
  .feature-icon {
    width: 56px;
    height: 56px;
    font-size: 1.75rem;
  }
}

.feature-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: var(--space-2);
}

.feature-description {
  color: var(--gray-600);
  line-height: 1.6;
  font-size: 0.9375rem;
}

/* ============================================
   MOBILE FOOTER
   ============================================ */
.footer {
  background: var(--gray-900);
  color: white;
  padding: var(--space-10) 0 var(--space-6);
}

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

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: var(--space-12);
    margin-bottom: var(--space-12);
  }
}

.footer-brand {
  max-width: 100%;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: 1.25rem;
  font-weight: 800;
  color: white;
  margin-bottom: var(--space-4);
}

.footer-title {
  font-size: 1rem;
  font-weight: 700;
  color: white;
  margin-bottom: var(--space-4);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: var(--space-3);
}

.footer-links a {
  display: block;
  color: var(--gray-400);
  padding: var(--space-2) 0;
  min-height: var(--touch-target);
  transition: color var(--transition-fast);
}

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

.footer-bottom {
  border-top: 1px solid var(--gray-800);
  padding-top: var(--space-6);
  text-align: center;
  color: var(--gray-500);
}

/* ============================================
   MOBILE UTILITY CLASSES
   ============================================ */
.hide-mobile {
  display: none;
}

@media (min-width: 1024px) {
  .hide-mobile {
    display: block;
  }
  
  .hide-desktop {
    display: none;
  }
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

/* Touch-friendly spacing utilities */
.py-safe {
  padding-top: env(safe-area-inset-top);
  padding-bottom: env(safe-area-inset-bottom);
}

.px-safe {
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

/* Prevent text zoom on iOS */
input, textarea, select {
  font-size: 16px;
}

/* Smooth scrolling for anchor links */
html {
  scroll-behavior: smooth;
}

/* ============================================
   DARK MODE
   ============================================ */
[data-theme="dark"] {
  --gray-50: #0f172a;
  --gray-100: #1e293b;
  --gray-200: #334155;
  --gray-300: #475569;
  --gray-400: #64748b;
  --gray-500: #94a3b8;
  --gray-600: #cbd5e1;
  --gray-700: #e2e8f0;
  --gray-800: #f1f5f9;
  --gray-900: #f8fafc;
  
  --bg-body: #0f172a;
  --bg-card: #1e293b;
  --text-primary: #f1f5f9;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --border-color: #334155;
}

[data-theme="dark"] body {
  background-color: var(--bg-body);
  color: var(--text-primary);
}

[data-theme="dark"] .navbar {
  background: rgba(15, 23, 42, 0.98);
  border-bottom-color: var(--border-color);
}

[data-theme="dark"] .navbar-nav {
  background: var(--bg-card);
}

[data-theme="dark"] .nav-link {
  color: var(--text-secondary);
  border-bottom-color: var(--border-color);
}

[data-theme="dark"] .card {
  background: var(--bg-card);
  border-color: var(--border-color);
}

[data-theme="dark"] .feature-card {
  background: var(--bg-card);
  border-color: var(--border-color);
}

[data-theme="dark"] .search-bar {
  background: var(--bg-card);
}

[data-theme="dark"] .search-input {
  color: var(--text-primary);
}

[data-theme="dark"] .hero-subtitle {
  background: rgba(255, 255, 255, 0.15);
}

/* Mobile theme toggle specific styles */
#themeToggleMobile {
  width: calc(100% - 2rem);
  max-width: 280px;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
}

/* ============================================
   THEME TOGGLE BUTTON
   ============================================ */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  cursor: pointer;
  font-size: 1.25rem;
  transition: all var(--transition-base);
  margin-right: var(--space-2);
}

.theme-toggle:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-md);
}

.theme-toggle .icon-sun,
.theme-toggle .icon-moon {
  display: none;
}

[data-theme="light"] .theme-toggle .icon-moon,
[data-theme="dark"] .theme-toggle .icon-sun {
  display: inline;
}

@media (min-width: 1024px) {
  .theme-toggle {
    margin-right: var(--space-4);
  }
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
  .navbar,
  .footer,
  .btn,
  .theme-toggle {
    display: none !important;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.5;
  }
}
