/* =============================================================
   EOMA Healthcare — Main Stylesheet
   Design System: EOMA Solutions Visual Identity
   Author: EOMA Healthcare
   Version: 1.0
   ============================================================= */

/* ========================
   0. CSS CUSTOM PROPERTIES
   ======================== */
:root {
  /* Brand Colors */
  --color-navy:         #003146;
  --color-navy-deep:    #001e2e;
  --color-blue:         #2e7fac;
  --color-blue-mid:     #0b4e6f;
  --color-blue-light:   #3a9fd6;
  --color-gold:         #D8A649;
  --color-gold-light:   #e8c070;
  --color-gold-dim:     rgba(216, 166, 73, 0.18);

  /* Neutral & Background */
  --color-white:        #ffffff;
  --color-bg-light:     #f8f9fa;
  --color-bg-soft:      #f5f7f9;
  --color-bg-gray:      #eeeeee;
  --color-gray-light:   #d5d5d5;
  --color-gray-mid:     #9baab5;
  --color-gray-text:    #5a6a75;
  --color-text-dark:    #0d1f2d;
  --color-text-body:    #2b3d4a;

  /* Semantic */
  --color-success:      #2dbf7e;
  --color-warning:      #e8b84a;
  --color-alert:        #e05252;

  /* Gradients */
  --gradient-hero:      linear-gradient(135deg, #001e2e 0%, #003146 45%, #0b4e6f 100%);
  --gradient-blue:      linear-gradient(135deg, #003146 0%, #2e7fac 100%);
  --gradient-dark:      linear-gradient(160deg, #001e2e 0%, #003146 60%, #0b3d5a 100%);
  --gradient-card:      linear-gradient(145deg, rgba(46,127,172,0.12) 0%, rgba(0,49,70,0.05) 100%);

  /* Spacing Scale */
  --space-xs:           0.4rem;
  --space-sm:           0.75rem;
  --space-md:           1.25rem;
  --space-lg:           2rem;
  --space-xl:           3rem;
  --space-2xl:          5rem;
  --space-3xl:          8rem;

  /* Section padding */
  --section-py:         clamp(4rem, 8vw, 7rem);

  /* Typography */
  --font-heading:       'Montserrat', sans-serif;
  --font-body:          'Nunito Sans', sans-serif;
  --font-condensed:     'Roboto Condensed', sans-serif;
  --font-tech:          'Share Tech', sans-serif;

  /* Font Sizes */
  --text-xs:            clamp(0.7rem, 1vw, 0.75rem);
  --text-sm:            clamp(0.8rem, 1.2vw, 0.875rem);
  --text-base:          clamp(0.9rem, 1.5vw, 1rem);
  --text-md:            clamp(1rem, 1.8vw, 1.125rem);
  --text-lg:            clamp(1.1rem, 2vw, 1.25rem);
  --text-xl:            clamp(1.25rem, 2.5vw, 1.5rem);
  --text-2xl:           clamp(1.5rem, 3vw, 2rem);
  --text-3xl:           clamp(1.8rem, 4vw, 2.5rem);
  --text-4xl:           clamp(2.2rem, 5vw, 3.2rem);
  --text-5xl:           clamp(2.5rem, 6vw, 4rem);

  /* Border Radius */
  --radius-sm:          6px;
  --radius-md:          12px;
  --radius-lg:          20px;
  --radius-xl:          28px;
  --radius-full:        9999px;

  /* Shadows */
  --shadow-sm:          0 2px 8px rgba(0,49,70,0.08);
  --shadow-md:          0 6px 24px rgba(0,49,70,0.12);
  --shadow-lg:          0 12px 40px rgba(0,49,70,0.16);
  --shadow-xl:          0 20px 60px rgba(0,49,70,0.22);
  --shadow-gold:        0 4px 20px rgba(216,166,73,0.25);

  /* Transitions */
  --transition-fast:    150ms ease;
  --transition-base:    250ms ease;
  --transition-slow:    400ms ease;

  /* Nav height */
  --nav-height:         72px;

  /* Carousel */
  --carousel-radius:    16px;
}

/* ========================
   1. RESET & BASE
   ======================== */
*, *::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-body);
  font-size: var(--text-base);
  color: var(--color-text-body);
  background: var(--color-white);
  line-height: 1.7;
  overflow-x: hidden;
}

img, video, iframe { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ========================
   2. LAYOUT
   ======================== */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
}

.section {
  padding: var(--section-py) 0;
  position: relative;
  overflow: hidden;
}

.section-light    { background: var(--color-bg-light); }
.section-dark     { background: var(--color-navy); color: var(--color-white); }
.section-gradient-blue {
  background: var(--gradient-blue);
  color: var(--color-white);
}
.section-gradient-dark {
  background: var(--gradient-dark);
  color: var(--color-white);
}

/* ========================
   3. TYPOGRAPHY
   ======================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

.section-title {
  font-size: var(--text-3xl);
  font-weight: 800;
  margin-bottom: var(--space-md);
  text-align: center;
}

.section-title.text-left { text-align: left; }

.section-subtitle {
  font-size: var(--text-lg);
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--space-xl);
  opacity: 0.85;
  line-height: 1.6;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  font-family: var(--font-condensed);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-md);
  background: var(--color-gold-dim);
  color: var(--color-gold);
  border: 1px solid rgba(216,166,73,0.3);
  text-align: center;
  display: flex;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.section-dark .section-label,
.section-gradient-blue .section-label,
.section-gradient-dark .section-label {
  background: rgba(216,166,73,0.15);
  color: var(--color-gold);
  border-color: rgba(216,166,73,0.3);
}

.section-label [data-lucide] { width: 14px; height: 14px; }

.disclaimer-text {
  font-size: var(--text-xs);
  color: var(--color-gray-mid);
  margin-top: var(--space-md);
  font-style: italic;
  line-height: 1.6;
}

/* ========================
   4. NAVIGATION
   ======================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  height: var(--nav-height);
  transition: background var(--transition-base), box-shadow var(--transition-base);
  background: transparent;
}

.site-header.scrolled {
  background: rgba(0, 31, 46, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.nav-container {
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2rem);
  height: 100%;
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

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

.logo-img {
  height: 75px;
  width: auto;
  max-width: 350px;
  object-fit: contain;
  transition: opacity var(--transition-base);
  filter: brightness(1.05);
}

.logo-img:hover { opacity: 0.85; }

.logo-badge {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold);
  background: rgba(216,166,73,0.15);
  border: 1px solid rgba(216,166,73,0.4);
  padding: 0.2em 0.6em;
  border-radius: var(--radius-full);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  flex: 1;
  justify-content: center;
}

.nav-links a {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.85);
  padding: 0.5rem 0.7rem;
  border-radius: var(--radius-sm);
  transition: color var(--transition-fast), background var(--transition-fast);
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--color-white);
  background: rgba(255,255,255,0.08);
}

.nav-links a.active { color: var(--color-gold); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-shrink: 0;
}

/* Language Dropdown */
.lang-dropdown { position: relative; }

.lang-btn {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(255,255,255,0.85);
  border: 1px solid rgba(255,255,255,0.2);
  transition: all var(--transition-fast);
  background: rgba(255,255,255,0.05);
}

.lang-btn:hover {
  background: rgba(255,255,255,0.12);
  color: var(--color-white);
}

.lang-btn [data-lucide] { width: 14px; height: 14px; }
.lang-chevron { transition: transform var(--transition-fast); }
.lang-dropdown.open .lang-chevron { transform: rotate(180deg); }

.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--color-navy);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  overflow: hidden;
  min-width: 130px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all var(--transition-base);
  z-index: 100;
}

.lang-dropdown.open .lang-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-menu li {
  padding: 0.6rem 1rem;
  font-size: 0.82rem;
  font-family: var(--font-heading);
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  cursor: pointer;
  transition: background var(--transition-fast), color var(--transition-fast);
}

