/**
 * Veralia – Quiz Funnel Magyarország
 * Cukorbetegség támogatáshoz - modern design rendszer
 */

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

:root {
  /* Brand színek - Teal/Slate (egészség, nyugalom, megbízhatóság) */
  --color-primary: #0f172a;
  --color-primary-light: #1e293b;
  --color-accent: #0d9488;
  --color-accent-hover: #0f766e;
  --color-accent-light: #14b8a6;
  --color-success: #10b981;
  --color-error: #ef4444;
  
  /* Háttér */
  --color-bg: #ffffff;
  --color-bg-dark: #0f172a;
  --color-bg-alt: #f8fafc;
  --color-bg-card: #ffffff;
  
  /* Szöveg */
  --color-text: #0f172a;
  --color-text-muted: #475569;
  --color-text-light: #94a3b8;
  --color-text-on-dark: #ffffff;
  --color-text-on-dark-muted: rgba(255, 255, 255, 0.85);
  --color-text-on-accent: #ffffff;
  
  /* UI */
  --color-border: #e2e8f0;
  --color-border-strong: #cbd5e1;
  
  /* Árnyékok */
  --shadow-sm: 0 2px 4px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 8px 24px rgba(15, 23, 42, 0.12);
  --shadow-xl: 0 16px 40px rgba(15, 23, 42, 0.15);
  --shadow-accent: 0 4px 20px rgba(13, 148, 136, 0.35);
  
  /* Sarkok */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  
  /* Betűtípusok */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Poppins', var(--font-sans);
  
  /* Konténer */
  --container-max: 1200px;
  --container-narrow: 680px;
  --container-padding: 1.25rem;
}

@media (min-width: 768px) {
  :root {
    --container-padding: 2rem;
  }
}

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

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

/* ---- Layout ---- */
.page-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Landing page: main does not grow, so footer stays visible below content */
.main-content--landing {
  flex: 0 0 auto;
}

/* ---- Header ---- */
.site-header {
  background: var(--color-bg-dark);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--color-text-on-dark);
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: var(--color-accent);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-icon svg {
  width: 20px;
  height: 20px;
  color: white;
}

.logo span {
  color: var(--color-accent);
}

.header-nav {
  display: none;
}

@media (min-width: 768px) {
  .header-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
  }
  
  .header-nav a {
    color: var(--color-text-on-dark-muted);
    font-size: 0.9375rem;
    font-weight: 500;
    transition: color 0.2s;
  }
  
  .header-nav a:hover {
    color: var(--color-text-on-dark);
  }
}

.header-cta {
  display: none;
}

@media (min-width: 768px) {
  .header-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--color-accent);
    color: white;
    font-weight: 600;
    font-size: 0.9375rem;
    border-radius: var(--radius-full);
    transition: all 0.2s;
  }
  
  .header-cta:hover {
    background: var(--color-accent-hover);
    transform: translateY(-1px);
  }
}

/* Header light variant (landing page) */
.site-header--light {
  background: linear-gradient(90deg, rgba(13, 148, 136, 0.06) 0%, #f0fdfa 30%, #e0f2fe 70%, rgba(13, 148, 136, 0.06) 100%);
  border-bottom: 2px solid rgba(13, 148, 136, 0.2);
}

.site-header--light .logo.logo--dark {
  color: var(--color-primary);
}

.site-header--light .header-nav a {
  color: var(--color-text-muted);
}

.site-header--light .header-nav a:hover {
  color: var(--color-text);
}

.site-header--light .header-cta.header-cta--dark {
  background: var(--color-accent);
  color: white;
}

.site-header--light .header-cta.header-cta--dark:hover {
  background: var(--color-accent-hover);
}

.progress-bar {
  flex: 1;
  max-width: 200px;
  margin-left: 1.5rem;
  height: 6px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--color-accent);
  border-radius: var(--radius-full);
  transition: width 0.4s ease;
  box-shadow: 0 0 8px rgba(13, 148, 136, 0.5);
}

.step-indicator {
  font-size: 0.875rem;
  color: var(--color-text-on-dark-muted);
  font-weight: 500;
}

/* ---- Marquee Banner ---- */
.marquee-banner {
  background: var(--color-accent);
  padding: 0.75rem 0;
  overflow: hidden;
}

.marquee-content {
  display: flex;
  animation: marquee 30s linear infinite;
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0 2rem;
  white-space: nowrap;
  color: white;
  font-size: 0.875rem;
  font-weight: 500;
}

