/* ==========================================================================
   DigiSpher EMR 2.0 - Official Product Landing Page Stylesheet
   Theme: Immersive Cyber-Clinical DigiSphere (Deep Blue, Glowing Spheres)
   Typography: Plus Jakarta Sans & Outfit
   ========================================================================== */

/* --------------------------------------------------------------------------
   Root Variables & Color Tokens
   -------------------------------------------------------------------------- */
:root {
  --sphere-black: #030712;
  --sphere-bg-deep: #050d22;
  --sphere-bg-mid: #0a1738;
  --sphere-bg-card: rgba(10, 25, 59, 0.72);
  --sphere-bg-glass: rgba(14, 34, 77, 0.45);
  --sphere-card-border: rgba(56, 189, 248, 0.2);
  --sphere-border-hover: rgba(56, 189, 248, 0.55);
  
  --sphere-blue-electric: #1e60f2;
  --sphere-blue-bright: #3b82f6;
  --sphere-cyan-bright: #00d2ff;
  --sphere-cyan-neon: #38bdf8;
  --sphere-teal: #06b6d4;
  --sphere-indigo: #4f46e5;
  --sphere-emerald: #10b981;
  --sphere-amber: #f59e0b;
  --sphere-crimson: #ef4444;

  --text-primary: #ffffff;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

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

  --glow-cyan-lg: 0 0 80px rgba(0, 210, 255, 0.28);
  --glow-blue-lg: 0 0 90px rgba(30, 96, 242, 0.35);
  --glow-btn: 0 10px 30px -5px rgba(30, 96, 242, 0.6);
  --glass-blur: blur(16px);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------------------------------
   Global Reset & Base Typography
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--sphere-bg-deep);
  color: var(--text-secondary);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Cosmic Blue Sphere Animated Background Canvas */
.sphere-canvas-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
  background: 
    radial-gradient(circle at 50% 10%, rgba(14, 43, 105, 0.85) 0%, transparent 55%),
    radial-gradient(circle at 10% 35%, rgba(0, 114, 255, 0.2) 0%, transparent 45%),
    radial-gradient(circle at 90% 60%, rgba(0, 210, 255, 0.16) 0%, transparent 45%),
    radial-gradient(circle at 45% 90%, rgba(20, 56, 138, 0.5) 0%, transparent 60%),
    linear-gradient(180deg, #040916 0%, #06122d 40%, #040b1e 100%);
}

/* Floating 3D Glowing Ambient Spheres */
.sphere-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.65;
  animation: floatSphere 18s ease-in-out infinite alternate;
  pointer-events: none;
}

.sphere-orb-1 {
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(0, 210, 255, 0.35) 0%, rgba(30, 96, 242, 0.15) 50%, transparent 70%);
  top: -120px;
  right: -100px;
  animation-duration: 22s;
}

.sphere-orb-2 {
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(30, 96, 242, 0.4) 0%, rgba(6, 182, 212, 0.12) 55%, transparent 70%);
  top: 35%;
  left: -200px;
  animation-duration: 26s;
  animation-delay: -5s;
}

.sphere-orb-3 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.35) 0%, rgba(0, 210, 255, 0.15) 60%, transparent 75%);
  bottom: 10%;
  right: -120px;
  animation-duration: 20s;
  animation-delay: -10s;
}

.sphere-grid-overlay {
  position: fixed;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.5;
  pointer-events: none;
  z-index: -1;
}

@keyframes floatSphere {
  0% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(40px, -35px) scale(1.08);
  }
  100% {
    transform: translate(-30px, 45px) scale(0.95);
  }
}

/* --------------------------------------------------------------------------
   Typography Classes (Big, Bold, Modern)
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6, .font-display {
  font-family: var(--font-display);
  color: var(--text-primary);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.display-hero-title {
  font-size: clamp(2.75rem, 5.5vw, 4.6rem);
  font-weight: 850;
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin-bottom: 1.5rem;
}

.gradient-text-sphere {
  background: linear-gradient(135deg, #ffffff 15%, #93c5fd 55%, #38bdf8 85%, #00d2ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
}

.gradient-text-cyan {
  background: linear-gradient(135deg, #38bdf8 0%, #00d2ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-gold {
  background: linear-gradient(135deg, #fef08a 0%, #facc15 50%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.lead-hero {
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  font-weight: 400;
  color: #cbd5e1;
  max-width: 820px;
  line-height: 1.6;
}

.section-title {
  font-size: clamp(2.2rem, 3.8vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto;
}

/* --------------------------------------------------------------------------
   Badges & Pills
   -------------------------------------------------------------------------- */
