/* ==========================================================================
   DICOTIX — 3D SCROLL-DRIVEN CLINICAL ECOSYSTEM
   Design System & Styling
   ========================================================================== */

:root {
  --bg-deep: #05070D;
  --bg-surface: rgba(11, 16, 30, 0.72);
  --bg-card: rgba(14, 22, 42, 0.6);
  --bg-card-hover: rgba(20, 31, 60, 0.85);

  --accent-cyan: #3EE0D6;
  --accent-blue: #5B8CFF;
  --accent-amber: #F5A623;
  --accent-glow: rgba(62, 224, 214, 0.25);

  --text-primary: #F0F4FC;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(62, 224, 214, 0.35);
  --border-blue: rgba(91, 140, 255, 0.3);

  --font-heading: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 9999px;

  --transition-smooth: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-deep);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

body {
  position: relative;
  background-color: var(--bg-deep);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 7px;
}
::-webkit-scrollbar-track {
  background: var(--bg-deep);
}
::-webkit-scrollbar-thumb {
  background: rgba(91, 140, 255, 0.3);
  border-radius: var(--radius-pill);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-cyan);
}

/* Canvas Wrapper (Fixed 3D WebGL Background) */
#canvas-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

/* Dynamic Ambient Glow Overlays */
.ambient-glow-1 {
  position: fixed;
  top: -20%;
  left: 15%;
  width: 60vw;
  height: 60vh;
  background: radial-gradient(circle, rgba(91, 140, 255, 0.08) 0%, rgba(5, 7, 13, 0) 70%);
  z-index: 1;
  pointer-events: none;
}
.ambient-glow-2 {
  position: fixed;
  bottom: 10%;
  right: 5%;
  width: 50vw;
  height: 50vh;
  background: radial-gradient(circle, rgba(62, 224, 214, 0.06) 0%, rgba(5, 7, 13, 0) 70%);
  z-index: 1;
  pointer-events: none;
}

/* Content Container Wrapper */
.content-wrapper {
  position: relative;
  z-index: 10;
  width: 100%;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.75rem;
}

/* Preloader */
#preloader {
  position: fixed;
  inset: 0;
  background: var(--bg-deep);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: opacity 0.8s var(--transition-smooth), visibility 0.8s ease;
}

.preloader-content {
  text-align: center;
  max-width: 320px;
}

.preloader-brand {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #fff;
  margin-bottom: 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.preloader-logo {
  height: 72px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 20px rgba(62, 224, 214, 0.55));
  margin-bottom: 0.5rem;
}

.preloader-brand span {
  color: var(--accent-cyan);
}

.preloader-slogan {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--accent-cyan);
  text-transform: uppercase;
  margin-top: -0.25rem;
  margin-bottom: 0.4rem;
}

.brand-icon-box {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(62, 224, 214, 0.15), rgba(91, 140, 255, 0.15));
  border: 1px solid var(--border-glow);
  color: var(--accent-cyan);
  box-shadow: 0 0 14px rgba(62, 224, 214, 0.25);
  flex-shrink: 0;
}

.brand-text-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  line-height: 1.1;
}

.brand-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #fff;
  line-height: 1;
  display: block;
}

.brand-tagline {
  font-size: 0.62rem;
  font-family: var(--font-body);
  letter-spacing: 0.12em;
  color: var(--accent-cyan);
  text-transform: uppercase;
  font-weight: 600;
  margin-top: 4px;
  white-space: nowrap;
  display: block;
}

.preloader-text {
  font-size: 0.85rem;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
}

.preloader-bar-wrap {
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-pill);
  overflow: hidden;
  position: relative;
}

.preloader-bar-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-cyan), var(--accent-amber));
  transition: width 0.15s ease-out;
  box-shadow: 0 0 12px var(--accent-cyan);
}

.preloader-number {
  margin-top: 0.85rem;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--accent-cyan);
}

/* ==========================================================================
   NAVBAR
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: all 0.4s ease;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  background: rgba(5, 7, 13, 0.82);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.75rem 0;
}

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

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #fff;
}

/* Logo Emblem Pill (Jilet Gibi Net, Orijinal Renk ve Çözünürlük) */
.brand-logo-pill {
  height: 48px;
  padding: 4px 8px;
  background: #ffffff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4), 0 0 12px rgba(62, 224, 214, 0.35);
  border: 1px solid rgba(62, 224, 214, 0.5);
  flex-shrink: 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.brand-logo-pill.footer-pill {
  height: 56px;
  padding: 5px 10px;
  border-radius: 12px;
}

.brand-logo-pill.preloader-pill {
  height: 68px;
  padding: 6px 14px;
  border-radius: 14px;
  box-shadow: 0 0 24px rgba(62, 224, 214, 0.5);
}

.brand-logo-pill img {
  height: 100%;
  width: auto;
  object-fit: contain;
  display: block;
}

.nav-brand:hover .brand-logo-pill {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5), 0 0 20px rgba(62, 224, 214, 0.6);
  border-color: var(--accent-cyan);
}

/* Floating Glass Island / Nav Dock (Lüks & Modern Kapsül Tasarım) */
.nav-dock {
  background: rgba(14, 22, 42, 0.75);
  border: 1px solid rgba(62, 224, 214, 0.22);
  border-radius: var(--radius-pill);
  padding: 0.32rem 0.55rem;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45), 0 0 20px rgba(62, 224, 214, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  text-decoration: none;
  color: #94a3b8;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  white-space: nowrap;
  padding: 0.45rem 0.92rem;
  border-radius: var(--radius-pill);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  position: relative;
}

.nav-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.nav-link.active {
  color: #00F0FF;
  background: rgba(0, 240, 255, 0.12);
  border: 1px solid rgba(0, 240, 255, 0.35);
  box-shadow: 0 0 16px rgba(0, 240, 255, 0.25);
  font-weight: 600;
}

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

.btn-login {
  color: #e2e8f0;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.48rem 1.15rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn-login:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 0 14px rgba(255, 255, 255, 0.15);
  transform: translateY(-1px);
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, rgba(37, 211, 102, 0.18), rgba(37, 211, 102, 0.08));
  color: #25D366;
  border: 1px solid rgba(37, 211, 102, 0.45);
  padding: 0.48rem 1.25rem;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 18px rgba(37, 211, 102, 0.2);
  white-space: nowrap;
  position: relative;
}

.btn-whatsapp:hover {
  background: rgba(37, 211, 102, 0.3);
  box-shadow: 0 0 24px rgba(37, 211, 102, 0.45);
  transform: translateY(-1px);
  color: #ffffff;
}

.whatsapp-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #25D366;
  box-shadow: 0 0 8px #25D366;
  display: inline-block;
  animation: pulseDot 1.8s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.4); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.7; }
}

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu {
  display: none;
}

/* ==========================================================================
   BUTTONS & BADGES
   ========================================================================== */
.badge-clinical {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  background: rgba(62, 224, 214, 0.08);
  border: 1px solid rgba(62, 224, 214, 0.25);
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--accent-cyan);
  text-transform: uppercase;
}

.badge-pulse {
  width: 7px;
  height: 7px;
  background: var(--accent-cyan);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-cyan);
  animation: pulseLight 2s infinite;
}

@keyframes pulseLight {
  0% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.4); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.7; }
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
  color: #05070D;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.9rem 1.85rem;
  border-radius: var(--radius-pill);
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(62, 224, 214, 0.3);
  transition: all 0.3s var(--transition-smooth);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(62, 224, 214, 0.5);
  filter: brightness(1.08);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.9rem 1.85rem;
  border-radius: var(--radius-pill);
  text-decoration: none;
  border: 1px solid var(--border-subtle);
  transition: all 0.3s var(--transition-smooth);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
  color: #fff;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 0 5rem;
  overflow: hidden;
}

.hero-content {
  max-width: 820px;
  position: relative;
  z-index: 5;
  background: radial-gradient(ellipse 95% 85% at 20% 45%, rgba(5, 7, 13, 0.85) 0%, rgba(5, 7, 13, 0.5) 60%, transparent 100%);
  padding: 1.5rem 1.5rem 1.5rem 0;
  border-radius: var(--radius-lg);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 6.2vw, 4.8rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin: 1.5rem 0;
  color: #ffffff;
}