.marquee-item svg {
  width: 16px;
  height: 16px;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---- Hero Section ---- */
.hero {
  background: linear-gradient(135deg, var(--color-bg-dark) 0%, var(--color-primary-light) 100%);
  padding: 4rem var(--container-padding) 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

@media (min-width: 768px) {
  .hero {
    padding: 6rem var(--container-padding) 7rem;
  }
}

.hero-inner {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-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: var(--color-bg-dark);
  background: var(--color-accent);
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.5rem;
}

.hero-badge svg {
  width: 16px;
  height: 16px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--color-text-on-dark);
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.hero-title .highlight {
  color: var(--color-accent);
  font-style: italic;
}

.hero-subtitle {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--color-text-on-dark-muted);
  margin-bottom: 2.5rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.25rem 2.5rem;
  background: var(--color-accent);
  color: white;
  font-size: 1.0625rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  border: none;
  box-shadow: var(--shadow-accent);
  transition: all 0.2s ease;
}

.hero-cta:hover {
  background: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(13, 148, 136, 0.4);
}

.hero-cta svg {
  width: 20px;
  height: 20px;
}

/* ---- Hero Split Layout ---- */
.hero.hero-split {
  text-align: left;
  padding: 4rem var(--container-padding) 5rem;
}

@media (min-width: 768px) {
  .hero.hero-split {
    padding: 5rem var(--container-padding) 6rem;
  }
}

.hero-split-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  position: relative;
  z-index: 1;
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-split-inner {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
  }
}

.hero-content {
  max-width: 580px;
}

.hero-split .hero-badge {
  margin-bottom: 1.25rem;
}

.hero-split .hero-title {
  font-size: clamp(1.875rem, 4.5vw, 2.75rem);
  margin-bottom: 1rem;
}

.hero-split .hero-subtitle {
  margin-left: 0;
  margin-right: 0;
  margin-bottom: 2rem;
  max-width: 500px;
}

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

.hero-secondary {
  color: var(--color-text-on-dark-muted);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.5rem 0;
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
}

.hero-secondary:hover {
  color: var(--color-text-on-dark);
  border-bottom-color: var(--color-accent);
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2rem;
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--color-text-on-dark-muted);
}

.hero-trust-item svg {
  width: 18px;
  height: 18px;
  color: var(--color-accent);
}

/* Hero Info Card */
.hero-card-wrapper {
  display: flex;
  justify-content: center;
}

@media (min-width: 900px) {
  .hero-card-wrapper {
    justify-content: flex-end;
  }
}

.hero-info-card {
  background: var(--color-bg-card);
  border-radius: var(--radius-xl);
  padding: 2rem;
  width: 100%;
  max-width: 380px;
  box-shadow: var(--shadow-xl);
}

.hero-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid var(--color-border);
  margin-bottom: 1.5rem;
}

.hero-card-icon {
  width: 52px;
  height: 52px;
  background: var(--color-accent);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-card-icon svg {
  width: 26px;
  height: 26px;
  color: white;
}

.hero-card-header h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0.25rem;
}

.hero-card-header p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.hero-card-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid var(--color-border);
}

.hero-stat {
  text-align: center;
}

.hero-stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1.2;
}

.hero-stat-label {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  line-height: 1.3;
}

.hero-card-features {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  margin-bottom: 1.5rem;
}

.hero-card-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: var(--color-text);
}

.hero-card-feature svg {
  width: 20px;
  height: 20px;
  color: var(--color-accent);
  flex-shrink: 0;
}

.hero-card-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  width: 100%;
  padding: 1rem 1.5rem;
  background: var(--color-accent);
  color: white;
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  transition: all 0.2s ease;
}

.hero-card-cta:hover {
  background: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-accent);
}

.hero-card-cta svg {
  width: 18px;
  height: 18px;
}

/* ---- Landing (index) ---- */
.landing {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem var(--container-padding) 4rem;
  overflow: hidden;
}

.landing__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(165deg, rgba(13, 148, 136, 0.08) 0%, transparent 35%),
    linear-gradient(200deg, rgba(20, 184, 166, 0.06) 0%, transparent 45%),
    linear-gradient(120deg, rgba(15, 23, 42, 0.03) 0%, rgba(13, 148, 136, 0.07) 70%),
    linear-gradient(180deg, #f0fdfa 0%, #e0f2fe 40%, #f8fafc 100%);
  pointer-events: none;
}

.landing__inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.landing__label {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 1.25rem;
  padding: 0.5rem 1rem;
  background: rgba(13, 148, 136, 0.12);
  border-radius: var(--radius-full);
  display: inline-block;
}

