/* ========================================
   Alkoot at Home - Gateway Page
   Minimal Design - Just 2 Options
   ======================================== */

/* ========================================
   CSS Variables
   ======================================== */
:root {
  /* Colors */
  --alkoot-blue: #1E4A8D;
  --acute-orange: #F97316;
  --acute-orange-dark: #EA580C;
  --chronic-teal: #0D9488;
  --chronic-teal-light: #14B8A6;

  /* Backgrounds */
  --surface-base: #F8FAFC;
  --surface-raised: #FFFFFF;

  /* Text */
  --text-primary: #0F172A;
  --text-secondary: #475569;

  /* Elevation Shadows */
  --elevation-1:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 2px 8px rgba(15, 23, 42, 0.04);

  --elevation-2:
    0 2px 4px rgba(15, 23, 42, 0.04),
    0 4px 12px rgba(15, 23, 42, 0.06),
    0 8px 24px rgba(15, 23, 42, 0.04);

  --elevation-3:
    0 4px 8px rgba(15, 23, 42, 0.06),
    0 8px 16px rgba(15, 23, 42, 0.08),
    0 16px 32px rgba(15, 23, 42, 0.06);

  /* Border */
  --border: rgba(15, 23, 42, 0.10);

  /* Legacy aliases */
  --ink-900: #0F172A;

  /* Transitions */
  --transition-base: 220ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 340ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark Theme */
[data-theme="dark"] {
  --surface-base: #0F172A;
  --surface-raised: #1E293B;
  --surface-elevated: #334155;
  --text-primary: #F8FAFC;
  --text-secondary: #94A3B8;
  --ink-900: #F1F5F9;
  --border: rgba(241, 245, 249, 0.10);
}

/* Dark mode background */
[data-theme="dark"] body {
  background:
    radial-gradient(
      ellipse 120% 80% at 50% 20%,
      rgba(30, 74, 141, 0.08) 0%,
      rgba(15, 23, 42, 0) 50%
    ),
    radial-gradient(
      ellipse 100% 60% at 20% 80%,
      rgba(249, 115, 22, 0.06) 0%,
      rgba(15, 23, 42, 0) 50%
    ),
    radial-gradient(
      ellipse 100% 60% at 80% 80%,
      rgba(13, 148, 136, 0.06) 0%,
      rgba(15, 23, 42, 0) 50%
    ),
    #0F172A;
}

/* Dark Mode - Logo Containers */
[data-theme="dark"] .logo-container--alkoot,
[data-theme="dark"] .logo-container--metadoc {
  background: rgba(15, 23, 42, 0.25);
  border-color: rgba(15, 23, 42, 0.35);
}

/* Dark Mode - Theme Toggle */
[data-theme="dark"] .theme-toggle-btn {
  background: var(--surface-elevated);
  border-color: var(--border);
}

/* Dark Mode - Language Selector */
[data-theme="dark"] .lang-selector-btn {
  background: var(--surface-elevated);
  color: var(--ink-900);
  border-color: var(--border);
}

/* ========================================
   Base Styles
   ======================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  transition: background-color var(--transition-base), color var(--transition-base);
  position: relative;

  /* Enhanced background with subtle radial gradients */
  background:
    radial-gradient(
      ellipse 120% 80% at 50% 20%,
      rgba(30, 74, 141, 0.04) 0%,
      rgba(248, 250, 252, 0) 50%
    ),
    radial-gradient(
      ellipse 100% 60% at 20% 80%,
      rgba(249, 115, 22, 0.03) 0%,
      rgba(248, 250, 252, 0) 50%
    ),
    radial-gradient(
      ellipse 100% 60% at 80% 80%,
      rgba(13, 148, 136, 0.03) 0%,
      rgba(248, 250, 252, 0) 50%
    ),
    #F8FAFC;
}

/* Subtle geometric pattern overlay */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(circle at 25% 25%, rgba(30, 74, 141, 0.02) 1px, transparent 1px),
    radial-gradient(circle at 75% 75%, rgba(13, 148, 136, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  background-position: 0 0, 30px 30px;
  pointer-events: none;
  z-index: 0;
}

/* Arabic Font */
[dir="rtl"] {
  font-family: 'Cairo', 'Inter', sans-serif;
}

/* ========================================
   Layout Utilities
   ======================================== */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Ensure content stays above background pattern */
.site-header,
.main-container,
.site-footer {
  position: relative;
  z-index: 1;
}

/* ========================================
   Scroll Progress Indicator
   ======================================== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(135deg, #0D9488 0%, #14B8A6 100%);
  transform-origin: 0%;
  transform: scaleX(0);
  z-index: 999;
  transition: transform 0.1s ease-out;
}

/* ========================================
   Header
   ======================================== */
.site-header {
  background: linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 100%);
  border-bottom: 1px solid transparent;
  border-image: linear-gradient(90deg, rgba(226, 232, 240, 0.5), rgba(203, 213, 225, 0.8), rgba(226, 232, 240, 0.5)) 1;
  padding: 1.25rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--elevation-2);
}

