/* ==========================================================================
   Sabai Sight - Modern Visual Ergonomics & Optometry Aesthetics
   Styles & Design System (Google Fonts: Sarabun, Prompt, Outfit)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Prompt:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Sarabun:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
  /* Color Tokens */
  --th-eye-navy: #0F2B48;
  --th-eye-navy-dark: #091a2c;
  --th-eye-navy-light: #1A3E65;
  --th-eye-teal: #0D9488;
  --th-eye-emerald: #10B981;
  --th-eye-herbal: #1E5E41;
  --th-eye-cornflower: #2563EB;
  --th-eye-amber: #D97706;
  --th-eye-amber-light: #FEF3C7;
  
  --th-eye-bg: #F8FAFC;
  --th-eye-surface: #FFFFFF;
  --th-eye-surface-alt: #F1F5F9;
  --th-eye-border: #E2E8F0;
  --th-eye-border-subtle: #F1F5F9;
  
  --th-eye-text-main: #1E293B;
  --th-eye-text-muted: #64748B;
  --th-eye-text-light: #94A3B8;

  /* Typography */
  --font-thai: 'Sarabun', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Prompt', 'Outfit', sans-serif;
  --font-latin: 'Outfit', sans-serif;

  /* Elevations */
  --shadow-sm: 0 1px 2px 0 rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.08), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
  --shadow-glow: 0 0 25px rgba(13, 148, 136, 0.25);

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-thai);
  color: var(--th-eye-text-main);
  background-color: var(--th-eye-bg);
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.25;
  color: var(--th-eye-navy);
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

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

button, input, select, textarea {
  font: inherit;
}

.th-eye_container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ==========================================================================
   TOP BAR & HEADER
   ========================================================================== */
.th-eye_topbar {
  background: var(--th-eye-navy-dark);
  color: #E2E8F0;
  font-size: 0.85rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.th-eye_topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.th-eye_topbar-left {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.th-eye_badge-open {
  background: rgba(16, 185, 129, 0.2);
  color: #34D399;
  padding: 0.15rem 0.6rem;
  border-radius: var(--radius-full);
  font-weight: 500;
  font-size: 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.th-eye_badge-open::before {
  content: "";
  width: 6px;
  height: 6px;
  background: #10B981;
  border-radius: 50%;
  box-shadow: 0 0 6px #10B981;
}

.th-eye_topbar-contacts {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.th-eye_topbar-contacts a:hover {
  color: var(--th-eye-emerald);
}

.th-eye_lang-switcher {
  display: flex;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  padding: 2px;
}

.th-eye_lang-btn {
  background: transparent;
  border: none;
  color: #CBD5E1;
  padding: 0.2rem 0.6rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
}

.th-eye_lang-btn.active {
  background: var(--th-eye-teal);
  color: #FFFFFF;
}

/* Main Navigation */
.th-eye_header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 99;
  border-bottom: 1px solid var(--th-eye-border);
  box-shadow: var(--shadow-sm);
}

.th-eye_nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 76px;
}

.th-eye_brand {
  display: flex;
  align-items: center;
}

.th-eye_brand-logo {
  height: 48px;
  width: auto;
}

.th-eye_nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 1.5rem;
}

.th-eye_nav-menu a {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--th-eye-navy);
  position: relative;
  padding: 0.5rem 0;
}

.th-eye_nav-menu a:hover,
.th-eye_nav-menu a.active {
  color: var(--th-eye-teal);
}

.th-eye_nav-menu a.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2.5px;
  background: var(--th-eye-teal);
  border-radius: 2px;
}

.th-eye_nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.th-eye_nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.th-eye_nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--th-eye-navy);
  margin: 5px 0;
  transition: var(--transition);
}

/* Buttons */
.th-eye_btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.4rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition);
  text-align: center;
}

.th-eye_btn-primary {
  background: var(--th-eye-teal);
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.25);
}

.th-eye_btn-primary:hover {
  background: #0f766e;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(13, 148, 136, 0.35);
}

.th-eye_btn-navy {
  background: var(--th-eye-navy);
  color: #FFFFFF;
}

