/* ==========================================================================
   Mediran.co - Official Brand Stylesheet
   Next-Gen Medical Tourism & Patient Governance Platform
   Author: Mediran Design System
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design System Tokens & Variables
   -------------------------------------------------------------------------- */
:root {
  /* Brand Medical Teal Spectrum */
  --teal-50: #f0fdfa;
  --teal-100: #ccfbf1;
  --teal-200: #99f6e4;
  --teal-300: #5eead4;
  --teal-400: #2dd4bf;
  --teal-500: #14b8a6;
  --teal-600: #0d9488;
  --teal-700: #0f766e;
  --teal-800: #115e59;
  --teal-900: #134e4a;
  --teal-950: #042f2e;

  /* Primary Brand Mapping */
  --color-primary: #0d9488;
  --color-primary-dark: #0f766e;
  --color-primary-light: #14b8a6;
  --color-primary-soft: #f0fdfa;
  --color-primary-rgb: 13, 148, 136;

  /* Accent & Status Colors */
  --color-accent: #ef4444;           /* Emergency SOS / Critical */
  --color-accent-hover: #dc2626;
  --color-accent-soft: #fef2f2;
  --color-accent-rgb: 239, 68, 68;

  --color-gold: #f59e0b;
  --color-emerald: #10b981;
  --color-emerald-soft: #ecfdf5;
  --color-blue: #2563eb;
  --color-blue-soft: #eff6ff;

  /* Dark Canvas & Surfaces */
  --color-dark-bg: #070c14;
  --color-dark-surface: #0f172a;
  --color-dark-card: #141e33;
  --color-dark-border: rgba(255, 255, 255, 0.08);

  /* Light Neutrals */
  --color-text-main: #0f172a;
  --color-text-muted: #64748b;
  --color-text-light: #94a3b8;
  --color-text-inverse: #ffffff;

  --color-bg-page: #f8fafc;
  --color-bg-white: #ffffff;
  --color-bg-card: #ffffff;
  --color-bg-subtle: #f1f5f9;
  --color-border: #e2e8f0;
  --color-border-subtle: #edf2f7;

  /* Elevation Shadows */
  --shadow-xs: 0 1px 2px 0 rgba(15, 23, 42, 0.05);
  --shadow-sm: 0 2px 8px -1px rgba(15, 23, 42, 0.06), 0 1px 3px -1px rgba(15, 23, 42, 0.03);
  --shadow-md: 0 10px 25px -5px rgba(15, 118, 110, 0.08), 0 6px 12px -3px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 20px 35px -8px rgba(15, 118, 110, 0.14), 0 10px 18px -4px rgba(15, 23, 42, 0.06);
  --shadow-xl: 0 25px 50px -12px rgba(15, 23, 42, 0.25);
  --shadow-teal: 0 12px 30px -6px rgba(13, 148, 136, 0.38);
  --shadow-glow: 0 0 40px -8px rgba(20, 184, 166, 0.3);

  /* Border Radii */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  /* Typography & Layout */
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --container-max: 1240px;
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-base: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------------------------------
   2. Reset & Global Styles
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  color: var(--color-text-main);
  background-color: var(--color-bg-page);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  outline: none;
  border: none;
}

button {
  cursor: pointer;
}

ul, ol {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* --------------------------------------------------------------------------
   3. Typography & Utility Classes
   -------------------------------------------------------------------------- */
.gradient-text {
  background: linear-gradient(135deg, var(--teal-400) 0%, var(--teal-600) 50%, var(--teal-800) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-light {
  background: linear-gradient(135deg, #ffffff 30%, var(--teal-200) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.95rem;
  background: rgba(13, 148, 136, 0.1);
  border: 1px solid rgba(13, 148, 136, 0.22);
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--teal-700);
  margin-bottom: 1rem;
}

.section-tag.emergency {
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.25);
  color: var(--color-accent);
}

.section-tag .pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal-500);
  animation: pulseDot 2s infinite;
}