.badge-sphere {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.15rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(30, 96, 242, 0.18);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: #38bdf8;
  box-shadow: 0 0 20px rgba(0, 210, 255, 0.15);
  backdrop-filter: blur(10px);
}

.badge-sphere.pulse::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #00d2ff;
  box-shadow: 0 0 10px #00d2ff;
  animation: pulseDot 1.8s infinite;
}

.badge-offline {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #34d399;
}

.badge-offline::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #10b981;
  box-shadow: 0 0 8px #10b981;
}

.badge-offer-hot {
  background: linear-gradient(135deg, #ef4444 0%, #f97316 100%);
  color: #ffffff;
  border: none;
  font-weight: 800;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4);
}

@keyframes pulseDot {
  0% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; box-shadow: 0 0 14px #00d2ff; }
  100% { transform: scale(0.9); opacity: 0.7; }
}

/* --------------------------------------------------------------------------
   Buttons & Interactive CTAs
   -------------------------------------------------------------------------- */
.btn-sphere-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.05rem 2.25rem;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 750;
  color: #ffffff;
  background: linear-gradient(135deg, #1e60f2 0%, #0284c7 60%, #00d2ff 100%);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 9999px;
  box-shadow: 0 10px 30px -5px rgba(30, 96, 242, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  text-decoration: none;
  transition: var(--transition-smooth);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn-sphere-primary::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 40%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: rotate(25deg);
  transition: all 0.75s ease;
}

.btn-sphere-primary:hover {
  color: #ffffff;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 16px 40px -5px rgba(0, 210, 255, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.btn-sphere-primary:hover::after {
  left: 130%;
}

.btn-sphere-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.05rem 2.25rem;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: #ffffff;
  background: rgba(15, 36, 82, 0.6);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 9999px;
  backdrop-filter: blur(12px);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.btn-sphere-secondary:hover {
  color: #38bdf8;
  background: rgba(22, 53, 118, 0.85);
  border-color: rgba(56, 189, 248, 0.75);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.btn-sphere-gold {
  background: linear-gradient(135deg, #00d2ff 0%, #1e60f2 55%, #4f46e5 100%);
  color: #ffffff !important;
  box-shadow: 0 10px 30px rgba(0, 210, 255, 0.45), inset 0 1px 0 rgba(255,255,255,0.25);
  border: 1px solid rgba(0, 210, 255, 0.4);
}

.btn-sphere-gold:hover {
  background: linear-gradient(135deg, #38bdf8 0%, #1e60f2 55%, #6366f1 100%);
  box-shadow: 0 15px 45px rgba(0, 210, 255, 0.65), 0 0 60px rgba(30, 96, 242, 0.35);
  transform: translateY(-3px) scale(1.02);
  border-color: rgba(56, 189, 248, 0.7);
}

/* --------------------------------------------------------------------------
   Header & Navigation
   -------------------------------------------------------------------------- */
.navbar-sphere {
  position: sticky;
  top: 0;
  z-index: 1020;
  padding: 0.85rem 0;
  background: rgba(5, 13, 34, 0.82);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(56, 189, 248, 0.14);
  transition: var(--transition-smooth);
}

.navbar-sphere.scrolled {
  background: rgba(3, 8, 22, 0.95);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border-bottom-color: rgba(56, 189, 248, 0.25);
}

.navbar-brand img {
  height: 56px;
  width: auto;
  /* Remove white background from round PNG logo on dark nav */
  filter: drop-shadow(0 0 12px rgba(0, 210, 255, 0.35));
}

.navbar-wordmark {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 850;
  line-height: 1;
  letter-spacing: 0.02em;
  color: #ffffff;
  text-shadow: 0 0 18px rgba(56, 189, 248, 0.35);
  white-space: nowrap;
}

.nav-link-sphere {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: #94a3b8;
  padding: 0.5rem 1rem !important;
  border-radius: 8px;
  transition: var(--transition-smooth);
}

.nav-link-sphere:hover {
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.08);
}

/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */
.hero-section {
  padding: 4.5rem 0 3.5rem 0;
  position: relative;
}

.hero-stats-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem 3rem;
  margin-top: 3.5rem;
  padding: 1.75rem 2.5rem;
  background: rgba(10, 25, 59, 0.65);
  border: 1px solid rgba(56, 189, 248, 0.22);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(16px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.hero-stat-item {
  text-align: center;
}

.hero-stat-num {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 850;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.hero-stat-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* --------------------------------------------------------------------------
   Full Cinema Video Showcase Section (Below Header)
   -------------------------------------------------------------------------- */
.video-showcase-section {
  padding: 2.5rem 0 5rem 0;
  position: relative;
}

.video-cinema-frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: #020617;
  border: 1px solid rgba(56, 189, 248, 0.35);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.6), 0 0 100px rgba(0, 210, 255, 0.18);
  transition: var(--transition-smooth);
}

.video-cinema-frame::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: calc(var(--radius-xl) + 2px);
  background: linear-gradient(135deg, rgba(0, 210, 255, 0.6) 0%, rgba(30, 96, 242, 0.2) 40%, rgba(56, 189, 248, 0.5) 100%);
  z-index: -1;
}

.video-aspect-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 720px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #020718;
}

.video-aspect-container iframe,
.video-aspect-container video {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.video-poster-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3, 8, 24, 0.25) 0%, rgba(2, 6, 20, 0.85) 100%),
              url('../images/video_poster.jpg') center center/cover no-repeat;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
  z-index: 5;
}

