/* ============================================================
   Haven Wellness — Design System Stylesheet v2
   ============================================================ */

/* ---- Google Fonts ---- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Playfair+Display:wght@600;700;800&display=swap');

/* ---- CSS Custom Properties ---- */
:root {
  /* Colors */
  --navy: #0a1628;
  --navy-800: #132040;
  --navy-700: #1e3058;
  --white: #ffffff;
  --orange: #f97316;
  --orange-dark: #ea580c;
  --orange-darker: #c2410c;
  --teal: #0e7490;
  --teal-light: #0891b2;
  --green: #10b981;
  --green-dark: #059669;
  --gold: #f59e0b;
  --error: #ef4444;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;

  /* Spacing (8px grid) */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 96px;
  --space-5xl: 128px;

  /* Typography */
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Playfair Display', Georgia, serif;

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
  --shadow-xl: 0 16px 60px rgba(0,0,0,0.16);

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition: 0.25s ease;
  --transition-slow: 0.4s ease;

  /* Nav height */
  --nav-height: 72px;
  --nav-height-shrunk: 56px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-800);
  background: var(--white);
  overflow-x: hidden;
}

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

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

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* ---- Skip to content ---- */
.skip-to-content {
  position: absolute;
  top: -100%;
  left: var(--space-md);
  background: var(--navy);
  color: var(--white);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  z-index: 9999;
  transition: top var(--transition-fast);
  font-size: 14px;
  font-weight: 600;
}
.skip-to-content:focus {
  top: var(--space-md);
}

/* ---- Announcement Bar ---- */
.announcement-bar {
  background: var(--navy);
  color: var(--white);
  padding: 10px 0;
  overflow: hidden;
  position: relative;
  z-index: 100;
}

.announcement-ticker {
  display: flex;
  align-items: center;
  white-space: nowrap;
  animation: ticker 30s linear infinite;
  gap: var(--space-3xl);
}

.announcement-ticker:hover {
  animation-play-state: paused;
}

.announcement-ticker span {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}

.announcement-ticker .divider {
  color: var(--orange);
  margin: 0 var(--space-xl);
}

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---- Navigation ---- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 90;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: height var(--transition), padding var(--transition);
  height: var(--nav-height);
}

.site-nav.shrunk {
  height: var(--nav-height-shrunk);
  box-shadow: var(--shadow-md);
}

.nav-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-xl);
}

.nav-logo {
  flex-shrink: 0;
}

.nav-logo img {
  height: 36px;
  width: auto;
  transition: height var(--transition);
}

.site-nav.shrunk .nav-logo img {
  height: 28px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-700);
  transition: color var(--transition-fast);
  position: relative;
  padding-bottom: 2px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--orange);
  transition: width var(--transition);
}

.nav-links a:hover {
  color: var(--navy);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.nav-cart {
  position: relative;
  display: flex;
  align-items: center;
  padding: var(--space-sm);
  border-radius: var(--radius-md);
  transition: background var(--transition-fast);
}

.nav-cart:hover {
  background: var(--gray-100);
}

.nav-cart svg {
  width: 22px;
  height: 22px;
  color: var(--gray-700);
}

.cart-badge {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--orange);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  width: 16px;
  height: 16px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-sm);
  border-radius: var(--radius-md);
  transition: background var(--transition-fast);
}

.nav-hamburger:hover {
  background: var(--gray-100);
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--gray-700);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.nav-hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
}

.nav-hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 360px;
  height: 100%;
  background: var(--white);
  z-index: 200;
  padding: var(--space-4xl) var(--space-xl) var(--space-xl);
  overflow-y: auto;
  transition: right var(--transition-slow);
  box-shadow: var(--shadow-xl);
}

.mobile-drawer.open {
  right: 0;
}

.mobile-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10,22,40,0.5);
  z-index: 199;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-slow);
}

.mobile-drawer-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.drawer-close {
  position: absolute;
  top: var(--space-lg);
  right: var(--space-lg);
  padding: var(--space-sm);
  border-radius: var(--radius-md);
  color: var(--gray-500);
  font-size: 24px;
  line-height: 1;
  transition: color var(--transition-fast);
}