.lang-menu li:hover { background: rgba(255,255,255,0.08); color: var(--color-white); }
.lang-menu li.active { color: var(--color-gold); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: all var(--transition-base);
}

.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ========================
   5. BUTTONS
   ======================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.5rem;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--text-sm);
  letter-spacing: 0.04em;
  transition: all var(--transition-base);
  cursor: pointer;
  white-space: nowrap;
  border: 2px solid transparent;
}

.btn:focus-visible {
  outline: 3px solid var(--color-gold);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--color-gold);
  color: var(--color-navy);
  border-color: var(--color-gold);
}

.btn-primary:hover {
  background: var(--color-gold-light);
  border-color: var(--color-gold-light);
  box-shadow: var(--shadow-gold);
  transform: translateY(-1px);
}

/* Nav "Request Demo" button — blue gradient to match back-to-top */
.btn-primary.btn-nav {
  background: linear-gradient(135deg, #2e7fac 0%, #3a9fd6 100%);
  color: var(--color-white);
  border-color: transparent;
}

.btn-primary.btn-nav:hover {
  background: linear-gradient(135deg, #3a9fd6 0%, #5bbde8 100%);
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(58,159,214,0.4);
  transform: translateY(-1px);
}

.btn-outline-white {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255,255,255,0.4);
}

.btn-outline-white:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.7);
}

.btn-lg {
  padding: 0.85rem 2rem;
  font-size: var(--text-md);
}

.btn-nav {
  padding: 0.45rem 1.1rem;
  font-size: 0.78rem;
}

/* ========================
   6. HERO SECTION
   ======================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  background: var(--gradient-hero);
  color: var(--color-white);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--nav-height);
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 70% 30%, rgba(46,127,172,0.25) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(11,78,111,0.3) 0%, transparent 50%);
  pointer-events: none;
}

/* Soft hospital presentation image — right side, elegant overlay */
.hero-img-overlay {
  position: absolute;
  top: 0;
  right: 0;
  width: 58%;
  height: 100%;
  background-image:
    url('https://eomahealthcare.com/wp-content/uploads/2026/06/Eoma-Healthcare-2026-Hospital-Presentation-English-3.png');
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0.33;
  pointer-events: none;
  z-index: 1;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 35%);
  mask-image: linear-gradient(to right, transparent 0%, black 35%);
}

/* Hide hero image overlay on mobile — keep hero clean */
@media (max-width: 768px) {
  .hero-img-overlay { display: none; }
}

#hero-canvas {
  position: absolute;
  inset: 0;
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: clamp(2rem, 5vw, 4rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
  gap: var(--space-lg);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.1rem;
  border-radius: var(--radius-full);
  background: rgba(216,166,73,0.12);
  border: 1px solid rgba(216,166,73,0.35);
  font-family: var(--font-condensed);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-gold);
}

.hero-badge [data-lucide] { width: 14px; height: 14px; }

.hero-title {
  font-size: var(--text-5xl);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.brand-name {
  background: linear-gradient(135deg, var(--color-white) 40%, var(--color-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: var(--text-2xl);
  font-weight: 600;
  color: rgba(255,255,255,0.92);
  max-width: 760px;
  line-height: 1.35;
  font-style: normal;
}

.hero-description {
  font-size: var(--text-md);
  color: rgba(255,255,255,0.72);
  max-width: 680px;
  line-height: 1.75;
}

.hero-cta {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  justify-content: center;
}

.hero-trust {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.55);
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: var(--space-md);
}

.hero-trust [data-lucide] { width: 14px; height: 14px; color: var(--color-gold); }

/* Dashboard Card */
.hero-dashboard-card {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: var(--space-md) var(--space-lg);
  width: 100%;
  max-width: 700px;
  box-shadow: var(--shadow-xl);
  margin-bottom: var(--space-lg);
}

.dashboard-card-header {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.dashboard-dots { display: flex; gap: 5px; }
.dashboard-dots span {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
}
.dashboard-dots span:first-child { background: #ff5f57; }
.dashboard-dots span:nth-child(2) { background: #febc2e; }
.dashboard-dots span:last-child  { background: #28c840; }

.dashboard-label {
  flex: 1;
  font-family: var(--font-tech);
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
}

.dashboard-status {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-tech);
  font-size: var(--text-xs);
  color: var(--color-success);
}

.pulse-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-success);
  animation: pulse-anim 1.8s infinite;
}

.gold-pulse { background: var(--color-gold); }

@keyframes pulse-anim {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.5); }
}

.dashboard-card-body {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.dash-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  text-align: center;
}

.dash-val {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--color-gold);
  line-height: 1;
}

.dash-lbl {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.55);
  font-family: var(--font-condensed);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.3;
}

/* Mini bars */
.dashboard-mini-bars {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 40px;
  padding: 0 0.25rem;
}

.mini-bar {
  flex: 1;
  background: rgba(46,127,172,0.4);
  border-radius: 3px 3px 0 0;
  transition: background var(--transition-base);
}

.mini-bar.active { background: var(--color-gold); }

.hero-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.4);
  animation: bounce 2s ease infinite;
  z-index: 2;
}

.hero-scroll-indicator [data-lucide] { width: 28px; height: 28px; }

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

/* ========================
   7. PROBLEM SECTION
   ======================== */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.problem-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0,49,70,0.06);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  position: relative;
  overflow: hidden;
}

.problem-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--gradient-blue);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.problem-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

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

.problem-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(46,127,172,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
  color: var(--color-blue);
}

.problem-icon [data-lucide] { width: 22px; height: 22px; }

.problem-card h3 {
  font-size: var(--text-lg);
  color: var(--color-navy);
  margin-bottom: var(--space-xs);
}

.problem-card p {
  font-size: var(--text-sm);
  color: var(--color-gray-text);
  line-height: 1.7;
}

.problem-closing {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  text-align: center;
  padding: var(--space-lg) var(--space-lg);
  background: linear-gradient(135deg, rgba(46,127,172,0.05) 0%, rgba(0,49,70,0.03) 100%);
  border-radius: var(--radius-lg);
  max-width: 860px;
  margin: 0 auto;
}

.problem-closing p {
  font-size: var(--text-lg);
  color: var(--color-navy);
  line-height: 1.65;
  flex: 1;
  max-width: 680px;
}

.gold-line {
  height: 3px;
  width: 40px;
  background: var(--color-gold);
  border-radius: 2px;
  flex-shrink: 0;
}

/* ========================
   8. TECHNOLOGY SECTION
   ======================== */
.tech-process {
  display: grid;
  grid-template-columns: 1fr 24px 1fr 24px 1fr 24px 1fr 24px 1fr;
  align-items: stretch;
  gap: 0;
  margin-bottom: var(--space-xl);
  position: relative;
}

.tech-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--space-lg) var(--space-md) var(--space-lg);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  transition: background var(--transition-base), transform var(--transition-base);
  position: relative;
  min-height: 260px;
  justify-content: flex-start;
  overflow: hidden;
}

.tech-step:hover {
  background: rgba(255,255,255,0.07);
  transform: translateY(-3px);
}

.tech-step-number {
  font-family: var(--font-tech);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: var(--color-gold);
  letter-spacing: 0.06em;
  font-weight: 700;
  opacity: 0.22;
  position: absolute;
  top: var(--space-sm);
  right: var(--space-md);
  line-height: 1;
  pointer-events: none;
}

.tech-step-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(216,166,73,0.12);
  border: 2px solid rgba(216,166,73,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold);
  margin-bottom: var(--space-md);
  transition: all var(--transition-base);
}

.tech-step:hover .tech-step-icon {
  background: rgba(216,166,73,0.2);
  border-color: var(--color-gold);
}

.tech-step-icon [data-lucide] { width: 22px; height: 22px; }

.tech-step h3 {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: var(--space-xs);
}

.tech-step p {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.6);
  line-height: 1.65;
}