[data-theme="dark"] .site-header {
  background: rgba(30, 41, 59, 0.95);
  border-bottom-color: rgba(248, 250, 252, 0.08);
}

.header-content {
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  gap: 2rem;
  justify-content: space-between;
}

/* Logo Containers with Brand Colors */
.logo-container {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 1rem;
  border-radius: 16px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
}

.logo-container--alkoot,
.logo-container--metadoc {
  background: rgba(15, 23, 42, 0.05);
  border: 1px solid rgba(15, 23, 42, 0.1);
}

.logo-container--alkoot:hover,
.logo-container--metadoc:hover {
  background: rgba(15, 23, 42, 0.08);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12);
}

.logo {
  height: 56px;
  width: auto;
  object-fit: contain;
  transition: all 0.3s ease;
}

/* Alkoot logo (white by default) - make dark in light mode */
.logo-alkoot {
  filter: invert(100%);
}

/* Alkoot logo in dark mode - keep original (white) */
[data-theme="dark"] .logo-alkoot {
  filter: none;
}

/* MetaDoc logo (dark blue by default) - keep as-is in light mode */
.logo-metadoc {
  filter: none;
}

/* MetaDoc logo in dark mode - make white */
[data-theme="dark"] .logo-metadoc {
  filter: brightness(0) saturate(100%) invert(100%);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Theme Toggle */
.theme-toggle-btn {
  background: transparent;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 20px;
  cursor: pointer;
  padding: 0;
  position: relative;
  width: 48px;
  height: 26px;
  transition: all var(--transition-base);
  display: none; /* Hidden as requested */
}

.theme-toggle-btn:hover {
  border-color: rgba(15, 23, 42, 0.2);
}

.theme-toggle-track {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4px;
  height: 100%;
  position: relative;
}

.theme-toggle-thumb {
  position: absolute;
  width: 18px;
  height: 18px;
  background: var(--alkoot-blue);
  border-radius: 50%;
  left: 4px;
  transition: transform var(--transition-smooth);
}

[data-theme="dark"] .theme-toggle-thumb {
  transform: translateX(22px);
}

.theme-icon {
  width: 14px;
  height: 14px;
  color: var(--text-secondary);
  z-index: 1;
  transition: opacity var(--transition-base);
}

[data-theme="light"] .theme-icon--moon {
  opacity: 0.4;
}

[data-theme="dark"] .theme-icon--sun {
  opacity: 0.4;
}

/* Language Selector Button */
.lang-selector-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0 1rem;
  height: 40px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 24px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink-900);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--elevation-1);
}

.lang-selector-btn:hover {
  box-shadow: var(--elevation-2);
  border-color: var(--alkoot-blue);
  transform: translateY(-1px);
}

.lang-selector-btn:active {
  transform: translateY(0);
}

.lang-icon {
  flex-shrink: 0;
  color: var(--alkoot-blue);
}

.lang-text {
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* Header Action Buttons */
.header-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  height: 40px;
  border-radius: 24px;
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 2px 8px rgba(15, 23, 42, 0.04);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  cursor: pointer;
}

.header-action-btn svg {
  flex-shrink: 0;
}

/* Circular variant (for icon-only buttons) */
.header-action-btn--circle {
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 50%;
}

/* WhatsApp button */
.header-action-btn--whatsapp {
  background: linear-gradient(135deg, #22C55E 0%, #4ADE80 100%);
  color: white;
  box-shadow: 0 2px 8px rgba(34, 197, 94, 0.2);
}

.header-action-btn--whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(34, 197, 94, 0.3);
}

.header-action-btn--whatsapp:active {
  transform: translateY(0);
}

/* Call button */
.header-action-btn--call {
  background: linear-gradient(135deg, #F97316 0%, #EA580C 100%);
  color: white;
  box-shadow: 0 2px 8px rgba(249, 115, 22, 0.2);
}

.header-action-btn--call:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(249, 115, 22, 0.3);
}

.header-action-btn--call:active {
  transform: translateY(0);
}

/* ========================================
   Main Container
   ======================================== */
.main-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 2rem;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

.main-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--text-primary);
  text-align: center;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

