/* ==========================================================================
   MedBridge USA — Enterprise Healthcare Platform
   Design System: Deep Navy (#0A1E3F) + American Flag Red (#B3242A) + White
   ========================================================================== */

:root {
  --navy-950: #060f24;
  --navy-900: #0A1E3F;
  --navy-800: #0F2A54;
  --navy-700: #163a6e;
  --navy-600: #1e4a8a;
  --navy-500: #2c62b3;
  --blue-500: #2563eb;
  --blue-400: #3b82f6;
  --red-700: #8f1c21;
  --red-600: #B3242A;
  --red-500: #d02c33;
  --red-400: #e8535a;
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;

  --font-display: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --shadow-sm: 0 1px 2px rgba(10, 30, 63, 0.06);
  --shadow-md: 0 4px 12px rgba(10, 30, 63, 0.08);
  --shadow-lg: 0 12px 32px rgba(10, 30, 63, 0.12);
  --shadow-xl: 0 24px 64px rgba(10, 30, 63, 0.16);
  --shadow-red: 0 12px 32px rgba(179, 36, 42, 0.24);
  --shadow-navy: 0 12px 32px rgba(10, 30, 63, 0.28);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --container-max: 1280px;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  font-family: var(--font-body);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1, h2, h3, h4, h5 { font-family: var(--font-display); color: var(--navy-900); font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; }

.container { max-width: var(--container-max); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 860px; }

.text-gradient {
  background: linear-gradient(100deg, var(--navy-900) 10%, var(--navy-600) 45%, var(--red-600) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ==========================================================================
   Page Loader
   ========================================================================== */
#page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--navy-900);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
#page-loader.loader-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-logo { width: 220px; filter: brightness(0) invert(1); animation: loaderPulse 1.6s ease-in-out infinite; }
@keyframes loaderPulse { 0%, 100% { opacity: 0.55; transform: scale(0.97); } 50% { opacity: 1; transform: scale(1); } }
.loader-bar { width: 220px; height: 3px; background: rgba(255,255,255,0.15); border-radius: 4px; overflow: hidden; }
.loader-bar-fill { height: 100%; width: 0%; background: linear-gradient(90deg, var(--blue-400), var(--red-500)); border-radius: 4px; animation: loaderFill 1.4s ease forwards; }
@keyframes loaderFill { to { width: 100%; } }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 15px;
  font-family: var(--font-display);
  transition: all var(--transition-fast);
  white-space: nowrap;
  position: relative;
}
.btn-primary {
  background: linear-gradient(135deg, var(--red-600), var(--red-700));
  color: var(--white);
  box-shadow: var(--shadow-red);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(179, 36, 42, 0.32); }
.btn-outline {
  background: transparent;
  color: var(--navy-900);
  border: 1.5px solid var(--gray-300);
}
.btn-outline:hover { border-color: var(--navy-700); background: var(--gray-50); transform: translateY(-2px); }
.btn-white { background: var(--white); color: var(--navy-900); box-shadow: var(--shadow-lg); }
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-xl); }
.btn-lg { padding: 17px 34px; font-size: 16px; }
.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-block { width: 100%; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.0);
  transition: background var(--transition-base), box-shadow var(--transition-base), backdrop-filter var(--transition-base);
  padding: 20px 0;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px) saturate(180%);
  box-shadow: 0 1px 0 rgba(10,30,63,0.06), 0 8px 24px rgba(10,30,63,0.06);
  padding: 12px 0;
}
.header-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.header-logo img { height: 131px; transition: height var(--transition-base); }
.site-header.scrolled .header-logo img { height:100px; }
.header-nav { display: flex; align-items: center; gap: 28px; }
.header-nav-link {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--navy-800);
  position: relative;
  padding: 6px 0;
  transition: color var(--transition-fast);
}
.header-nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--red-600);
  transition: width var(--transition-fast);
}
.header-nav-link:hover { color: var(--red-600); }
.header-nav-link:hover::after { width: 100%; }
.header-actions { display: flex; align-items: center; gap: 18px; }
.header-phone { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14.5px; color: var(--navy-800); }
.header-phone i { color: var(--red-600); }
.mobile-menu-toggle { display: none; flex-direction: column; gap: 5px; width: 30px; padding: 6px; }
.mobile-menu-toggle span { width: 100%; height: 2.5px; background: var(--navy-900); border-radius: 2px; transition: all var(--transition-fast); }
.mobile-menu-toggle.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.mobile-menu-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  top: 0; right: -100%;
  width: min(360px, 88vw);
  height: 100vh;
  background: var(--navy-900);
  z-index: 1100;
  transition: right var(--transition-base);
  display: flex;
  flex-direction: column;
  padding: 24px;
  box-shadow: -20px 0 60px rgba(0,0,0,0.3);
}
.mobile-menu.active { right: 0; }
.mobile-menu-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 32px; }
.mobile-menu-logo { height: 34px; filter: brightness(0) invert(1); }
.mobile-menu-close { color: var(--white); font-size: 22px; padding: 8px; }
.mobile-menu-nav { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.mobile-menu-link { color: rgba(255,255,255,0.85); font-weight: 600; font-size: 17px; padding: 14px 10px; border-radius: 10px; transition: background var(--transition-fast); }
.mobile-menu-link:hover, .mobile-menu-link:active { background: rgba(255,255,255,0.08); color: var(--white); }
.mobile-menu-footer { display: flex; flex-direction: column; gap: 14px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.12); }
.mobile-menu-phone { color: var(--white); font-weight: 600; display: flex; align-items: center; gap: 8px; justify-content: center; }
.mobile-menu-phone i { color: var(--red-400); }