.video-poster-overlay:hover {
  background-color: rgba(0, 0, 0, 0.2);
}

.video-play-orb {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00d2ff 0%, #1e60f2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 2.2rem;
  box-shadow: 0 0 50px rgba(0, 210, 255, 0.65), 0 0 0 10px rgba(0, 210, 255, 0.2);
  transition: var(--transition-smooth);
  margin-bottom: 1.25rem;
}

.video-poster-overlay:hover .video-play-orb {
  transform: scale(1.12);
  box-shadow: 0 0 70px rgba(0, 210, 255, 0.9), 0 0 0 18px rgba(0, 210, 255, 0.25);
}

.video-cinema-header {
  padding: 1rem 1.75rem;
  background: rgba(6, 17, 44, 0.95);
  border-bottom: 1px solid rgba(56, 189, 248, 0.2);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.video-window-dots {
  display: flex;
  gap: 8px;
}

.video-window-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}

.video-window-dots span:nth-child(1) { background: #ef4444; }
.video-window-dots span:nth-child(2) { background: #f59e0b; }
.video-window-dots span:nth-child(3) { background: #10b981; }

.video-placeholder-hint {
  font-size: 0.82rem;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.1);
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(56, 189, 248, 0.25);
}

/* --------------------------------------------------------------------------
   Offline-First Medical Pillars Section
   -------------------------------------------------------------------------- */
.offline-section {
  padding: 6rem 0;
  position: relative;
}

.glass-card {
  background: var(--sphere-bg-card);
  border: 1px solid var(--sphere-card-border);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  backdrop-filter: var(--glass-blur);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  height: 100%;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.6), transparent);
  opacity: 0;
  transition: var(--transition-smooth);
}

.glass-card:hover {
  transform: translateY(-6px);
  border-color: var(--sphere-border-hover);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.4), 0 0 35px rgba(0, 210, 255, 0.12);
}

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

.feature-icon-orb {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.85rem;
  color: #38bdf8;
  background: radial-gradient(circle, rgba(0, 210, 255, 0.2) 0%, rgba(30, 96, 242, 0.1) 100%);
  border: 1px solid rgba(56, 189, 248, 0.3);
  margin-bottom: 1.5rem;
  box-shadow: 0 8px 20px rgba(0, 210, 255, 0.15);
}

.pillar-banner-card {
  background: linear-gradient(135deg, rgba(14, 38, 92, 0.85) 0%, rgba(6, 18, 48, 0.95) 100%);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: var(--radius-xl);
  padding: 3.5rem;
  backdrop-filter: blur(20px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
}

/* --------------------------------------------------------------------------
   Feature Deep-Dive with Real Screens
   -------------------------------------------------------------------------- */
.feature-showcase-section {
  padding: 6rem 0;
}

.app-screen-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #091533;
  border: 1px solid rgba(56, 189, 248, 0.3);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 40px rgba(0, 210, 255, 0.1);
  transition: var(--transition-smooth);
}