.drawer-close:hover {
  color: var(--gray-800);
}

.drawer-nav-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}

.drawer-nav-links a {
  display: block;
  padding: var(--space-md);
  font-size: 17px;
  font-weight: 500;
  color: var(--gray-700);
  border-radius: var(--radius-md);
  transition: background var(--transition-fast), color var(--transition-fast);
}

.drawer-nav-links a:hover {
  background: var(--gray-100);
  color: var(--navy);
}

.drawer-cta {
  margin-top: var(--space-xl);
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all var(--transition);
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
}

.btn:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
  border: 2px solid var(--orange);
  box-shadow: 0 4px 15px rgba(249,115,22,0.3);
}

.btn-primary:hover {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(249,115,22,0.4);
}

.btn-primary:active {
  background: var(--orange-darker);
  transform: translateY(0);
}

.btn-secondary {
  background: transparent;
  color: var(--orange);
  border: 2px solid var(--orange);
}

.btn-secondary:hover {
  background: var(--orange);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--white);
  color: var(--navy);
  border: 2px solid var(--white);
}

.btn-white:hover {
  background: transparent;
  color: var(--white);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.4);
}

.btn-ghost:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.1);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 14px;
}

.btn-lg {
  padding: 18px 36px;
  font-size: 18px;
}

.btn-full {
  width: 100%;
}

/* ---- Section Layout ---- */
.section {
  padding: var(--space-5xl) 0;
}

.section-sm {
  padding: var(--space-4xl) 0;
}

.section-lg {
  padding: 120px 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.container-wide {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: var(--space-md);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: var(--space-md);
}

.section-subtitle {
  font-size: 18px;
  color: var(--gray-500);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ---- Trust Bar ---- */
.trust-bar {
  background: var(--gray-50);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  padding: var(--space-lg) 0;
}

.trust-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2xl);
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-600);
  white-space: nowrap;
}

.trust-item img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.trust-divider {
  width: 1px;
  height: 24px;
  background: var(--gray-300);
}

/* ---- Cards ---- */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: var(--space-xl);
  transition: box-shadow var(--transition), transform var(--transition);
}

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

/* ---- Product Cards ---- */
.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.product-card-image {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--gray-50);
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: var(--space-lg);
  transition: transform var(--transition-slow);
}

.product-card:hover .product-card-image img {
  transform: scale(1.05);
}

.product-card-badge {
  position: absolute;
  top: var(--space-md);
  left: var(--space-md);
  background: var(--green);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.product-card-body {
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  flex: 1;
}

.product-card-category {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
}

.product-card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
}

.product-card-subtitle {
  font-size: 13px;
  color: var(--gray-500);
  line-height: 1.5;
}

.product-card-stars {
  display: flex;
  align-items: center;
  gap: 4px;
}

.stars {
  color: var(--gold);
  font-size: 14px;
  letter-spacing: 1px;
}

.review-count {
  font-size: 12px;
  color: var(--gray-400);
}

.product-card-pricing {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.price-main {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
}

.price-sub {
  font-size: 13px;
  color: var(--gray-500);
}

.price-original {
  text-decoration: line-through;
  color: var(--gray-400);
  font-size: 14px;
}

.price-save {
  font-size: 12px;
  font-weight: 700;
  color: var(--green);
}

/* ---- Hero ---- */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, #1a3058 60%, #0e2040 100%);
  min-height: calc(100vh - var(--nav-height) - 40px);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: var(--space-4xl) 0;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(249,115,22,0.08) 0%, transparent 60%);
  pointer-events: none;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: var(--space-3xl);
  width: 100%;
}

.hero-content {
  color: var(--white);
  z-index: 1;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: var(--space-lg);
  padding: 6px 14px;
  border: 1px solid rgba(249,115,22,0.3);
  border-radius: var(--radius-full);
  background: rgba(249,115,22,0.08);
}

.hero-headline {
  font-family: var(--font-heading);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: var(--space-lg);
  color: var(--white);
}

.hero-headline .accent {
  color: var(--orange);
}