#mobile-menu-overlay {
  position: fixed; inset: 0; background: rgba(6,15,36,0.6); z-index: 1050;
  opacity: 0; visibility: hidden; transition: opacity var(--transition-base), visibility var(--transition-base);
}
#mobile-menu-overlay.active { opacity: 1; visibility: visible; }

/* ==========================================================================
   Reveal animation
   ========================================================================== */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 0.8s cubic-bezier(0.16,1,0.3,1), transform 0.8s cubic-bezier(0.16,1,0.3,1); }
[data-reveal].revealed { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  padding: 168px 0 100px;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #f7f9fc 60%, #ffffff 100%);
}
.hero-bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(10,30,63,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10,30,63,0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, black 40%, transparent 100%);
  z-index: 0;
}
.hero-bg-glow { position: absolute; border-radius: 50%; filter: blur(90px); z-index: 0; opacity: 0.35; }
.hero-bg-glow-red { width: 480px; height: 480px; background: var(--red-500); top: -140px; right: -120px; }
.hero-bg-glow-blue { width: 560px; height: 560px; background: var(--blue-400); bottom: -220px; left: -180px; opacity: 0.18; }

.hero-container { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: center; }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 18px; border-radius: 100px;
  background: rgba(10,30,63,0.05);
  border: 1px solid rgba(10,30,63,0.1);
  font-size: 13.5px; font-weight: 600; color: var(--navy-800);
  margin-bottom: 24px;
}
.hero-eyebrow-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red-600); box-shadow: 0 0 0 4px rgba(179,36,42,0.15); animation: pulseDot 2s infinite; }
@keyframes pulseDot { 0%,100% { box-shadow: 0 0 0 4px rgba(179,36,42,0.15); } 50% { box-shadow: 0 0 0 8px rgba(179,36,42,0.06); } }

.hero-headline { font-size: clamp(36px, 4.4vw, 44px); margin-bottom: 24px; }
.hero-subheadline { font-size: 18.5px; color: var(--gray-600); max-width: 560px; margin-bottom: 36px; }
.hero-cta-row { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }

.hero-badges { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-badge {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 14px; border-radius: 10px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  font-size: 13px; font-weight: 600; color: var(--navy-800);
  box-shadow: var(--shadow-sm);
}
.hero-badge i { color: var(--red-600); font-size: 13px; }

.hero-scroll-cue { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); z-index: 1; }
.hero-scroll-cue span { display: block; width: 22px; height: 36px; border: 2px solid var(--gray-300); border-radius: 12px; position: relative; }
.hero-scroll-cue span::before { content: ''; position: absolute; top: 6px; left: 50%; width: 4px; height: 8px; background: var(--red-600); border-radius: 2px; transform: translateX(-50%); animation: scrollCue 1.6s infinite; }
@keyframes scrollCue { 0% { opacity: 1; top: 6px; } 100% { opacity: 0; top: 18px; } }

