/* ═══════════════════════════════════════════════════════════════════════
   FUSION THEME - Public Website Stylesheet
   ghalichiMD - Dr. Mohammad Ghalichi
   ═══════════════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════════════
   CSS VARIABLES
   ═══════════════════════════════════════════════════════════════════════ */
:root {
  /* Darker theme - closer to black */
  --blue-900: #050508;
  --blue-800: #0a0a0f;
  --blue-700: #101018;
  --blue-600: #2563eb;
  --blue-500: #3b82f6;
  --blue-400: #60a5fa;
  --cyan-400: #22d3ee;
  --cyan-500: #06b6d4;
}

/* ═══════════════════════════════════════════════════════════════════════
   BASE STYLES
   ═══════════════════════════════════════════════════════════════════════ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--blue-900);
  color: #e2e8f0;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ═══════════════════════════════════════════════════════════════════════
   NAVBAR - Transparent over hero
   ═══════════════════════════════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(5, 5, 8, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.nav-logo-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.nav-logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.nav-logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: white;
  letter-spacing: -0.02em;
}

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

@media (min-width: 1024px) {
  .nav-links {
    display: flex;
  }
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: white;
}

/* Desktop Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s ease;
}

.nav-dropdown-toggle:hover {
  color: white;
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 200px;
  background: rgba(5, 5, 8, 0.98);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 0.5rem;
  margin-top: 0.75rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
}

.nav-dropdown-item {
  display: block;
  padding: 0.75rem 1rem;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.875rem;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.nav-dropdown-item:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.5rem;
  background: linear-gradient(135deg, var(--blue-500), var(--cyan-500));
  color: white;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 100px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.3);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(59, 130, 246, 0.4);
}

.mobile-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 12px;
  color: white;
  font-size: 1.25rem;
  cursor: pointer;
}

@media (min-width: 1024px) {
  .mobile-toggle {
    display: none;
  }
}

/* ═══════════════════════════════════════════════════════════════════════
   MOBILE MENU
   ═══════════════════════════════════════════════════════════════════════ */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--blue-900);
  z-index: 200;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
}

.mobile-menu-close {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 12px;
  color: white;
  font-size: 1.25rem;
  cursor: pointer;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: white;
  text-decoration: none;
  padding: 1rem 1.25rem;
  margin-bottom: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: none;
  border-radius: 12px;
  transition: background 0.2s ease;
  width: 100%;
  text-align: left;
  cursor: pointer;
}

.mobile-nav-link:hover {
  background: rgba(255, 255, 255, 0.1);
}

.mobile-nav-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
}

.mobile-nav-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.mobile-nav-title {
  font-size: 1rem;
  font-weight: 600;
  color: white;
}

.mobile-nav-sub {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.3;
}

.mobile-nav-link > i {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.875rem;
  flex-shrink: 0;
}

/* Mobile Dropdown */
.mobile-nav-dropdown {
  margin-bottom: 0.5rem;
}

.mobile-dropdown-toggle .dropdown-chevron {
  transition: transform 0.3s ease;
}

.mobile-dropdown-toggle.open .dropdown-chevron {
  transform: rotate(180deg);
}

.mobile-dropdown-menu {
  display: none;
  padding: 0.5rem 0 0.5rem 4rem;
}

.mobile-dropdown-menu.open {
  display: block;
}