.tech-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 0.5rem;
  margin-top: 3.2rem;
  color: var(--color-gold);
  opacity: 0.6;
  flex-shrink: 0;
}

.tech-connector [data-lucide] { width: 18px; height: 18px; }
.connector-line { display: none; }

.tech-bottom-statement {
  text-align: center;
  font-size: var(--text-md);
  color: rgba(255,255,255,0.7);
  max-width: 740px;
  margin: 0 auto;
  line-height: 1.7;
}

.tech-bottom-statement strong { color: var(--color-gold); }

/* ========================
   9. USE CASE OVERVIEW
   ======================== */
.use-cases-overview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.uc-overview-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl) var(--space-lg);
  box-shadow: var(--shadow-md);
  border: 2px solid transparent;
  transition: all var(--transition-base);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.uc-overview-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-blue);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.uc-overview-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(46,127,172,0.2);
}

.uc-overview-card:hover::after { opacity: 1; }

.uc-overview-card.featured {
  background: var(--gradient-blue);
  color: var(--color-white);
  border-color: transparent;
}

.uc-overview-card.featured::after {
  background: var(--color-gold);
  opacity: 1;
}

.uc-overview-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: rgba(46,127,172,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
  margin-left: auto;
  margin-right: auto;
  color: var(--color-blue);
  transition: all var(--transition-base);
}

.uc-overview-card:hover .uc-overview-icon { background: rgba(46,127,172,0.15); }
.uc-overview-card.featured .uc-overview-icon { background: rgba(255,255,255,0.15); color: var(--color-gold); }

.uc-overview-icon [data-lucide] { width: 28px; height: 28px; }

.uc-tag {
  font-family: var(--font-condensed);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-blue);
  display: block;
  margin-bottom: 0.4rem;
}

.uc-overview-card.featured .uc-tag { color: var(--color-gold); }

.uc-overview-content h3 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-sm);
  color: var(--color-navy);
}

.uc-overview-card.featured h3 { color: var(--color-white); }

.uc-overview-content p {
  font-size: var(--text-base);
  color: var(--color-gray-text);
  margin-bottom: var(--space-md);
  line-height: 1.65;
}

.uc-overview-card.featured p { color: rgba(255,255,255,0.78); }

.uc-learn-more {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-blue);
  transition: color var(--transition-fast);
}

.uc-learn-more:hover { color: var(--color-gold); }
.uc-overview-card.featured .uc-learn-more { color: var(--color-gold); }

/* ========================
   10. USE CASE DETAIL
   ======================== */
.uc-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.uc-detail-grid.reverse { direction: rtl; }
.uc-detail-grid.reverse > * { direction: ltr; }

.uc-section-tag {
  font-family: var(--font-condensed);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-gold);
  display: block;
  margin-bottom: var(--space-sm);
}

.uc-subheadline {
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.75);
  margin-bottom: var(--space-md);
  line-height: 1.5;
  font-weight: 600;
}

.section-light .uc-subheadline { color: var(--color-blue); }

.two-col-lists {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  margin: var(--space-lg) 0;
}

.uc-list-group h4 {
  font-size: var(--text-sm);
  font-family: var(--font-condensed);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-sm);
}

.uc-list { display: flex; flex-direction: column; gap: 0.5rem; }

.uc-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: var(--text-sm);
  line-height: 1.5;
  color: rgba(255,255,255,0.8);
}

.section-light .uc-list li { color: var(--color-text-body); }

.uc-list li [data-lucide] {
  width: 15px;
  height: 15px;
  color: var(--color-gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.section-light .uc-list li [data-lucide] { color: var(--color-blue); }

/* Visual Cards */
.visual-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.visual-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem var(--space-md);
  background: var(--color-navy);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.vcard-label {
  font-family: var(--font-tech);
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.vcard-status {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: var(--text-xs);
  color: var(--color-success);
  font-family: var(--font-tech);
}

/* Asset Map Mockup */
.asset-visual { background: var(--color-navy-deep); }

.asset-map-mockup {
  padding: var(--space-md);
}

.map-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: var(--space-sm);
}

.map-zone {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-height: 80px;
  position: relative;
}

.map-zone span:first-child {
  font-family: var(--font-condensed);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}

.map-zone.alert-zone {
  border-color: rgba(224,82,82,0.4);
  background: rgba(224,82,82,0.06);
}

.asset-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  transition: transform var(--transition-fast);
}

.asset-dot.gold { background: var(--color-gold); box-shadow: 0 0 6px rgba(216,166,73,0.5); }
.asset-dot.blue { background: var(--color-blue); box-shadow: 0 0 6px rgba(46,127,172,0.5); }
.asset-dot.alert-dot { background: var(--color-alert); box-shadow: 0 0 8px rgba(224,82,82,0.6); animation: pulse-anim 1.5s infinite; }

.map-legend {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  font-family: var(--font-tech);
  font-size: 0.65rem;
  color: rgba(255,255,255,0.45);
  padding: 0.5rem 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.map-legend span { display: flex; align-items: center; gap: 0.3rem; }
.leg-dot { width: 7px; height: 7px; border-radius: 50%; }

/* Patient Monitor Mockup */
.patient-visual { background: var(--color-white); border: 1px solid var(--color-bg-gray); }
.patient-visual .visual-card-header { background: var(--color-navy); }

.patient-monitor-mockup {
  padding: var(--space-sm);
}

.patient-row {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 0.65rem var(--space-sm);
  border-radius: var(--radius-sm);
  margin-bottom: 0.4rem;
  transition: background var(--transition-fast);
}

.patient-row [data-lucide] { width: 18px; height: 18px; flex-shrink: 0; }

.patient-row.safe { background: rgba(45,191,126,0.06); }
.patient-row.safe [data-lucide] { color: var(--color-success); }

.patient-row.alert { background: rgba(224,82,82,0.08); }
.patient-row.alert [data-lucide] { color: var(--color-alert); }

.patient-row.warning { background: rgba(232,184,74,0.08); }
.patient-row.warning [data-lucide] { color: var(--color-warning); }

.pr-info { flex: 1; display: flex; flex-direction: column; gap: 0.15rem; }
.pr-id { font-family: var(--font-tech); font-size: 0.7rem; color: var(--color-gray-mid); }
.pr-loc { font-size: 0.8rem; font-weight: 600; color: var(--color-text-dark); }

.pr-badge {
  font-family: var(--font-condensed);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.2em 0.6em;
  border-radius: var(--radius-full);
}

.safe-badge { background: rgba(45,191,126,0.15); color: var(--color-success); }
.alert-badge { background: rgba(224,82,82,0.12); color: var(--color-alert); }
.warning-badge { background: rgba(232,184,74,0.12); color: var(--color-warning); }

.vcard-footer {
  padding: 0.6rem var(--space-md);
  background: rgba(0,49,70,0.04);
  border-top: 1px solid var(--color-bg-gray);
  font-size: 0.72rem;
  color: var(--color-gray-mid);
  font-family: var(--font-condensed);
  letter-spacing: 0.06em;
}

/* ========================
   11. ED FLOW SECTION
   ======================== */
.journey-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 0;
  margin: var(--space-xl) 0;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: var(--space-lg) var(--space-md);
  overflow-x: auto;
}

.journey-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: var(--space-sm) var(--space-md);
  min-width: 90px;
  flex-shrink: 0;
}

.journey-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(46,127,172,0.2);
  border: 2px solid rgba(46,127,172,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-blue-light);
  transition: all var(--transition-base);
}

.journey-step:hover .journey-icon {
  background: rgba(216,166,73,0.15);
  border-color: var(--color-gold);
  color: var(--color-gold);
}

.active-step .journey-icon {
  background: rgba(216,166,73,0.15);
  border-color: var(--color-gold);
  color: var(--color-gold);
  animation: journey-pulse 2s ease-in-out infinite;
}

@keyframes journey-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(216,166,73,0.5); }
  50%       { box-shadow: 0 0 0 8px rgba(216,166,73,0); }
}