/* Workflow card */
.hero-visual { position: relative; }
.workflow-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--gray-100);
  padding: 28px 26px 30px;
  position: relative;
  z-index: 2;
}
.workflow-card-header {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700; color: var(--gray-500);
  text-transform: uppercase; letter-spacing: 0.04em;
  margin-bottom: 22px; padding-bottom: 18px;
  border-bottom: 1px solid var(--gray-100);
}
.workflow-live-dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 3px rgba(34,197,94,0.2); animation: pulseDot 2s infinite; }
.workflow-steps { display: flex; flex-direction: column; }
.workflow-step {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 14px; border-radius: 14px;
  background: var(--gray-50);
  border: 1px solid transparent;
  opacity: 0.5;
  transition: all 0.5s ease;
}
.workflow-step.active { opacity: 1; background: linear-gradient(90deg, rgba(37,99,235,0.06), rgba(179,36,42,0.04)); border-color: rgba(10,30,63,0.08); transform: scale(1.02); }
.workflow-step-icon {
  width: 42px; height: 42px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: var(--navy-900); color: var(--white); font-size: 16px;
  flex-shrink: 0;
  transition: all 0.5s ease;
}
.workflow-step.active .workflow-step-icon { background: linear-gradient(135deg, var(--blue-500), var(--navy-800)); box-shadow: 0 6px 16px rgba(37,99,235,0.3); }
.workflow-step-text { flex: 1; }
.workflow-step-label { font-size: 14.5px; font-weight: 700; color: var(--navy-900); }
.workflow-step-sub { font-size: 12px; color: var(--gray-500); }
.workflow-step-check {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--gray-200); color: transparent;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; transition: all 0.4s ease;
  flex-shrink: 0;
}
.workflow-step.done .workflow-step-check { background: #22c55e; color: var(--white); }
.workflow-connector { text-align: center; color: var(--gray-300); font-size: 12px; padding: 4px 0; }
.workflow-floating-card {
  position: absolute;
  display: flex; align-items: center; gap: 12px;
  background: var(--white);
  border-radius: 16px; padding: 14px 18px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-100);
  z-index: 3;
  animation: floatCard 4.5s ease-in-out infinite;
}
.workflow-floating-card i { font-size: 20px; color: var(--red-600); }
.workflow-floating-card div { display: flex; flex-direction: column; line-height: 1.2; }
.workflow-floating-card strong { font-size: 16px; color: var(--navy-900); font-family: var(--font-display); }
.workflow-floating-card span { font-size: 11.5px; color: var(--gray-500); }
.workflow-floating-1 { top: -22px; right: -18px; animation-delay: 0s; }
.workflow-floating-2 { bottom: -22px; left: -22px; animation-delay: 1.2s; }
@keyframes floatCard { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ==========================================================================
   Section headers (shared)
   ========================================================================== */
.section-header { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 16px; border-radius: 100px;
  background: rgba(179,36,42,0.08); color: var(--red-600);
  font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
  margin-bottom: 18px;
}
.section-tag-light { background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.9); }
.section-title { font-size: clamp(28px, 3.2vw, 40px); margin-bottom: 16px; }
.section-subtitle { font-size: 17px; color: var(--gray-600); }

/* ==========================================================================
   Stats
   ========================================================================== */
.stats-section { padding: 60px 0; background: var(--navy-900); position: relative; overflow: hidden; }
.stats-section::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 100% at 100% 0%, rgba(179,36,42,0.25), transparent 60%);
}
.stats-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
.stat-card { text-align: center; padding: 12px; }
.stat-icon { width: 52px; height: 52px; border-radius: 14px; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; font-size: 20px; color: var(--red-400); }
.stat-value { font-family: var(--font-display); font-size: clamp(28px, 3vw, 38px); font-weight: 800; color: var(--white); margin-bottom: 8px; }
.stat-label { font-size: 13.5px; color: rgba(255,255,255,0.65); font-weight: 500; line-height: 1.4; }

/* ==========================================================================
   Services
   ========================================================================== */
