/* ==========================================================================
   KLARITY EYE CARE HOSPITAL — GLAUCOMA TREATMENT IN LUCKNOW
   Theme: "Silent Change → Early Detection → Protection → Long-Term Clarity"
   Optical Perimetry • Diagnostic Precision • Editorial Patient Education
   Scoped to .glaucoma-page
   ========================================================================== */

/* ------------------------------------------------------------------ 
   1. PAGE TOKENS & DESIGN SYSTEM
   ------------------------------------------------------------------ */
.glaucoma-page {
  --glaucoma-navy: #0A192F;
  --glaucoma-navy-deep: #050D1A;
  --glaucoma-navy-surface: #0E203C;
  --glaucoma-navy-card: #132746;
  --glaucoma-blue: #0066CC;
  --glaucoma-blue-hover: #0052A3;
  --glaucoma-blue-light: #EBF4FE;
  --glaucoma-blue-subtle: #F0F7FF;
  --glaucoma-cyan: #00B4D8;
  --glaucoma-aqua: #00D2B4;
  --glaucoma-teal-glow: rgba(0, 210, 180, 0.25);
  --glaucoma-blue-glow: rgba(0, 102, 204, 0.25);
  --glaucoma-border-subtle: #E2E8F0;
  --glaucoma-border-dark: rgba(255, 255, 255, 0.12);
  --glaucoma-shadow-sm: 0 4px 12px rgba(10, 25, 47, 0.04);
  --glaucoma-shadow-card: 0 12px 32px -4px rgba(10, 25, 47, 0.08);
  --glaucoma-shadow-hover: 0 20px 40px -8px rgba(0, 102, 204, 0.15);
  
  background-color: #F8FAFC;
  color: #0F172A;
  overflow-x: hidden;
  font-family: var(--font-primary);
}

/* ------------------------------------------------------------------ 
   2. CUSTOM PAGE LOADER
   ------------------------------------------------------------------ */
.glaucoma-loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #0A192F;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.6s;
}

.glaucoma-loader.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.glaucoma-loader-optic {
  position: relative;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.glaucoma-loader-ring-outer {
  position: absolute;
  inset: 0;
  border: 2px dashed rgba(0, 180, 216, 0.4);
  border-radius: 50%;
  animation: glaucomaSpin 10s linear infinite;
}

.glaucoma-loader-ring-inner {
  position: absolute;
  inset: 12px;
  border: 2px solid #00D2B4;
  border-top-color: transparent;
  border-radius: 50%;
  animation: glaucomaSpinReverse 3s cubic-bezier(0.68, -0.55, 0.27, 1.55) infinite;
}

.glaucoma-loader-nerve {
  width: 14px;
  height: 14px;
  background: #FFFFFF;
  border-radius: 50%;
  box-shadow: 0 0 16px rgba(0, 210, 180, 0.9);
}

.glaucoma-loader-text {
  color: #94A3B8;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

@keyframes glaucomaSpin {
  to { transform: rotate(360deg); }
}

@keyframes glaucomaSpinReverse {
  to { transform: rotate(-360deg); }
}

/* ------------------------------------------------------------------ 
   3. SHARED TYPOGRAPHY & SECTION HEADERS
   ------------------------------------------------------------------ */
.glaucoma-section {
  position: relative;
  padding: 6.5rem 0;
  background-color: #F8FAFC;
}

.glaucoma-section-alt {
  background-color: #FFFFFF;
}

.glaucoma-section-dark {
  background-color: #0A192F;
  color: #FFFFFF;
}

.glaucoma-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.35rem 0.9rem;
  background: rgba(0, 102, 204, 0.08);
  border: 1px solid rgba(0, 102, 204, 0.2);
  border-radius: 9999px;
  color: #0066CC;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.glaucoma-section-dark .glaucoma-eyebrow {
  background: rgba(0, 210, 180, 0.12);
  border-color: rgba(0, 210, 180, 0.3);
  color: #00D2B4;
}

.glaucoma-section-title {
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  color: #0A192F;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
}

.glaucoma-section-dark .glaucoma-section-title {
  color: #FFFFFF;
}

.glaucoma-section-lead {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: #475569;
  max-width: 680px;
}

.glaucoma-section-dark .glaucoma-section-lead {
  color: #94A3B8;
}

/* ------------------------------------------------------------------ 
   4. SECTION 01 — HERO SECTION
   ------------------------------------------------------------------ */
.glaucoma-hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #050D1A 0%, #0A192F 55%, #0E203C 100%);
  color: #FFFFFF;
  padding: 7rem 0 5rem;
  overflow: hidden;
}