.journey-icon [data-lucide] { width: 18px; height: 18px; }

.journey-step span {
  font-family: var(--font-condensed);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  text-align: center;
}

.active-step span { color: var(--color-gold); }

.journey-arrow {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.2);
  flex-shrink: 0;
  padding: 0 0.25rem;
}

/* ---- Mobile Journey: vertical timeline ---- */
@media (max-width: 767px) {
  .journey-flow {
    flex-direction: column;
    align-items: center;
    overflow-x: visible;
    padding: var(--space-lg) var(--space-md);
    gap: 0;
    position: relative;
  }

  /* Remove the cutting vertical line — use arrows only */
  .journey-flow::before {
    display: none;
  }

  .journey-step {
    width: 100%;
    max-width: 260px;
    flex-direction: row;
    gap: var(--space-md);
    padding: var(--space-sm) var(--space-md);
    background: rgba(255,255,255,0.04);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255,255,255,0.07);
    position: relative;
    z-index: 1;
    min-width: 0;
    text-align: left;
  }

  .journey-step span {
    font-size: 0.8rem;
    text-align: left;
    letter-spacing: 0.06em;
    white-space: nowrap;
  }

  .journey-arrow {
    font-size: 1rem;
    color: rgba(46,127,172,0.5);
    padding: 0.1rem 0;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 260px;
    position: relative;
    z-index: 1;
    /* Arrow-only, no background line */
    transform: none;
    background: none;
    border: none;
    font-weight: 700;
    line-height: 1;
    /* Override the text → to ↓ */
  }

  /* Replace horizontal arrows with downward arrows via CSS */
  .journey-arrow::before {
    content: '↓';
    font-size: 1rem;
    color: rgba(46,127,172,0.55);
    display: block;
    line-height: 1;
  }

  /* Hide original → character */
  .journey-arrow {
    color: transparent;
    font-size: 0;
  }
  .journey-arrow::before {
    font-size: 1rem;
    color: rgba(46,127,172,0.5);
  }
}

.ed-copy {
  font-size: var(--text-lg);
  text-align: center;
  max-width: 760px;
  margin: 0 auto var(--space-xl);
  color: rgba(255,255,255,0.78);
  line-height: 1.7;
}

.ed-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.ed-col {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  transition: background var(--transition-base);
}

.ed-col:hover { background: rgba(255,255,255,0.07); }

.ed-col.featured-col {
  background: rgba(46,127,172,0.12);
  border-color: rgba(46,127,172,0.3);
}

.ed-col-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(216,166,73,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold);
  margin-bottom: var(--space-md);
}

.ed-col-icon [data-lucide] { width: 20px; height: 20px; }

.ed-col h3 {
  font-size: var(--text-lg);
  color: var(--color-white);
  margin-bottom: var(--space-md);
}

.ed-key-outputs {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.ed-key-outputs h3 {
  font-size: var(--text-xl);
  color: var(--color-white);
  margin-bottom: var(--space-md);
}

.ed-outputs-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
}

.ed-output-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.1rem;
  background: rgba(46,127,172,0.15);
  border: 1px solid rgba(46,127,172,0.3);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  transition: all var(--transition-base);
}

.ed-output-pill:hover {
  background: rgba(216,166,73,0.12);
  border-color: rgba(216,166,73,0.3);
  color: var(--color-gold);
}

.ed-output-pill [data-lucide] { width: 14px; height: 14px; }

.ed-bottom-statement {
  text-align: center;
  padding: var(--space-lg) var(--space-md);
  background: rgba(216,166,73,0.08);
  border: 1px solid rgba(216,166,73,0.2);
  border-radius: var(--radius-lg);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.ed-bottom-statement p {
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.9);
  line-height: 1.7;
}

.ed-bottom-statement strong { color: var(--color-gold); }

/* ========================
   12. VIDEO SECTION
   ======================== */
.video-wrapper { max-width: 860px; margin: 0 auto; }

.video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  background: var(--color-navy-deep);
}

.video-container iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-lg);
}

.video-caption {
  text-align: center;
  font-size: var(--text-sm);
  color: var(--color-gray-text);
  margin-top: var(--space-md);
  line-height: 1.7;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* ========================
   13. PLATFORM TABS
   ======================== */
.platform-tabs { max-width: 960px; margin: 0 auto; }

.tab-buttons {
  display: flex;
  gap: 0.3rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: var(--space-lg);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 0.4rem;
}

.tab-btn {
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  transition: all var(--transition-fast);
}

.tab-btn:hover { color: var(--color-white); background: rgba(255,255,255,0.06); }

.tab-btn.active {
  background: var(--color-blue);
  color: var(--color-white);
  box-shadow: 0 2px 12px rgba(46,127,172,0.4);
}

.tab-panels { position: relative; }

.tab-panel {
  display: none;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  animation: fadeInPanel 0.3s ease;
}

.tab-panel.active { display: block; }

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

.tab-panel-grid {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: var(--space-lg);
  align-items: flex-start;
}

.tab-icon-area {
  width: 70px;
  height: 70px;
  border-radius: var(--radius-lg);
  background: rgba(216,166,73,0.1);
  border: 2px solid rgba(216,166,73,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold);
  flex-shrink: 0;
}

.tab-icon-area [data-lucide] { width: 28px; height: 28px; }

.tab-content-area h3 {
  font-size: var(--text-xl);
  color: var(--color-white);
  margin-bottom: var(--space-sm);
}

.tab-content-area p {
  font-size: var(--text-base);
  color: rgba(255,255,255,0.7);
  margin-bottom: var(--space-md);
  line-height: 1.7;
}

/* ========================
   14. AI SECTION
   ======================== */
.ai-capabilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  margin-bottom: var(--space-2xl);
}

.ai-cap-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0,49,70,0.06);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.ai-cap-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--gradient-blue);
  transform: scaleX(0);
  transition: transform var(--transition-base);
  transform-origin: left;
}

.ai-cap-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.ai-cap-card:hover::before { transform: scaleX(1); }

.ai-cap-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(46,127,172,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-blue);
  margin-bottom: var(--space-md);
  transition: all var(--transition-base);
}

.ai-cap-card:hover .ai-cap-icon {
  background: rgba(216,166,73,0.1);
  color: var(--color-gold);
}

.ai-cap-icon [data-lucide] { width: 22px; height: 22px; }

.ai-cap-card h3 {
  font-size: var(--text-lg);
  color: var(--color-navy);
  margin-bottom: var(--space-xs);
}

.ai-cap-card p {
  font-size: var(--text-sm);
  color: var(--color-gray-text);
  line-height: 1.7;
}

/* Ask EOMA Panel */
.ask-eoma-panel {
  background: var(--color-navy);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  max-width: 840px;
  margin: 0 auto;
}

.ask-eoma-header {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-lg);
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.ask-eoma-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-gold);
  animation: pulse-anim 2s infinite;
}

.ask-eoma-header span {
  font-family: var(--font-tech);
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ask-eoma-body { padding: var(--space-md) var(--space-lg); display: flex; flex-direction: column; gap: var(--space-md); }

.eoma-query {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
  padding: var(--space-md);
  background: rgba(255,255,255,0.04);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.06);
  transition: background var(--transition-base);
}

.eoma-query:hover { background: rgba(255,255,255,0.07); }

.q-icon [data-lucide] { width: 18px; height: 18px; color: var(--color-blue-light); flex-shrink: 0; }

.q-content { flex: 1; }

.q-text {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.85);
  font-style: italic;
  margin-bottom: 0.4rem;
  line-height: 1.5;
}

.q-response {
  font-size: var(--text-sm);
  color: var(--color-gold);
  font-family: var(--font-condensed);
  line-height: 1.5;
}

.ask-eoma-disclaimer {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.3);
  text-align: center;
  padding: var(--space-md);
  border-top: 1px solid rgba(255,255,255,0.06);
  font-style: italic;
}

