/* ==========================================================================
   GLOBALGEAR.MARKETING - Modern Medical & Hospital Growth Agency Design System
   ========================================================================== */

:root {
  /* Color Palette */
  --primary-navy: #090e1a;
  --navy-surface: #0f172a;
  --navy-card: #141e33;
  --navy-border: #1e293b;
  --navy-hover: #1e2d4d;
  
  --accent-teal: #06b6d4;
  --accent-cyan: #0ea5e9;
  --accent-blue: #3b82f6;
  --accent-emerald: #10b981;
  --accent-amber: #f59e0b;
  --accent-rose: #f43f5e;
  
  --gradient-brand: linear-gradient(135deg, #0ea5e9 0%, #06b6d4 50%, #10b981 100%);
  --gradient-glow: radial-gradient(circle at 50% 0%, rgba(14, 165, 233, 0.15) 0%, transparent 70%);
  --gradient-card: linear-gradient(180deg, rgba(20, 30, 51, 0.8) 0%, rgba(15, 23, 42, 0.95) 100%);
  
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --text-on-accent: #ffffff;

  /* Typography */
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Shadows & Glassmorphism */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 35px rgba(14, 165, 233, 0.25);
  --shadow-glow-teal: 0 0 35px rgba(6, 182, 212, 0.3);
  
  --glass-bg: rgba(15, 23, 42, 0.75);
  --glass-border: rgba(255, 255, 255, 0.08);
  --backdrop-blur: blur(16px);
  
  /* Radii */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
  
  /* Layout */
  --container-max: 1280px;
  --header-height: 80px;
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Reset & Box Sizing */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

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

/* Background Atmospheric Mesh */
.bg-ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background: 
    radial-gradient(circle at 15% 20%, rgba(14, 165, 233, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 85% 60%, rgba(16, 185, 129, 0.06) 0%, transparent 40%),
    radial-gradient(circle at 50% 85%, rgba(59, 130, 246, 0.07) 0%, transparent 50%),
    #090e1a;
}

/* Grid overlay pattern */
.bg-grid-pattern {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background-size: 60px 60px;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  mask-image: radial-gradient(circle at 50% 30%, black 40%, transparent 80%);
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

p {
  color: var(--text-muted);
}

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

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

/* Gradient Text Effect */
.text-gradient {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Containers */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

/* Section Spacing */
.section {
  padding-block: 6rem;
  position: relative;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(14, 165, 233, 0.1);
  border: 1px solid rgba(14, 165, 233, 0.3);
  border-radius: var(--radius-full);
  color: var(--accent-cyan);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin-inline: auto;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.125rem;
}

/* ==========================================================================
   BUTTONS & CTAs
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-weight: 600;
  font-size: 0.975rem;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-smooth);
  white-space: nowrap;
  font-family: inherit;
  user-select: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gradient-brand);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(14, 165, 233, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(14, 165, 233, 0.55);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.15);
  color: var(--text-main);
  backdrop-filter: var(--backdrop-blur);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  transform: translateY(-2px);
}

.btn-outline-cyan {
  background: transparent;
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

.btn-outline-cyan:hover {
  background: rgba(14, 165, 233, 0.15);
  color: #ffffff;
}

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

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

.btn svg {
  width: 1.15em;
  height: 1.15em;
  transition: transform var(--transition-fast);
}

.btn:hover svg {
  transform: translateX(3px);
}

/* ==========================================================================
   NAVIGATION BAR
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  background: rgba(9, 14, 26, 0.85);
  backdrop-filter: var(--backdrop-blur);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  transition: all var(--transition-fast);
}

.site-header.scrolled {
  background: rgba(9, 14, 26, 0.95);
  box-shadow: var(--shadow-lg);
  border-bottom-color: rgba(14, 165, 233, 0.2);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.logo-badge {
  width: 40px;
  height: 40px;
  background: var(--gradient-brand);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-glow);
}

.logo-badge svg {
  width: 22px;
  height: 22px;
  color: #fff;
}

.brand-text-sub {
  color: var(--accent-cyan);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding-block: 0.5rem;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-main);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--gradient-brand);
  transition: width var(--transition-fast);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Admin Quick Access Button in Header */
.admin-badge-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.admin-badge-btn:hover {
  background: rgba(14, 165, 233, 0.15);
  border-color: var(--accent-cyan);
  color: #ffffff;
}

.admin-lead-counter {
  background: var(--accent-cyan);
  color: #090e1a;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.1rem 0.45rem;
  line-height: 1;
}

/* Mobile Hamburger Toggle */
.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-main);
  cursor: pointer;
  padding: 0.5rem;
  border-radius: var(--radius-sm);
}

.mobile-toggle svg {
  width: 26px;
  height: 26px;
}

/* ==========================================================================
   MOBILE MENU DRAWER
   ========================================================================== */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(9, 14, 26, 0.8);
  backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-smooth);
}