.glaucoma-hero::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  top: -150px;
  right: -100px;
  background: radial-gradient(circle, rgba(0, 180, 216, 0.15) 0%, rgba(0, 102, 204, 0.08) 40%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.glaucoma-hero::after {
  content: '';
  position: absolute;
  width: 450px;
  height: 450px;
  bottom: -100px;
  left: -100px;
  background: radial-gradient(circle, rgba(0, 210, 180, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.glaucoma-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.glaucoma-hero-content {
  position: relative;
}

.glaucoma-hero-title {
  font-size: clamp(2.4rem, 4.2vw, 3.6rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #FFFFFF;
  margin-bottom: 1.25rem;
}

.glaucoma-hero-title span {
  background: linear-gradient(135deg, #FFFFFF 30%, #00D2B4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.glaucoma-hero-lead {
  font-size: 1.125rem;
  line-height: 1.75;
  color: #CBD5E1;
  margin-bottom: 1.5rem;
  max-width: 580px;
}

.glaucoma-hero-subtext {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: #94A3B8;
  border-left: 2px solid #00D2B4;
  padding-left: 1rem;
  margin-bottom: 2rem;
}

.glaucoma-hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.25rem;
}

.glaucoma-metric-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9999px;
  font-size: 0.8125rem;
  color: #E2E8F0;
  backdrop-filter: blur(8px);
}

.glaucoma-metric-pill i {
  color: #00D2B4;
  font-size: 1rem;
}

.glaucoma-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.btn-hero-call {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.8rem 1.6rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 9999px;
  color: #FFFFFF;
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

.btn-hero-call:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: #00D2B4;
  color: #00D2B4;
}

/* Hero Diagnostic Visual HUD */
.glaucoma-hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.glaucoma-optic-hud {
  position: relative;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 1;
  border-radius: 28px;
  background: rgba(14, 32, 60, 0.6);
  border: 1px solid rgba(0, 180, 216, 0.25);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4), inset 0 0 40px rgba(0, 180, 216, 0.08);
  overflow: hidden;
  backdrop-filter: blur(12px);
  padding: 1.5rem;
}

.glaucoma-hud-img-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  overflow: hidden;
}

.glaucoma-hud-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Optical Rings Overlay */
.glaucoma-optic-rings {
  position: absolute;
  inset: 0;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.glaucoma-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(0, 210, 180, 0.3);
}

.glaucoma-ring-1 {
  width: 80%;
  height: 80%;
  border-style: dashed;
  animation: glaucomaSpin 35s linear infinite;
}

.glaucoma-ring-2 {
  width: 55%;
  height: 55%;
  border-color: rgba(0, 180, 216, 0.4);
}

.glaucoma-ring-3 {
  width: 30%;
  height: 30%;
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 0 20px rgba(0, 210, 180, 0.3);
}

.glaucoma-scan-line {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(0, 210, 180, 0.8), transparent);
  box-shadow: 0 0 12px #00D2B4;
  animation: glaucomaScan 4s ease-in-out infinite alternate;
}

@keyframes glaucomaScan {
  0% { top: 15%; opacity: 0.3; }
  50% { opacity: 0.9; }
  100% { top: 85%; opacity: 0.3; }
}

.glaucoma-hud-badge {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
  background: rgba(10, 25, 47, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  backdrop-filter: blur(10px);
}

.glaucoma-hud-badge-title {
  font-size: 0.8125rem;
  font-weight: 700;
  color: #FFFFFF;
}

.glaucoma-hud-badge-sub {
  font-size: 0.6875rem;
  color: #00D2B4;
  letter-spacing: 0.05em;
}

/* ------------------------------------------------------------------ 
   5. SECTION 02 — WHAT IS GLAUCOMA? (EDITORIAL SPLIT & FLUID PATHWAY)
   ------------------------------------------------------------------ */
.glaucoma-understanding-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.glaucoma-big-quote {
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  font-weight: 700;
  line-height: 1.35;
  color: #0A192F;
  margin-bottom: 1.75rem;
  position: relative;
  padding-left: 1.5rem;
  border-left: 4px solid #0066CC;
}

.glaucoma-text-block p {
  font-size: 1rem;
  line-height: 1.75;
  color: #475569;
  margin-bottom: 1.25rem;
}

.glaucoma-pathway-box {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 20px;
  padding: 2.25rem;
  box-shadow: var(--glaucoma-shadow-card);
}

.glaucoma-pathway-title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: #0A192F;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.glaucoma-pathway-steps {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: relative;
}

.glaucoma-pathway-step {
  display: flex;
  gap: 1.25rem;
  position: relative;
}

.glaucoma-step-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #EBF4FE;
  color: #0066CC;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.glaucoma-step-content h5 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #0A192F;
  margin-bottom: 0.25rem;
}