.section-tag.emergency .pulse-dot {
  background: var(--color-accent);
  animation: pulseEmergency 1.5s infinite;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; box-shadow: 0 0 0 0 rgba(20, 184, 166, 0.6); }
  50% { transform: scale(1.15); opacity: 0.8; box-shadow: 0 0 0 6px rgba(20, 184, 166, 0); }
}

@keyframes pulseEmergency {
  0%, 100% { transform: scale(1); opacity: 1; box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.6); }
  50% { transform: scale(1.2); opacity: 0.8; box-shadow: 0 0 0 8px rgba(239, 68, 68, 0); }
}

.section-title {
  font-size: clamp(2rem, 3.8vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--color-text-main);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--color-text-muted);
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.65;
}

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

/* --------------------------------------------------------------------------
   4. Buttons & Badges
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-weight: 600;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  text-align: center;
  white-space: nowrap;
  font-size: 0.95rem;
}

.btn-sm {
  padding: 0.5rem 1.1rem;
  font-size: 0.875rem;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--teal-600) 0%, var(--teal-700) 100%);
  color: #ffffff;
  box-shadow: var(--shadow-teal);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--teal-500) 0%, var(--teal-600) 100%);
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -6px rgba(13, 148, 136, 0.45);
}

.btn-accent {
  background: linear-gradient(135deg, var(--color-accent) 0%, #b91c1c 100%);
  color: #ffffff;
  box-shadow: 0 10px 25px -4px rgba(239, 68, 68, 0.4);
}

.btn-accent:hover {
  background: linear-gradient(135deg, #f87171 0%, var(--color-accent) 100%);
  transform: translateY(-2px);
  box-shadow: 0 16px 30px -4px rgba(239, 68, 68, 0.55);
}

.btn-outline {
  background: transparent;
  color: var(--color-text-main);
  border: 1px solid var(--color-border);
}

.btn-outline:hover {
  border-color: var(--teal-500);
  color: var(--teal-700);
  background: rgba(13, 148, 136, 0.05);
  transform: translateY(-2px);
}

.btn-outline-white {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  backdrop-filter: blur(8px);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.45);
  transform: translateY(-2px);
}

.btn-white {
  background: #ffffff;
  color: var(--teal-900);
  box-shadow: var(--shadow-md);
}

.btn-white:hover {
  background: var(--teal-50);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* App Store Badges */
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background-color: #0f172a;
  color: #ffffff;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: all var(--transition-base);
}

.store-badge svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
  flex-shrink: 0;
}

.store-badge:hover {
  background-color: #1e293b;
  border-color: var(--teal-400);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.3);
}

.store-badge .badge-text {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.15;
}

.store-badge .badge-text .small {
  font-size: 0.6875rem;
  letter-spacing: 0.04em;
  opacity: 0.75;
}

.store-badge .badge-text .big {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* --------------------------------------------------------------------------
   5. Top Announcement Banner
   -------------------------------------------------------------------------- */
.announcement-bar {
  background: linear-gradient(90deg, #091e23 0%, #0d3b38 50%, #091e23 100%);
  color: #ffffff;
  font-size: 0.8125rem;
  padding: 0.55rem 1rem;
  position: relative;
  z-index: 50;
  border-bottom: 1px solid rgba(20, 184, 166, 0.2);
}

.announcement-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.announcement-content {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 auto;
}

.announcement-tag {
  background: var(--teal-500);
  color: #042f2e;
  font-weight: 800;
  font-size: 0.6875rem;
  padding: 0.15rem 0.55rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
}

.announcement-link {
  color: var(--teal-200);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.announcement-link:hover {
  color: #ffffff;
}

.announcement-helpline {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  color: #fca5a5;
}

/* --------------------------------------------------------------------------
   6. Navigation Bar
   -------------------------------------------------------------------------- */
.navbar {
  position: sticky;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  z-index: 100;
  transition: all var(--transition-base);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-sm);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 124px;
  gap: 1.5rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

.brand-logo img {
  height: 118px;
  width: auto;
  object-fit: contain;
  transition: transform var(--transition-base);
}

.brand-logo:hover img {
  transform: scale(1.02);
}

.brand-name {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--teal-900);
  letter-spacing: -0.03em;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  white-space: nowrap;
}

.brand-name .io-badge,
.brand-name .co-badge {
  font-size: 0.8rem;
  font-weight: 700;
  background: var(--teal-100);
  color: var(--teal-700);
  padding: 0.125rem 0.45rem;
  border-radius: var(--radius-xs);
  margin-left: 0.25rem;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: nowrap;
}

.nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: #334155;
  position: relative;
  padding: 0.4rem 0;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--teal-600);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2.5px;
  background: var(--teal-600);
  transition: width var(--transition-base);
  border-radius: 2px;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
}