.mobile-drawer.active {
  opacity: 1;
  pointer-events: auto;
}

.drawer-content {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(85vw, 360px);
  background: var(--navy-surface);
  border-left: 1px solid var(--navy-border);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  transform: translateX(100%);
  transition: transform var(--transition-smooth);
  box-shadow: var(--shadow-lg);
  overflow-y: auto;
}

.mobile-drawer.active .drawer-content {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--navy-border);
}

.drawer-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.drawer-nav-list a {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-main);
  display: block;
}

.drawer-nav-list a:hover {
  color: var(--accent-cyan);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  padding-top: calc(var(--header-height) + 2rem);
  padding-bottom: 5rem;
  position: relative;
  overflow: hidden;
}

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

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 1rem;
  background: rgba(14, 165, 233, 0.1);
  border: 1px solid rgba(14, 165, 233, 0.25);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-cyan);
  margin-bottom: 1.5rem;
}

.hero-pill .dot {
  width: 8px;
  height: 8px;
  background: var(--accent-emerald);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-emerald);
  animation: pulse-dot 2s infinite;
}

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

.hero-title {
  font-size: clamp(2.5rem, 5vw, 3.85rem);
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
}

.hero-description {
  font-size: 1.2rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 2.25rem;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 3rem;
}

.hero-trust-badges {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.trust-item svg {
  color: var(--accent-emerald);
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.trust-item span {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Hero Visual / Dashboard Preview */
.hero-visual-wrapper {
  position: relative;
}

.hero-visual-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(14, 165, 233, 0.25);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  background: var(--navy-card);
  transition: transform var(--transition-smooth);
}

.hero-visual-card:hover {
  transform: translateY(-4px) scale(1.01);
}

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

.floating-kpi-card {
  position: absolute;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-lg);
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: var(--backdrop-blur);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 1rem;
  z-index: 10;
  animation: float-kpi 4s ease-in-out infinite alternate;
}

.floating-kpi-card.top-right {
  top: -1.5rem;
  right: -1rem;
}

.floating-kpi-card.bottom-left {
  bottom: -1.5rem;
  left: -1rem;
  animation-delay: -2s;
}

@keyframes float-kpi {
  0% { transform: translateY(0); }
  100% { transform: translateY(-8px); }
}

.kpi-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(14, 165, 233, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
}

.kpi-text h4 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
}

.kpi-text p {
  font-size: 0.75rem;
  color: var(--accent-emerald);
  font-weight: 600;
}

/* ==========================================================================
   METRICS & STATS BAR
   ========================================================================== */
.stats-section {
  padding-block: 3.5rem;
  background: var(--navy-surface);
  border-block: 1px solid var(--navy-border);
}

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

.stat-card {
  text-align: center;
  position: relative;
}

.stat-card:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -1rem;
  top: 20%;
  height: 60%;
  width: 1px;
  background: rgba(255, 255, 255, 0.08);
}

.stat-number {
  font-size: clamp(2.25rem, 3.5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ==========================================================================
   SERVICES GRID (WITH "KNOW MORE" BUTTONS)
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  background: var(--gradient-card);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-brand);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(14, 165, 233, 0.4);
  box-shadow: var(--shadow-lg), 0 0 25px rgba(14, 165, 233, 0.12);
}

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