.glaucoma-step-content p {
  font-size: 0.8125rem;
  line-height: 1.55;
  color: #64748B;
  margin: 0;
}

/* ------------------------------------------------------------------ 
   6. SECTION 03 — HOW GLAUCOMA AFFECTS VISION (PERIPHERAL SIMULATOR)
   ------------------------------------------------------------------ */
.glaucoma-simulator-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: var(--glaucoma-shadow-card);
  margin-top: 2.5rem;
}

.glaucoma-simulator-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
  justify-content: center;
}

.glaucoma-sim-btn {
  padding: 0.55rem 1.25rem;
  background: #F1F5F9;
  border: 1px solid #CBD5E1;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.glaucoma-sim-btn.active {
  background: #0066CC;
  border-color: #0066CC;
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(0, 102, 204, 0.25);
}

.glaucoma-simulator-display {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}

.glaucoma-perimetry-visual {
  position: relative;
  width: 100%;
  max-width: 440px;
  aspect-ratio: 1;
  margin: 0 auto;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(10, 25, 47, 0.15);
  border: 3px solid #0A192F;
}

.glaucoma-perimetry-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 0.4s ease;
}

/* Peripheral vignette masks */
.glaucoma-perimetry-mask {
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: 50%;
  transition: background 0.5s ease;
}

/* Mode classes for simulator */
.glaucoma-sim-mode-normal .glaucoma-perimetry-mask {
  background: transparent;
}

.glaucoma-sim-mode-early .glaucoma-perimetry-mask {
  background: radial-gradient(circle, transparent 60%, rgba(10, 25, 47, 0.6) 85%, rgba(10, 25, 47, 0.95) 100%);
}

.glaucoma-sim-mode-advanced .glaucoma-perimetry-mask {
  background: radial-gradient(circle, transparent 35%, rgba(10, 25, 47, 0.85) 60%, rgba(10, 25, 47, 0.98) 85%);
}

.glaucoma-sim-mode-tunnel .glaucoma-perimetry-mask {
  background: radial-gradient(circle, transparent 18%, rgba(10, 25, 47, 0.95) 35%, #050D1A 65%);
}

.glaucoma-simulator-info {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.glaucoma-sim-stage-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  background: #EBF4FE;
  color: #0066CC;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  width: fit-content;
}

.glaucoma-sim-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #0A192F;
  margin: 0;
}

.glaucoma-sim-desc {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: #475569;
}

.glaucoma-sim-note {
  font-size: 0.8125rem;
  line-height: 1.55;
  color: #64748B;
  background: #F8FAFC;
  border-left: 3px solid #0066CC;
  padding: 0.75rem 1rem;
  border-radius: 0 8px 8px 0;
}

/* ------------------------------------------------------------------ 
   7. SECTION 04 — SYMPTOMS & CLINICAL ALERT
   ------------------------------------------------------------------ */
.glaucoma-symptoms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.glaucoma-symptom-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 18px;
  padding: 1.75rem;
  box-shadow: var(--glaucoma-shadow-sm);
  display: flex;
  gap: 1.25rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.glaucoma-symptom-card:hover {
  transform: translateY(-3px);
  border-color: #0066CC;
  box-shadow: var(--glaucoma-shadow-card);
}