.hero-title-top {
  color: #ffffff;
  display: inline-block;
  text-shadow: 0 4px 30px rgba(5, 7, 13, 0.98), 0 2px 10px rgba(0, 0, 0, 0.95);
}

.hero-title-accent,
.hero-title .gradient-text {
  color: #00F0FF;
  background: none;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: #00F0FF;
  display: inline-block;
  font-weight: 800;
  text-shadow: 0 0 35px rgba(0, 240, 255, 0.55), 0 0 70px rgba(0, 240, 255, 0.25), 0 4px 30px rgba(5, 7, 13, 0.98);
}

.hero-subtitle {
  font-size: clamp(1.1rem, 1.7vw, 1.3rem);
  color: #ffffff;
  line-height: 1.75;
  max-width: 680px;
  margin-bottom: 2.5rem;
  font-weight: 500;
  text-shadow: 0 2px 18px rgba(5, 7, 13, 0.98), 0 4px 32px rgba(0, 0, 0, 0.95), 0 1px 4px rgba(0, 0, 0, 1);
}

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

.hero-stats-strip {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 2.5rem;
  border-top: 1px solid var(--border-subtle);
  padding-top: 2rem;
  max-width: 620px;
}

.hero-stat-item h4 {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: baseline;
  gap: 0.15rem;
}

.hero-stat-item h4 span {
  color: var(--accent-cyan);
}

.hero-stat-item p {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.25rem;
}

/* ==========================================================================
   SECTION COMMON
   ========================================================================== */
.section {
  padding: 8rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 4.5rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-cyan);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #ffffff;
  margin-bottom: 1.2rem;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ==========================================================================
   SECTION 3: DIKOTIK DINLEME GELISIM SISTEMI
   ========================================================================== */
.system-cards-pair {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

/* 3D Tilt Card Base */
.glass-card-tilt {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s var(--transition-smooth), border-color 0.3s ease, box-shadow 0.3s ease;
  transform-style: preserve-3d;
  will-change: transform;
}

/* Card A 3D Mini Indicator Canvas */
.card-analysis-3d-wrap {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 95px;
  height: 95px;
  z-index: 5;
  pointer-events: auto;
  cursor: pointer;
}

/* Card B 3D Protocol Ring Canvas */
.card-protocol-3d-wrap {
  position: absolute;
  right: -20px;
  bottom: -20px;
  width: 150px;
  height: 150px;
  z-index: 1;
  pointer-events: none;
  opacity: 0.85;
}

.glass-card-tilt::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(62, 224, 214, 0.4), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.glass-card-tilt:hover {
  border-color: var(--border-glow);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(62, 224, 214, 0.08);
}

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

.card-top-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1.75rem;
}

.card-top-badge.badge-teal {
  background: rgba(62, 224, 214, 0.1);
  color: var(--accent-cyan);
  border: 1px solid rgba(62, 224, 214, 0.3);
}

.card-top-badge.badge-blue {
  background: rgba(91, 140, 255, 0.1);
  color: var(--accent-blue);
  border: 1px solid rgba(91, 140, 255, 0.3);
}

.card-title {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
}

.card-text {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 2.25rem;
}

/* Steps Indicator (1-2-3-4) */
.steps-indicator {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin-bottom: 2rem;
  position: relative;
}

.step-node {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1rem 0.5rem;
  text-align: center;
  transition: all 0.3s ease;
}

.step-node.active {
  background: rgba(62, 224, 214, 0.12);
  border-color: var(--accent-cyan);
  box-shadow: 0 0 16px rgba(62, 224, 214, 0.15);
}

.step-number {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.2rem;
}

.step-node.active .step-number {
  color: var(--accent-cyan);
}

.step-label {
  font-size: 0.72rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Feature Check Items */
.feature-checklist {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.check-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  padding: 0.9rem 1.2rem;
  border-radius: var(--radius-md);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
}

.check-icon-wrap {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(91, 140, 255, 0.15);
  border: 1px solid rgba(91, 140, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-blue);
  flex-shrink: 0;
}

/* 4-Column Feature Grid */
.features-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.feature-mini-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2.2rem 1.75rem;
  transition: all 0.35s var(--transition-smooth);
}

.feature-mini-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-glow);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(62, 224, 214, 0.1);
}

.mini-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(62, 224, 214, 0.12), rgba(91, 140, 255, 0.12));
  border: 1px solid var(--border-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  margin-bottom: 1.4rem;
}

.mini-card-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.65rem;
}

.mini-card-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   SECTION 4: NEDEN DICOTIX & HERO COUNTER
   ========================================================================== */
.why-section {
  position: relative;
}

.quote-highlight-card {
  background: linear-gradient(145deg, rgba(14, 22, 42, 0.8), rgba(8, 12, 22, 0.9));
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(62, 224, 214, 0.2);
  border-radius: var(--radius-lg);
  padding: 4.5rem 3.5rem;
  margin-top: 3.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.quote-highlight-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(62, 224, 214, 0.12), transparent 70%);
  transform: translateX(-50%);
  pointer-events: none;
}

.quote-inner-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3.5rem;
  align-items: center;
}

.counter-display {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: rgba(5, 7, 13, 0.6);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 2.5rem 1.5rem;
  position: relative;
}

.counter-value-wrap {
  display: flex;
  align-items: baseline;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 4.5rem;
  font-weight: 800;
  line-height: 1;
  color: #fff;
  letter-spacing: -0.04em;
}

.counter-value-wrap .prefix {
  color: var(--accent-cyan);
  font-size: 3.2rem;
  margin-right: 0.15rem;
}

.counter-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-cyan);
  margin-top: 0.8rem;
  font-weight: 600;
}

.quote-content blockquote {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.2vw, 1.95rem);
  font-weight: 600;
  line-height: 1.45;
  color: #fff;
  margin-bottom: 2rem;
  position: relative;
}

.quote-author {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.author-line {
  width: 40px;
  height: 2px;
  background: var(--accent-amber);
}

.author-meta h5 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
}

.author-meta p {
  font-size: 0.85rem;
  color: var(--accent-amber);
  font-weight: 500;
  letter-spacing: 0.04em;
}

/* Supplemental Metrics Grid */
.metrics-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.metric-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  text-align: center;
}

.metric-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.25rem;
}

.metric-number span {
  color: var(--accent-blue);
}

.metric-text {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   SECTION 5: EKOSİSTEM (ROLLER)
   ========================================================================== */
.roles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
}

.role-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  perspective: 1000px;
  will-change: transform;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Dynamic Radial Pointer Glow (Prompt 5) */
.role-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(350px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(62, 224, 214, 0.15), transparent 70%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 0;
}

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

.role-card:hover {
  border-color: var(--border-glow);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.55), 0 0 30px rgba(62, 224, 214, 0.12);
}

.role-card-content {
  position: relative;
  z-index: 1;
  transform-style: preserve-3d;
}

/* 3D Elevated Icon Layer (Prompt 5: translateZ 20px) */
.role-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transform: translateZ(22px);
  transition: transform 0.3s ease;
}

.role-card:hover .role-icon-box {
  transform: translateZ(28px) scale(1.06);
}

.role-card:nth-child(1) .role-icon-box {
  background: rgba(62, 224, 214, 0.15);
  border: 1px solid rgba(62, 224, 214, 0.35);
  color: var(--accent-cyan);
}
.role-card:nth-child(2) .role-icon-box {
  background: rgba(91, 140, 255, 0.15);
  border: 1px solid rgba(91, 140, 255, 0.35);
  color: var(--accent-blue);
}
.role-card:nth-child(3) .role-icon-box {
  background: rgba(245, 166, 35, 0.15);
  border: 1px solid rgba(245, 166, 35, 0.35);
  color: var(--accent-amber);
}
.role-card:nth-child(4) .role-icon-box {
  background: rgba(147, 51, 234, 0.15);
  border: 1px solid rgba(147, 51, 234, 0.35);
  color: #c084fc;
}

.role-header {
  margin-bottom: 1.5rem;
  transform: translateZ(10px);
}