/* ========================
   15. FUTURE SECTION
   ======================== */
.future-intro {
  font-size: var(--text-lg);
  text-align: center;
  max-width: 760px;
  margin: 0 auto var(--space-xl);
  color: rgba(255,255,255,0.72);
  line-height: 1.75;
}

/* Future section subtitle — gold accent */
.future-subtitle-gold {
  color: var(--color-gold) !important;
  opacity: 1 !important;
}

.future-closing {
  font-size: var(--text-md);
  text-align: center;
  max-width: 700px;
  margin: var(--space-xl) auto var(--space-lg);
  color: rgba(255,255,255,0.60);
  line-height: 1.75;
  font-style: italic;
}

.future-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.future-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: var(--space-lg) var(--space-md);
  text-align: center;
  transition: all var(--transition-base);
}

.future-card:hover {
  background: rgba(216,166,73,0.06);
  border-color: rgba(216,166,73,0.25);
  transform: translateY(-3px);
}

.future-card [data-lucide] {
  width: 28px;
  height: 28px;
  color: var(--color-gold);
  margin: 0 auto var(--space-md);
  display: block;
}

.future-card h3 {
  font-size: var(--text-sm);
  color: var(--color-white);
  margin-bottom: var(--space-xs);
  font-weight: 700;
}

.future-card p {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
}

.future-highlight {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  text-align: center;
  padding: var(--space-xl) var(--space-2xl);
  background: rgba(216,166,73,0.08);
  border: 1px solid rgba(216,166,73,0.2);
  border-radius: var(--radius-lg);
}

/* Desktop: row layout — icon before text, single line, compact width */
@media (min-width: 769px) {
  .future-highlight {
    flex-direction: row;
    text-align: left;
    padding: var(--space-lg) var(--space-xl);
    justify-content: center;
    gap: var(--space-lg);
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
  }
  .future-highlight p {
    max-width: none;
    white-space: nowrap;
  }
}

/* Mobile only: future-highlight icon — larger + soft pulse/reverb glow */
@media (max-width: 768px) {
  .future-highlight [data-lucide] {
    width: 38px;
    height: 38px;
    animation: future-icon-reverb 2.4s ease-in-out infinite;
  }
}

@keyframes future-icon-reverb {
  0%, 100% { filter: drop-shadow(0 0 0px rgba(216,166,73,0));   transform: scale(1);    }
  50%       { filter: drop-shadow(0 0 9px rgba(216,166,73,0.75)); transform: scale(1.13); }
}

.future-highlight [data-lucide] { width: 28px; height: 28px; color: var(--color-gold); flex-shrink: 0; }

.future-highlight p {
  font-size: var(--text-xl);
  color: rgba(255,255,255,0.9);
  line-height: 1.5;
  max-width: 580px;
}

.future-highlight strong { color: var(--color-gold); }

/* Desktop: subtitle single line */
@media (min-width: 769px) {
  #future .section-subtitle {
    white-space: nowrap;
    max-width: none;
  }
}

/* ========================
   16. PRIVACY SECTION
   ======================== */
.privacy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.privacy-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0,49,70,0.06);
  transition: all var(--transition-base);
}

.privacy-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(46,127,172,0.15);
}

.privacy-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(46,127,172,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-blue);
  margin-bottom: var(--space-md);
}

.privacy-icon [data-lucide] { width: 22px; height: 22px; }

.privacy-card h3 {
  font-size: var(--text-lg);
  color: var(--color-navy);
  margin-bottom: var(--space-xs);
}

.privacy-card p {
  font-size: var(--text-sm);
  color: var(--color-gray-text);
  line-height: 1.7;
}

.privacy-closing {
  text-align: center;
  font-size: var(--text-lg);
  color: var(--color-navy);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
}

.privacy-closing strong { color: var(--color-blue); }

/* ========================
   17. IMPACT SECTION
   ======================== */
.impact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.impact-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.impact-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--color-gold);
  transform: scaleX(0);
  transition: transform var(--transition-base);
  transform-origin: left;
}

.impact-card:hover {
  background: rgba(255,255,255,0.07);
  transform: translateY(-3px);
}

.impact-card:hover::before { transform: scaleX(1); }

.impact-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  background: rgba(216,166,73,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold);
  margin-bottom: var(--space-md);
}

.impact-icon [data-lucide] { width: 20px; height: 20px; }

.impact-card h3 {
  font-size: var(--text-lg);
  color: var(--color-white);
  margin-bottom: var(--space-xs);
}

.impact-card p {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
}

.roi-banner {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-lg) var(--space-xl);
  background: rgba(216,166,73,0.08);
  border: 1px solid rgba(216,166,73,0.2);
  border-radius: var(--radius-lg);
  text-align: left;
}

.roi-banner [data-lucide] { width: 24px; height: 24px; color: var(--color-gold); flex-shrink: 0; }

.roi-banner p {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.65);
  line-height: 1.65;
}

/* ========================
   18. RESULTS / METRICS
   ======================== */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.metric-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: var(--space-lg) var(--space-md) var(--space-md);
  text-align: center;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.metric-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 4px;
  background: var(--color-gold);
}

.metric-card:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-3px);
}

.metric-value {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 900;
  color: var(--color-gold);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.metric-label {
  display: block;
  font-family: var(--font-condensed);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  line-height: 1.4;
}

.deployment-highlights {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.deployment-highlights h3 {
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: var(--color-white);
  margin-bottom: var(--space-lg);
  text-align: center;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.deployment-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
  justify-items: center;
}

.dep-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: rgba(255,255,255,0.85);
  padding: 0.4rem var(--space-sm);
}

.dep-item [data-lucide] {
  animation: dep-icon-pulse 2.2s ease-in-out infinite;
}

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

.dep-item [data-lucide] { width: 22px; height: 22px; color: var(--color-gold); flex-shrink: 0; animation: dep-icon-pulse 2.2s ease-in-out infinite; }

.results-closing {
  text-align: center;
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.85);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
}

.results-closing strong { color: var(--color-gold); }

/* ========================
   19. TEAM SECTION
   ======================== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
  max-width: 680px;
  margin: 0 auto;
}

.team-card {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: var(--space-lg) var(--space-md);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0,49,70,0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all var(--transition-base);
  position: relative;
}

.team-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 20%;
  width: 60%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
  border-radius: 2px;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

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

.team-photo-placeholder {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--gradient-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  margin-bottom: var(--space-md);
  border: 3px solid rgba(216,166,73,0.25);
  box-shadow: 0 4px 16px rgba(0,49,70,0.2);
}

/* Team photo — real image */
.team-photo-wrapper {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: var(--space-md);
  flex-shrink: 0;
  background: var(--color-navy);
  position: relative;
  /* Animated gold-gray gradient ring */
  padding: 3px;
  background: linear-gradient(135deg, #D8A649, #c8bfae, #a08550, #e8d090, #c0a060, #D8A649);
  background-size: 300% 300%;
  animation: gold-ring-flow 4s ease infinite;
  box-shadow: 0 0 0 3px rgba(46,127,172,0.12), 0 8px 24px rgba(0,49,70,0.2);
}

@keyframes gold-ring-flow {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.team-photo-wrapper::after {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--color-white);
  z-index: 0;
}

.team-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  display: block;
  border-radius: 50%;
  transition: transform var(--transition-slow);
  position: relative;
  z-index: 1;
}

.team-card:hover .team-photo { transform: scale(1.05); }

.team-info h3 {
  font-size: var(--text-base);
  color: var(--color-navy);
  margin-bottom: 0.25rem;
  line-height: 1.2;
}

.team-role {
  font-family: var(--font-condensed);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-blue);
  display: block;
  margin-bottom: var(--space-sm);
}

.team-info p {
  font-size: var(--text-sm);
  color: var(--color-gray-text);
  line-height: 1.65;
}