.glaucoma-symptom-num {
  font-family: var(--font-mono);
  font-size: 1.125rem;
  font-weight: 800;
  color: #0066CC;
  background: #EBF4FE;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.glaucoma-symptom-body h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #0A192F;
  margin-bottom: 0.35rem;
}

.glaucoma-symptom-body p {
  font-size: 0.84rem;
  line-height: 1.6;
  color: #64748B;
  margin: 0;
}

/* Clinical Alert Banner */
.glaucoma-clinical-alert {
  margin-top: 3rem;
  background: #FFFBEB;
  border: 1px solid #FCD34D;
  border-radius: 18px;
  padding: 1.75rem 2rem;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.glaucoma-alert-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #FEF3C7;
  color: #D97706;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.glaucoma-alert-content h4 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: #92400E;
  margin-bottom: 0.35rem;
}

.glaucoma-alert-content p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #78350F;
  margin: 0;
}

/* ------------------------------------------------------------------ 
   8. SECTION 05 — TYPES OF GLAUCOMA (INTERACTIVE COMPARISON)
   ------------------------------------------------------------------ */
.glaucoma-types-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin: 2.5rem 0 2rem;
}

.glaucoma-type-tab-btn {
  padding: 0.65rem 1.4rem;
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 700;
  color: #334155;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.glaucoma-type-tab-btn.active {
  background: #0066CC;
  border-color: #0066CC;
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(0, 102, 204, 0.3);
}

.glaucoma-type-panel {
  display: none;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 24px;
  padding: 3rem;
  box-shadow: var(--glaucoma-shadow-card);
}

.glaucoma-type-panel.active {
  display: block;
}

.glaucoma-type-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.glaucoma-type-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #0066CC;
  background: #EBF4FE;
  padding: 0.35rem 0.8rem;
  border-radius: 9999px;
  margin-bottom: 1rem;
}

.glaucoma-type-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: #0A192F;
  margin-bottom: 1rem;
}

.glaucoma-type-desc {
  font-size: 1rem;
  line-height: 1.75;
  color: #475569;
  margin-bottom: 1.5rem;
}

.glaucoma-type-features {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.glaucoma-type-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: #334155;
  line-height: 1.5;
}

.glaucoma-type-features li i {
  color: #0066CC;
  font-size: 1.1rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.glaucoma-type-visual-box {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
}

.glaucoma-type-visual-box h5 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #0A192F;
  margin-bottom: 0.75rem;
}

.glaucoma-type-visual-box p {
  font-size: 0.8125rem;
  line-height: 1.6;
  color: #64748B;
  margin: 0;
}

/* ------------------------------------------------------------------ 
   9. SECTION 06 — DIAGNOSIS & TESTING SEQUENCE
   ------------------------------------------------------------------ */
.glaucoma-diag-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
  margin-top: 3rem;
}

.glaucoma-diag-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 20px;
  padding: 2.25rem 2rem;
  box-shadow: var(--glaucoma-shadow-sm);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.glaucoma-diag-card:hover {
  transform: translateY(-4px);
  border-color: #0066CC;
  box-shadow: var(--glaucoma-shadow-card);
}

.glaucoma-diag-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.glaucoma-diag-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #EBF4FE;
  color: #0066CC;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.glaucoma-diag-step-num {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 800;
  color: #94A3B8;
  letter-spacing: 0.1em;
}

.glaucoma-diag-card h4 {
  font-size: 1.125rem;
  font-weight: 700;
  color: #0A192F;
  margin-bottom: 0.75rem;
}

.glaucoma-diag-card p {
  font-size: 0.875rem;
  line-height: 1.65;
  color: #64748B;
  margin: 0;
}

/* ------------------------------------------------------------------ 
   10. SECTION 07 — TREATMENT PATHWAYS OVERVIEW
   ------------------------------------------------------------------ */
.glaucoma-pathways-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.glaucoma-pathway-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 22px;
  padding: 2.5rem 2rem;
  box-shadow: var(--glaucoma-shadow-card);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.glaucoma-pathway-card:hover {
  transform: translateY(-4px);
  border-color: #0066CC;
  box-shadow: var(--glaucoma-shadow-hover);
}