.role-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.role-card:nth-child(1) .role-badge {
  background: rgba(62, 224, 214, 0.1);
  color: var(--accent-cyan);
  border: 1px solid rgba(62, 224, 214, 0.25);
}
.role-card:nth-child(2) .role-badge {
  background: rgba(91, 140, 255, 0.1);
  color: var(--accent-blue);
  border: 1px solid rgba(91, 140, 255, 0.25);
}
.role-card:nth-child(3) .role-badge {
  background: rgba(245, 166, 35, 0.1);
  color: var(--accent-amber);
  border: 1px solid rgba(245, 166, 35, 0.25);
}
.role-card:nth-child(4) .role-badge {
  background: rgba(147, 51, 234, 0.1);
  color: #c084fc;
  border: 1px solid rgba(147, 51, 234, 0.25);
}

.role-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.85rem;
}

.role-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.75rem;
}

.role-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 2rem;
}

.role-features-list li {
  font-size: 0.88rem;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.role-features-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-cyan);
  flex-shrink: 0;
}

.role-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent-cyan);
  text-decoration: none;
  transition: transform 0.25s ease, color 0.25s ease;
}

.role-link:hover {
  transform: translateX(4px);
  color: #fff;
}

/* ==========================================================================
   SECTION 6: CLOSING CTA (LOOP CLOSURE)
   ========================================================================== */
.closing-section {
  position: relative;
  padding: 10rem 0 9rem;
  text-align: center;
  overflow: hidden;
}

.closing-card {
  background: linear-gradient(180deg, rgba(14, 22, 42, 0.75) 0%, rgba(5, 7, 13, 0.95) 100%);
  backdrop-filter: blur(25px);
  border: 1px solid rgba(62, 224, 214, 0.25);
  border-radius: 32px;
  padding: 5.5rem 3rem;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.7), 0 0 50px rgba(62, 224, 214, 0.1);
}

.closing-title {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.closing-text {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 580px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.closing-btn {
  font-size: 1.05rem;
  padding: 1.1rem 2.8rem;
}

/* ==========================================================================
   FOOTER (Modern High-Tech Clinical Architecture)
   ========================================================================== */
.footer {
  position: relative;
  background: linear-gradient(180deg, rgba(8, 12, 22, 0.96) 0%, rgba(3, 4, 8, 1) 100%);
  border-top: 1px solid rgba(62, 224, 214, 0.15);
  padding: 5rem 0 2.5rem;
  z-index: 10;
  overflow: hidden;
}

/* Luminous Top Lightbeam Divider */
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 5%;
  right: 5%;
  height: 1px;
  background: radial-gradient(ellipse at center, rgba(0, 240, 255, 0.7) 0%, rgba(62, 224, 214, 0.25) 45%, transparent 100%);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.4);
  pointer-events: none;
}

/* Ambient Corner Aura Glows */
.footer-ambient-glow-left {
  position: absolute;
  top: -150px;
  left: -150px;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.footer-ambient-glow-right {
  position: absolute;
  top: 20%;
  right: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(91, 140, 255, 0.07) 0%, transparent 70%);
  pointer-events: none;
}

/* Pre-Footer Action Banner */
.footer-action-banner {
  background: linear-gradient(135deg, rgba(14, 22, 42, 0.85) 0%, rgba(8, 14, 28, 0.95) 100%);
  border: 1px solid rgba(62, 224, 214, 0.25);
  border-radius: var(--radius-lg);
  padding: 2.5rem 3rem;
  margin-bottom: 4rem;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.5), 0 0 25px rgba(62, 224, 214, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  position: relative;
  overflow: hidden;
}

.footer-action-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 240, 255, 0.6), transparent);
}

.action-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid rgba(0, 240, 255, 0.3);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #00F0FF;
  margin-bottom: 0.85rem;
}

.action-pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #00F0FF;
  box-shadow: 0 0 8px #00F0FF;
  animation: pulseDot 1.8s infinite;
}

.action-banner-title {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.3vw, 1.85rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.25;
  margin-bottom: 0.5rem;
}

.action-highlight {
  color: #00F0FF;
  text-shadow: 0 0 20px rgba(0, 240, 255, 0.4);
}

.action-banner-desc {
  color: #94a3b8;
  font-size: 0.92rem;
  line-height: 1.6;
  max-width: 580px;
}

.footer-action-buttons {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.btn-whatsapp-footer {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: linear-gradient(135deg, rgba(37, 211, 102, 0.25), rgba(37, 211, 102, 0.12));
  color: #25D366;
  border: 1px solid rgba(37, 211, 102, 0.55);
  padding: 0.8rem 1.6rem;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 18px rgba(37, 211, 102, 0.25);
  white-space: nowrap;
}

.btn-whatsapp-footer:hover {
  background: rgba(37, 211, 102, 0.38);
  box-shadow: 0 0 30px rgba(37, 211, 102, 0.55);
  transform: translateY(-2px);
  color: #fff;
}

.btn-outline-footer {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 0.8rem 1.5rem;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn-outline-footer:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(62, 224, 214, 0.4);
  color: #00F0FF;
  transform: translateY(-2px);
  box-shadow: 0 0 16px rgba(0, 240, 255, 0.2);
}

/* Main 4-Column Grid */
.footer-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1.6fr;
  gap: 3.5rem;
  margin-bottom: 4rem;
}

/* Col 1: Brand Card */
.footer-brand-card {
  display: flex;
  flex-direction: column;
}

.footer-brand-desc {
  color: #94a3b8;
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 360px;
  margin-bottom: 1.25rem;
}

.footer-quote-box {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: rgba(0, 240, 255, 0.04);
  border: 1px solid rgba(0, 240, 255, 0.16);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: #00F0FF;
  line-height: 1.45;
  margin-bottom: 1.25rem;
  max-width: 380px;
}

.footer-accreditation-badges {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.acc-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  padding: 0.3rem 0.75rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: #cbd5e1;
}

/* Col Headers */
.footer-col-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.footer-header-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #00F0FF;
  box-shadow: 0 0 8px #00F0FF;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #ffffff;
  margin: 0;
}

/* Links List */
.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0;
  margin: 0;
}

.footer-links-list a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 450;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-links-list a i {
  opacity: 0.4;
  transition: all 0.25s ease;
  color: #00F0FF;
}

.footer-links-list a:hover {
  color: #ffffff;
  transform: translateX(5px);
}

.footer-links-list a:hover i {
  opacity: 1;
  transform: translateX(2px);
}

/* Col 4: Live Status & Contact */
.footer-contact-desc {
  font-size: 0.86rem;
  color: #94a3b8;
  line-height: 1.55;
  margin-bottom: 1.15rem;
}

.footer-live-status-card {
  background: rgba(14, 22, 42, 0.7);
  border: 1px solid rgba(62, 224, 214, 0.18);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.status-indicator-row {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.system-status-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #25D366;
  box-shadow: 0 0 8px #25D366;
  animation: pulseDot 2s infinite;
  flex-shrink: 0;
}

.status-text {
  font-size: 0.75rem;
  font-weight: 600;
  color: #e2e8f0;
}

.uptime-badge {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--accent-cyan);
  background: rgba(62, 224, 214, 0.12);
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(62, 224, 214, 0.25);
  white-space: nowrap;
}

.footer-contact-actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1.4rem;
}

.footer-contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
}

.btn-wa-pill {
  background: rgba(37, 211, 102, 0.1);
  border: 1px solid rgba(37, 211, 102, 0.35);
  color: #25D366;
}

.btn-wa-pill:hover {
  background: rgba(37, 211, 102, 0.22);
  box-shadow: 0 0 16px rgba(37, 211, 102, 0.35);
  color: #fff;
  transform: translateY(-1px);
}

.btn-insta-pill {
  background: rgba(225, 48, 108, 0.1);
  border: 1px solid rgba(225, 48, 108, 0.35);
  color: #E1306C;
}

.btn-insta-pill:hover {
  background: rgba(225, 48, 108, 0.22);
  box-shadow: 0 0 16px rgba(225, 48, 108, 0.35);
  color: #fff;
  transform: translateY(-1px);
}

.btn-mail-pill {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  color: #cbd5e1;
}

.btn-mail-pill:hover {
  background: rgba(0, 240, 255, 0.08);
  border-color: rgba(0, 240, 255, 0.35);
  color: #00F0FF;
  transform: translateY(-1px);
}

.social-links-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.social-glass-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.social-glass-btn:hover {
  background: rgba(0, 240, 255, 0.15);
  border-color: #00F0FF;
  color: #00F0FF;
  box-shadow: 0 0 16px rgba(0, 240, 255, 0.4);
  transform: translateY(-2px);
}