/* Trust Signals Bar */
.trust-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
  font-weight: 500;
  animation: reassurance-fade-in 0.6s ease-out backwards;
}

.trust-item:nth-child(1) { animation-delay: 0.1s; }
.trust-item:nth-child(2) { animation-delay: 0.2s; }
.trust-item:nth-child(3) { animation-delay: 0.3s; }

@keyframes reassurance-fade-in {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.trust-item svg {
  color: var(--alkoot-blue);
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .trust-bar {
    gap: 1.25rem;
  }

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

  .trust-item svg {
    width: 18px;
    height: 18px;
  }
}

@media (max-width: 480px) {
  .trust-bar {
    gap: 1rem;
  }

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

  .trust-item svg {
    width: 16px;
    height: 16px;
  }
}

/* ========================================
   Choice Grid
   ======================================== */
.choice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  width: 100%;
  max-width: 900px;
}

/* ========================================
   Choice Cards
   ======================================== */
.choice-card {
  background: var(--surface-raised);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: var(--elevation-2);
  transition: all var(--transition-smooth);
  border: 2px solid transparent;
}

/* Featured Card (Instant Care) - Slightly larger and more prominent */
.choice-card--featured {
  transform: scale(1.03);
  box-shadow:
    0 4px 8px rgba(15, 23, 42, 0.06),
    0 8px 16px rgba(15, 23, 42, 0.08),
    0 16px 32px rgba(15, 23, 42, 0.06);
}

.choice-card--featured:hover {
  transform: translateY(-8px) scale(1.05);
}

/* Enhanced card backgrounds with subtle color tints */
.choice-card--acute {
  background:
    linear-gradient(
      180deg,
      rgba(249, 115, 22, 0.025) 0%,
      var(--surface-raised) 100%
    );
}

.choice-card--chronic {
  background:
    linear-gradient(
      180deg,
      rgba(13, 148, 136, 0.025) 0%,
      var(--surface-raised) 100%
    );
}

[data-theme="dark"] .choice-card--acute {
  background:
    linear-gradient(
      180deg,
      rgba(249, 115, 22, 0.05) 0%,
      var(--surface-raised) 100%
    );
}

[data-theme="dark"] .choice-card--chronic {
  background:
    linear-gradient(
      180deg,
      rgba(13, 148, 136, 0.05) 0%,
      var(--surface-raised) 100%
    );
}

/* Choice Badge (e.g., "Available Today") */
.choice-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: linear-gradient(135deg, var(--acute-orange) 0%, var(--acute-orange-dark) 100%);
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.375rem 0.75rem;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 2px 8px rgba(249, 115, 22, 0.25);
  overflow: hidden;
}

.choice-badge::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.35),
    transparent
  );
  animation: badge-shimmer 3s infinite;
}

@keyframes badge-shimmer {
  0% { left: -100%; }
  50%, 100% { left: 100%; }
}

[dir="rtl"] .choice-badge {
  right: auto;
  left: 1rem;
}

.choice-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.choice-card--acute::before {
  background: linear-gradient(135deg, var(--acute-orange) 0%, var(--acute-orange-dark) 100%);
}

.choice-card--chronic::before {
  background: linear-gradient(135deg, var(--chronic-teal) 0%, var(--chronic-teal-light) 100%);
}

.choice-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--elevation-3);
  border-color: rgba(15, 23, 42, 0.08);
}

.choice-card:hover::before {
  opacity: 1;
}

.choice-card:active {
  transform: translateY(-4px) scale(1.01);
}

/* Expanding Animation on Click */
.choice-card.expanding {
  transform: scale(1.05);
  opacity: 0.9;
}

/* Icon Wrapper */
.choice-icon-wrapper {
  width: 88px;
  height: 88px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-base);
}

.choice-card:hover .choice-icon-wrapper {
  transform: scale(1.1);
}

.choice-icon-wrapper--acute {
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.15) 0%, rgba(234, 88, 12, 0.12) 100%);
  transition: all var(--transition-smooth);
}

.choice-icon-wrapper--chronic {
  background: linear-gradient(135deg, rgba(13, 148, 136, 0.15) 0%, rgba(20, 184, 166, 0.12) 100%);
  transition: all var(--transition-smooth);
}

/* Add glow effect on card hover */
.choice-card--acute:hover .choice-icon-wrapper--acute {
  box-shadow:
    0 0 20px rgba(249, 115, 22, 0.25),
    0 0 40px rgba(249, 115, 22, 0.12);
}