.glaucoma-pathway-tag {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #0066CC;
  background: #EBF4FE;
  padding: 0.35rem 0.8rem;
  border-radius: 9999px;
  width: fit-content;
  margin-bottom: 1.25rem;
}

.glaucoma-pathway-card h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0A192F;
  margin-bottom: 0.85rem;
}

.glaucoma-pathway-card p {
  font-size: 0.9rem;
  line-height: 1.65;
  color: #64748B;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.glaucoma-pathway-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: #0066CC;
  text-decoration: none;
}

.glaucoma-pathway-link:hover {
  text-decoration: underline;
}

/* ------------------------------------------------------------------ 
   11. SECTION 08 — EYE DROPS MODULE
   ------------------------------------------------------------------ */
.glaucoma-meds-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.glaucoma-med-pill-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: var(--glaucoma-shadow-sm);
  display: flex;
  flex-direction: column;
}

.glaucoma-med-pill-card h5 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #0A192F;
  margin-bottom: 0.35rem;
}

.glaucoma-med-pill-card p {
  font-size: 0.8125rem;
  line-height: 1.55;
  color: #64748B;
  margin: 0;
}

.glaucoma-med-warning-card {
  background: #F0F7FF;
  border: 1px solid #BAE6FD;
  border-radius: 18px;
  padding: 1.75rem 2rem;
  margin-top: 2.5rem;
  display: flex;
  gap: 1.25rem;
  align-items: center;
}

.glaucoma-med-warning-icon {
  font-size: 2rem;
  color: #0066CC;
  flex-shrink: 0;
}

/* ------------------------------------------------------------------ 
   12. SECTION 09 & 10 — LASER & SURGERY MODULES
   ------------------------------------------------------------------ */
.glaucoma-dual-procedure-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-top: 2.5rem;
}

.glaucoma-procedure-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 22px;
  padding: 2.5rem 2rem;
  box-shadow: var(--glaucoma-shadow-card);
  display: flex;
  flex-direction: column;
}

.glaucoma-procedure-card h4 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0A192F;
  margin-bottom: 0.75rem;
}

.glaucoma-procedure-card p {
  font-size: 0.9rem;
  line-height: 1.65;
  color: #475569;
  margin-bottom: 1.25rem;
}

.glaucoma-procedure-bullets {
  list-style: none;
  padding: 0;
  margin-bottom: 1.5rem;
}

.glaucoma-procedure-bullets li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.875rem;
  color: #334155;
  margin-bottom: 0.5rem;
}

.glaucoma-procedure-bullets li i {
  color: #0066CC;
  font-size: 1rem;
}

/* ------------------------------------------------------------------ 
   13. SECTION 11 — COST FACTORS
   ------------------------------------------------------------------ */
.glaucoma-cost-factors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.glaucoma-cost-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 18px;
  padding: 1.75rem;
  box-shadow: var(--glaucoma-shadow-sm);
  display: flex;
  gap: 1.25rem;
}

.glaucoma-cost-num {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 800;
  color: #0066CC;
  background: #EBF4FE;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.glaucoma-cost-body h5 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #0A192F;
  margin-bottom: 0.35rem;
}

.glaucoma-cost-body p {
  font-size: 0.8125rem;
  line-height: 1.55;
  color: #64748B;
  margin: 0;
}

/* ------------------------------------------------------------------ 
   14. SECTION 12 — LONG-TERM FOLLOW-UP TIMELINE
   ------------------------------------------------------------------ */
.glaucoma-timeline-wrap {
  position: relative;
  margin-top: 3.5rem;
}

.glaucoma-timeline-track {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.25rem;
  position: relative;
}

.glaucoma-timeline-node {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 1.5rem 1.25rem;
  box-shadow: var(--glaucoma-shadow-sm);
  text-align: center;
  position: relative;
}

.glaucoma-timeline-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #EBF4FE;
  color: #0066CC;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.glaucoma-timeline-node h5 {
  font-size: 0.875rem;
  font-weight: 700;
  color: #0A192F;
  margin-bottom: 0.35rem;
}

.glaucoma-timeline-node p {
  font-size: 0.75rem;
  line-height: 1.5;
  color: #64748B;
  margin: 0;
}