.services-section { padding: 110px 0; background: var(--white); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--navy-700), var(--blue-500));
  transform: scaleX(0); transform-origin: left; transition: transform var(--transition-base);
}
.service-card-red::before { background: linear-gradient(90deg, var(--red-600), var(--red-400)); }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }
.service-card-icon {
  width: 56px; height: 56px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  color: var(--white); font-size: 22px; margin-bottom: 20px;
}
.service-card-red .service-card-icon { background: linear-gradient(135deg, var(--red-600), var(--red-700)); }
.service-card-title { font-size: 20px; margin-bottom: 10px; }
.service-card-desc { font-size: 14.5px; color: var(--gray-600); margin-bottom: 18px; line-height: 1.55; }
.service-card-list { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-bottom: 12px; }
.service-card-list li { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--gray-700); font-weight: 500; }
.service-card-list li i { color: #22c55e; font-size: 11px; }
.service-card-more { font-size: 12.5px; font-weight: 700; color: var(--navy-700); }

/* ==========================================================================
   Why Us
   ========================================================================== */
.why-us-section { padding: 110px 0; background: linear-gradient(180deg, var(--gray-50), var(--white)); }
.why-us-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: start; }
.why-us-lead { font-size: 17px; color: var(--gray-600); margin: 20px 0 32px; line-height: 1.6; }
.managed-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.managed-item {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px; border-radius: 12px;
  background: var(--white); border: 1px solid var(--gray-200);
  font-size: 14px; font-weight: 600; color: var(--navy-800);
  transition: all var(--transition-fast);
}
.managed-item:hover { border-color: var(--navy-700); box-shadow: var(--shadow-sm); transform: translateX(4px); }
.managed-item i { color: var(--red-600); font-size: 15px; width: 20px; text-align: center; }
.why-us-right { display: flex; flex-direction: column; gap: 20px; }
.pillar-card {
  background: var(--navy-900); border-radius: var(--radius-lg); padding: 30px;
  position: relative; overflow: hidden;
}
.pillar-card::after { content: ''; position: absolute; width: 180px; height: 180px; background: radial-gradient(circle, rgba(179,36,42,0.25), transparent 70%); top: -60px; right: -60px; }
.pillar-card-tag { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--red-400); margin-bottom: 14px; position: relative; z-index: 1; }
.pillar-card-icon { width: 46px; height: 46px; border-radius: 12px; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 18px; margin-bottom: 16px; position: relative; z-index: 1; }
.pillar-card-title { color: var(--white); font-size: 19px; margin-bottom: 10px; position: relative; z-index: 1; }
.pillar-card-desc { color: rgba(255,255,255,0.65); font-size: 14px; line-height: 1.6; position: relative; z-index: 1; }

/* ==========================================================================
   Hybrid Comparison
   ========================================================================== */