.social-glass-btn.btn-instagram:hover {
  background: rgba(225, 48, 108, 0.15);
  border-color: #E1306C;
  color: #E1306C;
  box-shadow: 0 0 16px rgba(225, 48, 108, 0.45);
}

.social-glass-btn.btn-whatsapp-icon:hover {
  background: rgba(37, 211, 102, 0.15);
  border-color: #25D366;
  color: #25D366;
  box-shadow: 0 0 16px rgba(37, 211, 102, 0.4);
}

/* Bottom Bar */
.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  font-size: 0.82rem;
  color: #64748b;
  flex-wrap: wrap;
}

.bottom-bar-left p,
.bottom-bar-right p {
  margin: 0;
}

.bottom-meta-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-pill);
  padding: 0.25rem 0.75rem;
  font-size: 0.72rem;
  color: #94a3b8;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1024px) {
  .system-cards-pair {
    grid-template-columns: 1fr;
  }
  .features-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .roles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .quote-inner-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .counter-display {
    max-width: 320px;
    margin: 0 auto;
  }
  .quote-author {
    justify-content: center;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 1200px) and (min-width: 769px) {
  .nav-dock {
    padding: 0.25rem 0.4rem;
  }
  .nav-link {
    padding: 0.4rem 0.65rem;
    font-size: 0.78rem;
  }
  .nav-links {
    gap: 0.15rem;
  }
}

@media (max-width: 768px) {
  .nav-dock, .btn-login {
    display: none;
  }
  .nav-toggle {
    display: block;
  }
  .mobile-menu {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: rgba(5, 7, 13, 0.96);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    padding: 1.5rem;
    display: none;
    flex-direction: column;
    gap: 1.25rem;
    z-index: 999;
  }
  .mobile-menu.open {
    display: flex;
  }
  .mobile-menu a {
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
  }
  .features-grid-4,
  .roles-grid {
    grid-template-columns: 1fr;
  }
  .metrics-row {
    grid-template-columns: 1fr;
  }
  .hero-stats-strip {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   CLINIC VISUAL MODULES & AUDIO FREQUENCY STYLES (Compact & Balanced)
   ========================================================================== */

/* ==========================================================================
   AUDITORY FREQUENCY TRANSMISSION HUB (Redesigned Medical Glass Dock)
   ========================================================================== */
.auditory-frequency-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  background: linear-gradient(145deg, rgba(14, 22, 42, 0.82) 0%, rgba(9, 14, 28, 0.9) 100%);
  border: 1px solid rgba(0, 240, 255, 0.22);
  border-radius: 20px;
  padding: 0.85rem 1rem;
  margin-top: 2.25rem;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 
    0 15px 45px rgba(0, 0, 0, 0.5),
    0 0 30px rgba(0, 240, 255, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  max-width: 820px;
  position: relative;
  transition: all 0.3s var(--transition-smooth);
}

.freq-hub-card {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.65rem 0.85rem;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: default;
}

.freq-hub-card:hover {
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-2px);
}

.channel-card-left:hover {
  border-color: rgba(62, 224, 214, 0.45);
  box-shadow: 0 6px 20px rgba(62, 224, 214, 0.18);
}

.channel-card-center:hover {
  border-color: rgba(91, 140, 255, 0.45);
  box-shadow: 0 6px 20px rgba(91, 140, 255, 0.18);
}

.channel-card-right:hover {
  border-color: rgba(245, 166, 35, 0.45);
  box-shadow: 0 6px 20px rgba(245, 166, 35, 0.18);
}

/* Icon Box with Live Micro-Equalizer */
.freq-hub-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  flex-shrink: 0;
  position: relative;
  transition: transform 0.25s ease;
}

.freq-hub-card:hover .freq-hub-icon-wrap {
  transform: scale(1.05);
}

.freq-hub-icon-wrap i {
  width: 18px;
  height: 18px;
}

.icon-cyan {
  background: rgba(0, 240, 255, 0.12);
  border: 1px solid rgba(0, 240, 255, 0.35);
  color: var(--accent-cyan);
  box-shadow: 0 0 14px rgba(0, 240, 255, 0.2);
}

.icon-blue {
  background: rgba(91, 140, 255, 0.12);
  border: 1px solid rgba(91, 140, 255, 0.35);
  color: var(--accent-blue);
  box-shadow: 0 0 14px rgba(91, 140, 255, 0.2);
}

.icon-amber {
  background: rgba(245, 166, 35, 0.12);
  border: 1px solid rgba(245, 166, 35, 0.35);
  color: var(--accent-amber);
  box-shadow: 0 0 14px rgba(245, 166, 35, 0.2);
}

/* Animated Micro Wave Bars */
.micro-wave-bars {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 7px;
}

.micro-wave-bars span {
  width: 2px;
  background: var(--accent-cyan);
  border-radius: 1px;
  animation: waveBarBounce 1.2s infinite ease-in-out;
}

.micro-wave-bars span:nth-child(1) { height: 3px; animation-delay: 0s; }
.micro-wave-bars span:nth-child(2) { height: 7px; animation-delay: 0.2s; }
.micro-wave-bars span:nth-child(3) { height: 4px; animation-delay: 0.4s; }

.bars-amber span {
  background: var(--accent-amber);
}

@keyframes waveBarBounce {
  0%, 100% { height: 2px; }
  50% { height: 7px; }
}

/* Synapse Ping Dot for Center Brain Bridge */
.synapse-ping-dot {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-blue);
  box-shadow: 0 0 8px var(--accent-blue);
  animation: synapsePing 1.8s infinite;
}

@keyframes synapsePing {
  0% { transform: scale(0.8); opacity: 0.5; }
  50% { transform: scale(1.4); opacity: 1; }
  100% { transform: scale(0.8); opacity: 0.5; }
}

/* Hub Content Typography */
.freq-hub-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.freq-hub-tag-row {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 2px;
}

.freq-hub-badge {
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 1px 6px;
  border-radius: 4px;
  line-height: 1.3;
}

.badge-cyan {
  background: rgba(0, 240, 255, 0.15);
  color: var(--accent-cyan);
}

.badge-blue {
  background: rgba(91, 140, 255, 0.15);
  color: var(--accent-blue);
}

.badge-amber {
  background: rgba(245, 166, 35, 0.15);
  color: var(--accent-amber);
}

.freq-hub-hz {
  font-size: 0.62rem;
  color: var(--text-muted);
  font-family: var(--font-heading);
  white-space: nowrap;
}

.freq-hub-title {
  font-family: var(--font-heading);
  font-size: 0.86rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  line-height: 1.2;
  white-space: nowrap;
}

.freq-hub-desc {
  font-size: 0.72rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.2;
  white-space: nowrap;
}

/* Connector Bridge Divider */
.freq-hub-bridge-divider {
  width: 1px;
  height: 38px;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.12), transparent);
  position: relative;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bridge-flow-pulse {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 6px var(--accent-cyan);
}

/* 3-Column Single Row Clinic Grid (3'ü Tek Satırda) */
.clinic-showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

/* 3D Animated Card with Depth (Mikro-Görsel Rozetli & 3D Hareket) */
.clinic-visual-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.35rem 1.25rem;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  transform-style: preserve-3d;
  perspective: 1000px;
  will-change: transform;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
  animation: cardFloatSubtle 6s ease-in-out infinite;
}

.clinic-visual-card:nth-child(2) {
  animation-delay: -2s;
}
.clinic-visual-card:nth-child(3) {
  animation-delay: -4s;
}

@keyframes cardFloatSubtle {
  0%, 100% {
    transform: translateY(0px) rotateX(0deg);
  }
  50% {
    transform: translateY(-5px) rotateX(1.5deg);
  }
}

.clinic-visual-card:hover {
  border-color: var(--border-glow);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(62, 224, 214, 0.2);
}

/* Clinic Visual Card Banner (Dikeyde Uzatıldı: 4:5 Tam Afiş Oranı & Kesintisiz Görünüm) */
.clinic-card-top-row {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  margin-bottom: 1rem;
  transform: translateZ(16px);
}

.clinic-micro-thumb {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
  border: 1px solid var(--border-glow);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.55), 0 0 18px rgba(62, 224, 214, 0.18);
  cursor: pointer;
  transform: translateZ(20px);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  background: #060912;
}

.clinic-micro-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #060912;
  transition: transform 0.4s ease, filter 0.4s ease;
  display: block;
}