/* ========================
   20. CONTACT SECTION
   ======================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  max-width: 900px;
  margin: 0 auto;
  align-items: center;
}

.contact-ctas {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.contact-cta-btn {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-lg);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--text-base);
  transition: all var(--transition-base);
  border: 2px solid transparent;
}

.contact-cta-btn:focus-visible {
  outline: 3px solid var(--color-gold);
  outline-offset: 3px;
}

.contact-cta-btn [data-lucide] { width: 20px; height: 20px; flex-shrink: 0; }

.contact-cta-btn:not(.secondary):not(.ghost) {
  background: var(--color-gold);
  color: var(--color-navy);
}

.contact-cta-btn:not(.secondary):not(.ghost):hover {
  background: var(--color-gold-light);
  transform: translateX(4px);
  box-shadow: var(--shadow-gold);
}

.contact-cta-btn.secondary {
  background: rgba(46,127,172,0.15);
  color: var(--color-white);
  border-color: rgba(46,127,172,0.4);
}

.contact-cta-btn.secondary:hover {
  background: rgba(46,127,172,0.25);
  border-color: var(--color-blue-light);
  transform: translateX(4px);
}

.contact-cta-btn.ghost {
  background: transparent;
  color: rgba(255,255,255,0.7);
  border-color: rgba(255,255,255,0.2);
}

.contact-cta-btn.ghost:hover {
  background: rgba(255,255,255,0.06);
  color: var(--color-white);
  border-color: rgba(255,255,255,0.4);
  transform: translateX(4px);
}

.contact-info-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
}

.contact-info-card h3 {
  font-size: var(--text-lg);
  color: var(--color-white);
  margin-bottom: var(--space-lg);
  white-space: nowrap;
}

.contact-info-row {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
  font-size: var(--text-base);
  color: rgba(255,255,255,0.78);
}

.contact-info-row [data-lucide] { width: 18px; height: 18px; color: var(--color-gold); flex-shrink: 0; }

.contact-info-row a { transition: color var(--transition-fast); }
.contact-info-row a:hover { color: var(--color-gold); }

.contact-note {
  display: flex;
  gap: var(--space-sm);
  align-items: flex-start;
  margin-top: var(--space-lg);
  padding: var(--space-md);
  background: rgba(255,255,255,0.04);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.06);
}

.contact-note [data-lucide] { width: 16px; height: 16px; color: var(--color-gray-mid); flex-shrink: 0; margin-top: 2px; }

.contact-note p {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.45);
  line-height: 1.65;
}

/* ========================
   21. FOOTER
   ======================== */
.site-footer {
  background: var(--color-navy-deep);
  color: var(--color-white);
  padding: var(--space-2xl) 0 0;
}

.footer-container {
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2.5rem) var(--space-2xl);
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-xl);
}

.footer-logo {
  height: 70px;
  width: auto;
  max-width: 300px;
  object-fit: contain;
  margin-bottom: var(--space-md);
  opacity: 0.95;
}

.footer-tagline {
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.6);
  font-style: italic;
  margin-bottom: var(--space-xs);
  font-family: var(--font-heading);
  font-weight: 600;
}

.footer-sub {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.35);
  font-family: var(--font-condensed);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-links-group h4 {
  font-size: var(--text-sm);
  font-family: var(--font-condensed);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-md);
}

.footer-links-group ul { display: flex; flex-direction: column; gap: 0.5rem; }

.footer-links-group a {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.55);
  transition: color var(--transition-fast);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: var(--space-lg) clamp(1rem, 4vw, 2.5rem);
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.footer-bottom p {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.35);
}

.footer-legal {
  max-width: 500px;
  text-align: right;
  font-style: italic;
}

/* ========================
   22. BACK TO TOP — see section 28 for full implementation
   ======================== */
/* (Moved to section 28 — Pulsing Blue Reverb) */



/* ========================
   23. ANIMATIONS
   ======================== */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children within grids */
.problem-grid .fade-up:nth-child(1) { transition-delay: 0.05s; }
.problem-grid .fade-up:nth-child(2) { transition-delay: 0.12s; }
.problem-grid .fade-up:nth-child(3) { transition-delay: 0.19s; }
.problem-grid .fade-up:nth-child(4) { transition-delay: 0.26s; }

.use-cases-overview-grid .fade-up:nth-child(1) { transition-delay: 0.05s; }
.use-cases-overview-grid .fade-up:nth-child(2) { transition-delay: 0.14s; }
.use-cases-overview-grid .fade-up:nth-child(3) { transition-delay: 0.23s; }

.ai-capabilities-grid .fade-up:nth-child(1) { transition-delay: 0.04s; }
.ai-capabilities-grid .fade-up:nth-child(2) { transition-delay: 0.09s; }
.ai-capabilities-grid .fade-up:nth-child(3) { transition-delay: 0.14s; }
.ai-capabilities-grid .fade-up:nth-child(4) { transition-delay: 0.19s; }
.ai-capabilities-grid .fade-up:nth-child(5) { transition-delay: 0.24s; }
.ai-capabilities-grid .fade-up:nth-child(6) { transition-delay: 0.29s; }

.privacy-grid .fade-up:nth-child(1)  { transition-delay: 0.04s; }
.privacy-grid .fade-up:nth-child(2)  { transition-delay: 0.08s; }
.privacy-grid .fade-up:nth-child(3)  { transition-delay: 0.12s; }
.privacy-grid .fade-up:nth-child(4)  { transition-delay: 0.16s; }
.privacy-grid .fade-up:nth-child(5)  { transition-delay: 0.20s; }
.privacy-grid .fade-up:nth-child(6)  { transition-delay: 0.24s; }

.impact-grid .fade-up:nth-child(1) { transition-delay: 0.04s; }
.impact-grid .fade-up:nth-child(2) { transition-delay: 0.09s; }
.impact-grid .fade-up:nth-child(3) { transition-delay: 0.14s; }
.impact-grid .fade-up:nth-child(4) { transition-delay: 0.19s; }
.impact-grid .fade-up:nth-child(5) { transition-delay: 0.24s; }
.impact-grid .fade-up:nth-child(6) { transition-delay: 0.29s; }

/* ========================
   23b. UTILITY CLASSES
   ======================== */
.text-gold { color: var(--color-gold); }
.text-white { color: var(--color-white); }
.text-center { text-align: center; }

/* Section-specific label alignment overrides */
.section-dark .section-label,
.section-gradient-blue .section-label,
.section-gradient-dark .section-gradient-blue .section-label {
  margin-left: auto;
  margin-right: auto;
}

/* ED uc-section-tag in dark sections */
.section-dark .uc-section-tag {
  display: block;
  text-align: center;
  margin-bottom: var(--space-sm);
}

/* Two-col lists in light section — text colors */
.section-light .uc-list-group h4 { color: var(--color-navy); }
.section-light .uc-list li { color: var(--color-text-body); }

/* Nav actions visibility on mobile */
@media (max-width: 768px) {
  .nav-actions .lang-dropdown { order: -1; }
}

/* ========================
   24. RESPONSIVE — TABLET
   ======================== */
@media (max-width: 1100px) {
  .tech-process {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
  }
  .tech-step { min-width: 0; min-height: 240px; }
  .tech-connector { display: none; }
  .future-grid { grid-template-columns: repeat(3, 1fr); }
  .problem-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
  .footer-container { grid-template-columns: 1fr 1fr; }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .ai-capabilities-grid { grid-template-columns: repeat(2, 1fr); }
  .privacy-grid { grid-template-columns: repeat(2, 1fr); }
  .impact-grid { grid-template-columns: repeat(2, 1fr); }
  .ed-columns { grid-template-columns: 1fr; }
  .uc-detail-grid { grid-template-columns: 1fr; }
  .uc-detail-grid.reverse { direction: ltr; }
  .use-cases-overview-grid { grid-template-columns: 1fr; }
  .dashboard-card-body { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: var(--space-xl); }
  .team-grid { max-width: 420px; grid-template-columns: 1fr; }

  /* Tech cards 2-col on tablet */
  .tech-process {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
  }
  .tech-connector { display: none; }
}