.hybrid-section { padding: 110px 0; background: var(--white); }
.hybrid-compare { display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; align-items: stretch; margin-bottom: 56px; }
.hybrid-column { border-radius: var(--radius-lg); padding: 32px 28px; display: flex; flex-direction: column; }
.hybrid-traditional { background: var(--gray-50); border: 1.5px dashed var(--gray-300); }
.hybrid-medbridge { background: linear-gradient(160deg, var(--navy-900), var(--navy-800)); box-shadow: var(--shadow-navy); }
.hybrid-column-header { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.hybrid-traditional .hybrid-column-header i { color: var(--gray-400); font-size: 20px; }
.hybrid-traditional .hybrid-column-header h3 { font-size: 19px; color: var(--gray-600); }
.hybrid-medbridge .hybrid-column-header i { color: var(--red-400); font-size: 20px; }
.hybrid-medbridge .hybrid-column-header h3 { font-size: 19px; color: var(--white); }
.hybrid-flow { display: flex; flex-direction: column; align-items: center; gap: 0; flex: 1; justify-content: center; }
.hybrid-node {
  display: flex; align-items: center; gap: 10px; width: 100%;
  padding: 14px 18px; border-radius: 12px; font-weight: 700; font-size: 14.5px;
}
.hybrid-node-muted { background: var(--white); color: var(--gray-500); border: 1px solid var(--gray-200); }
.hybrid-node-ai { background: rgba(37,99,235,0.15); color: #93c5fd; border: 1px solid rgba(59,130,246,0.3); }
.hybrid-node-human { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.9); border: 1px solid rgba(255,255,255,0.12); }
.hybrid-node-licensed { background: rgba(179,36,42,0.2); color: #f4a5a8; border: 1px solid rgba(179,36,42,0.35); }
.hybrid-node-final { background: linear-gradient(135deg, #16a34a, #15803d); color: var(--white); border: none; }
.hybrid-arrow { color: var(--gray-300); padding: 6px 0; font-size: 12px; }
.hybrid-medbridge .hybrid-arrow { color: rgba(255,255,255,0.3); }
.hybrid-column-footer { margin-top: 24px; display: flex; flex-direction: column; gap: 10px; }
.hybrid-stat { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; color: var(--gray-500); }
.hybrid-stat i { color: var(--gray-400); }
.hybrid-stat-good { color: rgba(255,255,255,0.85); }
.hybrid-stat-good i { color: #4ade80; }
.hybrid-vs {
  display: flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--white); border: 2px solid var(--gray-200);
  font-weight: 800; font-size: 13px; color: var(--gray-400);
  align-self: center; box-shadow: var(--shadow-md);
}
.hybrid-explainer { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.hybrid-explainer-item { display: flex; gap: 18px; align-items: flex-start; }
.hybrid-explainer-item i { font-size: 28px; color: var(--red-600); flex-shrink: 0; margin-top: 4px; }
.hybrid-explainer-item h4 { font-size: 18px; margin-bottom: 8px; }
.hybrid-explainer-item p { font-size: 14.5px; color: var(--gray-600); line-height: 1.6; }

/* ==========================================================================
   Pricing
   ========================================================================== */
.pricing-section { padding: 110px 0; background: linear-gradient(180deg, var(--gray-50), var(--white)); }
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 56px; }
.pricing-card {
  background: var(--white); border: 1.5px solid var(--gray-200); border-radius: var(--radius-lg);
  padding: 32px 26px; display: flex; flex-direction: column; position: relative;
  transition: all var(--transition-base);
}
.pricing-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.pricing-card-popular { border-color: var(--red-600); box-shadow: var(--shadow-red); }
.pricing-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--red-600); color: var(--white); font-size: 12px; font-weight: 700;
  padding: 5px 16px; border-radius: 100px; white-space: nowrap;
}
.pricing-card-name { font-size: 21px; margin-bottom: 6px; }
.pricing-card-seats { font-size: 13.5px; color: var(--gray-500); font-weight: 600; margin-bottom: 20px; }
.pricing-card-price { display: flex; align-items: baseline; gap: 4px; margin-bottom: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--gray-100); }
.pricing-card-price-value { font-family: var(--font-display); font-size: 40px; font-weight: 800; color: var(--navy-900); }
.pricing-card-price-unit { font-size: 15px; color: var(--gray-500); font-weight: 600; }
.pricing-card-features { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; flex: 1; }
.pricing-card-features li { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; color: var(--gray-700); line-height: 1.4; }
.pricing-card-features li i { color: var(--red-600); font-size: 14px; margin-top: 1px; flex-shrink: 0; }

.pricing-custom {
  background: var(--navy-900); border-radius: var(--radius-lg); padding: 40px;
  text-align: center; position: relative; overflow: hidden;
}
.pricing-custom::before { content: ''; position: absolute; width: 300px; height: 300px; background: radial-gradient(circle, rgba(179,36,42,0.2), transparent 70%); top: -100px; left: 50%; transform: translateX(-50%); }
.pricing-custom-header { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 12px; position: relative; z-index: 1; }
.pricing-custom-header i { color: var(--red-400); font-size: 22px; }
.pricing-custom-header h3 { color: var(--white); font-size: 24px; }
.pricing-custom p { color: rgba(255,255,255,0.65); margin-bottom: 24px; position: relative; z-index: 1; }
.pricing-custom-options { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 28px; position: relative; z-index: 1; }
.pricing-custom-option {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 100px;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.9); font-size: 13.5px; font-weight: 600;
}
.pricing-custom-option i { color: var(--red-400); }
.pricing-custom .btn { position: relative; z-index: 1; }

/* ==========================================================================
   AEP Banner
   ========================================================================== */