.landing__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5.5vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--color-primary);
  margin-bottom: 1.25rem;
}

.landing__lead {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--color-text-muted);
  margin-bottom: 2.5rem;
}

.landing__steps {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 1rem;
  margin-bottom: 2.5rem;
  padding: 1.5rem 1.75rem;
  background: linear-gradient(135deg, rgba(13, 148, 136, 0.14) 0%, rgba(20, 184, 166, 0.08) 100%);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(13, 148, 136, 0.25);
  box-shadow: 0 4px 20px rgba(13, 148, 136, 0.12);
}

.landing__step {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  background: rgba(255, 255, 255, 0.85);
  border-radius: var(--radius-md);
  border: 1px solid rgba(13, 148, 136, 0.15);
}

.landing__step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
  color: white;
  background: var(--color-accent);
  border-radius: var(--radius-full);
}

.landing__step-text {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-text);
}

.landing__step-arrow {
  font-size: 1.25rem;
  color: var(--color-text-light);
  flex-shrink: 0;
}

@media (max-width: 600px) {
  .landing__step-arrow {
    display: none;
  }
  .landing__steps {
    flex-direction: column;
  }
}

.landing__cta-wrap {
  margin-bottom: 2rem;
}

.landing__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.25rem 2.5rem;
  background: var(--color-accent);
  color: white;
  font-size: 1.125rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-accent);
  transition: all 0.2s ease;
}

.landing__cta:hover {
  background: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(13, 148, 136, 0.35);
}

.landing__cta svg {
  width: 22px;
  height: 22px;
}

.landing__cta-note {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-top: 1rem;
}

.landing__trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem 2rem;
  list-style: none;
  margin: 0;
  padding: 1.25rem 1.5rem;
  font-size: 0.875rem;
  color: var(--color-primary);
  font-weight: 500;
  background: linear-gradient(90deg, rgba(13, 148, 136, 0.1) 0%, rgba(20, 184, 166, 0.06) 50%, rgba(13, 148, 136, 0.1) 100%);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(13, 148, 136, 0.2);
}

.landing__trust li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.landing__trust svg {
  width: 18px;
  height: 18px;
  color: var(--color-accent);
  flex-shrink: 0;
}

/* Footer dark variant (landing page) */
.site-footer--light {
  background: linear-gradient(180deg, var(--color-primary-light) 0%, var(--color-bg-dark) 100%);
  border-top: 2px solid rgba(13, 148, 136, 0.4);
}

.site-footer--light .footer-links a {
  color: var(--color-text-on-dark-muted);
  font-weight: 500;
}

.site-footer--light .footer-links a:hover {
  color: var(--color-text-on-dark);
}

.site-footer--light .footer-copy {
  color: rgba(255, 255, 255, 0.6);
}

/* ---- Services Section ---- */
.services-section {
  padding: 5rem var(--container-padding);
  background: var(--color-bg);
}

.services-inner {
  max-width: var(--container-max);
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

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

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.section-title .highlight {
  color: var(--color-accent);
  font-style: italic;
}

.section-subtitle {
  font-size: 1.0625rem;
  color: var(--color-text-muted);
  max-width: 560px;
  margin: 0 auto;
}

.services-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 600px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  background: var(--color-bg-card);
  border-radius: var(--radius-xl);
  padding: 2rem;
  border: 2px solid var(--color-border);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.service-card.featured {
  background: var(--color-accent);
  border-color: var(--color-accent);
}

.service-card.featured .service-icon {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

.service-card.featured .service-title,
.service-card.featured .service-desc {
  color: white;
}

.service-card.featured .service-link {
  color: white;
}

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

.service-icon svg {
  width: 28px;
  height: 28px;
}

.service-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}

.service-desc {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-accent);
  transition: gap 0.2s;
}

.service-link:hover {
  gap: 0.625rem;
}

.service-link svg {
  width: 16px;
  height: 16px;
}

/* ---- Trust Badges ---- */
.trust-badges {
  background: var(--color-bg-dark);
  padding: 2rem var(--container-padding);
}

.trust-badges-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem 3rem;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--color-text-on-dark-muted);
  font-size: 0.9375rem;
  font-weight: 500;
}

.trust-badge svg {
  width: 24px;
  height: 24px;
  color: var(--color-accent);
}

/* ---- How It Works ---- */
.how-it-works {
  padding: 5rem var(--container-padding);
  background: var(--color-bg-alt);
}