.hero-subhead {
  font-size: clamp(16px, 2vw, 19px);
  color: rgba(255,255,255,0.75);
  margin-bottom: var(--space-2xl);
  line-height: 1.7;
  max-width: 480px;
}

.hero-ctas {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.hero-social-proof {
  margin-top: var(--space-2xl);
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.hero-stars-row {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero-stars {
  color: var(--gold);
  font-size: 18px;
  letter-spacing: 2px;
}

.hero-stars-text {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
}

.hero-avatars {
  display: flex;
}

.hero-avatar {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  border: 2px solid var(--white);
  background: var(--navy-800);
  overflow: hidden;
  margin-left: -10px;
  font-size: 12px;
  font-weight: 700;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-avatar:first-child {
  margin-left: 0;
}

.hero-image {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image-glow {
  position: absolute;
  width: 80%;
  height: 80%;
  background: radial-gradient(ellipse, rgba(249,115,22,0.2) 0%, transparent 70%);
  border-radius: var(--radius-full);
  filter: blur(40px);
}

.hero-product-img {
  position: relative;
  z-index: 1;
  max-height: 480px;
  width: auto;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.4));
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}

/* ---- Goal Cards ---- */
.goal-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
}

.goal-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  box-shadow: var(--shadow-md);
  border: 2px solid transparent;
  transition: all var(--transition);
  cursor: pointer;
  text-decoration: none;
  display: block;
}

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

.goal-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: var(--space-md);
}

.goal-icon.recovery { background: rgba(249,115,22,0.1); }
.goal-icon.longevity { background: rgba(245,158,11,0.1); }
.goal-icon.immunity { background: rgba(16,185,129,0.1); }
.goal-icon.gut { background: rgba(14,116,144,0.1); }

.goal-card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: var(--space-sm);
}

.goal-card-desc {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.6;
  margin-bottom: var(--space-md);
}

.goal-card-products {
  font-size: 12px;
  font-weight: 600;
  color: var(--teal);
  letter-spacing: 0.05em;
}

.goal-card-arrow {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--orange);
  font-size: 14px;
  font-weight: 600;
  margin-top: var(--space-md);
  transition: gap var(--transition);
}

.goal-card:hover .goal-card-arrow {
  gap: 8px;
}

/* ---- Value Props ---- */
.value-section {
  background: var(--navy);
  color: var(--white);
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.value-card {
  padding: var(--space-xl);
  border-radius: var(--radius-xl);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  transition: all var(--transition);
}

.value-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(249,115,22,0.4);
}

.value-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  background: rgba(249,115,22,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-lg);
}

.value-icon img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.value-card-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--space-sm);
}

.value-card-desc {
  font-size: 15px;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
}

/* ---- Products Grid ---- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
}

.products-grid-5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-xl);
}

/* ---- Dr. Porter Section ---- */
.porter-section {
  background: var(--gray-50);
}

.porter-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: var(--space-4xl);
}

.porter-image {
  position: relative;
}

.porter-photo {
  border-radius: var(--radius-2xl);
  width: 100%;
  max-width: 480px;
  object-fit: cover;
  box-shadow: var(--shadow-xl);
}

.porter-credential-badge {
  position: absolute;
  bottom: var(--space-xl);
  left: var(--space-xl);
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-md) var(--space-lg);
  box-shadow: var(--shadow-lg);
}

.porter-content {}

.porter-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: var(--space-md);
}

.porter-title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: var(--space-lg);
}

.porter-bio {
  font-size: 16px;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: var(--space-lg);
}

.porter-quote {
  background: var(--navy);
  color: var(--white);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-xl);
  position: relative;
}

.porter-quote::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: var(--space-xl);
  font-family: var(--font-heading);
  font-size: 80px;
  color: var(--orange);
  line-height: 1;
}

.porter-quote-text {
  font-size: 16px;
  font-style: italic;
  line-height: 1.7;
  padding-top: var(--space-lg);
}