/* ------------------------------------------------------------------ 
   15. SECTION 13 — GLAUCOMA + CATARACT COMBINED
   ------------------------------------------------------------------ */
.glaucoma-combined-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 24px;
  padding: 3rem;
  box-shadow: var(--glaucoma-shadow-card);
  margin-top: 2.5rem;
}

.glaucoma-combined-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.glaucoma-combined-points {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.glaucoma-combined-points li {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #334155;
}

.glaucoma-combined-points li i {
  color: #0066CC;
  font-size: 1.15rem;
  flex-shrink: 0;
  margin-top: 0.2rem;
}

/* ------------------------------------------------------------------ 
   16. SECTION 14 — SCREENING & RISK FACTORS
   ------------------------------------------------------------------ */
.glaucoma-screening-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.glaucoma-risk-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 18px;
  padding: 1.75rem;
  box-shadow: var(--glaucoma-shadow-sm);
  display: flex;
  gap: 1.25rem;
  align-items: center;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.glaucoma-risk-card:hover {
  transform: translateY(-3px);
  border-color: #0066CC;
}

.glaucoma-risk-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #F1F5F9;
  color: #0066CC;
  font-size: 1.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.glaucoma-risk-card h4 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #0A192F;
  margin-bottom: 0.2rem;
}

.glaucoma-risk-card p {
  font-size: 0.8125rem;
  color: #64748B;
  margin: 0;
}

/* ------------------------------------------------------------------ 
   17. SECTION 15 — TRUSTED KLARITY CARE
   ------------------------------------------------------------------ */
.glaucoma-trusted-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.glaucoma-trusted-img-wrap {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--glaucoma-shadow-card);
}

.glaucoma-trusted-img {
  width: 100%;
  height: auto;
  display: block;
}

.glaucoma-trusted-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  background: rgba(10, 25, 47, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  padding: 1rem 1.25rem;
  color: #FFFFFF;
  backdrop-filter: blur(10px);
}

.glaucoma-trusted-badge h5 {
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: #00D2B4;
}

.glaucoma-trusted-badge p {
  font-size: 0.75rem;
  color: #CBD5E1;
  margin: 0;
}

/* ------------------------------------------------------------------ 
   18. SECTION 16 — EXPLORE RELATED EYE CARE
   ------------------------------------------------------------------ */
.glaucoma-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-top: 3rem;
}

.glaucoma-related-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--glaucoma-shadow-sm);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.glaucoma-related-card:hover {
  transform: translateY(-5px);
  border-color: #0066CC;
  box-shadow: var(--glaucoma-shadow-card);
}

.glaucoma-related-thumb {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.glaucoma-related-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.glaucoma-related-card:hover .glaucoma-related-thumb img {
  transform: scale(1.05);
}

.glaucoma-related-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.glaucoma-related-body h4 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: #0A192F;
  margin-bottom: 0.5rem;
}

.glaucoma-related-body p {
  font-size: 0.8125rem;
  line-height: 1.6;
  color: #64748B;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.glaucoma-related-link {
  font-size: 0.8125rem;
  font-weight: 700;
  color: #0066CC;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* ------------------------------------------------------------------ 
   19. SECTION 17 — FINAL APPOINTMENT CTA & FORM
   ------------------------------------------------------------------ */
.glaucoma-cta-section {
  background: linear-gradient(135deg, #050D1A 0%, #0A192F 100%);
  color: #FFFFFF;
  padding: 6.5rem 0;
  position: relative;
  overflow: hidden;
}

.glaucoma-cta-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.glaucoma-cta-content h2 {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  color: #FFFFFF;
  margin-bottom: 1rem;
}

.glaucoma-cta-content p {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: #CBD5E1;
  margin-bottom: 2rem;
  max-width: 520px;
}

.glaucoma-cta-contacts {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.glaucoma-cta-contact-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: #E2E8F0;
  font-size: 0.9375rem;
}

.glaucoma-cta-contact-row i {
  color: #00D2B4;
  font-size: 1.25rem;
}

.glaucoma-cta-contact-row a {
  color: #FFFFFF;
  font-weight: 700;
  text-decoration: none;
}

.glaucoma-cta-contact-row a:hover {
  color: #00D2B4;
}

/* Form Card */
.glaucoma-form-card {
  background: #FFFFFF;
  border-radius: 24px;
  padding: 2.5rem;
  color: #0F172A;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.glaucoma-form-card h4 {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0A192F;
  margin-bottom: 0.35rem;
}

.glaucoma-form-card p {
  font-size: 0.84rem;
  color: #64748B;
  margin-bottom: 1.5rem;
}

.glaucoma-input-group {
  margin-bottom: 1.15rem;
}

.glaucoma-input-group label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #334155;
  margin-bottom: 0.35rem;
}

.glaucoma-form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  background: #F8FAFC;
  border: 1px solid #CBD5E1;
  border-radius: 10px;
  font-size: 0.875rem;
  color: #0F172A;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.glaucoma-form-input:focus {
  outline: none;
  border-color: #0066CC;
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.15);
  background: #FFFFFF;
}