.clinic-micro-thumb:hover {
  transform: translateZ(26px) scale(1.02);
  border-color: var(--accent-cyan);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.7), 0 0 24px rgba(62, 224, 214, 0.35);
}

.clinic-micro-thumb:hover img {
  transform: scale(1.06);
  filter: brightness(1.08);
}

.micro-thumb-overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 7, 13, 0.45);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  transition: opacity 0.25s ease;
  backdrop-filter: blur(2px);
}

.micro-thumb-overlay svg,
.micro-thumb-overlay i {
  width: 28px !important;
  height: 28px !important;
  filter: drop-shadow(0 0 8px var(--accent-cyan));
}

.clinic-card-headings {
  flex: 1;
}

.clinic-module-tag {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 0.25rem;
  display: block;
}

.clinic-card-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}

.clinic-card-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 0.95rem;
  transform: translateZ(10px);
}

.clinic-citation {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.72rem;
  color: var(--accent-amber);
  border-top: 1px solid var(--border-subtle);
  padding-top: 0.65rem;
  margin-top: auto;
  transform: translateZ(8px);
}

/* Lightbox Modal for Full View */
.image-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(5, 7, 13, 0.95);
  backdrop-filter: blur(20px);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.image-lightbox.active {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: 900px;
  max-height: 90vh;
}

.lightbox-content img {
  width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-glow);
  box-shadow: 0 0 50px rgba(62, 224, 214, 0.3);
}

.lightbox-close {
  position: absolute;
  top: -45px;
  right: 0;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  transition: color 0.2s ease;
}

.lightbox-close:hover {
  color: var(--accent-cyan);
}

@media (max-width: 1100px) {
  .modules-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .clinic-showcase-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .modules-grid-4,
  .clinic-showcase-grid,
  .workflow-eval-grid {
    grid-template-columns: 1fr;
  }
  .auditory-frequency-strip {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    padding: 0.85rem;
  }
  .freq-hub-bridge-divider,
  .frequency-divider {
    display: none;
  }
  .freq-hub-card {
    width: 100%;
  }
}

/* Body Modal Scroll Lock */
body.modal-open {
  overflow: hidden !important;
  touch-action: none;
}

/* ==========================================================================
   Interactive Legal & Compliance Modal System (Glassmorphic Medical Grade)
   ========================================================================== */
.legal-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 7, 16, 0.88);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.legal-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.legal-modal-container {
  position: relative;
  width: 100%;
  max-width: 800px;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  background: linear-gradient(155deg, rgba(13, 20, 36, 0.97) 0%, rgba(7, 12, 24, 0.99) 100%);
  border: 1px solid rgba(0, 240, 255, 0.32);
  border-radius: 24px;
  box-shadow: 
    0 30px 90px rgba(0, 0, 0, 0.88),
    0 0 50px rgba(0, 240, 255, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    inset 0 0 25px rgba(0, 240, 255, 0.04);
  overflow: hidden;
  transform: scale(0.92) translateY(24px);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.legal-modal-glow {
  position: absolute;
  top: -80px;
  left: 20%;
  width: 60%;
  height: 160px;
  background: radial-gradient(ellipse at center, rgba(0, 240, 255, 0.22), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.legal-modal-header {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.6rem 2rem 1.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(10, 16, 30, 0.55);
}

.legal-modal-header-main {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.legal-modal-icon-box {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid rgba(0, 240, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  flex-shrink: 0;
  box-shadow: 0 0 25px rgba(0, 240, 255, 0.2);
}

.legal-modal-icon-box i {
  width: 24px;
  height: 24px;
}

.legal-modal-title-wrap {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.legal-modal-tag-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.15rem;
}

.legal-modal-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.2rem 0.75rem;
  border-radius: 20px;
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  background: rgba(0, 240, 255, 0.12);
  border: 1px solid rgba(0, 240, 255, 0.35);
  color: var(--accent-cyan);
}

.legal-modal-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  line-height: 1.25;
}

.legal-modal-subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}

.legal-modal-close {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-secondary);
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.legal-modal-close i {
  width: 18px;
  height: 18px;
}

.legal-modal-close:hover {
  background: rgba(255, 75, 75, 0.15);
  border-color: rgba(255, 75, 75, 0.4);
  color: #ff5555;
  transform: rotate(90deg);
}

.legal-modal-body {
  position: relative;
  z-index: 1;
  padding: 1.6rem 2rem;
  overflow-y: auto;
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.7;
}

/* Custom Sleek Modal Scrollbar */
.legal-modal-body::-webkit-scrollbar {
  width: 6px;
}
.legal-modal-body::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.03);
}
.legal-modal-body::-webkit-scrollbar-thumb {
  background: rgba(0, 240, 255, 0.28);
  border-radius: 3px;
}
.legal-modal-body::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 240, 255, 0.55);
}

.modal-section-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 1.25rem 1.4rem;
  margin-bottom: 1.15rem;
}

.modal-section-card:last-child {
  margin-bottom: 0;
}

.modal-sec-header {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.02rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.65rem;
}

.modal-sec-header i {
  color: var(--accent-cyan);
}

.modal-section-card p {
  margin: 0 0 0.5rem 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.65;
}

.modal-section-card p:last-child {
  margin-bottom: 0;
}

.modal-bullet-list {
  list-style: none;
  padding: 0;
  margin: 0.65rem 0 0;
}

.modal-bullet-list li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.6rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.88rem;
  line-height: 1.55;
}

.modal-bullet-list li:last-child {
  margin-bottom: 0;
}

.modal-bullet-list li::before {
  content: "•";
  position: absolute;
  left: 0.35rem;
  top: -1px;
  color: var(--accent-cyan);
  font-size: 1.3rem;
  line-height: 1.2;
}

.modal-callout-box {
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.08), rgba(13, 20, 36, 0.45));
  border: 1px solid rgba(0, 240, 255, 0.28);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  margin-top: 1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.modal-callout-box i {
  color: var(--accent-cyan);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.modal-callout-text {
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.55;
}

.legal-modal-footer {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(10, 16, 30, 0.55);
}

.btn-modal-dismiss {
  padding: 0.65rem 1.4rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-modal-dismiss:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.btn-modal-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.65rem 1.5rem;
  background: linear-gradient(135deg, var(--accent-cyan), #00a8ff);
  border: none;
  border-radius: 10px;
  color: #040812;
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 16px rgba(0, 240, 255, 0.35);
}

.btn-modal-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(0, 240, 255, 0.5);
  color: #000;
}

@media (max-width: 640px) {
  .legal-modal-container {
    max-height: 92vh;
    border-radius: 18px;
  }
  .legal-modal-header {
    padding: 1.25rem 1.25rem 1rem;
  }
  .legal-modal-header-main {
    gap: 0.75rem;
  }
  .legal-modal-icon-box {
    width: 42px;
    height: 42px;
  }
  .legal-modal-title {
    font-size: 1.15rem;
  }
  .legal-modal-body {
    padding: 1.25rem;
  }
  .legal-modal-footer {
    padding: 1rem 1.25rem;
    flex-direction: column-reverse;
  }
  .legal-modal-footer > * {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}

/* ==========================================================================
   TOP BAR THEME TOGGLE BUTTON (DARK / LIGHT)
   ========================================================================== */
.theme-toggle-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #F0F4FC;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
}

.theme-toggle-btn:hover {
  background: rgba(0, 240, 255, 0.15);
  border-color: rgba(0, 240, 255, 0.45);
  color: #00F0FF;
  box-shadow: 0 0 16px rgba(0, 240, 255, 0.3);
  transform: rotate(20deg) scale(1.06);
}

.theme-toggle-btn .sun-icon {
  display: block;
  width: 18px;
  height: 18px;
}

.theme-toggle-btn .moon-icon {
  display: none;
  width: 18px;
  height: 18px;
}

.theme-toggle-btn.mini-btn {
  width: 32px;
  height: 32px;
}

.theme-toggle-btn.mini-btn svg {
  width: 15px;
  height: 15px;
}

.mobile-theme-row {
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 0.5rem;
}

.mobile-theme-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  color: #fff;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.92rem;
  transition: all 0.25s ease;
}

.mobile-theme-toggle:hover {
  background: rgba(255, 255, 255, 0.08);
}