.porter-creds {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.porter-cred-tag {
  background: var(--gray-100);
  color: var(--gray-600);
  font-size: 13px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: var(--radius-full);
}

/* ---- Testimonials ---- */
.testimonials-section {
  background: var(--white);
}

.testimonials-carousel {
  position: relative;
  overflow: hidden;
}

.testimonials-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.testimonial-card:hover {
  border-color: var(--orange);
  box-shadow: var(--shadow-md);
}

.testimonial-stars {
  color: var(--gold);
  font-size: 18px;
  letter-spacing: 2px;
  margin-bottom: var(--space-md);
}

.testimonial-text {
  font-size: 16px;
  line-height: 1.7;
  color: var(--gray-700);
  margin-bottom: var(--space-lg);
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: var(--navy);
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.author-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
}

.author-meta {
  font-size: 13px;
  color: var(--gray-400);
}

.testimonial-verified {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  color: var(--green);
  margin-top: 4px;
}

/* ---- Stats Bar ---- */
.stats-bar {
  background: var(--navy);
  padding: var(--space-3xl) 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  text-align: center;
}

.stat-item {
  color: var(--white);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
  margin-bottom: var(--space-sm);
}

.stat-label {
  font-size: 15px;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
}

/* ---- Email Capture ---- */
.email-capture {
  background: linear-gradient(135deg, #0e2040 0%, #1a3060 100%);
  color: var(--white);
  text-align: center;
  padding: var(--space-5xl) 0;
  position: relative;
  overflow: hidden;
}

.email-capture::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('https://ik.imagekit.io/fluid/980243073/haven-cta-background_w59pIp8Zi.webp');
  background-size: cover;
  background-position: center;
  opacity: 0.08;
}

.email-capture-inner {
  position: relative;
  z-index: 1;
  max-width: 560px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.email-capture-title {
  font-family: var(--font-heading);
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 700;
  margin-bottom: var(--space-md);
}

.email-capture-subtitle {
  font-size: 16px;
  color: rgba(255,255,255,0.75);
  margin-bottom: var(--space-2xl);
  line-height: 1.6;
}

.email-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.form-row {
  display: flex;
  gap: var(--space-md);
}

.form-input {
  flex: 1;
  padding: 14px 18px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.1);
  color: var(--white);
  font-size: 15px;
  transition: border-color var(--transition), background var(--transition);
}

.form-input::placeholder {
  color: rgba(255,255,255,0.45);
}

.form-input:focus {
  outline: none;
  border-color: var(--orange);
  background: rgba(255,255,255,0.15);
}

.form-disclaimer {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  text-align: center;
}

/* ---- Exit Intent Popup ---- */
.exit-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10,22,40,0.7);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-xl);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-slow);
}

.exit-popup-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.exit-popup {
  background: var(--white);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  max-width: 500px;
  width: 100%;
  box-shadow: var(--shadow-xl);
  transform: scale(0.95);
  transition: transform var(--transition-slow);
}

.exit-popup-overlay.active .exit-popup {
  transform: scale(1);
}

.exit-popup-header {
  background: var(--navy);
  padding: var(--space-xl);
  text-align: center;
  color: var(--white);
  position: relative;
}

.exit-popup-close {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  color: rgba(255,255,255,0.6);
  font-size: 24px;
  transition: color var(--transition-fast);
  padding: 4px 8px;
}

.exit-popup-close:hover {
  color: var(--white);
}

.exit-popup-headline {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.exit-popup-sub {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
}

.exit-popup-body {
  padding: var(--space-xl);
  text-align: center;
}

.exit-popup-offer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
  padding: var(--space-lg);
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
}

.exit-popup-offer .offer-price {
  text-align: center;
}

.offer-price .was {
  font-size: 14px;
  color: var(--gray-400);
  text-decoration: line-through;
}

.offer-price .now {
  font-size: 32px;
  font-weight: 800;
  color: var(--navy);
}

.offer-price .per {
  font-size: 13px;
  color: var(--gray-500);
}

/* ---- Footer ---- */
.site-footer {
  background: var(--navy);
  color: var(--white);
  padding: var(--space-5xl) 0 var(--space-2xl);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-3xl);
  margin-bottom: var(--space-3xl);
}

.footer-brand-col {}