.mobile-dropdown-item {
  display: block;
  padding: 0.75rem 1rem;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.9375rem;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.mobile-dropdown-item:hover {
  background: rgba(255, 255, 255, 0.08);
  color: white;
}

/* ═══════════════════════════════════════════════════════════════════════
   HERO - Full viewport with centered content
   ═══════════════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-video-container {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(5, 5, 8, 0.4) 0%,
    rgba(5, 5, 8, 0.6) 50%,
    rgba(5, 5, 8, 0.95) 100%
  );
  z-index: 1;
}

.hero-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 50% 20%, rgba(59, 130, 246, 0.15), transparent 60%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 0 1.5rem;
  max-width: 900px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.5rem;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--cyan-400);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--cyan-400);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.hero-title {
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: white;
  margin-bottom: 1.5rem;
}

.hero-title-gradient {
  background: linear-gradient(135deg, var(--blue-400), var(--cyan-400));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 600px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

.hero-cta-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 3rem;
}

@media (min-width: 640px) {
  .hero-cta-group {
    flex-direction: row;
  }
}

/* ═══════════════════════════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════════════════════════ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, var(--blue-500), var(--cyan-500));
  color: white;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 12px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.3);
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(59, 130, 246, 0.4);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: rgba(255, 255, 255, 0.08);
  color: white;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
}

/* Hero Indicators */
.hero-indicators {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
}

.hero-dot {
  width: 40px;
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero-dot.active {
  background: linear-gradient(90deg, var(--blue-400), var(--cyan-400));
  width: 60px;
}

/* ═══════════════════════════════════════════════════════════════════════
   PHYSICIAN CARD - Below hero
   ═══════════════════════════════════════════════════════════════════════ */
.physician-section {
  padding: 5rem 1.5rem;
  background: linear-gradient(180deg, var(--blue-900) 0%, var(--blue-800) 100%);
}

.physician-card {
  max-width: 900px;
  margin: 0 auto;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 768px) {
  .physician-card {
    flex-direction: row;
    align-items: flex-start;
    padding: 3rem;
  }
}

.physician-photo {
  width: 140px;
  height: 140px;
  border-radius: 24px;
  object-fit: cover;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .physician-photo {
    width: 160px;
    height: 160px;
  }
}

.physician-info {
  text-align: center;
  flex: 1;
}

@media (min-width: 768px) {
  .physician-info {
    text-align: left;
  }
}

.physician-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.25rem;
}

.physician-title {
  font-size: 0.875rem;
  color: var(--cyan-400);
  margin-bottom: 1rem;
}

.physician-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .physician-badges {
    justify-content: flex-start;
  }
}

.physician-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.75rem;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 100px;
  font-size: 0.75rem;
  color: var(--blue-400);
}

.physician-desc {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

.physician-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--blue-400);
  text-decoration: none;
  transition: gap 0.2s ease;
}

.physician-link:hover {
  gap: 0.75rem;
}

/* ═══════════════════════════════════════════════════════════════════════
   AFFILIATIONS / LOGOS
   ═══════════════════════════════════════════════════════════════════════ */
.affiliations-section {
  padding: 5rem 1.5rem;
  background: #f8fafc;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.affiliations-label {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #64748b;
  margin-bottom: 2.5rem;
}

.affiliations-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .affiliations-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
  }
}

.affiliation-card {
  aspect-ratio: 16/9;
  background: white;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  transition: all 0.4s ease;
  overflow: hidden;
}

.affiliation-card:hover {
  border-color: rgba(59, 130, 246, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.affiliation-card img {
  max-width: 100%;
  max-height: 70px;
  object-fit: contain;
  transition: transform 0.4s ease;
}

@media (min-width: 768px) {
  .affiliation-card img {
    max-height: 100px;
  }
}

@media (min-width: 1024px) {
  .affiliation-card img {
    max-height: 120px;
  }
}

.affiliation-card:hover img {
  transform: translateY(-4px);
}

/* ═══════════════════════════════════════════════════════════════════════
   LONGEVITY EVALUATION SECTION
   ═══════════════════════════════════════════════════════════════════════ */
.longevity-section {
  padding: 6rem 1.5rem;
  background: var(--blue-900);
}

.longevity-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.longevity-header {
  text-align: center;
  margin-bottom: 4rem;
}

.longevity-overline {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--cyan-400);
  margin-bottom: 1rem;
}

.longevity-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: white;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.longevity-desc {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.6);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
}

.longevity-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .longevity-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.longevity-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 2rem;
  transition: all 0.3s ease;
}

.longevity-card:hover {
  border-color: rgba(59, 130, 246, 0.3);
  transform: translateY(-4px);
}

.longevity-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.longevity-card-number {
  font-size: 4rem;
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(135deg, var(--blue-500), var(--cyan-400));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.longevity-card-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(6, 182, 212, 0.1));
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--cyan-400);
}

.longevity-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.5rem;
}

.longevity-card-time {
  font-size: 0.875rem;
  color: var(--cyan-400);
  margin-bottom: 1rem;
}

.longevity-card p {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
}

.longevity-card-details {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.longevity-card-detail {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
}

.longevity-card-detail i {
  color: var(--blue-400);
  font-size: 1rem;
}

.longevity-cta {
  text-align: center;
  margin-top: 3rem;
}

/* ═══════════════════════════════════════════════════════════════════════
   PODCAST SECTION
   ═══════════════════════════════════════════════════════════════════════ */
.podcast-section {
  padding: 6rem 1.5rem;
  background: var(--blue-800);
}

.podcast-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.podcast-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  overflow: hidden;
  display: grid;
}