.mobile-theme-label {
  display: flex;
  align-items: center;
  gap: 6px;
}

.mobile-theme-label strong {
  color: var(--accent-cyan);
}

/* ==========================================================================
   COMPREHENSIVE LIGHT THEME DESIGN SYSTEM (Medical-Grade Clean Luxury)
   ========================================================================== */
[data-theme="light"] {
  --bg-deep: #F8FAFC;
  --bg-surface: rgba(255, 255, 255, 0.92);
  --bg-card: rgba(255, 255, 255, 0.88);
  --bg-card-hover: rgba(255, 255, 255, 0.98);

  --accent-cyan: #0891B2;
  --accent-blue: #2563EB;
  --accent-amber: #D97706;
  --accent-glow: rgba(8, 145, 178, 0.18);

  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-muted: #64748B;

  --border-subtle: rgba(203, 213, 225, 0.75);
  --border-glow: rgba(8, 145, 178, 0.35);
  --border-blue: rgba(37, 99, 235, 0.3);
}

[data-theme="light"] body {
  background-color: #F8FAFC;
  color: #0F172A;
}

[data-theme="light"] ::-webkit-scrollbar-track {
  background: #F1F5F9;
}
[data-theme="light"] ::-webkit-scrollbar-thumb {
  background: rgba(8, 145, 178, 0.3);
}
[data-theme="light"] ::-webkit-scrollbar-thumb:hover {
  background: #0891B2;
}

/* Ambient Backdrop Glows in Light Mode */
[data-theme="light"] .ambient-glow-1 {
  background: radial-gradient(circle, rgba(37, 99, 235, 0.04) 0%, rgba(248, 250, 252, 0) 70%);
}
[data-theme="light"] .ambient-glow-2 {
  background: radial-gradient(circle, rgba(8, 145, 178, 0.05) 0%, rgba(248, 250, 252, 0) 70%);
}

/* Navbar in Light Mode */
[data-theme="light"] .navbar.scrolled {
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
}

[data-theme="light"] .nav-brand {
  color: #0F172A;
}

[data-theme="light"] .brand-title {
  color: #0F172A;
}

[data-theme="light"] .brand-tagline {
  color: #0891B2;
}

[data-theme="light"] .brand-logo-pill {
  background: #ffffff;
  border-color: rgba(8, 145, 178, 0.4);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08), 0 0 10px rgba(8, 145, 178, 0.2);
}

[data-theme="light"] .nav-dock {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(203, 213, 225, 0.85);
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.06), 0 0 15px rgba(8, 145, 178, 0.08), inset 0 1px 0 rgba(255, 255, 255, 1);
}

[data-theme="light"] .nav-link {
  color: #475569;
}

[data-theme="light"] .nav-link:hover {
  color: #0F172A;
  background: rgba(15, 23, 42, 0.05);
}

[data-theme="light"] .nav-link.active {
  color: #0891B2;
  background: rgba(8, 145, 178, 0.1);
  border-color: rgba(8, 145, 178, 0.35);
  box-shadow: 0 0 12px rgba(8, 145, 178, 0.18);
}

[data-theme="light"] .btn-login {
  color: #0F172A;
  background: rgba(15, 23, 42, 0.04);
  border-color: rgba(15, 23, 42, 0.15);
}

[data-theme="light"] .btn-login:hover {
  background: rgba(15, 23, 42, 0.09);
  border-color: rgba(15, 23, 42, 0.25);
  color: #0F172A;
}

[data-theme="light"] .nav-toggle {
  color: #0F172A;
}

[data-theme="light"] .mobile-menu {
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid rgba(203, 213, 225, 0.85);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .mobile-menu a {
  color: #0F172A;
}

[data-theme="light"] .mobile-menu a:hover {
  background: rgba(8, 145, 178, 0.08);
  color: #0891B2;
}

/* Theme Toggle Button in Light Mode */
[data-theme="light"] .theme-toggle-btn {
  background: rgba(15, 23, 42, 0.05);
  border-color: rgba(15, 23, 42, 0.16);
  color: #0F172A;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
}

[data-theme="light"] .theme-toggle-btn:hover {
  background: rgba(8, 145, 178, 0.12);
  border-color: rgba(8, 145, 178, 0.4);
  color: #0891B2;
  box-shadow: 0 0 14px rgba(8, 145, 178, 0.25);
  transform: rotate(-20deg) scale(1.06);
}

[data-theme="light"] .theme-toggle-btn .sun-icon {
  display: none;
}

[data-theme="light"] .theme-toggle-btn .moon-icon {
  display: block;
}

[data-theme="light"] .mobile-theme-row {
  border-top-color: rgba(203, 213, 225, 0.8);
}

[data-theme="light"] .mobile-theme-toggle {
  background: rgba(15, 23, 42, 0.04);
  border-color: rgba(15, 23, 42, 0.12);
  color: #0F172A;
}

[data-theme="light"] .mobile-theme-label strong {
  color: #0891B2;
}

/* Hero Section in Light Mode */
[data-theme="light"] .badge-clinical {
  background: rgba(8, 145, 178, 0.08);
  border-color: rgba(8, 145, 178, 0.28);
  color: #0891B2;
}

[data-theme="light"] .badge-pulse {
  background: #0891B2;
  box-shadow: 0 0 8px #0891B2;
}

[data-theme="light"] .hero-content {
  background: radial-gradient(ellipse 95% 85% at 20% 45%, rgba(248, 250, 252, 0.72) 0%, rgba(248, 250, 252, 0.25) 60%, transparent 100%);
}

[data-theme="light"] .hero-title-top {
  color: #0F172A !important;
  text-shadow: none !important;
}

[data-theme="light"] .hero-title-accent {
  color: #0891B2 !important;
  text-shadow: 0 2px 14px rgba(8, 145, 178, 0.22) !important;
}

[data-theme="light"] .hero-subtitle {
  color: #475569;
  text-shadow: none !important;
}

[data-theme="light"] .hero-stats-strip {
  border-top-color: rgba(203, 213, 225, 0.85);
}

[data-theme="light"] .hero-stat-item h4 {
  color: #0F172A !important;
}

[data-theme="light"] .hero-stat-item h4 span {
  color: #0284C7 !important;
}

[data-theme="light"] .hero-stat-item p {
  color: #64748B !important;
}

[data-theme="light"] .counter-display {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(8, 145, 178, 0.35);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

[data-theme="light"] .counter-value-wrap {
  color: #0F172A;
}

[data-theme="light"] .btn-ghost {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(203, 213, 225, 0.9);
  color: #0F172A;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.05);
}

[data-theme="light"] .btn-ghost:hover {
  background: #ffffff;
  border-color: #0891B2;
  color: #0891B2;
  box-shadow: 0 6px 20px rgba(8, 145, 178, 0.15);
}

/* Auditory Frequency Transmission Hub in Light Mode */
[data-theme="light"] .auditory-frequency-strip {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 250, 252, 0.98) 100%);
  border: 1px solid rgba(203, 213, 225, 0.9);
  box-shadow: 
    0 16px 40px rgba(15, 23, 42, 0.06),
    0 1px 3px rgba(15, 23, 42, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 1);
}

[data-theme="light"] .freq-hub-card {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(226, 232, 240, 0.85);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
}

[data-theme="light"] .freq-hub-card:hover {
  background: #ffffff;
  transform: translateY(-2px);
}

[data-theme="light"] .channel-card-left:hover {
  border-color: #0284c7;
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.15);
}

[data-theme="light"] .channel-card-center:hover {
  border-color: #2563eb;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.15);
}

[data-theme="light"] .channel-card-right:hover {
  border-color: #d97706;
  box-shadow: 0 6px 20px rgba(217, 119, 6, 0.15);
}

[data-theme="light"] .icon-cyan {
  background: rgba(2, 132, 199, 0.1);
  border-color: rgba(2, 132, 199, 0.35);
  color: #0284c7;
  box-shadow: 0 0 10px rgba(2, 132, 199, 0.15);
}

[data-theme="light"] .icon-blue {
  background: rgba(37, 99, 235, 0.1);
  border-color: rgba(37, 99, 235, 0.35);
  color: #2563eb;
  box-shadow: 0 0 10px rgba(37, 99, 235, 0.15);
}

