:root {
  /* Dynamic Vision Theme Variables */
  --vital-sight-dark: #080c14;
  --vital-sight-surface: #0f172a;
  --vital-sight-surface-glow: #1e293b;
  --vital-sight-accent: #00f2fe;
  --vital-sight-accent-alt: #7f00ff;
  --vital-sight-text: #f8fafc;
  --vital-sight-muted: #94a3b8;
  --vital-sight-gradient: linear-gradient(135deg, #00f2fe 0%, #4facfe 50%, #7f00ff 100%);
  --vital-sight-gradient-soft: linear-gradient(180deg, rgba(15, 23, 42, 0.95), rgba(8, 12, 20, 0.98));
  
  /* Visual Settings */
  --font-display: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;
  --vital-sight-radius: 16px;
  --vital-sight-shadow-raised: 0 10px 30px -10px rgba(0, 242, 254, 0.15);
  --vital-sight-shadow-deep: 0 20px 40px -15px rgba(0, 0, 0, 0.5);
  --vital-sight-padding-scale: 10dvh;
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-body);
  background-color: var(--vital-sight-dark);
  color: var(--vital-sight-text);
  overflow-x: hidden;
}

body {
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.2;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.3s ease;
}

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

/* Scroll Progress Bar */
.sight-scroll-progress-stripe {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background: var(--vital-sight-gradient);
  width: 0%;
  animation: sight-scroll-growth linear;
  animation-timeline: scroll();
}

@keyframes sight-scroll-growth {
  to { width: 100%; }
}

/* Scroll Reveal Animation */
.sight-epoch-segment {
  animation: sight-fade-reveal both linear;
  animation-timeline: view();
  animation-range: entry 0% entry 30%;
}

@keyframes sight-fade-reveal {
  from { opacity: 0; transform: translateY(50px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Header Styles */
.cornea-steer-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--vital-sight-surface);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pupil-logo-box {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--vital-sight-text);
  text-transform: uppercase;
}

.pupil-logo-box svg {
  fill: var(--vital-sight-accent);
}

.cornea-steer-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.cornea-steer-link {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--vital-sight-muted);
  position: relative;
  padding: 0.5rem 0;
}

.cornea-steer-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--vital-sight-gradient);
  transition: width 0.3s ease;
}

.cornea-steer-link:hover,
.cornea-steer-link.active {
  color: var(--vital-sight-text);
}

.cornea-steer-link:hover::after,
.cornea-steer-link.active::after {
  width: 100%;
}

/* Hamburger Menu CSS-Only */
.retina-menu-btn {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  z-index: 1001;
}

.retina-menu-btn span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--vital-sight-text);
  border-radius: 3px;
  transition: all 0.3s ease;
}

#cornea-menu-toggle {
  display: none;
}

/* Fullscreen Hero (Preset A) */
.visual-epic-curtain {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.visual-epic-curtain::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(15, 23, 42, 0.4) 0%, var(--vital-sight-dark) 100%);
}

.visual-epic-curtain-inner {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 1.5rem;
}

.optic-climax-caption {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  margin-bottom: 1.5rem;
  background: var(--vital-sight-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: glow-pulse 3s infinite alternate;
}

@keyframes glow-pulse {
  from { filter: drop-shadow(0 0 5px rgba(0, 242, 254, 0.1)); }
  to { filter: drop-shadow(0 0 20px rgba(0, 242, 254, 0.3)); }
}

.optic-whisper-caption {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: var(--vital-sight-muted);
  margin-bottom: 2.5rem;
}

/* Pill Button CTA */
.retina-trigger-link {
  display: inline-block;
  padding: 1rem 2.5rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--vital-sight-dark);
  background: var(--vital-sight-gradient);
  box-shadow: var(--vital-sight-shadow-raised);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.retina-trigger-link::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #7f00ff 0%, #4facfe 50%, #00f2fe 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}

.retina-trigger-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px -5px rgba(0, 242, 254, 0.4);
}

.retina-trigger-link:hover::before {
  opacity: 1;
}

/* Floating Stat Bar (Preset A) */
.iris-floating-stats {
  position: relative;
  margin-top: -60px;
  z-index: 10;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 1.5rem;
}

.iris-floating-stats-inner {
  background: var(--vital-sight-surface-glow);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--vital-sight-radius);
  padding: 2rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  box-shadow: var(--vital-sight-shadow-deep);
}

.pupil-stat-tile {
  text-align: center;
}

.pupil-stat-num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--vital-sight-accent);
  line-height: 1.1;
  margin-bottom: 0.5rem;
}

.pupil-stat-label {
  font-size: 0.9rem;
  color: var(--vital-sight-muted);
  text-transform: uppercase;
}