.how-it-works-inner {
  max-width: var(--container-max);
  margin: 0 auto;
}

.steps-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 700px) {
  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

.step-card {
  background: var(--color-bg-card);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-md);
  border: 2px solid transparent;
  position: relative;
  transition: all 0.3s ease;
}

.step-card:hover {
  border-color: var(--color-accent);
  transform: translateY(-4px);
}

.step-number {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  background: var(--color-accent);
  color: white;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-accent);
}

.step-icon {
  width: 64px;
  height: 64px;
  margin: 0.5rem auto 1.25rem;
  background: rgba(13, 148, 136, 0.12);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
}

.step-icon svg {
  width: 32px;
  height: 32px;
}

.step-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--color-text);
  margin-bottom: 0.75rem;
}

.step-desc {
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ---- Stats Section ---- */
.stats-section {
  background: var(--color-accent);
  padding: 4rem var(--container-padding);
}

.stats-inner {
  max-width: var(--container-max);
  margin: 0 auto;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

@media (min-width: 600px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-item {
  text-align: center;
}

.stat-value {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3rem);
  font-weight: 700;
  color: white;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
}

/* ---- Features ---- */
.features {
  padding: 5rem var(--container-padding);
  background: var(--color-bg-card);
}

.features-inner {
  max-width: var(--container-max);
  margin: 0 auto;
}

.features-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 600px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-item {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--color-bg-alt);
  border-radius: var(--radius-xl);
  border: 2px solid var(--color-border);
  transition: all 0.3s ease;
}

.feature-item:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.25rem;
  background: var(--color-accent);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.feature-icon svg {
  width: 28px;
  height: 28px;
}

.feature-title {
  font-weight: 600;
  font-size: 1.0625rem;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}

.feature-desc {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ---- CTA Section ---- */
.cta-section {
  padding: 5rem var(--container-padding);
  background: var(--color-bg-alt);
}

.cta-inner {
  max-width: 800px;
  margin: 0 auto;
}

.cta-box {
  background: var(--color-bg-dark);
  border-radius: var(--radius-xl);
  padding: 3.5rem 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 300px;
  height: 300px;
  background: var(--color-accent);
  border-radius: 50%;
  opacity: 0.1;
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  color: var(--color-text-on-dark);
  margin-bottom: 1rem;
  position: relative;
}

.cta-text {
  font-size: 1.0625rem;
  color: var(--color-text-on-dark-muted);
  margin-bottom: 2rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

/* ---- Final CTA (legacy support) ---- */
.final-cta {
  padding: 5rem var(--container-padding);
  background: var(--color-bg-alt);
  text-align: center;
}

.final-cta-inner {
  max-width: 800px;
  margin: 0 auto;
}

.final-cta-box {
  background: var(--color-bg-dark);
  border-radius: var(--radius-xl);
  padding: 3.5rem 2.5rem;
  position: relative;
  overflow: hidden;
}

.final-cta-box::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 300px;
  height: 300px;
  background: var(--color-accent);
  border-radius: 50%;
  opacity: 0.1;
}

.final-cta-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  color: var(--color-text-on-dark);
  margin-bottom: 1rem;
  position: relative;
}

.final-cta-text {
  font-size: 1.0625rem;
  color: var(--color-text-on-dark-muted);
  margin-bottom: 2rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

/* ---- Quiz Container ---- */
.quiz-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2.5rem var(--container-padding) 3.5rem;
  background: var(--color-bg-alt);
}

.quiz-card {
  max-width: var(--container-narrow);
  width: 100%;
  margin: 0 auto;
  background: var(--color-bg-card);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--color-border);
}

@media (min-width: 768px) {
  .quiz-card {
    padding: 3.5rem 3rem;
  }
}

/* ---- Question ---- */
.question-number {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: white;
  background: var(--color-accent);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.25rem;
}

.question-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-text);
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .question-title {
    font-size: 1.75rem;
  }
}

/* ---- Answer Options ---- */
.answers-list {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  list-style: none;
}

.answer-option {
  position: relative;
}

.answer-option input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.answer-label {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.125rem 1.5rem;
  background: var(--color-bg-alt);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all 0.2s ease;
}

.answer-label:hover {
  border-color: var(--color-accent);
  background: rgba(13, 148, 136, 0.06);
}

.answer-option input:checked + .answer-label {
  border-color: var(--color-accent);
  background: rgba(13, 148, 136, 0.12);
}

