:root {
  /* COLOR PALETTE - COLORFUL (Teal, Forest Green, Amber Pop, Soft Mint/White Base) */
  --iris-neutral-bg: #f4fbf7;       /* Soft minty white */
  --iris-surface-fill: #ffffff;     /* Pure base white */
  --iris-tint: #d1f2e2;             /* Pale highlights */
  --iris-forest-dark: #0a3d24;      /* Deep rich slate-forest green */
  --iris-highlight-glow: #10b981;   /* Vibrant emerald teal */
  --iris-amber-pop: #f59e0b;        /* Bright eye-pop amber */
  
  --iris-glow-gradient: linear-gradient(135deg, #0d5c3a 0%, #10b981 100%);
  --iris-text-gradient: linear-gradient(135deg, #0a3d24 0%, #10b981 100%);

  /* Typography variables strictly random chosen */
  --font-display: 'Montserrat', sans-serif;
  --font-body: 'Poppins', sans-serif;

  /* Design details as requested: soft (16px) + raised (shadow-depth) */
  --iris-radius: 16px;
  --iris-shadow: 0 10px 25px -5px rgba(10, 61, 36, 0.1), 0 8px 10px -6px rgba(10, 61, 36, 0.1);
  --iris-shadow-hover: 0 20px 35px -5px rgba(10, 61, 36, 0.15), 0 12px 16px -6px rgba(10, 61, 36, 0.15);
}

/* Base Global styles */
* {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: var(--iris-neutral-bg);
  color: var(--iris-forest-dark);
}

/* Strict Heading Case requirement: uppercase */
.optic-main-h1, 
.optic-section-h2, 
.retina-action-strip h3, 
.sight-timeline-item h3 {
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: var(--font-display);
}

/* Header Burger Menu Implementation without Javascript */
.optic-menu-toggle-label {
  cursor: pointer;
  width: 28px;
  height: 20px;
  z-index: 1001;
}

.optic-menu-toggle-label span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--iris-forest-dark);
  border-radius: 2px;
  transition: all 0.3s ease-in-out;
}

#optic-nav-checkbox:checked ~ .optic-menu-toggle-label span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

#optic-nav-checkbox:checked ~ .optic-menu-toggle-label span:nth-child(2) {
  opacity: 0;
}

#optic-nav-checkbox:checked ~ .optic-menu-toggle-label span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.optic-main-nav {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: var(--iris-surface-fill);
  padding: 24px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  transform: translateY(-110%);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease-in-out;
  z-index: 999;
}

#optic-nav-checkbox:checked ~ .optic-main-nav {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

@media (min-width: 768px) {
  .optic-main-nav {
    position: static;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    width: auto;
    box-shadow: none;
    padding: 0;
  }
}

.optic-nav-anchor {
  display: block;
  padding: 10px 16px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  color: var(--iris-forest-dark);
  transition: color 0.2s ease;
}

.optic-nav-anchor:hover {
  color: var(--iris-highlight-glow);
}

.optic-nav-highlight {
  border: 2px solid var(--iris-highlight-glow);
  border-radius: var(--iris-radius);
  color: var(--iris-highlight-glow);
}

.optic-nav-highlight:hover {
  background: var(--iris-highlight-glow);
  color: #fff;
}

/* CSS Scroll-driven animations */
@keyframes progress-grow {
  to { width: 100%; }
}

.optic-scroll-loader {
  height: 4px;
  width: 0;
  background: var(--iris-amber-pop);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  animation: progress-grow linear;
  animation-timeline: scroll();
}

@keyframes viewport-fade-in {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.optic-reveal-view {
  animation: viewport-fade-in linear both;
  animation-timeline: view();
  animation-range: entry 10% entry 35%;
}

/* Custom Component stylings - Soft and Raised */
.optic-action-trigger {
  display: inline-block;
  padding: 14px 30px;
  font-weight: 700;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 0.05em;
  background-color: var(--iris-amber-pop);
  color: var(--iris-surface-fill);
  border-radius: var(--iris-radius);
  box-shadow: var(--iris-shadow);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.optic-action-trigger:hover {
  transform: translateY(-3px);
  box-shadow: var(--iris-shadow-hover);
  background-color: #e08e00;
}

.optic-action-secondary {
  display: inline-block;
  padding: 14px 30px;
  font-weight: 700;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 0.05em;
  background-color: transparent;
  color: var(--iris-surface-fill);
  border: 2px solid var(--iris-surface-fill);
  border-radius: var(--iris-radius);
  transition: all 0.3s ease;
}

.optic-action-secondary:hover {
  background-color: var(--iris-surface-fill);
  color: var(--iris-forest-dark);
}

/* Preset B Features: Vertical Timeline */
.pupil-flow-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 14px;
  width: 4px;
  background: var(--iris-tint);
  border-radius: 2px;
}

@media (min-width: 768px) {
  .pupil-flow-timeline::before {
    left: 22px;
  }
}

.sight-timeline-item {
  position: relative;
  margin-bottom: 32px;
}

.sight-timeline-badge {
  position: absolute;
  left: -28px;
  top: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--iris-highlight-glow);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-family: var(--font-display);
  z-index: 10;
}

@media (min-width: 768px) {
  .sight-timeline-badge {
    left: -44px;
    width: 44px;
    height: 44px;
    font-size: 18px;
  }
  .sight-timeline-content {
    margin-left: 20px;
  }
}

/* Image styles */
.optic-image-card {
  border-radius: var(--iris-radius);
  box-shadow: var(--iris-shadow);
  transition: transform 0.3s ease;
}

.optic-image-card:hover {
  transform: scale(1.02);
}

.style-hero-img {
  filter: saturate(1.05) contrast(1.02);
  border-bottom-left-radius: 40px;
}

@media (max-width: 767px) {
  .style-hero-img {
    height: 350px;
    border-radius: 0;
  }
}

/* CTA Strip underline hover effect as in B-Preset */
.optic-cta-underline-trigger {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  color: var(--iris-highlight-glow);
  position: relative;
}

.optic-cta-underline-trigger::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--iris-highlight-glow);
  transform: scaleX(0.7);
  transition: transform 0.3s ease;
  transform-origin: left;
}

.optic-cta-underline-trigger:hover::after {
  transform: scaleX(1);
}

/* Testimonial Blockquotes */
.focus-quote-cell {
  position: relative;
}

.focus-quote-cell::before {
  content: '"';
  position: absolute;
  top: 4px;
  left: 20px;
  font-size: 120px;
  line-height: 0;
  opacity: 0.08;
  font-family: var(--font-display);
  color: var(--iris-highlight-glow);
}

/* FAQ Number Styling */
.lens-faq-bg-number {
  position: absolute;
  right: 15px;
  bottom: -15px;
  font-size: 100px;
  line-height: .8;
  font-weight: 800;
  opacity: 0.04;
  color: var(--iris-forest-dark);
  font-family: var(--font-display);
  pointer-events: none;
}