.service-icon-box {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  background: rgba(14, 165, 233, 0.12);
  border: 1px solid rgba(14, 165, 233, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  margin-bottom: 1.5rem;
}

.service-icon-box svg {
  width: 28px;
  height: 28px;
  display: block;
  flex-shrink: 0;
  stroke: var(--accent-cyan);
}

.service-title {
  font-size: 1.35rem;
  margin-bottom: 0.85rem;
}

.service-desc {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.service-highlights {
  list-style: none;
  margin-bottom: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.service-highlights li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-main);
}

.service-highlights li svg {
  color: var(--accent-emerald);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.service-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* ==========================================================================
   FOUNDERS SECTION (2 FOUNDERS WITH PLACEHOLDERS / PHOTOS & CREDENTIALS)
   ========================================================================== */
.founders-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  max-width: 1040px;
  margin-inline: auto;
}

.founder-card {
  background: var(--gradient-card);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.founder-card:hover {
  transform: translateY(-6px);
  border-color: rgba(14, 165, 233, 0.35);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.founder-image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #0f172a;
  overflow: hidden;
}

.founder-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.founder-card:hover .founder-image-wrapper img {
  transform: scale(1.03);
}

.founder-badge {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  padding: 0.4rem 0.9rem;
  background: rgba(9, 14, 26, 0.85);
  backdrop-filter: var(--backdrop-blur);
  border: 1px solid rgba(14, 165, 233, 0.4);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.founder-info {
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.founder-name {
  font-size: 1.6rem;
  margin-bottom: 0.35rem;
}

.founder-role {
  color: var(--accent-cyan);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.founder-bio {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.founder-credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

.cred-pill {
  font-size: 0.775rem;
  padding: 0.3rem 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  color: var(--text-main);
  font-weight: 500;
}

.founder-socials {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.social-link:hover {
  background: var(--accent-cyan);
  color: #090e1a;
  border-color: var(--accent-cyan);
  transform: translateY(-2px);
}

.social-link svg {
  width: 16px;
  height: 16px;
}

/* ==========================================================================
   INTERACTIVE PATIENT ROI / GROWTH CALCULATOR FOR DOCTORS & HOSPITALS
   ========================================================================== */
.calc-section {
  background: linear-gradient(180deg, var(--navy-surface) 0%, var(--primary-navy) 100%);
  border-block: 1px solid var(--navy-border);
}

.calc-box {
  background: var(--navy-card);
  border: 1px solid rgba(14, 165, 233, 0.25);
  border-radius: var(--radius-xl);
  padding: 3rem;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
}

.calc-controls {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.calc-control-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.calc-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.calc-label {
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-main);
}

.calc-val-display {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent-cyan);
}

.calc-range {
  width: 100%;
  height: 8px;
  border-radius: var(--radius-full);
  background: #1e293b;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}

.calc-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent-cyan);
  cursor: pointer;
  box-shadow: 0 0 10px var(--accent-cyan);
  border: 2px solid #fff;
  transition: transform 0.1s;
}

.calc-range::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.calc-result-card {
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(14, 165, 233, 0.3);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: inset 0 0 30px rgba(14, 165, 233, 0.05);
}

.calc-result-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.calc-result-number {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 800;
  color: var(--accent-emerald);
  margin-bottom: 0.5rem;
  line-height: 1.1;
}

.calc-result-sub {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

/* ==========================================================================
   CASE STUDIES & RESULTS
   ========================================================================== */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.case-card {
  background: var(--navy-card);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-smooth);
}

.case-card:hover {
  border-color: rgba(14, 165, 233, 0.35);
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.case-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 0.75rem;
  letter-spacing: 0.05em;
}

.case-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.case-metric-box {
  background: rgba(14, 165, 233, 0.08);
  border: 1px solid rgba(14, 165, 233, 0.2);
  border-radius: var(--radius-md);
  padding: 1rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  text-align: center;
  margin-bottom: 1.5rem;
}

.case-metric-val {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent-emerald);
}

.case-metric-lbl {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ==========================================================================
   TESTIMONIALS / DOCTOR REVIEWS
   ========================================================================== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.review-card {
  background: var(--gradient-card);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
}

.review-stars {
  display: flex;
  gap: 0.25rem;
  color: var(--accent-amber);
  margin-bottom: 1.25rem;
}

.review-stars svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.review-quote {
  font-size: 0.975rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
  flex-grow: 1;
  font-style: italic;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--navy-hover);
  border: 2px solid var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--accent-cyan);
}

.author-meta h5 {
  font-size: 1rem;
  margin-bottom: 0.15rem;
}

.author-meta p {
  font-size: 0.825rem;
  color: var(--text-dim);
}

/* ==========================================================================
   CALL TO ACTION BANNER
   ========================================================================== */
.cta-banner {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.15) 0%, rgba(6, 182, 212, 0.1) 50%, rgba(16, 185, 129, 0.15) 100%),
              var(--navy-surface);
  border: 1px solid rgba(14, 165, 233, 0.35);
  border-radius: var(--radius-xl);
  padding: 4.5rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.cta-banner h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  margin-bottom: 1.25rem;
}

.cta-banner p {
  font-size: 1.2rem;
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: 2.5rem;
}

/* ==========================================================================
   MODAL / POPUP DIALOGS (KNOW MORE & BOOK FREE CONSULTATION)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(9, 14, 26, 0.85);
  backdrop-filter: var(--backdrop-blur);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-smooth);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-window {
  background: var(--navy-surface);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 640px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg), 0 0 50px rgba(14, 165, 233, 0.2);
  transform: translateY(20px) scale(0.97);
  transition: transform var(--transition-smooth);
  position: relative;
}

.modal-overlay.active .modal-window {
  transform: translateY(0) scale(1);
}

.modal-header {
  padding: 2rem 2.25rem 1.25rem;
  border-bottom: 1px solid var(--navy-border);
  position: relative;
}

.modal-title {
  font-size: 1.6rem;
  margin-bottom: 0.4rem;
}

.modal-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.modal-close-btn {
  position: absolute;
  top: 1.75rem;
  right: 1.75rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: rgba(244, 63, 94, 0.2);
  border-color: var(--accent-rose);
  color: #fff;
}

.modal-body {
  padding: 2rem 2.25rem 2.5rem;
}

/* Modal Form Controls */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group-full {
  grid-column: 1 / -1;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.form-label .required {
  color: var(--accent-rose);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.85rem 1.1rem;
  background: rgba(20, 30, 51, 0.7);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-md);
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.2);
  background: rgba(20, 30, 51, 0.95);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-dim);
}