.answer-option input:focus + .answer-label {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.answer-icon {
  width: 24px;
  height: 24px;
  border: 2px solid var(--color-border-strong);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.answer-option input:checked + .answer-label .answer-icon {
  border-color: var(--color-accent);
  background: var(--color-accent);
}

.answer-option input:checked + .answer-label .answer-icon::after {
  content: '';
  width: 8px;
  height: 8px;
  background: white;
  border-radius: 50%;
}

.answer-text {
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-text);
}

/* ---- Navigation Buttons ---- */
.quiz-nav {
  display: flex;
  gap: 1rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: none;
  transition: all 0.2s ease;
  min-height: 52px;
}

.btn-back {
  background: transparent;
  color: var(--color-text-muted);
  border: 2px solid var(--color-border);
}

.btn-back:hover {
  border-color: var(--color-text-muted);
  color: var(--color-text);
}

.btn-next {
  flex: 1;
  background: var(--color-accent);
  color: white;
  box-shadow: var(--shadow-accent);
  font-weight: 700;
}

.btn-next:hover {
  background: var(--color-accent-hover);
  transform: translateY(-1px);
}

.btn-next:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-accent {
  background: var(--color-accent);
  color: white;
  font-weight: 700;
}

.btn-accent:hover {
  background: var(--color-accent-hover);
}

/* ---- Stats Page ---- */
.stats-page {
  min-height: calc(100vh - 200px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem var(--container-padding);
  background: var(--color-bg-alt);
}

.stats-container {
  max-width: 700px;
  width: 100%;
  text-align: center;
}

.stats-header {
  margin-bottom: 2.5rem;
}

.stats-icon {
  width: 64px;
  height: 64px;
  background: var(--color-accent);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.stats-icon svg {
  width: 32px;
  height: 32px;
  color: white;
}

.stats-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0.75rem;
}

.stats-subtitle {
  font-size: 1.0625rem;
  color: var(--color-text-muted);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

@media (max-width: 500px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
}

.stat-card {
  background: var(--color-bg-card);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border: 2px solid var(--color-border);
  text-align: center;
}

.stat-card.highlight {
  background: var(--color-accent);
  border-color: var(--color-accent);
}

.stat-card.highlight .stat-card-value,
.stat-card.highlight .stat-card-label {
  color: white;
}

.stat-card-value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.stat-card-label {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.4;
}

.stats-info {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: rgba(13, 148, 136, 0.1);
  border-radius: var(--radius-md);
  padding: 1rem;
  margin-bottom: 2rem;
  text-align: left;
}

.stats-info-icon {
  flex-shrink: 0;
}

.stats-info-icon svg {
  width: 20px;
  height: 20px;
  color: var(--color-accent);
}

.stats-info p {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin: 0;
  line-height: 1.5;
}

.stats-progress {
  margin-bottom: 2rem;
}

.stats-progress-text {
  font-size: 1rem;
  color: var(--color-text);
  margin-bottom: 0.75rem;
}

.stats-progress-bar {
  height: 8px;
  background: var(--color-border);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.stats-progress-fill {
  height: 100%;
  width: 62%;
  background: var(--color-accent);
  border-radius: var(--radius-full);
  animation: progressPulse 2s ease-in-out infinite;
}

@keyframes progressPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.stats-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.125rem 2.5rem;
  font-size: 1.0625rem;
}

.stats-cta svg {
  width: 20px;
  height: 20px;
}

/* ---- Checkout Page ---- */
.checkout-hero {
  background: var(--color-bg-dark);
  padding: 2.5rem var(--container-padding);
  text-align: center;
}

.checkout-hero-inner {
  max-width: 800px;
  margin: 0 auto;
}

.checkout-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: white;
  background: var(--color-accent);
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.25rem;
}

.checkout-hero-badge svg {
  width: 18px;
  height: 18px;
}

.checkout-hero-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  color: var(--color-text-on-dark);
  margin-bottom: 0.5rem;
}

.checkout-hero-subtitle {
  font-size: 1rem;
  color: var(--color-text-on-dark-muted);
}

.checkout-section {
  padding: 2.5rem var(--container-padding) 4rem;
  background: var(--color-bg-alt);
}

.checkout-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.checkout-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .checkout-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

.checkout-product-col {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* ---- New Checkout Layout (Sticky Summary) ---- */
.checkout-section-new {
  padding: 2rem var(--container-padding) 4rem;
}

.checkout-grid-new {
  display: grid;
  gap: 2rem;
}

@media (min-width: 900px) {
  .checkout-grid-new {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2.5rem;
    align-items: start;
  }
}

.checkout-form-col-new {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-card {
  background: var(--color-bg-card);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  box-shadow: var(--shadow-md);
  border: 2px solid var(--color-border);
}

.checkout-summary-col {
  position: relative;
}

.order-summary-sticky {
  background: var(--color-bg-card);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--color-accent);
}

@media (min-width: 900px) {
  .order-summary-sticky {
    position: sticky;
    top: 2rem;
  }
}

.summary-product {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-bottom: 1.25rem;
  margin-bottom: 1.25rem;
  border-bottom: 2px solid var(--color-border);
}

.summary-product-image {
  width: 120px;
  height: 120px;
  border-radius: var(--radius-md);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--color-bg-alt);
}

.summary-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.summary-product-info h3 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0.25rem;
}