/* Zig-Zag Content Section */
.sight-epoch-segment {
  padding: var(--vital-sight-padding-scale) 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.lens-zigzag-row {
  display: flex;
  align-items: center;
  gap: 4rem;
  margin-bottom: 6rem;
}

.lens-zigzag-row:last-child {
  margin-bottom: 0;
}

.lens-zigzag-row:nth-child(even) {
  flex-direction: row-reverse;
}

.lens-zigzag-media {
  flex: 1;
  position: relative;
}

.lens-zigzag-img-wrapper {
  overflow: hidden;
  border-radius: var(--vital-sight-radius);
  box-shadow: var(--vital-sight-shadow-deep);
}

.lens-zigzag-row:nth-child(odd) .lens-zigzag-img-wrapper {
  clip-path: polygon(0 0, 100% 0, 92% 100%, 0 100%);
}

.lens-zigzag-row:nth-child(even) .lens-zigzag-img-wrapper {
  clip-path: polygon(8% 0, 100% 0, 100% 100%, 0 100%);
}

.lens-zigzag-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.lens-zigzag-row:hover .lens-zigzag-img {
  transform: scale(1.05);
}

.lens-zigzag-content {
  flex: 1.2;
}

.lens-zigzag-tag {
  color: var(--vital-sight-accent);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
  display: inline-block;
}

.lens-zigzag-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 1.5rem;
}

.lens-zigzag-text {
  color: var(--vital-sight-muted);
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}

/* Features Grid Segment */
.optic-virtue-board {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.pupil-shield-tile {
  background: var(--vital-sight-surface);
  border-left: 4px solid var(--vital-sight-accent);
  border-radius: 0 var(--vital-sight-radius) var(--vital-sight-radius) 0;
  padding: 2.5rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.pupil-shield-tile:hover {
  transform: translateY(-5px);
  box-shadow: var(--vital-sight-shadow-raised);
  border-left-color: var(--vital-sight-accent-alt);
}

.pupil-shield-icon {
  margin-bottom: 1.5rem;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 242, 254, 0.1);
  border-radius: var(--vital-sight-radius);
  color: var(--vital-sight-accent);
}

.pupil-shield-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--vital-sight-text);
}

.pupil-shield-desc {
  color: var(--vital-sight-muted);
  font-size: 0.95rem;
}

/* Timeline Element (How it Works) */
.retina-timeline-trail {
  position: relative;
  max-width: 900px;
  margin: 4rem auto 0 auto;
  padding: 2rem 0;
}

.retina-timeline-trail::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--vital-sight-accent) 0%, var(--vital-sight-accent-alt) 100%);
  transform: translateX(-50%);
}

.timeline-node {
  position: relative;
  margin-bottom: 4rem;
  width: 100%;
}

.timeline-node:last-child {
  margin-bottom: 0;
}

.timeline-node-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--vital-sight-dark);
  border: 3px solid var(--vital-sight-accent);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--vital-sight-accent);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.4);
  z-index: 2;
}

.timeline-node-content {
  width: 45%;
  padding: 1.5rem;
  background: var(--vital-sight-surface);
  border-radius: var(--vital-sight-radius);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.timeline-node:nth-child(odd) .timeline-node-content {
  margin-left: auto;
}

.timeline-node:nth-child(even) .timeline-node-content {
  margin-right: auto;
  text-align: right;
}

/* CTA Strip (Preset A) */
.retina-cta-belt {
  position: relative;
  padding: 6rem 1.5rem;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.retina-cta-belt::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 12, 20, 0.85) 0%, rgba(15, 23, 42, 0.9) 100%);
}

.retina-cta-belt-inner {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
}

/* Expert Page Layout (Preset A) */
.expert-profile-split {
  display: flex;
  gap: 4rem;
  align-items: center;
  margin: 4rem 0;
}

.expert-profile-media {
  flex: 1;
}

.expert-profile-frame {
  position: relative;
  border-radius: var(--vital-sight-radius);
  overflow: hidden;
  box-shadow: var(--vital-sight-shadow-deep);
}

.expert-profile-frame img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.expert-profile-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 2px solid var(--vital-sight-accent);
  border-radius: var(--vital-sight-radius);
  transform: translate(15px, 15px);
  z-index: -1;
  pointer-events: none;
}

.expert-profile-info {
  flex: 1.2;
}

/* Reserve & Form Styles (Preset A) */
.sight-form-section {
  max-width: 650px;
  margin: 0 auto;
  background: var(--vital-sight-surface-glow);
  padding: 3rem;
  border-radius: var(--vital-sight-radius);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--vital-sight-shadow-deep);
}

.sight-form-group {
  margin-bottom: 1.5rem;
}

.sight-form-label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--vital-sight-muted);
}

.sight-form-input {
  width: 100%;
  padding: 1rem 1.25rem;
  background: var(--vital-sight-surface);
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  border-radius: calc(var(--vital-sight-radius) / 2);
  color: var(--vital-sight-text);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.sight-form-input:focus {
  outline: none;
  border-color: var(--vital-sight-accent);
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.15);
}

.sight-form-checkbox-wrap {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-top: 1.5rem;
  margin-bottom: 2rem;
}

.sight-form-checkbox-wrap input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--vital-sight-accent);
  margin-top: 0.15rem;
}