.th-eye_btn-navy:hover {
  background: var(--th-eye-navy-light);
  transform: translateY(-2px);
}

.th-eye_btn-outline {
  background: transparent;
  border-color: var(--th-eye-teal);
  color: var(--th-eye-teal);
}

.th-eye_btn-outline:hover {
  background: rgba(13, 148, 136, 0.08);
}

.th-eye_btn-amber {
  background: var(--th-eye-amber);
  color: #FFFFFF;
}

.th-eye_btn-amber:hover {
  background: #b45309;
}

.th-eye_btn-line {
  background: #06C755;
  color: #FFFFFF;
}

.th-eye_btn-line:hover {
  background: #05a847;
}

.th-eye_btn-whatsapp {
  background: #25D366;
  color: #FFFFFF;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.th-eye_hero {
  position: relative;
  background: linear-gradient(135deg, #0F2B48 0%, #17385c 60%, #0d9488 150%);
  color: #FFFFFF;
  padding: 4.5rem 0 5rem;
  overflow: hidden;
}

.th-eye_hero::after {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(13, 148, 136, 0.25) 0%, rgba(255, 255, 255, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.th-eye_hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3rem;
  position: relative;
  z-index: 2;
}

.th-eye_hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 500;
  color: #A7F3D0;
  margin-bottom: 1.25rem;
}

.th-eye_hero h1 {
  color: #FFFFFF;
  font-size: 2.75rem;
  line-height: 1.2;
  margin-bottom: 1.25rem;
  letter-spacing: -0.5px;
}

.th-eye_hero p {
  color: #E2E8F0;
  font-size: 1.15rem;
  margin-bottom: 2rem;
  max-width: 580px;
}

.th-eye_hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.th-eye_hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.th-eye_stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: #38BDF8;
}

.th-eye_stat-label {
  font-size: 0.85rem;
  color: #CBD5E1;
}

.th-eye_hero-visual {
  position: relative;
}

.th-eye_hero-card {
  background: rgba(255, 255, 255, 0.96);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  color: var(--th-eye-navy);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.th-eye_hero-img-wrap {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.th-eye_hero-img-wrap img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

.th-eye_hero-badge-overlay {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  background: rgba(15, 43, 72, 0.88);
  backdrop-filter: blur(8px);
  color: #FFFFFF;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  border-left: 4px solid var(--th-eye-teal);
}

/* ==========================================================================
   QUIZ CALLOUT BANNER
   ========================================================================== */
.th-eye_quiz-callout {
  margin-top: -2.5rem;
  position: relative;
  z-index: 10;
  margin-bottom: 3.5rem;
}

.th-eye_quiz-callout-inner {
  background: var(--th-eye-surface);
  border-radius: var(--radius-lg);
  padding: 2rem 2.5rem;
  box-shadow: var(--shadow-xl);
  border: 2px solid var(--th-eye-amber);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.th-eye_quiz-callout-text h3 {
  font-size: 1.45rem;
  color: var(--th-eye-navy);
  margin-bottom: 0.4rem;
}

.th-eye_quiz-callout-text p {
  color: var(--th-eye-text-muted);
  font-size: 0.95rem;
  max-width: 650px;
}

/* ==========================================================================
   SECTION COMMON
   ========================================================================== */
.th-eye_section {
  padding: 4.5rem 0;
}

.th-eye_section-alt {
  background: var(--th-eye-surface-alt);
}

.th-eye_section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
}

.th-eye_section-tag {
  color: var(--th-eye-teal);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
  display: inline-block;
}

.th-eye_section-header h2 {
  font-size: 2.1rem;
  margin-bottom: 0.75rem;
}

.th-eye_section-header p {
  color: var(--th-eye-text-muted);
  font-size: 1.05rem;
}

/* 3 Features Grid */
.th-eye_features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.th-eye_feature-card {
  background: var(--th-eye-surface);
  padding: 2.25rem 1.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--th-eye-border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.th-eye_feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--th-eye-teal);
}

.th-eye_feat-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: rgba(13, 148, 136, 0.12);
  color: var(--th-eye-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.th-eye_feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.th-eye_feature-card p {
  color: var(--th-eye-text-muted);
  font-size: 0.95rem;
}

/* ==========================================================================
   PRODUCTS / FRAMES SHOWCASE
   ========================================================================== */
.th-eye_frames-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.th-eye_frame-card {
  background: var(--th-eye-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--th-eye-border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.th-eye_frame-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--th-eye-teal);
}

.th-eye_frame-img-box {
  background: #FFFFFF;
  padding: 1.5rem;
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border-bottom: 1px solid var(--th-eye-border-subtle);
}

.th-eye_frame-img-box img {
  max-height: 190px;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.th-eye_frame-card:hover .th-eye_frame-img-box img {
  transform: scale(1.04);
}

.th-eye_frame-tag {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--th-eye-surface-alt);
  color: var(--th-eye-navy);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-full);
}

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

.th-eye_frame-material {
  font-size: 0.8rem;
  color: var(--th-eye-teal);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.th-eye_frame-body h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.th-eye_frame-desc {
  font-size: 0.88rem;
  color: var(--th-eye-text-muted);
  margin-bottom: 1rem;
  flex-grow: 1;
}

.th-eye_frame-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--th-eye-border);
  padding-top: 1rem;
}