.summary-product-info p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.order-summary-sticky .medical-disclaimer {
  margin-bottom: 1.25rem;
  margin-top: 0;
}

.summary-benefits {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.summary-benefits li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--color-text);
}

.summary-benefits svg {
  width: 16px;
  height: 16px;
  color: var(--color-success);
  flex-shrink: 0;
}

.summary-price-block {
  background: var(--color-bg-alt);
  border-radius: var(--radius-md);
  padding: 1rem;
  margin-bottom: 1.25rem;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9375rem;
  color: var(--color-text);
  padding: 0.375rem 0;
}

.summary-line-old {
  text-decoration: line-through;
  color: var(--color-text-muted);
}

.summary-discount {
  color: var(--color-accent);
  font-weight: 500;
}

.summary-free {
  color: var(--color-success);
  font-weight: 600;
}

.summary-total {
  border-top: 2px solid var(--color-border);
  margin-top: 0.5rem;
  padding-top: 0.75rem;
  font-size: 1.125rem;
  font-weight: 700;
}

.summary-total span:last-child {
  color: var(--color-accent);
  font-size: 1.25rem;
}

.summary-submit {
  width: 100%;
  padding: 1rem;
  font-size: 1.0625rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
}

.summary-submit svg {
  width: 20px;
  height: 20px;
}

.summary-secure {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.summary-secure svg {
  width: 16px;
  height: 16px;
  color: var(--color-success);
}

.summary-trust {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
}

.summary-trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  text-align: center;
}

.summary-trust-item svg {
  width: 20px;
  height: 20px;
  color: var(--color-accent);
}

.summary-trust-item span {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

.product-card {
  background: var(--color-bg-card);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  box-shadow: var(--shadow-md);
  border: 2px solid var(--color-border);
}

.product-card-main {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--color-border);
}

.product-header {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--color-border);
}

.product-image {
  width: 90px;
  height: 90px;
  background: var(--color-accent);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.product-image svg {
  width: 44px;
  height: 44px;
  color: white;
}

.product-image--photo {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
}

.product-image--photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-info h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0.375rem;
}

.product-desc {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.product-price {
  display: flex;
  align-items: baseline;
  gap: 0.625rem;
  margin-top: 0.625rem;
}

.price-current {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text);
}

.price-old {
  font-size: 1rem;
  color: var(--color-text-light);
  text-decoration: line-through;
}

.price-save {
  font-size: 0.8125rem;
  font-weight: 600;
  color: white;
  background: var(--color-accent);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
}

.benefits-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.benefits-list li {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.9375rem;
  color: var(--color-text);
}

.benefits-list svg {
  width: 20px;
  height: 20px;
  color: var(--color-accent);
  flex-shrink: 0;
}

/* Ingredients Card */
.ingredients-card {
  background: var(--color-bg-card);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  border: 2px solid var(--color-border);
}

.ingredients-title {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.ingredients-title svg {
  width: 22px;
  height: 22px;
  color: var(--color-accent);
}

.ingredients-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
}

.ingredient-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text);
  background: var(--color-bg-alt);
  padding: 0.625rem 1rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
}

.ingredient-tag svg {
  width: 16px;
  height: 16px;
  color: var(--color-accent);
}

/* Trust Card */
.trust-card {
  background: var(--color-bg-card);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  border: 2px solid var(--color-border);
}

.trust-card-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 1.25rem;
}

.trust-items {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
}

.trust-item svg {
  width: 22px;
  height: 22px;
  color: var(--color-accent);
  flex-shrink: 0;
}

/* Order Summary */
.order-summary {
  background: var(--color-bg-alt);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  margin-top: 1.75rem;
}

.order-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.625rem 0;
  font-size: 1rem;
}

.order-line-label {
  color: var(--color-text-muted);
}