.app-screen-frame:hover {
  border-color: rgba(56, 189, 248, 0.65);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 60px rgba(0, 210, 255, 0.22);
}

.app-screen-img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: zoom-in;
}

.app-screen-frame:hover .app-screen-img {
  transform: scale(1.02);
}

.screen-zoom-hint {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background: rgba(3, 10, 30, 0.85);
  color: #38bdf8;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(56, 189, 248, 0.35);
  backdrop-filter: blur(8px);
  pointer-events: none;
  opacity: 0.9;
}

.text-secondary,
p.text-secondary {
  color: #cbd5e1 !important;
}

.text-muted {
  color: #94a3b8 !important;
}

.feature-check-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0 0;
}

.feature-check-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.85rem;
  color: #e2e8f0 !important;
  font-size: 1rem;
  line-height: 1.6;
}

.feature-check-list li strong {
  color: #ffffff;
}

.feature-check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: #00d2ff;
  font-weight: 900;
  font-size: 1.1rem;
}

.command-dock-card {
  background: rgba(8, 22, 54, 0.85);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: var(--radius-md);
  padding: 1rem 1.15rem;
  transition: var(--transition-smooth);
}

.command-dock-card:hover {
  border-color: rgba(56, 189, 248, 0.65);
  background: rgba(14, 35, 80, 0.95);
  transform: translateY(-2px);
}

.command-dock-card .card-desc {
  color: #cbd5e1 !important;
  font-size: 0.875rem;
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   Target Audience Cards ("Who is DigiSpher EMR Built For?")
   -------------------------------------------------------------------------- */
.audience-card {
  background: rgba(8, 22, 54, 0.85);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  min-height: 220px;
  backdrop-filter: blur(16px);
  transition: var(--transition-smooth);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  position: relative;
}

.audience-card:hover {
  transform: translateY(-5px);
  border-color: rgba(56, 189, 248, 0.7);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 210, 255, 0.2);
}

.audience-icon-orb {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #00d2ff;
  background: radial-gradient(circle, rgba(0, 210, 255, 0.25) 0%, rgba(30, 96, 242, 0.15) 100%);
  border: 1px solid rgba(56, 189, 248, 0.35);
  box-shadow: 0 4px 15px rgba(0, 210, 255, 0.15);
}

.badge-audience-spec {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.1);
  padding: 0.2rem 0.65rem;
  border-radius: 6px;
  border: 1px solid rgba(56, 189, 248, 0.2);
  margin-top: 0.25rem;
}