.sight-form-checkbox-wrap label {
  font-size: 0.85rem;
  color: var(--vital-sight-muted);
}

.sight-form-checkbox-wrap a {
  color: var(--vital-sight-accent);
  text-decoration: underline;
}

/* FAQ Accordion */
.sight-faq-accordion {
  margin-top: 5rem;
}

.sight-faq-item {
  background: var(--vital-sight-surface);
  border-radius: var(--vital-sight-radius);
  border: 1px solid rgba(255, 255, 255, 0.05);
  margin-bottom: 1rem;
  overflow: hidden;
}

.sight-faq-summary {
  padding: 1.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  cursor: pointer;
  outline: none;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sight-faq-summary::-webkit-details-marker {
  display: none;
}

.sight-faq-summary::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--vital-sight-accent);
}

.sight-faq-item[open] .sight-faq-summary::after {
  content: '−';
}

.sight-faq-content {
  padding: 0 1.5rem 1.5rem 1.5rem;
  color: var(--vital-sight-muted);
}

/* Legal Pages & Thanks */
.sight-legal-container {
  max-width: 800px;
  margin: 0 auto;
  padding: var(--vital-sight-padding-scale) 1.5rem;
  min-height: 100vh;
}

.sight-legal-title {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  background: var(--vital-sight-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.sight-legal-block {
  margin-bottom: 2rem;
}

.sight-legal-block h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--vital-sight-text);
}

.sight-legal-block p {
  color: var(--vital-sight-muted);
  margin-bottom: 1rem;
}

/* Cookie Banner styles */
.cornea-cookie-shield {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--vital-sight-surface);
  border-top: 1.5px solid var(--vital-sight-accent);
  padding: 1.5rem 2rem;
  z-index: 9999;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.5);
  display: none;
}

.cornea-cookie-shield-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.cornea-cookie-text {
  font-size: 0.95rem;
  color: var(--vital-sight-text);
}

.cornea-cookie-btn-group {
  display: flex;
  gap: 1rem;
  flex-shrink: 0;
}

.cornea-cookie-btn {
  padding: 0.75rem 1.5rem;
  border-radius: var(--vital-sight-radius);
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.8rem;
  cursor: pointer;
  border: none;
}

.cornea-cookie-btn--allow {
  background: var(--vital-sight-gradient);
  color: var(--vital-sight-dark);
}

.cornea-cookie-btn--deny {
  background: transparent;
  color: var(--vital-sight-muted);
  border: 1px solid rgba(255, 255, 255, 0.10);
}

/* Footer Section */
.cornea-wrap-footer {
  background-color: var(--vital-sight-surface);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 4rem 1.5rem 2rem 1.5rem;
}

.cornea-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.cornea-footer-links {
  display: flex;
  gap: 2rem;
  margin: 2rem 0;
  flex-wrap: wrap;
  justify-content: center;
}

.cornea-footer-link {
  font-size: 0.9rem;
  color: var(--vital-sight-muted);
}

.cornea-footer-link:hover {
  color: var(--vital-sight-accent);
}

.cornea-footer-disclaimer {
  font-size: 0.8rem;
  color: var(--vital-sight-muted);
  max-width: 700px;
  margin-bottom: 2rem;
  line-height: 1.5;
}

.cornea-footer-copy {
  font-size: 0.85rem;
  color: var(--vital-sight-muted);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 1.5rem;
  width: 100%;
}

/* Responsiveness Settings */
@media (max-width: 900px) {
  .retina-menu-btn {
    display: flex;
  }

  .cornea-steer-nav {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background-color: var(--vital-sight-surface-glow);
    flex-direction: column;
    padding: 3rem 2rem;
    transition: left 0.4s ease;
    z-index: 999;
  }

  #cornea-menu-toggle:checked ~ .cornea-steer-nav {
    left: 0;
  }

  #cornea-menu-toggle:checked ~ .retina-menu-btn span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }

  #cornea-menu-toggle:checked ~ .retina-menu-btn span:nth-child(2) {
    opacity: 0;
  }

  #cornea-menu-toggle:checked ~ .retina-menu-btn span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }

  .lens-zigzag-row, .lens-zigzag-row:nth-child(even) {
    flex-direction: column;
    gap: 2rem;
  }

  .lens-zigzag-img-wrapper {
    clip-path: none !important;
  }

  .lens-zigzag-img {
    height: 300px;
  }

  .optic-virtue-board {
    grid-template-columns: 1fr;
  }

  .iris-floating-stats-inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .retina-timeline-trail::before {
    left: 20px;
  }

  .timeline-node-circle {
    left: 20px;
    transform: none;
  }

  .timeline-node-content {
    width: calc(100% - 50px);
    margin-left: 50px !important;
    text-align: left !important;
  }

  .expert-profile-split {
    flex-direction: column;
    gap: 2rem;
  }

  .expert-profile-frame img {
    height: 350px;
  }

  .cornea-cookie-shield-inner {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }
}