.aep-section { padding: 40px 0 110px; }
.aep-banner {
  background: linear-gradient(120deg, var(--red-700) 0%, var(--red-600) 50%, var(--navy-900) 100%);
  border-radius: var(--radius-xl); padding: 64px 56px; text-align: center; position: relative; overflow: hidden;
}
.aep-banner-glow { position: absolute; inset: 0; background: radial-gradient(ellipse 60% 80% at 80% 100%, rgba(10,30,63,0.5), transparent 60%); }
.aep-banner-content { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; }
.aep-banner-icon { width: 64px; height: 64px; border-radius: 18px; background: rgba(255,255,255,0.15); display: flex; align-items: center; justify-content: center; font-size: 26px; color: var(--white); margin: 0 auto 22px; }
.aep-banner-tag { display: inline-block; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: rgba(255,255,255,0.85); margin-bottom: 14px; }
.aep-banner-title { color: var(--white); font-size: clamp(26px, 3vw, 36px); margin-bottom: 16px; }
.aep-banner-desc { color: rgba(255,255,255,0.85); font-size: 16.5px; margin-bottom: 28px; }
.aep-banner-audiences { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 32px; }
.aep-audience-chip { padding: 8px 16px; border-radius: 100px; background: rgba(255,255,255,0.14); color: var(--white); font-size: 13.5px; font-weight: 600; }

/* ==========================================================================
   Industries
   ========================================================================== */
.industries-section { padding: 90px 0 110px; background: var(--white); }
.industries-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.industry-chip {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 100px;
  background: var(--white); border: 1.5px solid var(--gray-200);
  font-size: 14.5px; font-weight: 600; color: var(--navy-800);
  transition: all var(--transition-fast);
}
.industry-chip:hover { border-color: var(--red-600); color: var(--red-600); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.industry-chip i { color: var(--navy-700); font-size: 15px; }
.industry-chip:hover i { color: var(--red-600); }

/* ==========================================================================
   Compliance
   ========================================================================== */
.compliance-section { padding: 110px 0; background: var(--navy-900); position: relative; overflow: hidden; }
.compliance-section::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 50% 60% at 0% 100%, rgba(179,36,42,0.18), transparent 60%); }
.compliance-section .section-title { color: var(--white); }
.compliance-section .section-subtitle { color: rgba(255,255,255,0.65); }
.compliance-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.compliance-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius-md); padding: 26px 22px; transition: all var(--transition-base); }
.compliance-card:hover { background: rgba(255,255,255,0.08); transform: translateY(-4px); }
.compliance-card-icon { width: 46px; height: 46px; border-radius: 12px; background: rgba(179,36,42,0.2); display: flex; align-items: center; justify-content: center; color: var(--red-400); font-size: 18px; margin-bottom: 16px; }
.compliance-card h3 { color: var(--white); font-size: 16px; margin-bottom: 8px; }
.compliance-card p { color: rgba(255,255,255,0.6); font-size: 13px; line-height: 1.55; }

/* ==========================================================================
   ROI Calculator
   ========================================================================== */