.menu-toggle {
  display: none;
  background: transparent;
  color: var(--color-text-main);
  padding: 0.5rem;
  border-radius: var(--radius-sm);
}

/* Mobile Navigation Drawer */
.mobile-nav {
  position: fixed;
  top: 94px;
  left: 0;
  width: 100%;
  background: #ffffff;
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-xl);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transform: translateY(-120%);
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition-base);
  z-index: 99;
}

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

.mobile-nav .nav-link {
  font-size: 1.05rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--color-border-subtle);
}

/* --------------------------------------------------------------------------
   7. Hero Section
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding: 4.5rem 0 5.5rem 0;
  overflow: hidden;
  background: radial-gradient(circle at 80% 20%, rgba(204, 251, 241, 0.45) 0%, transparent 50%),
              radial-gradient(circle at 10% 80%, rgba(240, 253, 250, 0.6) 0%, transparent 60%),
              #ffffff;
}

.hero-glow-1 {
  position: absolute;
  top: -150px;
  right: -100px;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.18) 0%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
}

.hero-glow-2 {
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(15, 118, 110, 0.12) 0%, transparent 70%);
  filter: blur(90px);
  pointer-events: none;
}

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

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 1rem;
  background: var(--teal-50);
  border: 1px solid var(--teal-200);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--teal-800);
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: #091e23;
  margin-bottom: 1.25rem;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  color: #475569;
  line-height: 1.65;
  margin-bottom: 2rem;
  max-width: 580px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.75rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  font-weight: 800;
  color: var(--teal-800);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-text-muted);
  margin-top: 0.25rem;
}

/* Hero Visual Showcase - Modern HealthTech Stage */
.hero-visual {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-stage {
  position: relative;
  width: 100%;
  max-width: 540px;
  height: 570px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Ambient glow & orbit */
.hero-stage-glow {
  position: absolute;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.25) 0%, rgba(13, 148, 136, 0.08) 50%, transparent 70%);
  filter: blur(40px);
  z-index: 1;
}

.hero-orbit-ring {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  border: 1px dashed rgba(20, 184, 166, 0.3);
  z-index: 1;
  animation: rotateSlow 40s linear infinite;
}

@keyframes rotateSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Center Phone */
.hero-phone-wrap {
  position: relative;
  z-index: 3;
  width: 265px;
  height: 530px;
  background: #0f172a;
  border-radius: 42px;
  padding: 8px;
  box-shadow: 0 35px 70px -15px rgba(15, 23, 42, 0.38),
              0 0 0 2px #334155,
              0 0 0 6px #1e293b;
  transition: transform 0.4s ease;
}

.hero-phone-wrap:hover {
  transform: translateY(-6px) scale(1.02);
}

.hero-phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 34px;
  overflow: hidden;
  position: relative;
  background: #000000;
}

.hero-phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Dynamic Island / Notch on hero phone */
.hero-phone-notch {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 18px;
  background: #000000;
  border-radius: 12px;
  z-index: 10;
}

/* Overlapping Glass Cards */
.hero-glass-card {
  position: absolute;
  z-index: 4;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: var(--radius-lg);
  padding: 1rem 1.25rem;
  box-shadow: 0 16px 36px -6px rgba(15, 23, 42, 0.16), 0 4px 12px -2px rgba(15, 23, 42, 0.06);
  transition: all 0.3s ease;
}