@media (max-width: 768px) {
  /* Nav mobile */
  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    width: 100%;
    background: var(--color-navy-deep);
    flex-direction: column;
    padding: var(--space-lg) var(--space-md);
    gap: 0.25rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    z-index: 999;
    max-height: calc(100vh - var(--nav-height));
    overflow-y: auto;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-links a {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: var(--text-base);
    border-radius: var(--radius-sm);
    text-align: left;
  }

  .hamburger { display: flex; }
  .btn-nav { display: none; }

  .logo-img {
    height: 40px;
    max-width: 180px;
  }

  .hero-title { font-size: clamp(2rem, 7vw, 2.8rem); }
  .hero-subtitle { font-size: var(--text-xl); }
  .hero-cta { flex-direction: column; align-items: center; }

  .problem-grid { grid-template-columns: 1fr; }
  .two-col-lists { grid-template-columns: 1fr; }
  .future-grid { grid-template-columns: repeat(2, 1fr); }
  .deployment-grid { grid-template-columns: 1fr; }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .tab-buttons { flex-direction: column; }
  .tab-panel-grid { grid-template-columns: 1fr; }
  .tab-icon-area { width: 50px; height: 50px; }
  .problem-closing { flex-direction: column; gap: var(--space-sm); }
  .gold-line { width: 40px; height: 3px; }

  .footer-container { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-legal { text-align: center; }

  .hero-dashboard-card { max-width: 100%; }

  /* Tech single column on mobile */
  .tech-process {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
  .tech-step { min-height: 0; }
  .tech-connector { display: none; }
}

/* ========================
   25. DASHBOARD SCREENSHOT CAROUSEL
   ======================== */
.dash-carousel-wrapper {
  position: relative;
  margin-bottom: var(--space-3xl);
}

.dash-carousel {
  position: relative;
  overflow: hidden;
  border-radius: var(--carousel-radius);
}

.dash-slide {
  display: none;
  animation: slideIn 0.4s ease;
}

.dash-slide.active { display: block; }

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

.dash-slide-frame {
  position: relative;
  background: rgba(0,10,20,0.95);
  border-radius: var(--carousel-radius) var(--carousel-radius) 0 0;
  border: 1px solid rgba(255,255,255,0.1);
  border-bottom: none;
  overflow: hidden;
  /* 16:8 ratio for screenshots */
  aspect-ratio: 16 / 8;
}

.dash-screenshot {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: top center;
  display: block;
  transition: transform 0.4s ease;
  background: rgba(0,10,20,0.95);
}

.dash-slide:hover .dash-screenshot { transform: scale(1.01); }

.dash-slide-caption {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-top: 2px solid var(--color-gold);
  border-radius: 0 0 var(--carousel-radius) var(--carousel-radius);
}

.dash-slide-num {
  font-family: var(--font-tech);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-gold);
  line-height: 1;
  flex-shrink: 0;
  padding-top: 2px;
  opacity: 0.7;
}

.dash-slide-caption > div { flex: 1; }

.dash-slide-caption strong {
  display: block;
  font-size: var(--text-lg);
  color: var(--color-white);
  margin-bottom: 0.35rem;
  font-family: var(--font-heading);
}

.dash-slide-caption p {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
  margin: 0;
}

/* Carousel Arrows */
.carousel-btn {
  position: absolute;
  top: calc(50% - 30px);
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0,49,70,0.85);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all var(--transition-base);
  backdrop-filter: blur(8px);
}

.carousel-btn:hover {
  background: var(--color-blue);
  border-color: var(--color-blue);
  transform: translateY(-50%) scale(1.08);
}

.carousel-btn [data-lucide] { width: 20px; height: 20px; }

.carousel-prev { left: -20px; }
.carousel-next { right: -20px; }

/* Carousel Dots */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: var(--space-md);
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
}

.carousel-dot.active {
  background: var(--color-gold);
  transform: scale(1.35);
}

.carousel-dot:hover { background: rgba(255,255,255,0.5); }

/* ========================
   26. UC SCREENSHOT FRAME (Use Case A)
   ======================== */
.uc-screenshot-frame {
  overflow: hidden;
  background: rgba(0,20,35,0.6);
  padding: var(--space-xs);
}

.uc-screenshot {
  width: 100%;
  height: 240px;
  object-fit: cover;
  object-position: top left;
  display: block;
  border-radius: var(--radius-sm);
  transition: transform var(--transition-slow);
}

.visual-card:hover .uc-screenshot { transform: scale(1.02); }

/* ========================
   27. BACKGROUND PERSONALITY OVERLAYS
   ======================== */
/* Subtle dot pattern on light sections */
.section-light {
  position: relative;
}
.section-light::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(46,127,172,0.13) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 0;
}
.section-light > .container { position: relative; z-index: 1; }

/* Atmospheric side glow + grid overlay for dark sections */
.section-dark {
  position: relative;
}
.section-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 3% 40%, rgba(46,127,172,0.18) 0%, transparent 45%),
    radial-gradient(ellipse at 97% 60%, rgba(11,78,111,0.14) 0%, transparent 45%),
    radial-gradient(ellipse at 50% 0%, rgba(46,127,172,0.08) 0%, transparent 55%);
  pointer-events: none;
  z-index: 0;
}
/* Tech-grid data lines for dark section */
.section-dark::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(46,127,172,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46,127,172,0.05) 1px, transparent 1px);
  background-size: 52px 52px;
  pointer-events: none;
  z-index: 0;
}
.section-dark > .container { position: relative; z-index: 1; }

/* Gradient sections */
.section-gradient-dark {
  position: relative;
}
/* Hero grid texture overlay */
.hero-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(46,127,172,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46,127,172,0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 1;
}

.section-gradient-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(46,127,172,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46,127,172,0.06) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
  z-index: 0;
}
.section-gradient-dark::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 10% 20%, rgba(46,127,172,0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 90% 80%, rgba(11,78,111,0.10) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}
.section-gradient-dark > .container { position: relative; z-index: 1; }

.section-gradient-blue {
  position: relative;
}
.section-gradient-blue::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 90% 10%, rgba(255,255,255,0.08) 0%, transparent 40%),
    radial-gradient(ellipse at 10% 90%, rgba(0,0,0,0.12) 0%, transparent 40%);
  pointer-events: none;
  z-index: 0;
}
/* Tech-grid lines for gradient-blue sections */
.section-gradient-blue::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
}
.section-gradient-blue > .container { position: relative; z-index: 1; }

/* ========================
   27b. PRESENTATION IMAGE OVERLAYS — DARK SECTIONS
   ======================== */
/* 
  Strategy: Use ::after for the image overlay (lower opacity)
  while ::before keeps the gradient glow effects
  All overlays use pointer-events: none so they don't block interaction
*/

/* Technology section — presentation image as faint background */
#technology.section-dark::after {
  background:
    linear-gradient(rgba(0,31,46,0.75), rgba(0,31,46,0.75)),
    url('https://eomahealthcare.com/wp-content/uploads/2026/06/Eoma-Healthcare-2026-Hospital-Presentation-English.png') center right / cover no-repeat;
  opacity: 0.18;
}

/* Platform section — presentation image subtle overlay */
#platform.section-dark::after {
  background:
    linear-gradient(rgba(0,31,46,0.80), rgba(0,31,46,0.80)),
    url('https://eomahealthcare.com/wp-content/uploads/2026/06/Eoma-Healthcare-2026-Hospital-Presentation-English-1.png') center left / cover no-repeat;
  opacity: 0.15;
}