.audience-card-body {
  margin-top: 1.25rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.audience-desc {
  color: #cbd5e1 !important;
  font-size: 0.935rem;
  line-height: 1.6;
  background: rgba(3, 10, 28, 0.6);
  border: 1px solid rgba(56, 189, 248, 0.22);
  border-radius: 12px;
  padding: 1.15rem 1.25rem;
  display: block;
  margin-bottom: 0;
  flex-grow: 1;
}

.audience-card-body p.audience-desc {
  color: #cbd5e1 !important;
}

/* --------------------------------------------------------------------------
   Competitor Matrix Section
   -------------------------------------------------------------------------- */
.comparison-section {
  padding: 6rem 0;
}

.matrix-table-wrap {
  background: rgba(8, 20, 51, 0.7);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: var(--radius-xl);
  overflow: hidden;
  backdrop-filter: blur(16px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
}

.table-matrix {
  --bs-table-bg: transparent !important;
  --bs-table-color: #cbd5e1 !important;
  --bs-table-accent-bg: transparent !important;
  --bs-table-striped-bg: transparent !important;
  --bs-table-hover-bg: rgba(30, 96, 242, 0.15) !important;
  margin: 0;
  color: #cbd5e1 !important;
  border-collapse: separate;
  border-spacing: 0;
  background-color: transparent !important;
}

.table-matrix > :not(caption) > * > * {
  background-color: rgba(6, 16, 42, 0.85) !important;
  box-shadow: none !important;
  color: #cbd5e1 !important;
}

.table-matrix th {
  padding: 1.4rem 1.5rem;
  background: rgba(12, 29, 71, 0.98) !important;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 750;
  color: #ffffff !important;
  border-bottom: 2px solid rgba(56, 189, 248, 0.35) !important;
}

.table-matrix th.highlight-col {
  background: linear-gradient(180deg, rgba(30, 96, 242, 0.5) 0%, rgba(12, 29, 71, 0.98) 100%) !important;
  color: #00d2ff !important;
  border-left: 1px solid rgba(56, 189, 248, 0.4) !important;
  border-right: 1px solid rgba(56, 189, 248, 0.4) !important;
}

.table-matrix td {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(56, 189, 248, 0.12) !important;
  vertical-align: middle;
  background-color: rgba(6, 16, 42, 0.75) !important;
  color: #cbd5e1 !important;
  transition: background-color 0.2s ease;
}

.table-matrix tr:hover td {
  background-color: rgba(14, 35, 80, 0.85) !important;
}

.table-matrix td.highlight-col {
  background-color: rgba(22, 58, 140, 0.28) !important;
  font-weight: 700;
  color: #ffffff !important;
  border-left: 1px solid rgba(56, 189, 248, 0.35) !important;
  border-right: 1px solid rgba(56, 189, 248, 0.35) !important;
}

.table-matrix tr:hover td.highlight-col {
  background-color: rgba(30, 96, 242, 0.35) !important;
}

.badge-win {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #34d399;
  font-weight: 700;
}

.badge-lose {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #f87171;
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   Practice ROI & Financial Savings Calculator
   -------------------------------------------------------------------------- */
.roi-calculator-section {
  padding: 5.5rem 0;
}

.calc-card {
  background: linear-gradient(135deg, rgba(11, 28, 69, 0.85) 0%, rgba(5, 14, 38, 0.95) 100%);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: var(--radius-xl);
  padding: 3rem;
  box-shadow: 0 25px 65px rgba(0, 0, 0, 0.4), 0 0 50px rgba(0, 210, 255, 0.1);
  backdrop-filter: blur(20px);
}

.roi-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 5px;
  background: #1e3a8a;
  outline: none;
  transition: 0.2s;
}

.roi-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #00d2ff;
  box-shadow: 0 0 15px #00d2ff;
  cursor: pointer;
}

.roi-result-box {
  background: rgba(4, 12, 32, 0.8);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  text-align: center;
}

.roi-saved-amount {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 4rem);
  font-weight: 900;
  color: #34d399;
  text-shadow: 0 0 30px rgba(52, 211, 153, 0.4);
  line-height: 1;
  margin: 0.5rem 0;
}

/* --------------------------------------------------------------------------
   Big Offers Section (High-Converting Launch Special)
   -------------------------------------------------------------------------- */
.offers-section {
  padding: 6.5rem 0;
  position: relative;
}

.offer-card-master {
  background: linear-gradient(180deg, rgba(16, 42, 107, 0.9) 0%, rgba(7, 18, 48, 0.96) 100%);
  border: 2px solid rgba(0, 210, 255, 0.55);
  border-radius: var(--radius-xl);
  padding: 4rem 3rem;
  position: relative;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 100px rgba(0, 210, 255, 0.25);
  backdrop-filter: blur(20px);
}

.offer-floating-tag {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #ef4444 0%, #f97316 100%);
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.55rem 1.75rem;
  border-radius: 999px;
  box-shadow: 0 10px 25px rgba(239, 68, 68, 0.5);
}

.offer-price-stack {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.75rem;
  margin: 1.5rem 0 0.5rem 0;
}

.offer-price-old {
  font-size: 2rem;
  color: #64748b;
  text-decoration: line-through;
  font-weight: 600;
}

.offer-price-current {
  font-family: var(--font-display);
  font-size: clamp(3.75rem, 6vw, 5.2rem);
  font-weight: 900;
  color: #ffffff;
  line-height: 1;
}

.offer-price-period {
  font-size: 1.25rem;
  color: #38bdf8;
  font-weight: 700;
}

.guarantee-badge-box {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-md);
  color: #6ee7b7;
  font-weight: 600;
  margin-top: 1.5rem;
}

/* --------------------------------------------------------------------------
   Quick Start Guide (Up & Running in 2 Minutes)
   -------------------------------------------------------------------------- */
.quickstart-section {
  padding: 6rem 0;
}

.step-card {
  background: rgba(9, 23, 56, 0.65);
  border: 1px solid rgba(56, 189, 248, 0.22);
  border-radius: var(--radius-lg);
  padding: 2rem;
  height: 100%;
  position: relative;
  transition: var(--transition-smooth);
}

.step-card:hover {
  transform: translateY(-5px);
  border-color: rgba(56, 189, 248, 0.5);
}