.roi-section { padding: 110px 0; background: var(--white); }
.roi-card { display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-xl); border: 1px solid var(--gray-100); }
.roi-left { padding: 56px 48px; background: var(--white); }
.roi-form { margin-top: 32px; display: flex; flex-direction: column; gap: 28px; }
.roi-label { font-size: 14px; font-weight: 700; color: var(--navy-800); display: flex; flex-direction: column; gap: 12px; }
.roi-label input[type="range"] {
  width: 100%; height: 6px; border-radius: 4px; background: var(--gray-200);
  outline: none; -webkit-appearance: none; cursor: pointer;
}
.roi-label input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%;
  background: var(--red-600); border: 3px solid var(--white); box-shadow: var(--shadow-md); cursor: pointer;
}
.roi-label-value { font-size: 13.5px; font-weight: 600; color: var(--gray-500); }
.roi-label-value span { color: var(--red-600); font-weight: 800; font-size: 15px; }
.roi-right { padding: 48px 44px; background: linear-gradient(160deg, var(--navy-900), var(--navy-800)); display: flex; flex-direction: column; gap: 0; }
.roi-flow-step { display: flex; align-items: center; gap: 16px; padding: 14px 0; }
.roi-flow-icon { width: 46px; height: 46px; border-radius: 12px; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 18px; flex-shrink: 0; }
.roi-flow-label { font-size: 12.5px; color: rgba(255,255,255,0.6); font-weight: 600; margin-bottom: 3px; }
.roi-flow-value { font-family: var(--font-display); font-size: 22px; font-weight: 800; color: var(--white); }
.roi-flow-step-highlight .roi-flow-icon { background: rgba(179,36,42,0.25); color: var(--red-400); }
.roi-flow-step-highlight .roi-flow-value { color: #fca5a5; }
.roi-flow-step-final .roi-flow-icon { background: rgba(34,197,94,0.2); color: #4ade80; }
.roi-flow-step-final .roi-flow-value { color: #86efac; }
.roi-flow-arrow { color: rgba(255,255,255,0.25); padding-left: 23px; font-size: 12px; }
.roi-right .btn { margin-top: 24px; }

/* ==========================================================================
   Deployment Timeline
   ========================================================================== */
.timeline-section { padding: 110px 0; background: linear-gradient(180deg, var(--gray-50), var(--white)); }
.timeline-track { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; padding-top: 20px; }
.timeline-progress-line { position: absolute; top: 30px; left: 4%; right: 4%; height: 3px; background: var(--gray-200); border-radius: 4px; z-index: 0; }
.timeline-progress-fill { height: 100%; width: 0%; background: linear-gradient(90deg, var(--navy-700), var(--red-600)); border-radius: 4px; transition: width 1.6s cubic-bezier(0.16,1,0.3,1); }
.timeline-node { position: relative; z-index: 1; text-align: center; padding: 0 8px; }
.timeline-node-dot {
  width: 60px; height: 60px; border-radius: 50%; background: var(--white); border: 3px solid var(--gray-200);
  display: flex; align-items: center; justify-content: center; font-size: 20px; color: var(--gray-400);
  margin: 0 auto 18px; transition: all 0.5s ease;
}
.timeline-track.animated .timeline-node-dot { border-color: var(--navy-700); color: var(--navy-800); background: var(--white); box-shadow: var(--shadow-md); }
.timeline-track.animated .timeline-node-4 .timeline-node-dot { border-color: var(--red-600); color: var(--red-600); background: rgba(179,36,42,0.06); }
.timeline-node-day { font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--red-600); margin-bottom: 8px; }
.timeline-node-title { font-size: 18px; margin-bottom: 8px; }
.timeline-node-desc { font-size: 13px; color: var(--gray-600); line-height: 1.55; }

/* ==========================================================================
   Case Studies
   ========================================================================== */
.case-studies-section { padding: 110px 0; background: var(--white); }
.case-studies-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.case-study-card { background: var(--gray-50); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 30px 26px; transition: all var(--transition-base); }
.case-study-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: transparent; background: var(--white); }
.case-study-tag { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; color: var(--navy-700); text-transform: uppercase; letter-spacing: 0.03em; margin-bottom: 14px; }
.case-study-title { font-size: 19px; margin-bottom: 18px; }
.case-study-block { margin-bottom: 16px; }
.case-study-block-label { display: block; font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; color: var(--gray-400); margin-bottom: 6px; }
.case-study-block p { font-size: 13.5px; color: var(--gray-600); line-height: 1.55; }
.case-study-block-result { padding-top: 14px; border-top: 1px dashed var(--gray-300); margin-bottom: 0; }
.case-study-block-result .case-study-block-label { color: var(--red-600); }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-section { padding: 110px 0; background: linear-gradient(180deg, var(--gray-50), var(--white)); }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-md); overflow: hidden; transition: border-color var(--transition-fast); }
.faq-item.open { border-color: var(--navy-700); }
.faq-question { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; text-align: left; font-size: 15.5px; font-weight: 700; color: var(--navy-900); }
.faq-icon { flex-shrink: 0; color: var(--red-600); font-size: 14px; transition: transform var(--transition-fast); }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height var(--transition-base); }
.faq-answer p { padding: 0 24px 20px; font-size: 14.5px; color: var(--gray-600); line-height: 1.65; }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-section { padding: 110px 0; background: var(--navy-900); position: relative; overflow: hidden; }
.contact-section::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 60% at 100% 0%, rgba(179,36,42,0.2), transparent 60%); }
.contact-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 64px; }
.contact-lead { color: rgba(255,255,255,0.7); font-size: 16.5px; margin: 20px 0 36px; line-height: 1.6; }
.contact-detail-list { display: flex; flex-direction: column; gap: 16px; margin-bottom: 40px; }
.contact-detail { display: flex; align-items: center; gap: 16px; transition: transform var(--transition-fast); }
.contact-detail:hover { transform: translateX(4px); }
.contact-detail-icon { width: 46px; height: 46px; border-radius: 12px; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; color: var(--red-400); font-size: 17px; flex-shrink: 0; }
.contact-detail-label { display: block; font-size: 12px; color: rgba(255,255,255,0.5); font-weight: 600; margin-bottom: 2px; }
.contact-detail-value { display: block; font-size: 15.5px; color: var(--white); font-weight: 700; }
.contact-logo-block { padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.1); }
.contact-logo-block img { height: 44px; filter: brightness(0) invert(1); opacity: 0.85; }