@media (min-width: 768px) {
  .podcast-card {
    grid-template-columns: 1fr 1fr;
  }
}

.podcast-thumbnail {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}

@media (min-width: 768px) {
  .podcast-thumbnail {
    aspect-ratio: auto;
    min-height: 350px;
  }
}

.podcast-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.podcast-thumbnail:hover img {
  transform: scale(1.08);
}

.podcast-thumbnail-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.podcast-thumbnail:hover .podcast-thumbnail-overlay {
  background: rgba(0, 0, 0, 0.1);
}

.podcast-play-btn {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, var(--blue-500), var(--cyan-500));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 8px 30px rgba(59, 130, 246, 0.4);
}

.podcast-thumbnail:hover .podcast-play-btn {
  transform: scale(1.1);
  box-shadow: 0 12px 40px rgba(59, 130, 246, 0.5);
}

.podcast-content {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.podcast-overline {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--cyan-400);
  margin-bottom: 0.75rem;
}

.podcast-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.podcast-desc {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.podcast-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.podcast-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  font-size: 0.875rem;
  font-weight: 600;
  color: white;
  text-decoration: none;
  transition: all 0.2s ease;
}

.podcast-btn:hover {
  background: rgba(255, 255, 255, 0.12);
}

.podcast-btn.youtube {
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.3);
}

.podcast-btn.youtube:hover {
  background: rgba(239, 68, 68, 0.25);
}

/* ═══════════════════════════════════════════════════════════════════════
   CORONARY ANATOMY SECTION
   ═══════════════════════════════════════════════════════════════════════ */
.anatomy-section {
  padding: 6rem 1.5rem;
  background: linear-gradient(180deg, var(--blue-800) 0%, var(--blue-900) 100%);
}

.anatomy-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.anatomy-header {
  text-align: center;
  margin-bottom: 3rem;
}

.anatomy-overline {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--cyan-400);
  margin-bottom: 1rem;
}

.anatomy-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: white;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.anatomy-desc {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.6);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
}

.anatomy-image-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.anatomy-image {
  max-width: 100%;
  height: auto;
  max-height: 600px;
  object-fit: contain;
  filter: drop-shadow(0 20px 60px rgba(6, 182, 212, 0.2));
}

@media (min-width: 768px) {
  .anatomy-image {
    max-height: 700px;
  }
}

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

/* ═══════════════════════════════════════════════════════════════════════
   CTA SECTION
   ═══════════════════════════════════════════════════════════════════════ */
.cta-section {
  padding: 6rem 1.5rem;
  background: linear-gradient(135deg, var(--blue-900), var(--blue-800));
}

.cta-card {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(6, 182, 212, 0.05));
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 24px;
  padding: 3rem 2rem;
}

@media (min-width: 768px) {
  .cta-card {
    padding: 4rem 3rem;
  }
}

.cta-title {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  color: white;
  margin-bottom: 1rem;
}

.cta-desc {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 2rem;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .cta-buttons {
    flex-direction: row;
  }
}

.cta-location {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
}

.cta-location strong {
  color: white;
  display: block;
  margin-bottom: 0.25rem;
}

/* ═══════════════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════════════ */
.footer {
  padding: 4rem 1.5rem 2rem;
  background: var(--blue-900);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

.footer-brand p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 1rem;
}

.footer-brand .footer-copyright {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.35);
  margin-top: 1.5rem;
}

.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 0.5rem;
}

.footer-col a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: white;
}

.footer-col.footer-contact li {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0.5rem;
}

.footer-col.footer-contact a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ═══════════════════════════════════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════════════════════════════════ */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-up {
  animation: fadeUp 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.1s; opacity: 0; }
.delay-2 { animation-delay: 0.2s; opacity: 0; }
.delay-3 { animation-delay: 0.3s; opacity: 0; }
.delay-4 { animation-delay: 0.4s; opacity: 0; }

/* ═══════════════════════════════════════════════════════════════════════
   UTILITY CLASSES
   ═══════════════════════════════════════════════════════════════════════ */
.section-dark {
  background: var(--blue-900);
}

.section-darker {
  background: var(--blue-800);
}