[data-theme="light"] .icon-amber {
  background: rgba(217, 119, 6, 0.1);
  border-color: rgba(217, 119, 6, 0.35);
  color: #d97706;
  box-shadow: 0 0 10px rgba(217, 119, 6, 0.15);
}

[data-theme="light"] .micro-wave-bars span {
  background: #0284c7;
}

[data-theme="light"] .bars-amber span {
  background: #d97706;
}

[data-theme="light"] .synapse-ping-dot {
  background: #2563eb;
  box-shadow: 0 0 6px #2563eb;
}

[data-theme="light"] .badge-cyan {
  background: rgba(2, 132, 199, 0.12);
  color: #0284c7;
}

[data-theme="light"] .badge-blue {
  background: rgba(37, 99, 235, 0.12);
  color: #2563eb;
}

[data-theme="light"] .badge-amber {
  background: rgba(217, 119, 6, 0.12);
  color: #d97706;
}

[data-theme="light"] .freq-hub-hz {
  color: #64748b;
}

[data-theme="light"] .freq-hub-title {
  color: #0F172A;
}

[data-theme="light"] .freq-hub-desc {
  color: #475569;
}

[data-theme="light"] .freq-hub-bridge-divider {
  background: linear-gradient(180deg, transparent, rgba(203, 213, 225, 0.9), transparent);
}

[data-theme="light"] .bridge-flow-pulse {
  background: #0284c7;
  box-shadow: 0 0 4px #0284c7;
}

/* Cards & Sections across page in Light Mode */
[data-theme="light"] .section-title {
  color: #0F172A !important;
}

[data-theme="light"] .section-desc {
  color: #475569 !important;
}

[data-theme="light"] .section-tag {
  color: #0284C7 !important;
}

/* ==========================================================================
   2. DİKOTİK DİNLEME GELİŞİM SİSTEMİ (Card A & Card B + 4 Grid)
   ========================================================================== */
[data-theme="light"] .glass-card-tilt {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(203, 213, 225, 0.85);
  box-shadow: 0 15px 40px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(15, 23, 42, 0.04);
}

[data-theme="light"] .glass-card-tilt:hover {
  border-color: rgba(2, 132, 199, 0.45);
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.09), 0 0 30px rgba(2, 132, 199, 0.1);
}

[data-theme="light"] .glass-card-tilt::before {
  background: linear-gradient(90deg, transparent, rgba(2, 132, 199, 0.35), transparent);
}

[data-theme="light"] .glass-card-tilt .card-title,
[data-theme="light"] .card-title {
  color: #0F172A !important;
}

[data-theme="light"] .glass-card-tilt .card-text,
[data-theme="light"] .card-text {
  color: #475569 !important;
}

[data-theme="light"] .card-top-badge.badge-teal {
  background: rgba(13, 148, 136, 0.12);
  color: #0F766E;
  border-color: rgba(13, 148, 136, 0.35);
}

[data-theme="light"] .card-top-badge.badge-blue {
  background: rgba(2, 132, 199, 0.12);
  color: #0284C7;
  border-color: rgba(2, 132, 199, 0.35);
}

/* Steps Indicator (01 - 02 - 03 - 04) */
[data-theme="light"] .step-node {
  background: rgba(241, 245, 249, 0.85);
  border-color: rgba(203, 213, 225, 0.85);
}

[data-theme="light"] .step-node:hover {
  background: #ffffff;
  border-color: rgba(2, 132, 199, 0.5);
}

[data-theme="light"] .step-node .step-number {
  color: #0F172A !important;
}

[data-theme="light"] .step-node .step-label {
  color: #64748B !important;
}

[data-theme="light"] .step-node.active {
  background: #ffffff;
  border-color: #0284C7;
  box-shadow: 0 4px 16px rgba(2, 132, 199, 0.16);
}

[data-theme="light"] .step-node.active .step-number {
  color: #0284C7 !important;
}

[data-theme="light"] .step-node.active .step-label {
  color: #0284C7 !important;
  font-weight: 700;
}

/* Feature Checklists in Card A & Card B */
[data-theme="light"] .check-item {
  background: rgba(241, 245, 249, 0.8);
  border-color: rgba(203, 213, 225, 0.85);
  color: #1E293B !important;
}

[data-theme="light"] .check-item span {
  color: #1E293B !important;
}

[data-theme="light"] .check-icon-wrap {
  background: rgba(2, 132, 199, 0.12);
  border-color: rgba(2, 132, 199, 0.35);
  color: #0284C7;
}

/* 4-Column Feature Mini Cards */
[data-theme="light"] .feature-mini-card {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(203, 213, 225, 0.85);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

[data-theme="light"] .feature-mini-card:hover {
  background: #ffffff;
  border-color: rgba(2, 132, 199, 0.4);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08), 0 0 20px rgba(2, 132, 199, 0.1);
}

[data-theme="light"] .mini-card-icon {
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.12), rgba(37, 99, 235, 0.08));
  border-color: rgba(2, 132, 199, 0.3);
  color: #0284C7;
}

[data-theme="light"] .mini-card-title {
  color: #0F172A !important;
}

[data-theme="light"] .mini-card-desc {
  color: #475569 !important;
}

/* ==========================================================================
   3 & 4. KLİNİK MODÜLLER & SÜREÇ DEĞERLENDİRME (clinic-visual-card)
   ========================================================================== */
[data-theme="light"] .clinic-visual-card {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(203, 213, 225, 0.85);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

[data-theme="light"] .clinic-visual-card:hover {
  background: #ffffff;
  border-color: rgba(2, 132, 199, 0.45);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.09), 0 0 25px rgba(2, 132, 199, 0.12);
}

[data-theme="light"] .clinic-micro-thumb {
  border-color: rgba(203, 213, 225, 0.85);
}

[data-theme="light"] .clinic-module-tag {
  color: #0284C7 !important;
}

[data-theme="light"] .clinic-card-title {
  color: #0F172A !important;
}

[data-theme="light"] .clinic-card-desc {
  color: #475569 !important;
}

[data-theme="light"] .clinic-citation {
  color: #B45309 !important;
  border-top-color: rgba(203, 213, 225, 0.85);
}

[data-theme="light"] .clinic-citation span,
[data-theme="light"] .clinic-citation i,
[data-theme="light"] .clinic-citation svg {
  color: #B45309 !important;
}

/* ==========================================================================
   5. NEDEN DICOTIX (Quote Highlight & Metrics)
   ========================================================================== */
[data-theme="light"] .quote-highlight-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(241, 245, 249, 0.9));
  border-color: rgba(203, 213, 225, 0.85);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.06);
}

[data-theme="light"] .quote-highlight-card::after {
  background: radial-gradient(ellipse, rgba(2, 132, 199, 0.08), transparent 70%);
}

[data-theme="light"] .quote-content blockquote {
  color: #0F172A !important;
}

[data-theme="light"] .author-line {
  background: #D97706;
}

[data-theme="light"] .author-meta h5 {
  color: #0F172A !important;
}

[data-theme="light"] .author-meta p {
  color: #B45309 !important;
}

[data-theme="light"] .counter-label {
  color: #0284C7 !important;
}

[data-theme="light"] .metric-box {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(203, 213, 225, 0.85);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

[data-theme="light"] .metric-number {
  color: #0F172A !important;
}

[data-theme="light"] .metric-number span {
  color: #0284C7 !important;
}

[data-theme="light"] .metric-text {
  color: #475569 !important;
}

/* ==========================================================================
   6. EKOSİSTEM (ROLLER)
   ========================================================================== */
[data-theme="light"] .role-card {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(203, 213, 225, 0.85);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

[data-theme="light"] .role-card:hover {
  background: #ffffff;
  border-color: rgba(2, 132, 199, 0.45);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.09), 0 0 25px rgba(2, 132, 199, 0.12);
}

[data-theme="light"] .role-card:nth-child(1) .role-badge {
  background: rgba(2, 132, 199, 0.1);
  color: #0284C7;
  border-color: rgba(2, 132, 199, 0.3);
}

[data-theme="light"] .role-card:nth-child(2) .role-badge {
  background: rgba(37, 99, 235, 0.1);
  color: #2563EB;
  border-color: rgba(37, 99, 235, 0.3);
}

[data-theme="light"] .role-card:nth-child(3) .role-badge {
  background: rgba(217, 119, 6, 0.1);
  color: #B45309;
  border-color: rgba(217, 119, 6, 0.3);
}

[data-theme="light"] .role-card:nth-child(4) .role-badge {
  background: rgba(147, 51, 234, 0.1);
  color: #7E22CE;
  border-color: rgba(147, 51, 234, 0.3);
}

[data-theme="light"] .role-title {
  color: #0F172A !important;
}

[data-theme="light"] .role-desc {
  color: #475569 !important;
}

[data-theme="light"] .role-features-list li {
  color: #334155 !important;
}

[data-theme="light"] .role-link {
  color: #0284C7 !important;
}

[data-theme="light"] .role-link:hover {
  color: #0369A1 !important;
}

/* ==========================================================================
   7. KAPANIS CTA
   ========================================================================== */
[data-theme="light"] .closing-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(241, 245, 249, 0.95) 100%);
  border-color: rgba(203, 213, 225, 0.85);
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.07);
}