.footer-logo img {
  height: 36px;
  margin-bottom: var(--space-lg);
}

.footer-brand-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
  max-width: 280px;
}

.footer-social {
  display: flex;
  gap: var(--space-md);
}

.social-link {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  transition: all var(--transition-fast);
  font-size: 16px;
}

.social-link:hover {
  background: var(--orange);
  color: var(--white);
}

.footer-col-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: var(--space-lg);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-links a {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition-fast);
}

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

.footer-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-bottom: var(--space-xl);
}

.footer-bottom {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

.footer-copyright {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

.footer-disclaimer {
  font-size: 11px;
  color: rgba(255,255,255,0.3);
  max-width: 600px;
  line-height: 1.6;
}

/* ---- Scroll Animation ---- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up-delay-1 { transition-delay: 0.1s; }
.fade-up-delay-2 { transition-delay: 0.2s; }
.fade-up-delay-3 { transition-delay: 0.3s; }
.fade-up-delay-4 { transition-delay: 0.4s; }

/* ---- Filter Pills ---- */
.filter-bar {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: var(--space-2xl);
}

.filter-pill {
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 600;
  border: 2px solid var(--gray-200);
  color: var(--gray-600);
  background: var(--white);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-pill:hover,
.filter-pill.active {
  border-color: var(--orange);
  color: var(--orange);
  background: rgba(249,115,22,0.06);
}

/* ---- Product Detail ---- */
.product-hero {
  padding: var(--space-3xl) 0;
  background: var(--white);
}

.product-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: start;
}

.product-gallery {
  position: sticky;
  top: calc(var(--nav-height) + var(--space-xl));
}

.product-main-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--gray-50);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-2xl);
  margin-bottom: var(--space-md);
}

.product-main-image img {
  max-height: 400px;
  object-fit: contain;
}

.product-details {
  padding-top: var(--space-md);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 13px;
  color: var(--gray-400);
  margin-bottom: var(--space-lg);
}

.breadcrumb a {
  color: var(--teal);
}

.breadcrumb span {
  color: var(--gray-300);
}

.product-category-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: var(--space-sm);
}

.product-detail-title {
  font-family: var(--font-heading);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: var(--space-md);
}

.product-rating-row {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.product-price-box {
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.subscription-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  background: var(--gray-200);
  border-radius: var(--radius-md);
  padding: 4px;
  margin-bottom: var(--space-lg);
}

.toggle-option {
  padding: 10px;
  text-align: center;
  border-radius: 6px;
  cursor: pointer;
  transition: all var(--transition-fast);
  font-size: 14px;
  font-weight: 600;
}

.toggle-option.active {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  color: var(--navy);
}

.toggle-option:not(.active) {
  color: var(--gray-500);
}

.price-display {
  margin-bottom: var(--space-md);
}

.price-big {
  font-size: 36px;
  font-weight: 800;
  color: var(--navy);
}

.price-period {
  font-size: 16px;
  color: var(--gray-400);
  font-weight: 400;
}

.price-savings-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(16,185,129,0.1);
  color: var(--green);
  font-size: 13px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

.benefits-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  font-size: 15px;
  color: var(--gray-700);
  line-height: 1.5;
}

.benefit-check {
  color: var(--green);
  font-size: 18px;
  flex-shrink: 0;
  line-height: 1.3;
}

.guarantee-note {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 13px;
  color: var(--gray-500);
  margin-top: var(--space-md);
}

/* ---- Product Tabs ---- */
.product-tabs {
  margin-top: var(--space-3xl);
  border-top: 1px solid var(--gray-200);
}

.tab-nav {
  display: flex;
  border-bottom: 1px solid var(--gray-200);
  gap: 0;
  overflow-x: auto;
}

.tab-btn {
  padding: var(--space-lg) var(--space-xl);
  font-size: 15px;
  font-weight: 600;
  color: var(--gray-500);
  border-bottom: 3px solid transparent;
  white-space: nowrap;
  transition: all var(--transition-fast);
  margin-bottom: -1px;
}

.tab-btn.active {
  color: var(--orange);
  border-bottom-color: var(--orange);
}