/* Impact section — presentation image overlay */
#impact.section-dark::after {
  background:
    linear-gradient(rgba(0,31,46,0.82), rgba(0,31,46,0.82)),
    url('https://eomahealthcare.com/wp-content/uploads/2026/06/Eoma-Healthcare-2026-Hospital-Presentation-English-3.png') center / cover no-repeat;
  opacity: 0.14;
}

/* Contact section — presentation image overlay */
#contact.section-dark::after {
  background:
    linear-gradient(rgba(0,31,46,0.80), rgba(0,31,46,0.80)),
    url('https://eomahealthcare.com/wp-content/uploads/2026/06/Eoma-Healthcare-2026-Hospital-Presentation-English-2.png') center / cover no-repeat;
  opacity: 0.16;
}

/* ED Flow section — no image (uses technology-adjacent content) */
#ed-flow.section-dark::after {
  background-image:
    linear-gradient(rgba(46,127,172,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46,127,172,0.05) 1px, transparent 1px);
  background-size: 52px 52px;
}

/* ========================
   28. BACK TO TOP — Pulsing Blue Reverb
   ======================== */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2e7fac 0%, #3a9fd6 100%);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity var(--transition-base), visibility var(--transition-base),
              transform var(--transition-base), background var(--transition-base);
  z-index: 500;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  animation: reverb-ring 2.5s ease-in-out infinite;
}

@keyframes reverb-ring {
  0%   { box-shadow: 0 0 0 0 rgba(58,159,214,0.55); }
  50%  { box-shadow: 0 0 0 13px rgba(58,159,214,0.08); }
  100% { box-shadow: 0 0 0 0 rgba(58,159,214,0); }
}

.back-to-top:hover {
  background: linear-gradient(135deg, #3a9fd6 0%, #5bbde8 100%);
  transform: translateY(-3px);
  box-shadow: 0 6px 22px rgba(58,159,214,0.45);
  animation: none;
}

.back-to-top [data-lucide] { width: 20px; height: 20px; }

/* ========================
   29. MOBILE IMPROVEMENTS
   ======================== */

@media (max-width: 768px) {
  .hero-subtitle {
    font-size: clamp(0.95rem, 4.2vw, 1.15rem);
    line-height: 1.3;
    font-style: normal;
    max-width: 300px;
    margin-inline: auto;
  }

  .logo-img {
    height: 52px;
    max-width: 220px;
  }

  /* Center card icons on mobile */
  .problem-card,
  .ai-cap-card,
  .impact-card,
  .future-card,
  .privacy-card,
  .uc-overview-card {
    text-align: center;
  }

  .problem-icon,
  .ai-cap-icon,
  .impact-icon,
  .privacy-icon {
    margin-left: auto;
    margin-right: auto;
  }

  /* Tech steps center */
  .tech-step {
    text-align: center;
    align-items: center;
    min-height: 0;
    padding-top: calc(var(--space-lg) + 0.5rem);
  }

  /* Footer — full single column on mobile */
  .footer-container {
    grid-template-columns: 1fr !important;
    text-align: center;
  }

  .footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-links-group ul {
    align-items: center;
  }

  /* Carousel arrows */
  .carousel-prev { left: 4px; }
  .carousel-next { right: 4px; }

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

  .container {
    padding: 0 clamp(0.75rem, 4vw, 1.5rem);
  }

  /* Problem closing — reduce padding */
  .problem-closing {
    padding: var(--space-lg) var(--space-md);
  }

  /* Future highlight — always column */
  .future-highlight {
    padding: var(--space-lg) var(--space-md);
  }

  .future-highlight p {
    font-size: var(--text-lg);
    max-width: 100%;
  }

  /* Contact info card heading single line */
  .contact-info-card h3 {
    font-size: var(--text-base);
    white-space: nowrap;
  }

  /* Use case overview icons always centered */
  .uc-overview-icon {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 500px) {
  .hero-subtitle {
    font-size: clamp(0.88rem, 4.5vw, 1.05rem);
  }

  /* Footer always 1 column */
  .footer-container {
    grid-template-columns: 1fr !important;
    text-align: center;
  }
  .footer-links-group ul { align-items: center; }

  /* Impact/Privacy/AI grid — force 1 column */
  .impact-grid,
  .privacy-grid,
  .ai-capabilities-grid {
    grid-template-columns: 1fr !important;
  }

  .dash-slide-caption {
    flex-direction: column;
    gap: var(--space-xs);
    padding: var(--space-md);
  }
  .dash-slide-num { font-size: 1rem; }

  .back-to-top {
    width: 40px;
    height: 40px;
    bottom: 1.25rem;
    right: 1.25rem;
  }

  /* Problem closing narrower */
  .problem-closing {
    padding: var(--space-md) var(--space-sm);
  }
  .problem-closing p {
    font-size: var(--text-base);
  }
}

/* ========================
   30. EXTRA RESPONSIVE QA
   ======================== */

/* 1920px+ — Large desktop */
@media (min-width: 1800px) {
  .container { max-width: 1360px; }
  .nav-container { max-width: 1360px; }
  .footer-container { max-width: 1360px; }
}

/* 1024px tablet landscape */
@media (max-width: 1024px) and (min-width: 769px) {
  .tech-process {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
  }
  .tech-connector { display: none; }
  .tech-step { min-height: 230px; }

  .nav-links { gap: 0.05rem; }
  .nav-links a {
    font-size: 0.72rem;
    padding: 0.45rem 0.55rem;
  }

  .dash-carousel-wrapper { padding: 0 var(--space-sm); }
  .carousel-prev { left: 0; }
  .carousel-next { right: 0; }
}

/* 430px / 390px / 360px — small phones */
@media (max-width: 430px) {
  .hero-title { font-size: clamp(1.8rem, 8vw, 2.4rem); }
  .section-title { font-size: clamp(1.3rem, 5.5vw, 1.9rem); }

  .team-grid { max-width: 100%; }
  .team-photo-wrapper { width: 90px; height: 90px; }

  .carousel-prev { left: 2px; }
  .carousel-next { right: 2px; }

  .dash-slide-frame { aspect-ratio: 4 / 3; }
  .dash-screenshot { object-fit: contain; }

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

  .journey-step { max-width: 220px; gap: var(--space-sm); }
  .journey-step .journey-icon { width: 36px; height: 36px; flex-shrink: 0; }
  .journey-arrow { max-width: 220px; }

  /* Section title privacy */
  .section-title br { display: none; }

  /* Contact info heading can wrap to 2 lines on very small */
  .contact-info-card h3 {
    white-space: normal;
    font-size: var(--text-base);
  }
}

@media (max-width: 360px) {
  .hero-title { font-size: 1.7rem; }
  .nav-container { padding: 0 0.75rem; }
  .container { padding: 0 0.75rem; }
  .btn-lg { padding: 0.7rem 1.3rem; font-size: 0.85rem; }

  .team-card { padding: var(--space-md) var(--space-sm); }
  .team-photo-wrapper { width: 80px; height: 80px; }

  .journey-step { max-width: 200px; }
  .journey-arrow { max-width: 200px; }
}

/* ========================
   31. ROUND 6 — DESKTOP-ONLY REFINEMENTS
   ======================== */
@media (min-width: 769px) {

  /* Fix 1: Logo +30% on desktop (75px × 1.30 ≈ 98px | 70px × 1.30 ≈ 91px) */
  .logo-img {
    height: 98px;
    max-width: 420px;
  }
  .footer-logo {
    height: 91px;
    max-width: 380px;
  }

  /* Fix 3: Disclaimer text +20% on desktop */
  .disclaimer-text {
    font-size: calc(var(--text-xs) * 1.2);
  }

  /* Fix 4: Deployment Highlights dep-items — larger font on desktop */
  .dep-item {
    font-size: clamp(1.12rem, 1.8vw, 1.32rem);
  }

  /* Fix 7: future-intro — 3 lines, reduced lateral padding */
  .future-intro {
    max-width: 1000px;
    padding: 0 var(--space-md);
    font-size: var(--text-md);
    line-height: 1.65;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}