.hero-glass-card:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 20px 45px -8px rgba(13, 148, 136, 0.25);
  border-color: var(--teal-300);
}

/* Card 1: Top Left - VMP Visa Clearance */
.hero-glass-card.card-visa {
  top: 25px;
  left: -20px;
  width: 250px;
  animation: floatCard1 4.5s ease-in-out infinite alternate;
}

.visa-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.visa-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.6875rem;
  font-weight: 800;
  color: var(--teal-800);
  background: var(--teal-50);
  border: 1px solid var(--teal-200);
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.visa-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-emerald);
}

.visa-card-title {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--color-text-main);
  line-height: 1.2;
}

.visa-card-route {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.5rem 0;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #334155;
  background: var(--color-bg-page);
  padding: 0.4rem 0.65rem;
  border-radius: var(--radius-sm);
}

.visa-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.72rem;
  color: var(--color-text-muted);
}

/* Card 2: Bottom Right - Doctor & Hospital Match */
.hero-glass-card.card-doctor {
  bottom: 45px;
  right: -25px;
  width: 260px;
  animation: floatCard2 5s ease-in-out infinite alternate;
}

.doctor-card-flex {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.doctor-thumb {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  object-fit: cover;
  border: 2px solid var(--teal-400);
  flex-shrink: 0;
}

.doctor-card-info h4 {
  font-size: 0.875rem;
  font-weight: 800;
  color: var(--color-text-main);
  line-height: 1.2;
}

.doctor-card-info p {
  font-size: 0.75rem;
  color: var(--teal-700);
  font-weight: 600;
}

.doctor-card-rating {
  font-size: 0.72rem;
  color: #64748b;
  margin-top: 0.2rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

/* Card 3: Floating Mini Badge - 24/7 SOS */
.hero-glass-card.card-sos {
  bottom: 20px;
  left: -15px;
  padding: 0.65rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  animation: floatCard3 4s ease-in-out infinite alternate;
}

.sos-mini-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fee2e2;
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sos-mini-text {
  display: flex;
  flex-direction: column;
}

.sos-mini-text strong {
  font-size: 0.8125rem;
  font-weight: 800;
  color: #0f172a;
}

.sos-mini-text span {
  font-size: 0.7rem;
  color: #64748b;
}

@keyframes floatCard1 {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-10px); }
}

@keyframes floatCard2 {
  0% { transform: translateY(0px); }
  100% { transform: translateY(10px); }
}

@keyframes floatCard3 {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-7px); }
}

/* Full Width Ecosystem Showcase Section (Where hero-featured banner shines!) */
.ecosystem-section {
  padding: 5rem 0 6rem 0;
  background: linear-gradient(180deg, #ffffff 0%, #f0fdfa 100%);
  position: relative;
}

.ecosystem-banner-card {
  max-width: 1040px;
  margin: 2.5rem auto 0 auto;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(15, 118, 110, 0.2);
  border: 1px solid rgba(20, 184, 166, 0.3);
  position: relative;
  background: #ffffff;
}

.ecosystem-banner-img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s ease;
}

.ecosystem-banner-card:hover .ecosystem-banner-img {
  transform: scale(1.015);
}

.ecosystem-features-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
  max-width: 1040px;
  margin-left: auto;
  margin-right: auto;
}

.eco-feature-box {
  background: #ffffff;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

.eco-feature-box:hover {
  border-color: var(--teal-400);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.eco-feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--teal-50);
  color: var(--teal-700);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.eco-feature-text h4 {
  font-size: 0.875rem;
  font-weight: 800;
  color: var(--color-text-main);
  line-height: 1.2;
}

.eco-feature-text p {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

/* --------------------------------------------------------------------------
   8. Trust & Governance Bar
   -------------------------------------------------------------------------- */
.trust-bar {
  background: #ffffff;
  padding: 2.2rem 0;
  border-top: 1px solid var(--color-border-subtle);
  border-bottom: 1px solid var(--color-border);
}

.trust-title {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-light);
  text-align: center;
  margin-bottom: 1.5rem;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  align-items: center;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1.15rem;
  background: var(--color-bg-page);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
}

.trust-item:hover {
  background: #ffffff;
  border-color: var(--teal-300);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.trust-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--teal-50);
  color: var(--teal-700);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-text h4 {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-text-main);
  line-height: 1.2;
}