.tab-btn:hover:not(.active) {
  color: var(--navy);
}

.tab-content {
  padding: var(--space-2xl) 0;
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

/* ---- FAQ Accordion ---- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.faq-item {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: var(--space-lg) var(--space-xl);
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
  transition: background var(--transition-fast);
}

.faq-question:hover {
  background: var(--gray-50);
}

.faq-icon {
  font-size: 20px;
  color: var(--orange);
  transition: transform var(--transition);
  flex-shrink: 0;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding: 0 var(--space-xl) var(--space-lg);
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.7;
}

.faq-item.open .faq-answer {
  display: block;
}

/* ---- Quiz ---- */
.quiz-section {
  min-height: 100vh;
  background: var(--gray-50);
  display: flex;
  flex-direction: column;
}

.quiz-progress-bar {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  padding: var(--space-lg) var(--space-xl);
}

.progress-track {
  max-width: 600px;
  margin: 0 auto;
}

.progress-bar-labels {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--gray-400);
  margin-bottom: var(--space-sm);
}

.progress-bar-bg {
  height: 6px;
  background: var(--gray-200);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: var(--orange);
  border-radius: var(--radius-full);
  transition: width 0.4s ease;
}

.quiz-container {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-2xl) var(--space-xl);
}

.quiz-step {
  display: none;
  max-width: 620px;
  width: 100%;
  text-align: center;
}

.quiz-step.active {
  display: block;
}

.quiz-step-num {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: var(--space-md);
}

.quiz-question {
  font-family: var(--font-heading);
  font-size: clamp(22px, 3.5vw, 32px);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: var(--space-2xl);
  line-height: 1.3;
}

.quiz-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.quiz-option {
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
  min-height: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
}

.quiz-option:hover {
  border-color: var(--orange);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.quiz-option.selected {
  border-color: var(--orange);
  background: rgba(249,115,22,0.05);
}

.quiz-option-icon {
  font-size: 28px;
}

.quiz-option-label {
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
}

.quiz-option-sub {
  font-size: 12px;
  color: var(--gray-400);
}

.quiz-result {
  background: var(--white);
  border-radius: var(--radius-2xl);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-lg);
}

/* ---- Partners Page ---- */
.partner-hero {
  background: var(--navy);
  color: var(--white);
  padding: var(--space-5xl) 0;
}

.partner-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
}

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

.partner-stat-num {
  font-size: 40px;
  font-weight: 800;
  color: var(--orange);
}

.partner-stat-label {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  margin-top: 4px;
}

.partner-form-section {
  background: var(--gray-50);
  padding: var(--space-5xl) 0;
}

.partner-form {
  max-width: 640px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-2xl);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-lg);
}

.form-group {
  margin-bottom: var(--space-lg);
}

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: var(--space-sm);
}

.form-field {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-md);
  font-size: 15px;
  color: var(--gray-800);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-field:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(14,116,144,0.15);
}

.form-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236b7280' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

/* ---- About Page ---- */
.about-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #1a3460 100%);
  color: var(--white);
  padding: var(--space-5xl) 0;
  text-align: center;
}

/* ---- Reviews Page ---- */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

/* ---- Sticky Mobile CTA ---- */
.mobile-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  padding: var(--space-md) var(--space-xl);
  z-index: 50;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
  gap: var(--space-md);
  align-items: center;
}

.sticky-price {
  flex: 1;
}

.sticky-price-main {
  font-size: 18px;
  font-weight: 800;
  color: var(--navy);
}

.sticky-price-sub {
  font-size: 12px;
  color: var(--gray-400);
}

/* ---- Utility Classes ---- */
.text-center { text-align: center; }
.text-navy { color: var(--navy); }
.text-orange { color: var(--orange); }
.text-green { color: var(--green); }
.text-gray { color: var(--gray-500); }
.text-white { color: var(--white); }

.bg-navy { background: var(--navy); }
.bg-gray-50 { background: var(--gray-50); }
.bg-white { background: var(--white); }

.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
.mb-2xl { margin-bottom: var(--space-2xl); }

.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-