.choice-card--chronic:hover .choice-icon-wrapper--chronic {
  box-shadow:
    0 0 20px rgba(13, 148, 136, 0.25),
    0 0 40px rgba(13, 148, 136, 0.12);
}

.choice-icon {
  position: relative;
  z-index: 1;
}

.choice-icon-wrapper--acute .choice-icon {
  color: var(--acute-orange);
}

.choice-icon-wrapper--chronic .choice-icon {
  color: var(--chronic-teal);
}

/* Icon hover animations */
.choice-card--acute:hover .choice-icon {
  animation: pulse-icon 1.2s ease-in-out infinite;
}

.choice-card--chronic:hover .choice-icon {
  animation: heartbeat 1.4s ease-in-out infinite;
}

@keyframes pulse-icon {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.95;
  }
}

@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  10%, 30% { transform: scale(1.06); }
  20%, 40% { transform: scale(1); }
}

/* Card Text */
.choice-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
  letter-spacing: -0.01em;
}

.choice-subtitle {
  font-size: 0.875rem;
  color: var(--text-secondary);
  font-weight: 500;
  margin-bottom: 0.75rem;
  min-height: 1.25rem;
}

.choice-tagline {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 1rem;
}

/* Service List */
.choice-services {
  list-style: none;
  margin: 0 0 1.5rem 0;
  padding: 0;
  text-align: left;
  width: 100%;
}

.choice-services li {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
  padding: 0.375rem 0;
  padding-left: 1.5rem;
  position: relative;
}

.choice-services li::before {
  content: '✓';
  position: absolute;
  left: 0;
  font-weight: 600;
  font-size: 0.875rem;
}

.choice-card--acute .choice-services li::before {
  color: var(--acute-orange);
}

.choice-card--chronic .choice-services li::before {
  color: var(--chronic-teal);
}

/* RTL Support for Service List */
[dir="rtl"] .choice-services {
  text-align: right;
}

[dir="rtl"] .choice-services li {
  padding-left: 0;
  padding-right: 1.5rem;
}

[dir="rtl"] .choice-services li::before {
  left: auto;
  right: 0;
}

/* CTA Button */
.choice-cta-btn {
  width: 100%;
  padding: 1rem 1.5rem;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: all var(--transition-smooth);
  margin-top: 1.5rem;
  color: white;
  box-shadow:
    0 2px 4px rgba(15, 23, 42, 0.08),
    0 4px 12px rgba(15, 23, 42, 0.06);
}

.choice-cta-btn--acute {
  background: linear-gradient(135deg, var(--acute-orange) 0%, var(--acute-orange-dark) 100%);
}

.choice-cta-btn--chronic {
  background: linear-gradient(135deg, var(--chronic-teal) 0%, var(--chronic-teal-light) 100%);
}

.choice-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow:
    0 4px 8px rgba(15, 23, 42, 0.12),
    0 8px 24px rgba(15, 23, 42, 0.10);
}

.choice-cta-btn--acute:hover {
  box-shadow:
    0 4px 8px rgba(249, 115, 22, 0.25),
    0 8px 24px rgba(249, 115, 22, 0.20);
}

.choice-cta-btn--chronic:hover {
  box-shadow:
    0 4px 8px rgba(13, 148, 136, 0.25),
    0 8px 24px rgba(13, 148, 136, 0.20);
}

.choice-cta-btn:active {
  transform: translateY(0);
}

/* ========================================
   Footer
   ======================================== */
.site-footer {
  background: var(--surface-raised);
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  padding: 1.5rem 2rem;
  text-align: center;
  margin-top: auto;
}

[data-theme="dark"] .site-footer {
  border-top-color: rgba(248, 250, 252, 0.08);
}