.form-select {
  cursor: pointer;
}

.form-select option {
  background: #0f172a;
  color: #fff;
}

.form-privacy-note {
  font-size: 0.8rem;
  color: var(--text-dim);
  text-align: center;
  margin-top: 1rem;
}

/* Success Confirmation State */
.modal-success-state {
  display: none;
  text-align: center;
  padding: 3rem 2rem;
}

.success-icon-box {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  border: 2px solid var(--accent-emerald);
  color: var(--accent-emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-inline: auto;
  margin-bottom: 1.5rem;
}

.success-icon-box svg {
  width: 36px;
  height: 36px;
}

/* ==========================================================================
   ADMIN PANEL (FULL-FEATURED CMS, LEADS DASHBOARD & FORM CONFIGURATOR)
   ========================================================================== */
.admin-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: rgba(9, 14, 26, 0.92);
  backdrop-filter: var(--backdrop-blur);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-smooth);
}

.admin-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.admin-container {
  background: var(--navy-surface);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 1200px;
  height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 60px rgba(14, 165, 233, 0.25);
}

/* Admin Top Bar */
.admin-topbar {
  padding: 1.25rem 2rem;
  border-bottom: 1px solid var(--navy-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(15, 23, 42, 0.95);
}

.admin-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.admin-badge {
  padding: 0.25rem 0.6rem;
  background: rgba(14, 165, 233, 0.15);
  color: var(--accent-cyan);
  border: 1px solid rgba(14, 165, 233, 0.3);
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.admin-nav-tabs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(20, 30, 51, 0.6);
  padding: 0.35rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--navy-border);
}

.admin-tab-btn {
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all var(--transition-fast);
  font-family: inherit;
}

.admin-tab-btn.active {
  background: var(--accent-cyan);
  color: #090e1a;
  box-shadow: 0 2px 10px rgba(14, 165, 233, 0.4);
}

.admin-tab-btn svg {
  width: 16px;
  height: 16px;
}

/* Admin Content Body */
.admin-body {
  flex-grow: 1;
  overflow-y: auto;
  padding: 2rem;
  background: #0b1120;
}

.admin-tab-content {
  display: none;
}

.admin-tab-content.active {
  display: block;
}

/* Leads Table Toolbar */
.leads-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.leads-filters {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.search-input-wrapper {
  position: relative;
  min-width: 260px;
}

.search-input-wrapper svg {
  position: absolute;
  left: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-dim);
  width: 18px;
  height: 18px;
}