.step-number-bubble {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1e60f2 0%, #00d2ff 100%);
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 850;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  box-shadow: 0 0 20px rgba(0, 210, 255, 0.4);
}

/* --------------------------------------------------------------------------
   FAQ Accordion
   -------------------------------------------------------------------------- */
.faq-section {
  padding: 6rem 0;
}

.accordion-sphere .accordion-item {
  background: rgba(8, 20, 51, 0.7);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: var(--radius-md) !important;
  margin-bottom: 1rem;
  overflow: hidden;
  backdrop-filter: blur(12px);
}

.accordion-sphere .accordion-button {
  background: transparent;
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  padding: 1.35rem 1.75rem;
  box-shadow: none;
}

.accordion-sphere .accordion-button:not(.collapsed) {
  color: #38bdf8;
  background: rgba(30, 96, 242, 0.15);
  border-bottom: 1px solid rgba(56, 189, 248, 0.2);
}

.accordion-sphere .accordion-button::after {
  filter: invert(1) hue-rotate(180deg);
}

.accordion-sphere .accordion-body {
  padding: 1.5rem 1.75rem;
  color: #cbd5e1;
  font-size: 1.02rem;
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   Specs Table
   -------------------------------------------------------------------------- */
.specs-badge-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.spec-box {
  background: rgba(7, 18, 46, 0.75);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
}

.spec-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #94a3b8;
  margin-bottom: 0.35rem;
}

.spec-val {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 750;
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer-sphere {
  padding: 5rem 0 2.5rem 0;
  background: #020614;
  border-top: 1px solid rgba(56, 189, 248, 0.2);
  position: relative;
}

.footer-link {
  color: #94a3b8;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.footer-link:hover {
  color: #38bdf8;
  padding-left: 4px;
}

/* --------------------------------------------------------------------------
   Modal Lightbox for Screenshots
   -------------------------------------------------------------------------- */
.screenshot-modal .modal-content {
  background: rgba(4, 11, 31, 0.96);
  border: 1px solid rgba(56, 189, 248, 0.4);
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.8), 0 0 80px rgba(0, 210, 255, 0.2);
  backdrop-filter: blur(25px);
}

.screenshot-modal .modal-header {
  border-bottom: 1px solid rgba(56, 189, 248, 0.2);
  padding: 1.25rem 1.75rem;
}

.screenshot-modal .btn-close {
  filter: invert(1);
}

/* --------------------------------------------------------------------------
   Scroll Animations & Reveal States
   -------------------------------------------------------------------------- */