.contact-form-wrap { background: var(--white); border-radius: var(--radius-xl); padding: 44px 40px; box-shadow: var(--shadow-xl); position: relative; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 28px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field-full { grid-column: 1 / -1; }
.form-field label { font-size: 13.5px; font-weight: 700; color: var(--navy-800); }
.form-field label span { color: var(--red-600); }
.form-field input, .form-field select, .form-field textarea {
  padding: 13px 16px; border-radius: 10px; border: 1.5px solid var(--gray-200);
  color: var(--gray-800); transition: border-color var(--transition-fast);
  background: var(--white);
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: none; border-color: var(--navy-700); }
.form-field textarea { resize: vertical; }
.form-disclaimer { font-size: 12px; color: var(--gray-400); text-align: center; margin-top: 14px; }
.btn-spinner { display: none; }
#contact-submit-btn.loading .btn-text { visibility: hidden; }
#contact-submit-btn.loading .btn-spinner { display: inline-flex; position: absolute; inset: 0; align-items: center; justify-content: center; }
.form-success { display: none; text-align: center; padding: 40px 10px; }
.form-success.active { display: block; }
.form-success.active ~ #form-fields, .form-success.active ~ .btn, .form-success.active ~ .form-disclaimer { display: none; }
.form-success i { font-size: 48px; color: #22c55e; margin-bottom: 16px; }
.form-success h3 { font-size: 22px; margin-bottom: 8px; }
.form-success p { color: var(--gray-600); font-size: 14.5px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--navy-950); padding: 72px 0 0; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-logo { height: 40px; filter: brightness(0) invert(1); margin-bottom: 16px; }
.footer-tagline { color: rgba(255,255,255,0.55); font-size: 14px; margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,0.06); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.7); transition: all var(--transition-fast); }
.footer-social a:hover { background: var(--red-600); color: var(--white); }
.footer-col h4 { color: var(--white); font-size: 14.5px; margin-bottom: 18px; text-transform: uppercase; letter-spacing: 0.04em; }
.footer-col a, .footer-col span { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,0.55); font-size: 14px; margin-bottom: 12px; transition: color var(--transition-fast); }
.footer-col a:hover { color: var(--white); }
.footer-col a i, .footer-col span i { color: rgba(255,255,255,0.35); font-size: 12px; width: 14px; }
.footer-address { line-height: 1.4; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding: 24px 0; }
.footer-bottom p { color: rgba(255,255,255,0.4); font-size: 13px; }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { color: rgba(255,255,255,0.4); font-size: 13px; }
.footer-legal a:hover { color: var(--white); }
.footer-disclaimer { color: rgba(255,255,255,0.3); font-size: 11.5px; line-height: 1.6; padding: 24px 0 32px; border-top: 1px solid rgba(255,255,255,0.06); max-width: 900px; }

/* ==========================================================================
   Counter animation helper
   ========================================================================== */
.counter { display: inline; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .hero-container { grid-template-columns: 1fr; gap: 56px; }
  .hero-visual { max-width: 480px; margin: 0 auto; }
  .stats-grid { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-us-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .compliance-grid { grid-template-columns: repeat(2, 1fr); }
  .case-studies-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1.2fr 1fr 1fr; }
}

@media (max-width: 860px) {
  .header-nav { display: none; }
  .header-phone { display: none; }
  .mobile-menu-toggle { display: flex; }
  .hybrid-compare { grid-template-columns: 1fr; }
  .hybrid-vs { margin: 8px auto; }
  .hybrid-explainer { grid-template-columns: 1fr; }
  .roi-card { grid-template-columns: 1fr; }
  .timeline-track { grid-template-columns: 1fr; gap: 36px; }
  .timeline-progress-line { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .hero { padding: 140px 0 80px; }
  .hero-cta-row { flex-direction: column; }
  .hero-cta-row .btn { width: 100%; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .compliance-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .contact-form-wrap { padding: 32px 22px; }
  .aep-banner { padding: 44px 24px; }
  .roi-left, .roi-right { padding: 36px 26px; }
}