.section-light {
  background: #f8fafc;
  color: #1e293b;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

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

/* ═══════════════════════════════════════════════════════════════════════
   FORM STYLES (for intake forms, contact forms)
   ═══════════════════════════════════════════════════════════════════════ */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.5rem;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 0.875rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: white;
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.2s ease;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--blue-500);
  background: rgba(255, 255, 255, 0.08);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.form-textarea {
  min-height: 150px;
  resize: vertical;
}

.form-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='rgba(255,255,255,0.6)' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-select option {
  background: var(--blue-800);
  color: white;
}

.form-checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.form-checkbox {
  width: 20px;
  height: 20px;
  accent-color: var(--blue-500);
  cursor: pointer;
}

.form-checkbox-label {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
}

.form-error {
  font-size: 0.8125rem;
  color: #ef4444;
  margin-top: 0.5rem;
}

.form-help {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 0.5rem;
}

/* Light background form styles */
.section-light .form-label {
  color: #374151;
}

.section-light .form-input,
.section-light .form-textarea,
.section-light .form-select {
  background: white;
  border-color: #e5e7eb;
  color: #1f2937;
}

.section-light .form-input:focus,
.section-light .form-textarea:focus,
.section-light .form-select:focus {
  border-color: var(--blue-500);
  background: white;
}

.section-light .form-input::placeholder,
.section-light .form-textarea::placeholder {
  color: #9ca3af;
}

.section-light .form-checkbox-label {
  color: #4b5563;
}

/* ═══════════════════════════════════════════════════════════════════════
   PAGE HEADER (for inner pages)
   ═══════════════════════════════════════════════════════════════════════ */
.page-header {
  padding: 8rem 1.5rem 4rem;
  background: linear-gradient(180deg, var(--blue-900) 0%, var(--blue-800) 100%);
  text-align: center;
}

.page-header-inner {
  max-width: 800px;
  margin: 0 auto;
}

.page-header-overline {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--cyan-400);
  margin-bottom: 1rem;
}

.page-header-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: white;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.page-header-desc {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════════════════════
   CONTENT SECTIONS (for inner pages)
   ═══════════════════════════════════════════════════════════════════════ */
.content-section {
  padding: 5rem 1.5rem;
}

.content-section-inner {
  max-width: 900px;
  margin: 0 auto;
}

.content-section h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1.5rem;
}

.content-section p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

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

.content-section li {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  margin-bottom: 0.5rem;
}

/* Light background content */
.section-light h2 {
  color: #1e293b;
}

.section-light p,
.section-light li {
  color: #475569;
}

/* ═══════════════════════════════════════════════════════════════════════
   CARD GRID (for services, features, etc.)
   ═══════════════════════════════════════════════════════════════════════ */
.card-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .card-grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 2rem;
  transition: all 0.3s ease;
}

.feature-card:hover {
  border-color: rgba(59, 130, 246, 0.3);
  transform: translateY(-4px);
}

.feature-card-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(6, 182, 212, 0.1));
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--cyan-400);
  margin-bottom: 1.25rem;
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.75rem;
}

.feature-card p {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
}

/* Light background cards */
.section-light .feature-card {
  background: white;
  border-color: #e5e7eb;
}

.section-light .feature-card:hover {
  border-color: var(--blue-500);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.section-light .feature-card h3 {
  color: #1e293b;
}

.section-light .feature-card p {
  color: #64748b;
}

/* ═══════════════════════════════════════════════════════════════════════
   ALERTS / MESSAGES
   ═══════════════════════════════════════════════════════════════════════ */
.messages-container {
  position: fixed;
  top: 90px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  width: 100%;
  max-width: 550px;
  padding: 0 1rem;
}

.alert {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 1.125rem 1.5rem;
  margin-bottom: 0.75rem;
  border-radius: 16px;
  font-size: 0.9375rem;
  font-weight: 500;
  animation: alertSlideDown 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.alert-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  flex-shrink: 0;
}

.alert-content {
  flex: 1;
}

.alert-success {
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.2), rgba(59, 130, 246, 0.15));
  border: 1px solid rgba(34, 211, 238, 0.4);
  color: white;
}

.alert-success .alert-icon {
  background: linear-gradient(135deg, var(--cyan-500), var(--blue-500));
  color: white;
}

.alert-close {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 8px;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.alert-close:hover {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

@keyframes alertSlideDown {
  from {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