.reveal-init {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* --------------------------------------------------------------------------
   Responsive Utilities
   -------------------------------------------------------------------------- */
@media (max-width: 991.98px) {
  /* Disable heavy 3D GPU floating blur orbs on mobile */
  .sphere-orb {
    display: none !important;
  }

  .sphere-canvas-bg {
    background: radial-gradient(circle at 50% 10%, rgba(14, 43, 105, 0.95) 0%, #050d22 70%);
  }

  /* Disable GPU backdrop-filter blurs on mobile for fast, smooth 60fps scrolling */
  .navbar-sphere,
  .badge-sphere,
  .card-sphere,
  .glass-box,
  .glass-card,
  .calc-card,
  .matrix-table-wrap,
  .modal-content,
  .custom-select-menu,
  .alert-sphere-success {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  /* Lightweight semi-transparent card background fallbacks */
  .navbar-sphere.scrolled {
    background: rgba(5, 13, 34, 0.98) !important;
  }

  .card-sphere,
  .glass-card,
  .calc-card,
  .glass-box {
    background: rgba(10, 25, 59, 0.95) !important;
  }

  /* Instant element visibility on mobile to eliminate scroll paint jank */
  .reveal-init {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  /* Browser rendering optimization for off-screen mobile sections */
  #specialOffer,
  #requestQuote,
  #quickStart,
  #faq,
  footer {
    content-visibility: auto;
    contain-intrinsic-size: 1px 600px;
  }

  .navbar-brand img {
    height: 48px;
  }
  .navbar-wordmark {
    font-size: 1.25rem;
  }
  .hero-section {
    padding: 3rem 0 2rem 0;
  }
  .display-hero-title {
    font-size: 2.75rem;
  }
  .table-matrix th, .table-matrix td {
    padding: 1rem 0.85rem;
    font-size: 0.9rem;
  }
  .offer-card-master {
    padding: 3rem 1.75rem;
    overflow: hidden;
  }
  .offer-price-stack {
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
  }
  .calc-card {
    padding: 2rem 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sphere-orb {
    animation: none !important;
  }
  .reveal-init {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

@media (max-width: 575.98px) {
  .container-xl {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .navbar-sphere {
    padding: 0.65rem 0;
  }
  .navbar-brand img {
    height: 42px;
  }
  .navbar-wordmark {
    font-size: 1.05rem;
    letter-spacing: 0.01em;
  }
  .hero-section {
    padding-top: 2.5rem;
  }
  .display-hero-title {
    font-size: 2.15rem;
    line-height: 1.12;
    margin-bottom: 1rem;
  }
  .lead-hero {
    font-size: 1rem;
    line-height: 1.55;
  }
  .section-title {
    font-size: 1.95rem;
  }
  .section-subtitle {
    font-size: 1rem;
  }
  .badge-sphere {
    max-width: 100%;
    white-space: normal;
    text-align: center;
    justify-content: center;
    line-height: 1.25;
    padding: 0.45rem 0.85rem;
  }
  .hero-section .badge-sphere {
    width: 100%;
    max-width: 22rem;
  }
  .btn-sphere-primary, .btn-sphere-secondary {
    width: 100%;
    max-width: 22rem;
    min-height: 52px;
    padding: 0.85rem 1rem;
    font-size: 1rem;
    line-height: 1.25;
    white-space: normal;
    text-align: center;
    border-radius: 9999px;
  }
  .offer-card-master {
    padding: 2.75rem 1rem 1.5rem;
    border-radius: var(--radius-md);
  }
  .offer-floating-tag {
    top: -16px;
    width: calc(100% - 2rem);
    max-width: 18rem;
    padding: 0.5rem 0.85rem;
    font-size: 0.72rem;
    letter-spacing: 0.04em;
  }
  .offer-price-current {
    font-size: 3.15rem;
  }
  .offer-price-period {
    font-size: 1rem;
  }
  .offer-card-master .row.text-start {
    max-width: 100% !important;
  }
  .offer-card-master .d-flex.align-items-center.gap-2.text-white.small {
    align-items: flex-start !important;
  }
  .offer-card-master .d-flex.align-items-center.gap-2.text-white.small span {
    min-width: 0;
    overflow-wrap: anywhere;
  }
  .guarantee-badge-box {
    display: flex;
    width: 100%;
    align-items: flex-start;
    padding: 0.85rem 1rem;
    text-align: left;
  }
  .hero-stats-strip {
    gap: 1.5rem;
    padding: 1.25rem;
  }
  .video-play-orb {
    width: 72px;
    height: 72px;
    font-size: 1.75rem;
  }
}

/* --------------------------------------------------------------------------
   Critical Visibility Fixes (ensure no white-on-white / invisible text)
   -------------------------------------------------------------------------- */

/* Comparison table: force dark background on ALL cells */
.comparison-section .table-matrix,
.comparison-section .table-matrix tbody,
.comparison-section .table-matrix thead,
.comparison-section .table-matrix tr,
.comparison-section .table-matrix td,
.comparison-section .table-matrix th {
  background-color: transparent !important;
}

.comparison-section .matrix-table-wrap {
  background: rgba(4, 12, 36, 0.92) !important;
}

.table-matrix tbody tr td {
  background-color: rgba(5, 14, 42, 0.92) !important;
  color: #cbd5e1 !important;
}

.table-matrix tbody tr:nth-child(odd) td {
  background-color: rgba(8, 20, 54, 0.92) !important;
}

.table-matrix tbody tr:hover td {
  background-color: rgba(18, 42, 105, 0.92) !important;
}

.table-matrix tbody tr td.highlight-col {
  background-color: rgba(20, 50, 130, 0.45) !important;
  color: #ffffff !important;
}

.table-matrix tbody tr:hover td.highlight-col {
  background-color: rgba(30, 70, 180, 0.55) !important;
}

/* Module 2 command dock cards - text visibility fix */
.command-dock-card {
  background: rgba(6, 18, 50, 0.95) !important;
}

.command-dock-card .card-desc,
.command-dock-card p {
  color: #94c5f8 !important;
}

/* Audience cards - paragraph always visible inside box */
.audience-card {
  overflow: visible;
}

.audience-desc {
  color: #bfdbfe !important;
  background: rgba(2, 8, 24, 0.65) !important;
  border-color: rgba(56, 189, 248, 0.25) !important;
}

/* Prescription preview table inside glass card - keep white bg */
.glass-card .table-sm {
  --bs-table-bg: #ffffff;
  --bs-table-color: #1e293b;
  color: #1e293b;
}

/* Navbar logo - ensure no white box clipping on round PNG */
.navbar-brand img {
  border-radius: 50%;
  background: transparent;
}

.footer-sphere img {
  filter: drop-shadow(0 0 10px rgba(0,180,255,0.3));
}

/* --------------------------------------------------------------------------
   Request a Quote Form Styling (Cyber-Clinical Deep Blue Theme)
   -------------------------------------------------------------------------- */
.quote-section {
  position: relative;
  z-index: 2;
}

.input-group-sphere {
  background: rgba(4, 13, 33, 0.7);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: var(--radius-sm);
  transition: var(--transition-smooth);
  overflow: hidden;
  align-items: stretch;
}

.input-group-sphere:focus-within {
  border-color: var(--sphere-cyan-neon);
  box-shadow: 0 0 20px rgba(0, 210, 255, 0.3);
}

.input-group-sphere .input-group-text {
  background: transparent;
  border: none;
  color: var(--sphere-cyan-neon);
  font-size: 1.15rem;
  padding-left: 1.1rem;
  padding-right: 0.5rem;
  display: flex;
  align-items: center;
}

.input-group-sphere:has(textarea) .input-group-text {
  align-items: flex-start;
  padding-top: 0.85rem;
}

.form-control-sphere {
  background: transparent;
  border: none;
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.75rem 1rem;
}

.form-control-sphere:focus {
  background: transparent;
  color: #ffffff;
  box-shadow: none;
  outline: none;
}

select.form-control-sphere {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%3c38bdf8' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  background-size: 14px 12px;
  cursor: pointer;
}

select.form-control-sphere option {
  background-color: #050d22;
  color: #ffffff;
  padding: 10px;
}

select.form-control-sphere option:disabled {
  color: #64748b;
}

/* Searchable Datalist Picker Indicator Tint */
input.form-control-sphere::-webkit-calendar-picker-indicator {
  filter: invert(0.7) sepia(1) saturate(5) hue-rotate(170deg);
  opacity: 0.8;
  cursor: pointer;
}

.form-control-sphere::placeholder {
  color: #64748b;
  opacity: 0.85;
}

textarea.form-control-sphere {
  resize: vertical;
  min-height: 120px;
}

.alert-sphere-success {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #ffffff;
  border-radius: var(--radius-md);
  padding: 1.75rem;
  backdrop-filter: blur(10px);
}

.custom-checkbox-sphere {
  background: rgba(4, 13, 33, 0.55);
  border: 1px solid rgba(56, 189, 248, 0.15);
  transition: var(--transition-smooth);
  min-height: 48px;
}

.custom-checkbox-sphere:hover {
  border-color: rgba(56, 189, 248, 0.45);
  background: rgba(14, 34, 77, 0.5);
}

.custom-checkbox-sphere .form-check-input {
  background-color: rgba(6, 18, 50, 0.8);
  border-color: rgba(56, 189, 248, 0.4);
  cursor: pointer;
  width: 1.15em;
  height: 1.15em;
}

.custom-checkbox-sphere .form-check-input:checked {
  background-color: var(--sphere-cyan-neon);
  border-color: var(--sphere-cyan-neon);
  box-shadow: 0 0 10px rgba(0, 210, 255, 0.4);
}

.cursor-pointer {
  cursor: pointer;
}

/* Custom Searchable Select Dropdown Menu */
.custom-select-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 1060;
  background: rgba(6, 18, 50, 0.98);
  border: 1px solid rgba(56, 189, 248, 0.4);
  border-radius: var(--radius-sm);
  backdrop-filter: blur(18px);
  max-height: 280px;
  overflow: hidden;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.85);
}

.custom-select-list {
  max-height: 215px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--sphere-cyan-neon) rgba(4, 13, 33, 0.8);
}

.custom-option-item {
  padding: 0.65rem 1rem;
  color: #cbd5e1;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.custom-option-item:hover,
.custom-option-item.selected {
  background: rgba(30, 96, 242, 0.4);
  color: #ffffff;
  padding-left: 1.25rem;
}