.glaucoma-form-status {
  margin-top: 1rem;
  font-size: 0.84rem;
  border-radius: 8px;
  padding: 0.65rem 1rem;
  display: none;
}

.glaucoma-form-status.success {
  display: block;
  background: #DCFCE7;
  color: #166534;
  border: 1px solid #86EFAC;
}

.glaucoma-form-status.error {
  display: block;
  background: #FEE2E2;
  color: #991B1B;
  border: 1px solid #FCA5A5;
}

/* ------------------------------------------------------------------ 
   20. RESPONSIVE DESIGN (1200, 991, 768, 576, 375)
   ------------------------------------------------------------------ */
@media (max-width: 1200px) {
  .glaucoma-timeline-track {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 991px) {
  .glaucoma-hero-grid,
  .glaucoma-understanding-grid,
  .glaucoma-simulator-display,
  .glaucoma-type-layout,
  .glaucoma-dual-procedure-grid,
  .glaucoma-combined-grid,
  .glaucoma-trusted-grid,
  .glaucoma-cta-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .glaucoma-pathways-cards,
  .glaucoma-related-grid {
    grid-template-columns: 1fr;
  }

  .glaucoma-hero {
    padding: 6rem 0 4rem;
  }
}

@media (max-width: 768px) {
  .glaucoma-section {
    padding: 4.5rem 0;
  }

  .glaucoma-timeline-track {
    grid-template-columns: 1fr;
  }

  .glaucoma-type-panel,
  .glaucoma-simulator-card,
  .glaucoma-combined-card,
  .glaucoma-form-card {
    padding: 1.75rem;
  }
}

@media (max-width: 576px) {
  .glaucoma-hero-title {
    font-size: 2rem;
  }

  .glaucoma-optic-hud {
    aspect-ratio: 1;
    max-width: 320px;
  }
}

/* ------------------------------------------------------------------ 
   21. GLOBAL CONTENT VISIBILITY SAFETY NET (GSAP FALLBACK)
   Content MUST be visible by default in static HTML/CSS.
   ------------------------------------------------------------------ */
.glaucoma-symptom-card,
.glaucoma-type-panel,
.glaucoma-diag-card,
.glaucoma-pathway-card,
.glaucoma-med-pill-card,
.glaucoma-procedure-card,
.glaucoma-cost-card,
.glaucoma-timeline-node,
.glaucoma-risk-card,
.glaucoma-related-card,
.glaucoma-form-card,
.glaucoma-pathway-box,
.glaucoma-simulator-card,
.glaucoma-combined-card {
  opacity: 1;
  visibility: visible;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .glaucoma-ring-1,
  .glaucoma-scan-line,
  .glaucoma-loader-ring-outer,
  .glaucoma-loader-ring-inner {
    animation: none !important;
  }

  .glaucoma-symptom-card,
  .glaucoma-type-panel,
  .glaucoma-diag-card,
  .glaucoma-pathway-card,
  .glaucoma-med-pill-card,
  .glaucoma-procedure-card,
  .glaucoma-cost-card,
  .glaucoma-timeline-node,
  .glaucoma-risk-card,
  .glaucoma-related-card,
  .glaucoma-form-card,
  .glaucoma-pathway-box,
  .glaucoma-simulator-card,
  .glaucoma-combined-card {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
  }
}