.search-input-wrapper input {
  padding-left: 2.5rem;
}

/* Leads Data Table */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-lg);
  background: var(--navy-card);
}

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

.admin-table th {
  padding: 1rem 1.25rem;
  background: rgba(15, 23, 42, 0.9);
  color: var(--text-muted);
  font-weight: 600;
  border-bottom: 1px solid var(--navy-border);
  white-space: nowrap;
}

.admin-table td {
  padding: 1.1rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  vertical-align: middle;
}

.admin-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.lead-status-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.status-new {
  background: rgba(14, 165, 233, 0.15);
  color: var(--accent-cyan);
  border: 1px solid rgba(14, 165, 233, 0.3);
}

.status-contacted {
  background: rgba(245, 158, 11, 0.15);
  color: var(--accent-amber);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.status-scheduled {
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-emerald);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.status-closed {
  background: rgba(148, 163, 184, 0.15);
  color: var(--text-muted);
  border: 1px solid rgba(148, 163, 184, 0.3);
}

/* Admin CMS Form Blocks */
.cms-card {
  background: var(--navy-card);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 2rem;
}

.cms-card-header {
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cms-card-header h3 {
  font-size: 1.25rem;
}

.cms-preview-thumb {
  width: 90px;
  height: 90px;
  border-radius: var(--radius-md);
  object-fit: cover;
  border: 2px solid var(--accent-cyan);
}

.image-upload-wrapper {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-top: 0.5rem;
}

/* Authentication Gate for Admin */
.admin-auth-box {
  max-width: 440px;
  margin: 4rem auto;
  background: var(--navy-card);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-xl);
  padding: 2.75rem 2.25rem;
  text-align: center;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.admin-auth-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(14, 165, 233, 0.12);
  border: 1px solid rgba(14, 165, 233, 0.3);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-inline: auto;
  margin-bottom: 1.5rem;
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  pointer-events: none;
}

.toast {
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid var(--accent-cyan);
  backdrop-filter: var(--backdrop-blur);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  color: #fff;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transform: translateY(20px);
  opacity: 0;
  transition: all var(--transition-fast);
  pointer-events: auto;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast.success {
  border-color: var(--accent-emerald);
}

/* Floating Consultation Action Bar (Mobile & Desktop) */
.floating-cta-bar {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(120px);
  z-index: 90;
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: var(--backdrop-blur);
  border: 1px solid rgba(14, 165, 233, 0.3);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-lg), 0 0 30px rgba(14, 165, 233, 0.25);
  display: flex;
  align-items: center;
  gap: 1.25rem;
  transition: transform var(--transition-smooth);
}

.floating-cta-bar.visible {
  transform: translateX(-50%) translateY(0);
}

.floating-cta-text {
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: #060a12;
  border-top: 1px solid var(--navy-border);
  padding-top: 5rem;
  padding-bottom: 2rem;
}

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

.footer-col h4 {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: #fff;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.925rem;
}

.footer-links a:hover {
  color: var(--accent-cyan);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.875rem;
  color: var(--text-dim);
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS (MOBILE & TABLET UI EXCELLENCE)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3.5rem;
  }
  
  .hero-description {
    margin-inline: auto;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-trust-badges {
    justify-content: center;
  }
  
  .hero-visual-card {
    max-width: 650px;
    margin-inline: auto;
  }
  
  .services-grid,
  .cases-grid,
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .founders-grid {
    grid-template-columns: 1fr;
    max-width: 580px;
  }
  
  .calc-box {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 2.25rem;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
  
  .stat-card:not(:last-child)::after {
    display: none;
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links,
  .nav-actions .btn-primary {
    display: none;
  }
  
  .mobile-toggle {
    display: block;
  }
  
  .section {
    padding-block: 4rem;
  }
  
  .services-grid,
  .cases-grid,
  .reviews-grid {
    grid-template-columns: 1fr;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .form-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .floating-kpi-card {
    position: static;
    margin-top: 1rem;
    animation: none;
  }
  
  .floating-cta-bar {
    width: 90%;
    justify-content: space-between;
    padding: 0.6rem 1rem;
  }
  
  .floating-cta-text {
    display: none;
  }
  
  .admin-topbar {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }
  
  .admin-nav-tabs {
    width: 100%;
    overflow-x: auto;
  }
}