.th-eye_frame-price {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--th-eye-navy);
}

/* ==========================================================================
   VITAMIN OFFER CARD (Bilberry Sabai)
   ========================================================================== */
.th-eye_vitamin-showcase {
  background: linear-gradient(135deg, #091A2C 0%, #0F2B48 70%, #0D9488 160%);
  border-radius: var(--radius-lg);
  color: #FFFFFF;
  padding: 3.5rem;
  box-shadow: var(--shadow-xl);
  margin-top: 3rem;
  position: relative;
  overflow: hidden;
}

.th-eye_vitamin-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 3.5rem;
}

.th-eye_vitamin-img-box {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
}

.th-eye_vitamin-badge {
  display: inline-block;
  background: var(--th-eye-amber);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.th-eye_vitamin-info h2 {
  color: #FFFFFF;
  font-size: 2.25rem;
  margin-bottom: 0.5rem;
}

.th-eye_vitamin-info .sub {
  color: #94A3B8;
  font-size: 1rem;
  margin-bottom: 1.25rem;
}

.th-eye_vitamin-pricing {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.th-eye_price-now {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 800;
  color: #38BDF8;
}

.th-eye_price-was {
  font-size: 1.25rem;
  color: #94A3B8;
  text-decoration: line-through;
}

.th-eye_vitamin-ingredients {
  list-style: none;
  margin-bottom: 1.75rem;
}

.th-eye_vitamin-ingredients li {
  padding: 0.45rem 0;
  font-size: 0.95rem;
  color: #E2E8F0;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.th-eye_vitamin-ingredients li::before {
  content: "✦";
  color: #38BDF8;
}

.th-eye_vitamin-cert {
  background: rgba(255, 255, 255, 0.1);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: #CBD5E1;
  margin-bottom: 1.75rem;
  border-left: 3px solid var(--th-eye-emerald);
}

/* ==========================================================================
   INTERACTIVE GLASSES MATCHER WIDGET (assessment.php & index)
   ========================================================================== */
.th-eye_quiz-card {
  background: var(--th-eye-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--th-eye-border);
  box-shadow: var(--shadow-xl);
  padding: 3rem;
  max-width: 900px;
  margin: 0 auto;
}

.step-indicator {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.step-dot {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--th-eye-surface-alt);
  color: var(--th-eye-text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  transition: var(--transition);
}

.step-dot.active {
  background: var(--th-eye-teal);
  color: #FFFFFF;
  box-shadow: 0 0 15px rgba(13, 148, 136, 0.35);
}

.quiz-step-title {
  text-align: center;
  font-size: 1.45rem;
  margin-bottom: 2rem;
}

.quiz-options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.quiz-option {
  border: 2px solid var(--th-eye-border);
  border-radius: var(--radius-md);
  padding: 1.5rem 1rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  background: #FFFFFF;
}

.quiz-option:hover {
  border-color: var(--th-eye-teal);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.quiz-option.selected {
  border-color: var(--th-eye-teal);
  background: rgba(13, 148, 136, 0.05);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
}

.quiz-option-icon {
  font-size: 2.2rem;
  margin-bottom: 0.75rem;
}

.quiz-option h4 {
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.quiz-option p {
  font-size: 0.82rem;
  color: var(--th-eye-text-muted);
}

.quiz-nav-btns {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

/* Quiz Match Card Output */
.th-eye_match-card {
  background: linear-gradient(to bottom, #FFFFFF, var(--th-eye-surface-alt));
  border-radius: var(--radius-lg);
  border: 2px solid var(--th-eye-teal);
  padding: 2.5rem;
  position: relative;
  box-shadow: var(--shadow-xl);
}

.th-eye_match-badge {
  position: absolute;
  top: -14px;
  left: 2.5rem;
  background: var(--th-eye-emerald);
  color: #FFFFFF;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow: var(--shadow-md);
}

.th-eye_match-content {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.5rem;
  align-items: center;
}

.th-eye_match-image {
  background: #FFFFFF;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--th-eye-border);
}

.th-eye_match-category {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--th-eye-teal);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.th-eye_match-info h3 {
  font-size: 1.65rem;
  margin: 0.35rem 0 0.5rem;
}

.th-eye_match-price {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--th-eye-amber);
  margin-bottom: 1.25rem;
}

.th-eye_match-highlights {
  background: #FFFFFF;
  padding: 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--th-eye-border);
  margin-bottom: 1.5rem;
  font-size: 0.92rem;
}

.th-eye_match-highlights .match-item {
  margin-bottom: 0.75rem;
}

.th-eye_match-highlights .match-item:last-child {
  margin-bottom: 0;
}

.th-eye_match-highlights strong {
  display: block;
  color: var(--th-eye-navy);
  margin-bottom: 0.2rem;
}

.th-eye_match-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ==========================================================================
   TUMBLING E VISION CHECKUP MODULE
   ========================================================================== */
.th-eye_vision-widget {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 1px solid var(--th-eye-border);
  padding: 2.5rem;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  box-shadow: var(--shadow-md);
}

.e-char-stage {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.e-char {
  font-family: monospace;
  font-weight: 900;
  font-size: 32px;
  color: var(--th-eye-navy);
  display: inline-block;
  transition: transform 0.25s ease, font-size 0.25s ease;
  user-select: none;
}

.vision-directions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.vision-dir-btn {
  background: var(--th-eye-surface-alt);
  border: 1px solid var(--th-eye-border);
  padding: 0.75rem 0.5rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.vision-dir-btn:hover {
  background: var(--th-eye-navy);
  color: #FFFFFF;
}

.vision-dir-btn.correct {
  background: var(--th-eye-emerald) !important;
  color: #FFFFFF !important;
}

.vision-dir-btn.wrong {
  background: #EF4444 !important;
  color: #FFFFFF !important;
}

/* ==========================================================================
   SPECIALIST PERSONA CARD
   ========================================================================== */
.th-eye_specialist-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 1px solid var(--th-eye-border);
  padding: 3rem;
  box-shadow: var(--shadow-lg);
}

.th-eye_spec-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 3rem;
  align-items: center;
}

.th-eye_spec-photo {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.th-eye_spec-photo img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

.th-eye_spec-info h3 {
  font-size: 1.85rem;
  margin-bottom: 0.35rem;
}

.th-eye_spec-role {
  font-size: 1rem;
  color: var(--th-eye-teal);
  font-weight: 600;
  margin-bottom: 1.25rem;
  display: block;
}

.th-eye_spec-bio {
  color: var(--th-eye-text-muted);
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.th-eye_spec-certs {
  list-style: none;
  margin-bottom: 2rem;
}

.th-eye_spec-certs li {
  font-size: 0.92rem;
  padding: 0.4rem 0;
  color: var(--th-eye-navy);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.th-eye_spec-certs li::before {
  content: "✓";
  color: var(--th-eye-emerald);
  font-weight: bold;
}

/* ==========================================================================
   BLOG CARDS & ARTICLE
   ========================================================================== */
.th-eye_blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

.th-eye_blog-card {
  background: var(--th-eye-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--th-eye-border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.th-eye_blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: var(--th-eye-teal);
}

.th-eye_blog-img {
  height: 240px;
  overflow: hidden;
  position: relative;
}

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

.th-eye_blog-card:hover .th-eye_blog-img img {
  transform: scale(1.05);
}

.th-eye_blog-date {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(15, 43, 72, 0.85);
  backdrop-filter: blur(4px);
  color: #FFFFFF;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 500;
}

.th-eye_blog-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.th-eye_blog-body h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--th-eye-navy);
}

.th-eye_blog-body p {
  color: var(--th-eye-text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.th-eye_blog-link {
  font-weight: 700;
  color: var(--th-eye-teal);
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* Article Single View */
.th-eye_article-wrapper {
  max-width: 820px;
  margin: 0 auto;
  background: #FFFFFF;
  padding: 3.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--th-eye-border);
  box-shadow: var(--shadow-sm);
}

.th-eye_article-meta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--th-eye-text-muted);
  font-size: 0.9rem;
}

.th-eye_article-wrapper h1 {
  font-size: 2.4rem;
  line-height: 1.3;
  margin-bottom: 2rem;
}

.th-eye_article-lead {
  font-size: 1.2rem;
  color: var(--th-eye-navy);
  font-weight: 500;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.th-eye_article-figure {
  margin: 2.5rem 0;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.th-eye_article-figure img {
  width: 100%;
  max-height: 440px;
  object-fit: cover;
}

.th-eye_article-figure figcaption {
  font-size: 0.85rem;
  color: var(--th-eye-text-muted);
  text-align: center;
  padding: 0.5rem 0;
}

.th-eye_article-wrapper p {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  color: var(--th-eye-text-main);
}

.th-eye_article-wrapper h2 {
  font-size: 1.6rem;
  margin: 2.5rem 0 1rem;
}

.th-eye_article-wrapper ul,
.th-eye_article-wrapper ol {
  margin: 0 0 1.5rem 1.5rem;
}

.th-eye_article-wrapper li {
  margin-bottom: 0.5rem;
  font-size: 1.02rem;
}

/* ==========================================================================
   ORDER & CONTACT FORM (STRICTLY 3 FIELDS)
   ========================================================================== */
.th-eye_form-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 1px solid var(--th-eye-border);
  padding: 3rem;
  box-shadow: var(--shadow-lg);
  max-width: 640px;
  margin: 0 auto;
}

.th-eye_form-card h2 {
  font-size: 1.85rem;
  margin-bottom: 0.5rem;
  text-align: center;
}

.th-eye_form-card .form-sub {
  color: var(--th-eye-text-muted);
  text-align: center;
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

.th-eye_form-group {
  margin-bottom: 1.5rem;
}

.th-eye_form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.45rem;
  color: var(--th-eye-navy);
}

.th-eye_form-control {
  width: 100%;
  padding: 0.85rem 1.15rem;
  border: 1px solid var(--th-eye-border);
  border-radius: var(--radius-md);
  font-size: 1rem;
  color: var(--th-eye-text-main);
  background: var(--th-eye-surface-alt);
  transition: var(--transition);
}

.th-eye_form-control:focus {
  outline: none;
  border-color: var(--th-eye-teal);
  background: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
}

.th-eye_checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.88rem;
  color: var(--th-eye-text-muted);
  cursor: pointer;
  line-height: 1.5;
}

.th-eye_checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--th-eye-teal);
  margin-top: 2px;
}

.th-eye_form-success {
  text-align: center;
  padding: 2.5rem 1rem;
}

.th-eye_form-success .success-icon {
  width: 64px;
  height: 64px;
  background: rgba(16, 185, 129, 0.15);
  color: #10B981;
  font-size: 2rem;
  font-weight: bold;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.th-eye_form-success h3 {
  font-size: 1.6rem;
  margin-bottom: 0.75rem;
}

/* ==========================================================================
   FOOTER (UNIFIED, COMPLIANT ACROSS ALL PAGES)
   ========================================================================== */
.th-eye_footer {
  background: var(--th-eye-navy-dark);
  color: #CBD5E1;
  padding: 4.5rem 0 2rem;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.th-eye_footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.th-eye_footer-brand h4 {
  color: #FFFFFF;
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.th-eye_footer-brand p {
  font-size: 0.92rem;
  line-height: 1.7;
  color: #94A3B8;
  margin-bottom: 1.5rem;
}

.th-eye_social-btns {
  display: flex;
  gap: 0.75rem;
}

.th-eye_footer-col h5 {
  color: #FFFFFF;
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.th-eye_footer-col h5::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--th-eye-teal);
}

.th-eye_footer-contact-list {
  list-style: none;
}

.th-eye_footer-contact-list li {
  padding: 0.5rem 0;
  font-size: 0.92rem;
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  color: #94A3B8;
}

.th-eye_footer-contact-list a {
  color: #E2E8F0;
}

.th-eye_footer-contact-list a:hover {
  color: var(--th-eye-teal);
}

.th-eye_footer-legal-links {
  list-style: none;
}

.th-eye_footer-legal-links li {
  padding: 0.4rem 0;
}

.th-eye_footer-legal-links a {
  font-size: 0.92rem;
  color: #94A3B8;
}

.th-eye_footer-legal-links a:hover {
  color: #FFFFFF;
  padding-left: 4px;
}

.th-eye_footer-disclaimer-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  font-size: 0.85rem;
  line-height: 1.7;
  color: #94A3B8;
  margin-bottom: 2rem;
}

.th-eye_footer-disclaimer-box p {
  margin-bottom: 0.5rem;
}

.th-eye_footer-disclaimer-box p:last-child {
  margin-bottom: 0;
}

.th-eye_footer-bottom {
  text-align: center;
  font-size: 0.85rem;
  color: #64748B;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* ==========================================================================
   COOKIE BANNER (PDPA)
   ========================================================================== */
.th-eye_cookie-banner {
  position: fixed;
  bottom: -150px;
  left: 0;
  right: 0;
  background: rgba(15, 43, 72, 0.97);
  backdrop-filter: blur(12px);
  color: #FFFFFF;
  padding: 1.25rem 0;
  z-index: 999;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.25);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  transition: bottom 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.th-eye_cookie-banner.is-visible {
  bottom: 0;
}

.th-eye_cookie-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.th-eye_cookie-inner p {
  font-size: 0.92rem;
  color: #E2E8F0;
  max-width: 820px;
}

.th-eye_cookie-actions {
  display: flex;
  gap: 0.75rem;
}

/* ==========================================================================
   RESPONSIVE QUERIES
   ========================================================================== */
@media (max-width: 992px) {
  .th-eye_hero-grid,
  .th-eye_vitamin-grid,
  .th-eye_spec-grid,
  .th-eye_match-content {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .th-eye_hero h1 {
    font-size: 2.2rem;
  }

  .th-eye_frames-grid,
  .th-eye_features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .th-eye_footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .th-eye_nav-menu {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    background: #FFFFFF;
    flex-direction: column;
    padding: 2rem;
    box-shadow: var(--shadow-xl);
    border-bottom: 1px solid var(--th-eye-border);
    transform: translateY(-150%);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
  }

  .th-eye_nav-menu.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .th-eye_nav-toggle {
    display: block;
  }

  .th-eye_frames-grid,
  .th-eye_features-grid,
  .th-eye_blog-grid,
  .th-eye_footer-grid {
    grid-template-columns: 1fr;
  }

  .th-eye_hero-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .th-eye_quiz-callout-inner {
    flex-direction: column;
    text-align: center;
  }

  .th-eye_hero h1 {
    font-size: 1.85rem;
  }

  .th-eye_vitamin-showcase,
  .th-eye_quiz-card,
  .th-eye_specialist-card,
  .th-eye_article-wrapper,
  .th-eye_form-card {
    padding: 1.75rem;
  }
}