.order-line-value {
  font-weight: 500;
  color: var(--color-text);
}

.order-line-total {
  border-top: 2px solid var(--color-border);
  margin-top: 0.625rem;
  padding-top: 1rem;
}

.order-line-total .order-line-label {
  font-weight: 600;
  color: var(--color-text);
}

.order-line-total .order-line-value {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--color-accent);
}

/* ---- Form ---- */
.checkout-form-col {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.checkout-form {
  background: var(--color-bg-card);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  border: 2px solid var(--color-border);
}

.form-title {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}

.form-input {
  width: 100%;
  padding: 1rem 1.125rem;
  font-size: 1rem;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-bg-alt);
  color: var(--color-text);
  transition: border-color 0.2s;
}

.form-input:focus {
  outline: none;
  border-color: var(--color-accent);
}

/* Validation states */
.form-group.has-error .form-input {
  border-color: var(--color-error);
  background: rgba(239, 68, 68, 0.05);
}

.form-group.has-success .form-input {
  border-color: var(--color-success);
  background: rgba(34, 197, 94, 0.05);
}

.field-error {
  display: block;
  font-size: 0.8125rem;
  color: var(--color-error);
  margin-top: 0.375rem;
}

.form-input::placeholder {
  color: var(--color-text-light);
}

.form-row {
  display: grid;
  gap: 1rem;
}

@media (min-width: 500px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.form-submit {
  width: 100%;
  margin-top: 1.25rem;
  padding: 1.125rem;
  font-size: 1.0625rem;
}

.secure-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-top: 1.25rem;
}

.secure-note svg {
  width: 18px;
  height: 18px;
  color: var(--color-accent);
}

/* ---- Payment Form ---- */
.form-section-divider {
  height: 2px;
  background: var(--color-border);
  margin: 1.75rem 0;
}

.form-title svg {
  width: 22px;
  height: 22px;
  color: var(--color-accent);
  flex-shrink: 0;
}

.card-icons {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.card-icon {
  height: 28px;
  width: auto;
  border-radius: 4px;
}

.input-with-icon {
  position: relative;
}

.input-with-icon .form-input {
  padding-right: 2.75rem;
}

.input-icon {
  position: absolute;
  right: 0.875rem;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  color: var(--color-text-light);
  pointer-events: none;
}

.cvv-icon {
  width: 18px;
  height: 18px;
}

.security-badge {
  display: flex;
  justify-content: center;
  margin-top: 1.25rem;
}

.security-badge-img {
  max-width: 100%;
  height: auto;
  max-height: 175px;
  object-fit: contain;
}

/* ---- Reviews Card ---- */
.reviews-card {
  background: var(--color-bg-card);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  border: 2px solid var(--color-border);
}

.reviews-title {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 1.25rem;
}

.review-item {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--color-border);
}

.review-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.review-item:first-of-type {
  padding-top: 0;
}

.review-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.625rem;
}

.review-stars {
  display: flex;
  gap: 2px;
  color: var(--color-accent);
}

.review-stars svg {
  width: 16px;
  height: 16px;
}

.review-stars .star-empty {
  color: var(--color-border-strong);
}

.review-date {
  font-size: 0.8125rem;
  color: var(--color-text-light);
}

.review-text {
  font-size: 0.9375rem;
  color: var(--color-text);
  line-height: 1.6;
  margin-bottom: 0.625rem;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.review-name {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-text);
}

.review-verified {
  font-size: 0.75rem;
  color: var(--color-success);
  background: rgba(34, 197, 94, 0.1);
  padding: 0.25rem 0.625rem;
  border-radius: var(--radius-full);
}

/* ---- Thank You Page ---- */
.thankyou-section {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem var(--container-padding);
  text-align: center;
  background: var(--color-bg-alt);
}

.thankyou-card {
  max-width: 520px;
  background: var(--color-bg-card);
  border-radius: var(--radius-xl);
  padding: 3.5rem 2.5rem;
  box-shadow: var(--shadow-lg);
}

.thankyou-icon {
  width: 88px;
  height: 88px;
  margin: 0 auto 1.75rem;
  background: var(--color-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.thankyou-icon svg {
  width: 44px;
  height: 44px;
}

.thankyou-title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 1rem;
}

.thankyou-text {
  font-size: 1.0625rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.order-number {
  display: inline-block;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-text);
  background: var(--color-bg-alt);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.75rem;
  border: 2px solid var(--color-border);
}

/* ---- Legal Pages ---- */
.legal-section {
  padding: 2.5rem var(--container-padding) 5rem;
  background: var(--color-bg-alt);
}

.legal-inner {
  max-width: var(--container-narrow);
  margin: 0 auto;
  background: var(--color-bg-card);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-md);
}