.trust-text p {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

/* --------------------------------------------------------------------------
   9. Interactive Corridor & Cost Comparison (Mediran Advantage)
   -------------------------------------------------------------------------- */
.comparison-section {
  padding: 6rem 0;
  background: #ffffff;
  position: relative;
}

.calc-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: 2.5rem;
  margin-top: 3rem;
}

.calc-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--color-border);
}

.calc-filter-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.calc-select {
  padding: 0.65rem 1.25rem;
  border: 1px solid var(--teal-300);
  background: var(--teal-50);
  color: var(--teal-900);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.calc-select:focus {
  border-color: var(--teal-600);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.2);
}

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.compare-col {
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background: var(--color-bg-page);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-base);
}

.compare-col.highlight {
  background: linear-gradient(180deg, #f0fdfa 0%, #ffffff 100%);
  border: 2px solid var(--teal-500);
  box-shadow: var(--shadow-md);
  position: relative;
}

.compare-badge {
  position: absolute;
  top: -12px;
  right: 18px;
  background: var(--teal-600);
  color: #ffffff;
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
}

.country-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.country-flag {
  font-size: 1.5rem;
}

.country-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--color-text-main);
}

.compare-price {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--color-text-main);
  margin-bottom: 0.25rem;
}

.compare-col.highlight .compare-price {
  color: var(--teal-700);
}

.compare-notes {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--color-border);
}

.compare-features {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  font-size: 0.85rem;
  color: #334155;
}

.compare-feature-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.compare-feature-row svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.text-success { color: var(--color-emerald); }
.text-danger { color: var(--color-accent); }

/* --------------------------------------------------------------------------
   10. Interactive Mobile App Showcase
   -------------------------------------------------------------------------- */
.app-showcase-section {
  padding: 6.5rem 0;
  background: radial-gradient(circle at 50% 0%, #0c1824 0%, #070c14 100%);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.app-showcase-section::before {
  content: '';
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translateX(-50%);
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.15) 0%, transparent 70%);
  filter: blur(100px);
  pointer-events: none;
}

.app-tabs-nav {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin: 2.5rem 0 3.5rem 0;
  flex-wrap: wrap;
}

.app-tab-btn {
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #94a3b8;
  font-weight: 700;
  font-size: 0.9375rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all var(--transition-base);
}

.app-tab-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.app-tab-btn.active {
  background: var(--teal-500);
  border-color: var(--teal-400);
  color: #042f2e;
  box-shadow: 0 0 25px rgba(20, 184, 166, 0.45);
}

.app-showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

/* Feature Bullets (Left & Right) */
.feature-bullet-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.feature-bullet-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  backdrop-filter: blur(10px);
  transition: all var(--transition-base);
}

.feature-bullet-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(20, 184, 166, 0.4);
  transform: translateY(-3px);
}

.bullet-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
}

.bullet-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(20, 184, 166, 0.15);
  color: var(--teal-300);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.bullet-icon.red {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
}

.bullet-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
}

.bullet-desc {
  font-size: 0.875rem;
  color: #94a3b8;
  line-height: 1.55;
}

/* Central Realistic Phone Mockup */
.mockup-container {
  display: flex;
  justify-content: center;
  position: relative;
}

.mockup-frame {
  width: 310px;
  height: 640px;
  background: #111827;
  border-radius: 46px;
  padding: 10px;
  box-shadow: 0 35px 70px -15px rgba(0, 0, 0, 0.8),
              0 0 0 4px #2d3748,
              0 0 0 8px #1a202c;
  position: relative;
  overflow: hidden;
  z-index: 2;
}