.footer-text {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.footer-brand {
  font-weight: 600;
  color: var(--text-primary);
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 768px) {
  .site-header {
    padding: 0.875rem 0;
  }

  .header-content {
    grid-template-columns: 1fr auto;
    gap: 1rem;
  }

  .header-right {
    gap: 0.75rem;
  }

  .logo {
    height: 44px;
  }

  .logo-container {
    padding: 0.375rem 0.75rem;
  }

  .main-container {
    padding: 2rem 1rem;
  }

  .main-title {
    margin-bottom: 2rem;
  }

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

  .choice-card {
    padding: 2rem 1.5rem;
  }

  .choice-icon-wrapper {
    width: 72px;
    height: 72px;
  }

  .choice-title {
    font-size: 1.375rem;
  }

  .choice-services li {
    font-size: 0.875rem;
  }
}

@media (max-width: 640px) {
  .logo {
    height: 38px;
  }

  .logo-container {
    padding: 0.25rem 0.5rem;
  }

  .header-right {
    gap: 0.625rem;
  }

  /* Make language selector more compact - hide icon, show text only */
  .lang-icon {
    display: none;
  }

  .lang-selector-btn {
    padding: 0 0.625rem;
    min-width: 42px;
  }

  .main-container {
    padding: 1.75rem 1rem;
  }

  .choice-grid {
    gap: 1.25rem;
  }

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

  .choice-icon-wrapper {
    width: 68px;
    height: 68px;
  }

  .choice-title {
    font-size: 1.25rem;
  }
}

@media (max-width: 480px) {
  .logo {
    height: 32px;
  }

  .logo-container {
    padding: 0.25rem 0.375rem;
  }

  .header-right {
    gap: 0.5rem;
  }

  /* Language selector - match action button size */
  .lang-selector-btn {
    height: 36px;
    padding: 0 0.5rem;
    min-width: 38px;
  }

  /* Reduce action button sizes */
  .header-action-btn--circle {
    width: 36px;
    height: 36px;
  }

  .header-action-btn--circle svg {
    width: 16px;
    height: 16px;
  }

  .main-container {
    padding: 1.5rem 0.875rem;
  }

  .main-title {
    margin-bottom: 1.5rem;
  }

  .choice-grid {
    gap: 1rem;
  }

  .choice-card {
    padding: 1.5rem 1.25rem;
  }

  .choice-icon-wrapper {
    width: 64px;
    height: 64px;
    margin-bottom: 1.25rem;
  }

  .choice-icon {
    width: 48px;
    height: 48px;
  }

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

  .choice-tagline {
    font-size: 0.9375rem;
  }

  .choice-services {
    margin-bottom: 1.25rem;
  }

  .choice-services li {
    font-size: 0.8125rem;
    padding: 0.25rem 0;
    padding-left: 1.25rem;
  }

  [dir="rtl"] .choice-services li {
    padding-left: 0;
    padding-right: 1.25rem;
  }

  .choice-arrow {
    width: 36px;
    height: 36px;
  }

  .choice-arrow svg {
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 375px) {
  .site-header {
    padding: 0.75rem 0;
  }

  .logo {
    height: 28px;
  }

  .logo-container {
    padding: 0.25rem 0.25rem;
  }

  .header-right {
    gap: 0.375rem;
  }

  .lang-selector-btn {
    height: 32px;
    padding: 0 0.375rem;
    min-width: 36px;
    font-size: 0.8125rem;
  }

  .header-action-btn--circle {
    width: 32px;
    height: 32px;
  }

  .header-action-btn--circle svg {
    width: 14px;
    height: 14px;
  }

  .main-container {
    padding: 1.25rem 0.75rem;
  }

  .main-title {
    margin-bottom: 1.25rem;
  }

  .choice-card {
    padding: 1.25rem 1rem;
  }

  .choice-icon-wrapper {
    width: 56px;
    height: 56px;
    margin-bottom: 1rem;
  }

  .choice-icon {
    width: 44px;
    height: 44px;
  }

  .choice-title {
    font-size: 1rem;
    margin-bottom: 0.125rem;
  }

  .choice-subtitle {
    font-size: 0.8125rem;
    margin-bottom: 0.5rem;
  }

  .choice-tagline {
    font-size: 0.875rem;
    margin-bottom: 0.875rem;
  }

  .choice-services {
    margin-bottom: 1rem;
  }

  .choice-services li {
    font-size: 0.75rem;
    padding: 0.1875rem 0;
    padding-left: 1rem;
  }

  [dir="rtl"] .choice-services li {
    padding-left: 0;
    padding-right: 1rem;
  }

  .choice-services li::before {
    font-size: 0.75rem;
  }

  .site-footer {
    padding: 1.25rem 1rem;
  }

  .footer-text {
    font-size: 0.8125rem;
  }
}

/* ========================================
   Accessibility
   ======================================== */
@media (prefers-reduced-motion: reduce) {
  /* Disable all animations for users who prefer reduced motion */
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  /* Specifically disable decorative animations */
  .choice-badge::after,
  .choice-icon,
  .trust-item,
  .choice-cta-btn .spinner {
    animation: none !important;
  }

  /* Keep basic transitions but make them instant */
  .choice-card,
  .choice-icon-wrapper,
  .choice-cta-btn {
    transition-duration: 0.01ms !important;
  }
}

/* Focus Styles */
button:focus-visible,
.choice-card:focus-visible {
  outline: 2px solid var(--alkoot-blue);
  outline-offset: 4px;
}

/* Screen Reader Only */
.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;
}