@media (min-width: 768px) {
  .legal-inner {
    padding: 3.5rem 3rem;
  }
}

.legal-title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}

.legal-updated {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  margin-bottom: 2.5rem;
}

.legal-content h2 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-text);
  margin: 2.5rem 0 1rem;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p {
  color: var(--color-text-muted);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.legal-content ul {
  margin: 1rem 0;
  padding-left: 1.5rem;
  color: var(--color-text-muted);
}

.legal-content li {
  margin-bottom: 0.625rem;
  line-height: 1.65;
}

.legal-content a {
  color: var(--color-accent);
  text-decoration: underline;
}

/* ---- Contact Page ---- */
.contact-cards {
  display: grid;
  gap: 1.25rem;
  margin: 1.75rem 0 2.5rem;
}

@media (min-width: 600px) {
  .contact-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.contact-card {
  background: var(--color-bg-alt);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  text-align: center;
  transition: all 0.3s ease;
}

.contact-card:hover {
  border-color: var(--color-accent);
  transform: translateY(-2px);
}

.contact-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.25rem;
  background: var(--color-accent);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.contact-icon svg {
  width: 26px;
  height: 26px;
}

.contact-card h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.625rem;
}

.contact-card p {
  font-size: 1rem;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}

.contact-card a {
  color: var(--color-accent);
  font-weight: 500;
}

.contact-card a:hover {
  text-decoration: underline;
}

.contact-note {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

.faq-item {
  background: var(--color-bg-alt);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 1rem;
  transition: border-color 0.2s;
}

.faq-item:hover {
  border-color: var(--color-accent);
}

.faq-item h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.625rem;
}

.faq-item p {
  font-size: 1rem;
  color: var(--color-text-muted);
  margin: 0;
  line-height: 1.65;
}

/* ---- Medical Disclaimer ---- */
.medical-disclaimer {
  background: rgba(13, 148, 136, 0.12);
  border: 2px solid var(--color-accent);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-top: 1.5rem;
}

.disclaimer-header {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  margin-bottom: 0.875rem;
}

.disclaimer-icon {
  width: 24px;
  height: 24px;
  color: var(--color-accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.disclaimer-title {
  font-weight: 600;
  font-size: 1rem;
  color: var(--color-accent);
}

.disclaimer-text {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--color-text-muted);
  margin: 0;
  padding-left: 2.375rem;
}

/* ---- Disclaimer Section (Index page) ---- */
.disclaimer-section {
  padding: 3rem var(--container-padding) 4rem;
  background: var(--color-bg);
}

.disclaimer-inner {
  max-width: 720px;
  margin: 0 auto;
}

.disclaimer-box {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: rgba(13, 148, 136, 0.1);
  border: 2px solid var(--color-accent);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
}

@media (max-width: 600px) {
  .disclaimer-box {
    flex-direction: column;
    padding: 1.5rem;
  }
}

.disclaimer-box .disclaimer-icon {
  width: 32px;
  height: 32px;
  color: var(--color-accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.disclaimer-content {
  flex: 1;
}

.disclaimer-box .disclaimer-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
}

.disclaimer-box .disclaimer-text {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text);
  padding-left: 0;
}

/* ---- Footer ---- */
.site-footer {
  background: var(--color-bg-dark);
  padding: 3rem var(--container-padding);
  margin-top: auto;
  flex-shrink: 0;
}

.footer-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  text-align: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem 2rem;
  margin-bottom: 1.5rem;
}

.footer-links a {
  font-size: 0.9375rem;
  color: var(--color-text-on-dark-muted);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--color-accent);
}

.footer-copy {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
}

/* Footer light variant (dark background on landing) – must come after .site-footer to override */
.site-footer.site-footer--light {
  background: linear-gradient(180deg, var(--color-primary-light) 0%, var(--color-bg-dark) 100%);
  border-top: 2px solid rgba(13, 148, 136, 0.4);
}

.site-footer.site-footer--light .footer-links a {
  color: var(--color-text-on-dark-muted);
  font-weight: 500;
}

.site-footer.site-footer--light .footer-links a:hover {
  color: var(--color-text-on-dark);
}

.site-footer.site-footer--light .footer-copy {
  color: rgba(255, 255, 255, 0.6);
}

/* ---- Utilities ---- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.text-center {
  text-align: center;
}