/* Notch / Dynamic Island */
.mockup-notch {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 20px;
  background: #000000;
  border-radius: 20px;
  z-index: 10;
}

.mockup-screen-container {
  width: 100%;
  height: 100%;
  border-radius: 36px;
  overflow: hidden;
  position: relative;
  background: #000000;
}

.mockup-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
}

.mockup-img.active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

/* --------------------------------------------------------------------------
   11. Medical Specialties & Centers of Excellence
   -------------------------------------------------------------------------- */
.specialties-section {
  padding: 6rem 0;
  background: var(--color-bg-page);
}

.specialties-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-top: 3.5rem;
}

.specialty-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.specialty-card:hover {
  transform: translateY(-5px);
  border-color: var(--teal-300);
  box-shadow: var(--shadow-lg);
}

.specialty-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--teal-400), var(--teal-600));
  opacity: 0;
  transition: opacity var(--transition-base);
}

.specialty-card:hover::after {
  opacity: 1;
}

.specialty-icon-box {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background: var(--teal-50);
  color: var(--teal-700);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: all var(--transition-base);
}

.specialty-card:hover .specialty-icon-box {
  background: var(--teal-600);
  color: #ffffff;
  transform: scale(1.08);
}

.specialty-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-text-main);
  margin-bottom: 0.65rem;
}

.specialty-desc {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.specialty-highlight {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border-subtle);
  font-size: 0.8125rem;
}

.specialty-metric {
  font-weight: 700;
  color: var(--teal-700);
}

.specialty-savings {
  background: var(--teal-50);
  color: var(--teal-800);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   12. Patient Journey (5 Steps)
   -------------------------------------------------------------------------- */
.journey-section {
  padding: 6rem 0;
  background: #ffffff;
}

.journey-steps-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
  position: relative;
}

.journey-step-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 2;
}

.step-number-circle {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid var(--teal-500);
  color: var(--teal-700);
  font-size: 1.2rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 15px rgba(20, 184, 166, 0.2);
  transition: all var(--transition-base);
}

.journey-step-card:hover .step-number-circle {
  background: var(--teal-600);
  color: #ffffff;
  transform: scale(1.1);
  box-shadow: var(--shadow-teal);
}

.step-card-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--color-text-main);
  margin-bottom: 0.5rem;
}

.step-card-desc {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* Connector line */
.journey-steps-grid::before {
  content: '';
  position: absolute;
  top: 29px;
  left: 10%;
  right: 10%;
  height: 2px;
  border-top: 2px dashed var(--teal-300);
  z-index: 1;
}

/* --------------------------------------------------------------------------
   13. Emergency SOS & Patient Governance
   -------------------------------------------------------------------------- */
.sos-section {
  padding: 5.5rem 0;
  background: linear-gradient(135deg, #180909 0%, #2a0e0e 50%, #180909 100%);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.sos-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.sos-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.95rem;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.35);
  border-radius: var(--radius-full);
  color: #fca5a5;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
}

.sos-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 1.25rem;
}

.sos-desc {
  font-size: 1.05rem;
  color: #fecaca;
  line-height: 1.65;
  margin-bottom: 2rem;
}

.sos-features-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.sos-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.sos-item-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(239, 68, 68, 0.25);
  color: #f87171;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.sos-item-text h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
}

.sos-item-text p {
  font-size: 0.8125rem;
  color: #fca5a5;
}

.sos-visual-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
  text-align: center;
}

.sos-trigger-btn {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: radial-gradient(circle, #ef4444 0%, #b91c1c 100%);
  color: #ffffff;
  font-size: 1.75rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem auto;
  box-shadow: 0 0 35px rgba(239, 68, 68, 0.6);
  animation: pulseEmergency 1.8s infinite;
  border: 3px solid rgba(255, 255, 255, 0.3);
}

/* --------------------------------------------------------------------------
   14. Testimonials & Verified Patient Stories
   -------------------------------------------------------------------------- */
.testimonials-section {
  padding: 6rem 0;
  background: var(--color-bg-page);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-top: 3.5rem;
}

.testimonial-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--teal-300);
}