[data-theme="light"] .closing-title {
  color: #0F172A !important;
}

[data-theme="light"] .closing-text {
  color: #475569 !important;
}

/* Legacy Fallbacks */
[data-theme="light"] .module-card,
[data-theme="light"] .eval-card,
[data-theme="light"] .why-card,
[data-theme="light"] .glass-panel {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(203, 213, 225, 0.8);
}
[data-theme="light"] .module-title,
[data-theme="light"] .eval-title,
[data-theme="light"] .why-card-title {
  color: #0F172A !important;
}
[data-theme="light"] .module-desc,
[data-theme="light"] .eval-desc,
[data-theme="light"] .why-card-desc {
  color: #475569 !important;
}
[data-theme="light"] .stat-card {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(203, 213, 225, 0.8);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}
[data-theme="light"] .stat-number {
  color: #0F172A !important;
}
[data-theme="light"] .stat-label {
  color: #475569 !important;
}
[data-theme="light"] .workflow-eval-metric {
  background: rgba(241, 245, 249, 0.85);
  border-color: rgba(203, 213, 225, 0.8);
}
[data-theme="light"] .metric-label {
  color: #64748B !important;
}
[data-theme="light"] .metric-val {
  color: #0F172A !important;
}

/* Footer & Pre-Footer in Light Mode */
[data-theme="light"] .footer-action-banner {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(241, 245, 249, 0.92));
  border-color: rgba(203, 213, 225, 0.85);
  box-shadow: 0 15px 40px rgba(15, 23, 42, 0.06);
}

[data-theme="light"] .action-banner-title {
  color: #0F172A;
}

[data-theme="light"] .action-banner-desc {
  color: #475569;
}

[data-theme="light"] .btn-outline-footer {
  background: rgba(15, 23, 42, 0.04);
  border-color: rgba(15, 23, 42, 0.15);
  color: #0F172A;
}

[data-theme="light"] .btn-outline-footer:hover {
  background: rgba(15, 23, 42, 0.08);
  color: #0F172A;
}

[data-theme="light"] .footer {
  background: linear-gradient(180deg, rgba(241, 245, 249, 0.7) 0%, #f1f5f9 100%);
  border-top: 1px solid rgba(203, 213, 225, 0.85);
}

[data-theme="light"] .footer-brand-desc,
[data-theme="light"] .footer-contact-desc {
  color: #475569;
}

[data-theme="light"] .footer-col-header h4 {
  color: #0F172A;
}

[data-theme="light"] .footer-links-list li a {
  color: #475569;
}

[data-theme="light"] .footer-links-list li a:hover {
  color: #0891B2;
}

[data-theme="light"] .footer-quote-box {
  background: rgba(8, 145, 178, 0.06);
  border-color: rgba(8, 145, 178, 0.2);
  color: #334155;
}

[data-theme="light"] .footer-live-status-card {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(203, 213, 225, 0.8);
  box-shadow: 0 4px 15px rgba(15, 23, 42, 0.04);
}

[data-theme="light"] .status-text {
  color: #0F172A;
}

[data-theme="light"] .acc-badge {
  background: rgba(15, 23, 42, 0.04);
  border-color: rgba(15, 23, 42, 0.12);
  color: #334155;
}

[data-theme="light"] .btn-wa-pill {
  background: rgba(34, 197, 94, 0.1);
  border-color: rgba(34, 197, 94, 0.35);
  color: #15803D;
}
[data-theme="light"] .btn-wa-pill:hover {
  background: #16A34A;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(22, 163, 74, 0.25);
}

[data-theme="light"] .btn-insta-pill {
  background: rgba(225, 48, 108, 0.08);
  border-color: rgba(225, 48, 108, 0.3);
  color: #C13584;
}
[data-theme="light"] .btn-insta-pill:hover {
  background: #E1306C;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(225, 48, 108, 0.25);
}

[data-theme="light"] .btn-mail-pill {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(203, 213, 225, 0.85);
  color: #334155;
}
[data-theme="light"] .btn-mail-pill:hover {
  background: #ffffff;
  border-color: #0284C7;
  color: #0284C7;
  box-shadow: 0 4px 15px rgba(2, 132, 199, 0.15);
}

[data-theme="light"] .social-glass-btn {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(203, 213, 225, 0.85);
  color: #475569;
}

[data-theme="light"] .social-glass-btn:hover {
  background: #ffffff;
  border-color: #0891B2;
  color: #0891B2;
}

[data-theme="light"] .social-glass-btn.btn-instagram:hover {
  background: #ffffff;
  border-color: #E1306C;
  color: #E1306C;
  box-shadow: 0 4px 15px rgba(225, 48, 108, 0.22);
}

[data-theme="light"] .social-glass-btn.btn-whatsapp-icon:hover {
  background: #ffffff;
  border-color: #16A34A;
  color: #16A34A;
  box-shadow: 0 4px 15px rgba(22, 163, 74, 0.22);
}

[data-theme="light"] .footer-bottom-bar {
  border-top-color: rgba(203, 213, 225, 0.7);
  color: #64748B;
}

[data-theme="light"] .copyright-text {
  color: #64748B;
}

[data-theme="light"] .infra-pill {
  background: rgba(15, 23, 42, 0.04);
  border-color: rgba(15, 23, 42, 0.1);
  color: #475569;
}

/* Modals in Light Mode */
[data-theme="light"] .legal-modal-overlay {
  background: rgba(15, 23, 42, 0.5);
}

[data-theme="light"] .legal-modal-container {
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.99));
  border-color: rgba(8, 145, 178, 0.35);
  box-shadow: 0 25px 70px rgba(15, 23, 42, 0.18), 0 0 40px rgba(8, 145, 178, 0.1);
}

[data-theme="light"] .legal-modal-header {
  background: rgba(241, 245, 249, 0.65);
  border-bottom-color: rgba(226, 232, 240, 0.85);
}

[data-theme="light"] .legal-modal-title {
  color: #0F172A;
}

[data-theme="light"] .legal-modal-subtitle {
  color: #64748B;
}

[data-theme="light"] .legal-modal-close {
  background: rgba(15, 23, 42, 0.05);
  border-color: rgba(15, 23, 42, 0.12);
  color: #475569;
}

[data-theme="light"] .legal-modal-close:hover {
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.3);
  color: #dc2626;
}

[data-theme="light"] .legal-modal-body {
  color: #334155;
}

[data-theme="light"] .modal-section-card {
  background: rgba(248, 250, 252, 0.85);
  border-color: rgba(226, 232, 240, 0.85);
}

[data-theme="light"] .modal-sec-header {
  color: #0F172A;
}

[data-theme="light"] .modal-section-card p {
  color: #334155;
}

[data-theme="light"] .modal-bullet-list li {
  color: #334155;
}

[data-theme="light"] .modal-callout-box {
  background: rgba(8, 145, 178, 0.06);
  border-color: rgba(8, 145, 178, 0.25);
}

[data-theme="light"] .modal-callout-text {
  color: #1e293b;
}

[data-theme="light"] .legal-modal-footer {
  background: rgba(241, 245, 249, 0.65);
  border-top-color: rgba(226, 232, 240, 0.85);
}

[data-theme="light"] .btn-modal-dismiss {
  background: rgba(15, 23, 42, 0.05);
  border-color: rgba(15, 23, 42, 0.12);
  color: #475569;
}

[data-theme="light"] .btn-modal-dismiss:hover {
  background: rgba(15, 23, 42, 0.1);
  color: #0F172A;
}