.testimonial-stars {
  display: flex;
  gap: 0.2rem;
  color: #f59e0b;
  margin-bottom: 1rem;
}

.testimonial-quote {
  font-size: 0.95rem;
  color: #334155;
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border-subtle);
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--teal-100);
  color: var(--teal-800);
  font-weight: 800;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.author-info h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-text-main);
}

.author-info p {
  font-size: 0.78125rem;
  color: var(--color-text-muted);
}

/* --------------------------------------------------------------------------
   15. Download App CTA Section
   -------------------------------------------------------------------------- */
.download-section {
  padding: 6.5rem 0;
  background: linear-gradient(135deg, #091e23 0%, #0d3b38 50%, #042f2e 100%);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.download-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(204, 251, 241, 0.2);
  border-radius: var(--radius-xl);
  padding: 3.5rem;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-xl);
}

.download-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.download-desc {
  font-size: 1.05rem;
  color: #ccfbf1;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.download-qr-card {
  background: #ffffff;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
}

.qr-code-img {
  width: 140px;
  height: 140px;
  margin-bottom: 0.75rem;
}

.qr-label {
  font-size: 0.8125rem;
  font-weight: 700;
  color: #0f172a;
}

.qr-sub {
  font-size: 0.75rem;
  color: #64748b;
}

/* --------------------------------------------------------------------------
   16. FAQ Accordion Section
   -------------------------------------------------------------------------- */
.faq-section {
  padding: 6rem 0;
  background: #ffffff;
}

.faq-list {
  max-width: 820px;
  margin: 3.5rem auto 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-bg-page);
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq-item.active {
  border-color: var(--teal-400);
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  background: transparent;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-text-main);
  text-align: left;
}

.faq-question svg {
  width: 20px;
  height: 20px;
  color: var(--teal-600);
  transition: transform var(--transition-base);
  flex-shrink: 0;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 1.5rem;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}

.faq-item.active .faq-answer {
  max-height: 400px;
  padding-bottom: 1.25rem;
}

/* --------------------------------------------------------------------------
   17. Footer
   -------------------------------------------------------------------------- */
.footer {
  background: #060b12;
  color: #94a3b8;
  padding: 5rem 0 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand p {
  font-size: 0.9rem;
  color: #64748b;
  margin: 1rem 0 1.5rem 0;
  line-height: 1.6;
}

.footer-socials {
  display: flex;
  gap: 0.75rem;
}

.social-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.social-btn:hover {
  background: var(--teal-600);
  transform: translateY(-2px);
}

.footer-col h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--teal-300);
  transform: translateX(3px);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  font-size: 0.875rem;
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  color: var(--teal-400);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8125rem;
  color: #64748b;
  gap: 1rem;
}

.footer-legal-links {
  display: flex;
  gap: 1.5rem;
}

.footer-legal-links a:hover {
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   18. Responsive Breakpoints
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .hero-visual {
    order: -1;
  }

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

  .app-showcase-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .mockup-container {
    order: -1;
  }

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

  .journey-steps-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }

  .journey-steps-grid::before {
    display: none;
  }

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

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

@media (max-width: 820px) {
  .nav-menu, .nav-actions {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .announcement-bar .container {
    flex-direction: column;
    text-align: center;
    gap: 0.35rem;
  }

  .hero-stage {
    height: 510px;
  }

  .hero-phone-wrap {
    width: 240px;
    height: 480px;
  }

  .hero-glass-card.card-visa {
    left: 0;
    top: 15px;
    width: 225px;
  }

  .hero-glass-card.card-doctor {
    right: 0;
    bottom: 25px;
    width: 235px;
  }

  .hero-glass-card.card-sos {
    display: none;
  }

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

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

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

  .download-box {
    grid-template-columns: 1fr;
    padding: 2rem;
    text-align: center;
  }

  .download-actions {
    justify-content: center;
  }

  .download-qr-card {
    margin: 0 auto;
  }

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

@media (max-width: 600px) {
  .hero {
    padding: 3rem 0;
  }

  .hero-title {
    font-size: 2.15rem;
  }

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

  .hero-stage {
    height: 440px;
  }

  .hero-phone-wrap {
    width: 195px;
    height: 390px;
    border-radius: 32px;
    padding: 6px;
  }

  .hero-phone-screen {
    border-radius: 26px;
  }

  .hero-glass-card.card-visa {
    left: -10px;
    top: 5px;
    width: 195px;
    padding: 0.75rem;
  }

  .hero-glass-card.card-doctor {
    right: -10px;
    bottom: 10px;
    width: 205px;
    padding: 0.75rem;
  }

  .doctor-thumb {
    width: 38px;
    height: 38px;
  }

  .hero-orbit-ring {
    display: none;
  }

  .ecosystem-features-strip {
    grid-template-columns: 1fr;
  }

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

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

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

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

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

/* --------------------------------------------------------------------------
   19. Legal, Compliance & Information Pages
   -------------------------------------------------------------------------- */
.legal-page {
  padding: 3rem 0 5rem 0;
  background: #f8fafc;
  min-height: calc(100vh - 180px);
}

.legal-container {
  max-width: 880px;
  margin: 0 auto;
}

.legal-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  padding: 2.75rem 3rem;
}

@media (max-width: 768px) {
  .legal-card {
    padding: 2rem 1.25rem;
  }
}

.legal-header {
  margin-bottom: 1.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--color-border);
}

.legal-header h1 {
  font-size: clamp(1.85rem, 3.2vw, 2.4rem);
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
  margin: 0.75rem 0 0.5rem 0;
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  font-size: 0.875rem;
  color: #64748b;
  margin-top: 0.5rem;
}

.legal-meta-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--teal-50);
  color: var(--teal-800);
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.8125rem;
  border: 1px solid var(--teal-200);
}

.legal-content h2 {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f172a;
  margin: 2rem 0 0.85rem 0;
  padding-top: 1.25rem;
  border-top: 1px dashed #e2e8f0;
  letter-spacing: -0.01em;
}

.legal-content h2:first-of-type {
  border-top: none;
  padding-top: 0;
  margin-top: 0;
}

.legal-content h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: #1e293b;
  margin: 1.5rem 0 0.75rem 0;
}

.legal-content p, .legal-content li {
  font-size: 0.975rem;
  color: #334155;
  line-height: 1.75;
  margin-bottom: 1.15rem;
}

.legal-content ul, .legal-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.legal-content li {
  margin-bottom: 0.6rem;
}

.legal-content strong {
  color: #0f172a;
  font-weight: 700;
}

.legal-highlight-box {
  background: linear-gradient(135deg, rgba(204, 251, 241, 0.4) 0%, rgba(240, 253, 250, 0.8) 100%);
  border-left: 4px solid var(--teal-600);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0 2rem 0;
}

.legal-highlight-box p {
  margin: 0;
  color: #0f766e;
  font-weight: 500;
  font-size: 0.95rem;
  line-height: 1.65;
}

.legal-grid-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin: 1.5rem 0 2rem 0;
}

@media (max-width: 640px) {
  .legal-grid-cards {
    grid-template-columns: 1fr;
  }
}

.legal-card-item {
  background: #f8fafc;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
}

.legal-card-item h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.legal-card-item p {
  font-size: 0.9rem;
  color: #64748b;
  margin: 0;
  line-height: 1.55;
}

.legal-table-wrapper {
  overflow-x: auto;
  margin: 1.75rem 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.925rem;
}

.legal-table th {
  background: #f1f5f9;
  color: #0f172a;
  font-weight: 700;
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid var(--color-border);
}

.legal-table td {
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid #f1f5f9;
  color: #334155;
  vertical-align: top;
}

.legal-table tr:last-child td {
  border-bottom: none;
}

.legal-table tr:hover td {
  background: #fafafa;
}
