/* ==================================
   VOWSLIVE - MAIN STYLES
   Cinematic 4K Wedding Live Streams
   ================================== */

/* ------------------------------
   RESET / BASE
   ------------------------------ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: #111;
  background-color: #ffffff;
  line-height: 1.6;
}

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

/* Global WCAG 2.1 Focus Indicators */
*:focus-visible {
  outline: 3px solid #0066cc;
  outline-offset: 2px;
  box-shadow: 0 0 0 6px rgba(0, 102, 204, 0.15);
  border-radius: 2px;
}

/* Override for buttons to use brand color */
button:focus-visible,
.btn:focus-visible {
  outline: 3px solid var(--color-dusty-rose-text);
  box-shadow: 0 0 0 6px rgba(201, 169, 169, 0.2);
}

/* ------------------------------
   CSS VARIABLES - VIOME-INSPIRED PREMIUM THEME
   ------------------------------ */
:root {
  /* Dreamy Pastel Palette */
  --color-blush-pink: #fec5bb;
  --color-soft-pink: #fcd5ce;
  --color-blush-white: #fae1dd;
  --color-cream: #f8edeb;
  --color-warm-gray: #e8e8e4;
  --color-sage: #d8e2dc;
  --color-warm-cream: #ece4db;
  --color-peach: #ffe5d9;
  --color-apricot: #ffd7ba;
  --color-warm-apricot: #fec89a;

  /* Primary Colors - Viome-inspired */
  --color-bg: #ffffff;
  --color-bg-soft: #fae1dd;
  --color-bg-secondary: #f5f5f5;
  --color-bg-tertiary: #f4f4f5;
  --color-bg-peach: #ffe5d9;
  --color-bg-sage: #d8e2dc;
  --color-bg-cream: #f8edeb;
  --color-bg-dark: #171717;

  /* Text Colors - WCAG AA Compliant */
  --color-text: #171717;           /* 12.6:1 on white - AAA */
  --color-text-soft: #3f3f3f;      /* 8.4:1 on white - AAA */
  --color-text-muted: #595959;     /* 6.1:1 on white - AA compliant */
  --color-text-light: #f7f7f7;

  /* Accent Colors - Dusty Rose */
  --color-accent: #c9a9a9;
  --color-accent-hover: #d8c4c4;
  --color-accent-dark: #b89999;
  --color-border-soft: #e0d4d4;

  /* Dusty Rose Accent - Pairs with Navy */
  --color-dusty-rose: #c9a9a9;
  --color-dusty-rose-light: #d8c4c4;
  --color-dusty-rose-dark: #b89999;
  --color-dusty-rose-bg: #f5efef;

  /* Navy Blue for CTAs - Professional, High-Converting */
  --color-navy: #1e3a5f;           /* Deep navy - 9.5:1 with white - AAA */
  --color-navy-hover: #152c4a;     /* Darker on hover */
  --color-navy-light: #2a4a73;     /* Lighter variant */
  --color-navy-glow: rgba(30, 58, 95, 0.35);

  /* Deep Accent - Burgundy for variety */
  --color-burgundy: #722f37;
  --color-burgundy-light: #8b3a44;
  --color-burgundy-soft: rgba(114, 47, 55, 0.1);

  /* Cool Sage for section contrast */
  --color-sage-soft: #e8ede9;
  --color-sage-medium: #d1ddd4;

  /* Premium Gradient Accents - Dusty Rose */
  --gradient-accent: linear-gradient(135deg, var(--color-dusty-rose) 0%, var(--color-dusty-rose-light) 100%);
  --gradient-subtle: linear-gradient(135deg, rgba(201, 169, 169, 0.1) 0%, rgba(216, 196, 196, 0.15) 100%);
  --gradient-hero: linear-gradient(135deg, rgba(201, 169, 169, 0.8) 0%, rgba(216, 196, 196, 0.6) 100%);

  /* WCAG AA Compliant Text Colors - Dusty Rose */
  --color-accent-text: #8b6b6b;       /* Dusty rose for text - 5.5:1 contrast (WCAG AA Compliant) */
  --color-dusty-rose-text: #7a5a5a;   /* Darker dusty rose for text - 6.5:1 contrast (WCAG AA) */

  /* Typography - Enhanced */
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-accent: 'Playfair Display', serif;

  /* Font Weights */
  --font-weight-light: 300;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;

  /* Premium Spacing - 8px Grid System */
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 32px;
  --space-xl: 48px;
  --space-2xl: 64px;
  --space-3xl: 96px;

  /* Section Spacing */
  --spacing-section: 120px;
  --spacing-section-spacious: 160px;
  --spacing-section-mobile: 80px;
  --spacing-content: 24px;
  --spacing-card-gap: 32px;

  /* Container */
  --container-max: 1200px;
  --container-padding: 6%;

  /* Transitions - Premium feel */
  --transition-soft: 0.3s ease;
  --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Shadows - Viome-inspired */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.16);
  --shadow-accent: 0 8px 24px rgba(201, 169, 169, 0.3);

  /* Navigation Color System */
  --nav-text-light: #ffffff;           /* White for dark backgrounds - WCAG AAA (21:1 on black) */
  --nav-text-dark: #171717;           /* Dark for light backgrounds - WCAG AAA (12.6:1 on white) */
  --nav-accent-light: var(--color-dusty-rose-light);  /* Lighter accent for dark bg */
  --nav-accent-dark: var(--color-dusty-rose);         /* Standard accent for light bg */
  --nav-bg-transparent: rgba(255, 255, 255, 0.05);  /* Subtle bg on hero */
  --nav-bg-solid: rgba(255, 255, 255, 0.97);        /* Solid bg when scrolled */

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 999px;
}

/* ------------------------------
   TYPOGRAPHY - Viome-inspired
   ------------------------------ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: var(--font-weight-semibold);
  margin: 0 0 16px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--color-text);
}

h1 {
  font-size: clamp(2.75rem, 6vw, 4rem); /* 44-64px - commanding presence */
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(2rem, 4.5vw, 2.75rem); /* 32-44px - clear step down */
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h3 {
  font-size: clamp(1.375rem, 2.5vw, 1.75rem); /* 22-28px - distinct from h2 */
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

h4 {
  font-size: 1.25rem; /* 20px */
  font-weight: 600;
  line-height: 1.4;
}

h5 {
  font-size: 1.125rem; /* 18px */
  font-weight: 600;
  line-height: 1.4;
}

h6 {
  font-size: 1rem; /* 16px */
  font-weight: 600;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

p {
  margin: 0 0 16px;
  line-height: 1.7;
  color: var(--color-text-soft);
}

/* Lead paragraph - larger intro text */
.lead,
.text-lead {
  font-size: 1.25rem;
  line-height: 1.65;
  color: var(--color-text-soft);
  font-weight: var(--font-weight-normal);
}

/* Small text - cards, metadata */
.text-sm {
  font-size: 0.9375rem; /* 15px */
  line-height: 1.6;
}

/* Extra small - captions, eyebrows */
.text-xs {
  font-size: 0.875rem; /* 14px */
  line-height: 1.5;
}

/* Eyebrow - Viome-style social proof text */
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  font-weight: var(--font-weight-semibold);
  color: var(--color-dusty-rose-text);
  margin-bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* Social proof eyebrow with icon */
.eyebrow-proof {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.8rem;
  font-weight: var(--font-weight-medium);
  color: var(--color-text-muted);
  margin-bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.eyebrow-proof::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--color-accent);
  border-radius: 50%;
}

/* Burgundy accent eyebrow - for emphasis sections */
.eyebrow-burgundy {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  font-weight: var(--font-weight-semibold);
  color: var(--color-burgundy);
  margin-bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.eyebrow-burgundy::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--color-burgundy);
}

/* Text utilities */
.text-accent {
  color: var(--color-accent-text);
}

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

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

/* Editorial/Accent text - for testimonial quotes */
.text-editorial {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: var(--font-weight-normal);
}

/* ------------------------------
   LAYOUT - Viome-inspired Premium Spacing
   ------------------------------ */
.container {
  width: calc(100% - var(--container-padding) * 2);
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* Narrow container for focused content */
.container-narrow {
  max-width: 800px;
}

/* Wide container for full-bleed sections */
.container-wide {
  max-width: 1400px;
}

.section {
  padding: var(--spacing-section) 0;
  position: relative;
}

.section-light {
  background-color: #ffffff;
}

.section-soft {
  background: var(--color-bg-secondary);
}

.section-cream {
  background: var(--color-bg-cream);
}

.section-dark {
  background-color: var(--color-bg-dark);
  color: var(--color-text-light);
}

/* Alternating section backgrounds - warm/cool contrast */
.section:nth-child(even) {
  background: var(--color-bg-secondary);
}

.section:nth-child(odd) {
  background: #ffffff;
}

/* Sage section - cool contrast for variety */
.section-sage {
  background: var(--color-sage-soft) !important;
}

/* Burgundy soft background for accent sections */
.section-burgundy-soft {
  background: var(--color-burgundy-soft) !important;
}

/* Section divider with burgundy accent */
.section-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-burgundy), var(--color-gold-bold));
  margin: 0 auto 32px;
  border-radius: 2px;
}

/* Section with breathing room */
.section-spacious {
  padding: calc(var(--spacing-section) * 1.25) 0;
}

/* ------------------------------
   NAVIGATION BAR
   ------------------------------ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  /* Smooth transitions for all color properties */
  transition: background-color 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(18px);

  /* Default: Transparent background for hero sections with dark images */
  background: var(--nav-bg-transparent);
}

/* Scrolled state: Solid white background */
.site-header.scrolled {
  background: var(--nav-bg-solid);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

/* LOGO STYLES - Default white for dark hero backgrounds (homepage) */
.logo {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  text-decoration: none;
  color: var(--nav-text-light);  /* White text for dark background */
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  transition: color 0.4s cubic-bezier(0.4, 0, 0.2, 1), text-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);  /* Subtle shadow for readability on dark bg */
}

/* Logo on pages with light backgrounds - starts dark */
body:not(.home-page) .site-header .logo {
  color: var(--nav-text-dark);
  text-shadow: none;
}

/* Logo when scrolled - always dark */
.site-header.scrolled .logo {
  color: var(--nav-text-dark);  /* Dark text on white background */
  text-shadow: none;  /* Remove shadow on light background */
}

.logo span {
  color: var(--nav-accent-light);  /* Lighter accent for dark background */
  transition: color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Logo accent on pages with light backgrounds - starts with standard accent */
body:not(.home-page) .site-header .logo span {
  color: var(--nav-accent-dark);
}

/* Logo accent when scrolled - always standard accent */
.site-header.scrolled .logo span {
  color: var(--nav-accent-dark);  /* Standard accent on white background */
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 24px;
  margin: 0;
  padding: 0;
}

/* NAV LINKS - Default white for dark hero backgrounds (homepage) */
.main-nav a {
  text-decoration: none;
  font-size: 0.95rem;
  color: var(--nav-text-light);  /* White text for dark background */
  position: relative;
  padding-bottom: 4px;
  transition: color 0.4s cubic-bezier(0.4, 0, 0.2, 1), text-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);  /* Subtle shadow for readability */
}

/* Nav links on pages with light backgrounds - starts dark */
body:not(.home-page) .site-header .main-nav a {
  color: var(--nav-text-dark);
  text-shadow: none;
}

/* Nav links when scrolled - always dark */
.site-header.scrolled .main-nav a {
  color: var(--nav-text-dark);  /* Dark text when scrolled */
  text-shadow: none;
}

.main-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background-color: var(--nav-accent-light);  /* Lighter accent for dark background */
  transition: width 0.3s ease, background-color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Nav underline on pages with light backgrounds - starts with standard accent */
body:not(.home-page) .site-header .main-nav a::after {
  background-color: var(--color-dusty-rose);
}

/* Nav underline when scrolled - always standard accent */
.site-header.scrolled .main-nav a::after {
  background-color: var(--color-dusty-rose);  /* Standard accent when scrolled */
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

.main-nav a:hover {
  color: var(--nav-accent-light);  /* Lighter accent on hover (dark bg) */
}

/* Nav hover on pages with light backgrounds */
body:not(.home-page) .site-header .main-nav a:hover {
  color: var(--nav-accent-dark);
}

/* Nav hover when scrolled - always dark accent */
.site-header.scrolled .main-nav a:hover {
  color: var(--nav-accent-dark);  /* Dark accent on light background */
}

/* NAV CTA BUTTON */
.nav-cta {
  border: 2px solid var(--nav-accent-light);  /* Light border for dark background */
  padding: 6px 14px;
  border-radius: 999px;
  transition: border-color 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              background-color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background-color: transparent;
}

/* Nav CTA on pages with light backgrounds - starts with standard accent */
body:not(.home-page) .site-header .nav-cta {
  border-color: var(--color-accent);
}

/* Nav CTA when scrolled - always standard accent */
.site-header.scrolled .nav-cta {
  border-color: var(--color-accent);  /* Standard accent when scrolled */
  background-color: transparent;
}

.nav-cta:hover {
  background-color: rgba(255, 255, 255, 0.15);  /* Subtle white background on dark bg */
}

/* Nav CTA hover on pages with light backgrounds */
body:not(.home-page) .site-header .nav-cta:hover {
  background-color: rgba(201, 169, 169, 0.1);
}

/* Nav CTA hover when scrolled - always dusty rose */
.site-header.scrolled .nav-cta:hover {
  background-color: rgba(201, 169, 169, 0.1);  /* Dusty rose background on light bg */
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--nav-text-light);  /* White bars for dark background */
  transition: transform 0.3s ease, background-color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Nav toggle on pages with light backgrounds - starts dark */
body:not(.home-page) .site-header .nav-toggle span {
  background-color: var(--nav-text-dark);
}

/* Nav toggle when scrolled - always dark */
.site-header.scrolled .nav-toggle span {
  background-color: var(--nav-text-dark);  /* Dark when scrolled */
}

/* ------------------------------
   HERO SECTIONS
   ------------------------------ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: #fff;
}

.hero-home {
  padding-top: 72px;
}

.hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-media img,
.hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  filter: brightness(0.55);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, rgba(0,0,0,0.35), rgba(0,0,0,0.8));
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-top: 120px;
  padding-bottom: 120px;
  max-width: 650px;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 16px;
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4), 0 4px 12px rgba(0, 0, 0, 0.3);
  font-weight: 700;
}

.hero-subtitle {
  max-width: 520px;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 24px;
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  font-size: 0.8rem;
  opacity: 0.8;
}

.scroll-indicator span:first-child {
  display: block;
  width: 1px;
  height: 40px;
  margin: 0 auto 4px;
  background: linear-gradient(to bottom, transparent, #fff);
  animation: scrollPulse 1.6s infinite;
}

@keyframes scrollPulse {
  0% { transform: scaleY(0.5); opacity: 0.5; }
  50% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(0.5); opacity: 0.5; }
}

/* ------------------------------
   SECTION HEADER
   ------------------------------ */
.section-header {
  max-width: 680px;
  margin: 0 auto var(--space-xl);
  text-align: center;
}

.section-header p {
  color: var(--color-text-soft);
  font-size: 1.125rem;
  line-height: 1.7;
  margin-top: 12px;
}

.section-cta {
  text-align: center;
  margin-top: var(--space-2xl);
}

/* Utility classes for common patterns */
.pricing-note {
  margin-top: var(--space-xl);
  text-align: center;
}

.pricing-note p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
}

.pricing-note a {
  text-decoration: underline;
  color: var(--color-accent-text);
}

.trust-badges-row {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 40px;
  font-size: 1.1rem;
  color: var(--color-text-soft);
}

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

/* Dark section text variants */
.text-light-muted {
  color: rgba(255, 255, 255, 0.7);
}

.text-light-soft {
  color: rgba(255, 255, 255, 0.85);
}

/* Component spacing consistency */
.features-grid,
.pricing-grid,
.portfolio-grid,
.testimonials,
.trust-grid,
.team-grid,
.values-grid,
.benefits-grid {
  margin-top: var(--space-xl);
}

/* ------------------------------
   GRID SYSTEM - Viome-inspired
   ------------------------------ */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--spacing-card-gap);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--spacing-card-gap);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--spacing-card-gap);
}

/* Auto-fit grid for responsive cards */
.grid-auto {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-card-gap);
}

/* ------------------------------
   FEATURE CARDS - Viome-inspired
   ------------------------------ */
.features-grid {
  margin-top: 48px;
}

.feature-card {
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  background: #ffffff;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-smooth);
  position: relative;
}

.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  opacity: 0;
  background: var(--gradient-subtle);
  transition: opacity var(--transition-soft);
  pointer-events: none;
}

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

.feature-card:hover::before {
  opacity: 1;
}

.feature-card h3 {
  margin-bottom: 12px;
  color: var(--color-text);
  font-size: 1.15rem;
}

.feature-card p {
  color: var(--color-text-soft);
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.6;
}

/* ICON SYSTEM - Standardized sizes */
.icon-xs { font-size: 1rem; }     /* 16px */
.icon-sm { font-size: 1.25rem; }  /* 20px */
.icon-md { font-size: 1.5rem; }   /* 24px - standard */
.icon-lg { font-size: 2rem; }     /* 32px */
.icon-xl { font-size: 2.5rem; }   /* 40px */

/* Feature card with icon */
.feature-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(201, 169, 169, 0.15), rgba(216, 196, 196, 0.2));
  border-radius: 12px;
  color: var(--color-accent-text);
  font-size: 1.75rem;
  transition: all 0.3s ease;
}

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

.feature-card:hover .feature-icon {
  background: linear-gradient(135deg, rgba(201, 169, 169, 0.25), rgba(216, 196, 196, 0.3));
  transform: scale(1.05);
}

/* Feature card compact variant */
.feature-card-compact {
  padding: 24px 20px;
}

.feature-card-compact h3 {
  font-size: 1rem;
}

/* ------------------------------
   STEPS TIMELINE
   ------------------------------ */
.steps-timeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.step-item {
  border-radius: 16px;
  padding: 22px 20px;
  border: 1px solid rgba(254, 213, 206, 0.4);
  background: #ffffff;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.step-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(254, 197, 187, 0.2);
  background: #ffffff;
  border-color: var(--color-accent);
}

.step-number {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #757575;
  display: block;
  margin-bottom: 8px;
}

.step-item h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.step-item p {
  font-size: 0.9rem;
  color: #4a4a4a;
  margin: 0;
}

/* ------------------------------
   PRICING CARDS - Viome-inspired
   ------------------------------ */
.pricing-grid {
  margin-top: 48px;
}

.pricing-card {
  border-radius: var(--radius-xl);
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: #ffffff;
  padding: 40px 32px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: all var(--transition-smooth);
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--color-dusty-rose);
}

.pricing-card h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
  font-weight: var(--font-weight-semibold);
}

/* Pricing display - Viome-style comparison format */
.pricing-tag {
  font-weight: var(--font-weight-bold);
  font-size: 2.25rem;
  color: var(--color-text);
  font-family: var(--font-heading);
  line-height: 1;
}

.pricing-tag .currency {
  font-size: 1.25rem;
  vertical-align: super;
}

.pricing-tag .period {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  font-weight: var(--font-weight-normal);
  font-family: var(--font-body);
}

/* Original price strikethrough */
.pricing-original {
  font-size: 1rem;
  color: var(--color-text-muted);
  text-decoration: line-through;
  margin-bottom: -8px;
}

/* Sale/discount message */
.pricing-sale {
  font-size: 0.85rem;
  color: var(--color-accent-text);
  font-weight: var(--font-weight-semibold);
  margin-top: -8px;
}

.pricing-card ul {
  list-style: none;
  padding: 0;
  margin: 8px 0 24px;
  flex-grow: 1;
}

.pricing-card li {
  margin-bottom: 12px;
  padding-left: 28px;
  position: relative;
  color: var(--color-text-soft);
  font-size: 0.95rem;
  line-height: 1.5;
}

.pricing-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 16px;
  height: 16px;
  background: var(--color-accent);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23171717' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: 10px;
  background-position: center;
  background-repeat: no-repeat;
}

/* Featured pricing card */
.pricing-card.featured {
  border-color: var(--color-dusty-rose);
  border-width: 2px;
  box-shadow: var(--shadow-xl);
  transform: translateY(-12px) scale(1.02);
  background: #ffffff;
  z-index: 1;
}

.pricing-card.featured:hover {
  transform: translateY(-16px) scale(1.02);
}

/* Badge - Viome-style "Best Seller" */
.badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  background: var(--gradient-accent);
  color: var(--color-text);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-weight: var(--font-weight-semibold);
  box-shadow: var(--shadow-md);
  white-space: nowrap;
}

/* Badge variants */
.badge-corner {
  top: 20px;
  left: auto;
  right: 20px;
  transform: none;
}

.badge-success {
  background: linear-gradient(135deg, #4ade80, #22c55e);
  color: #ffffff;
}

.badge-info {
  background: linear-gradient(135deg, #60a5fa, #3b82f6);
  color: #ffffff;
}

/* ------------------------------
   PORTFOLIO GRID
   ------------------------------ */
.portfolio-grid {
  margin-top: 32px;
}

.portfolio-item {
  cursor: pointer;
}

.portfolio-thumb {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 16px;
}

.portfolio-thumb img {
  width: 100%;
  display: block;
  transition: transform 0.4s ease, filter 0.4s ease;
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(201, 169, 169, 0.3), rgba(216, 196, 196, 0.9));
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
}

.play-icon {
  font-size: 2.2rem;
  color: #fff;
}

.portfolio-item:hover .portfolio-thumb img {
  transform: scale(1.05);
  filter: brightness(0.7);
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-item h3 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.portfolio-item p {
  color: #4a4a4a;
  font-size: 0.9rem;
  margin: 0;
}

/* ------------------------------
   TESTIMONIALS - Viome-inspired
   ------------------------------ */
.testimonials {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--spacing-card-gap);
  margin-top: 48px;
}

.testimonial-card {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: #ffffff;
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-smooth);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 20px;
  left: 28px;
  font-family: var(--font-accent);
  font-size: 4rem;
  color: var(--color-accent);
  opacity: 0.3;
  line-height: 1;
}

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

.testimonial-card p:first-of-type {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--color-text);
  font-family: var(--font-accent);
  font-style: italic;
  position: relative;
  z-index: 1;
}

.testimonial-name {
  font-weight: var(--font-weight-semibold);
  margin-top: 20px;
  color: var(--color-text);
  font-size: 0.95rem;
}

.testimonial-role {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-top: 4px;
}

/* Testimonial with avatar */
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-accent);
}

.testimonial-author-info {
  display: flex;
  flex-direction: column;
}

/* Testimonial Carousel */
.testimonial-carousel {
  position: relative;
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  transition: transform 0.5s ease;
}

.testimonial-slide {
  min-width: 100%;
  padding: 0 16px;
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.testimonial-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-border-soft);
  border: none;
  cursor: pointer;
  transition: all var(--transition-soft);
}

.testimonial-dot.active,
.testimonial-dot:hover {
  background: var(--color-accent);
  transform: scale(1.2);
}

/* ------------------------------
   CTA SECTION
   ------------------------------ */
.cta-container {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}

.cta-container h2 {
  margin-bottom: 16px;
  color: #1a1a1a; /* Dark text for light background */
  font-weight: 600; /* Normal/medium weight */
  text-shadow: none; /* No shadow */
  font-size: 2rem; /* Standard heading size */
}

.cta-container p {
  font-size: 1.05rem; /* Standard paragraph size */
  margin-bottom: 24px;
  color: #4a4a4a; /* Medium dark gray for paragraph text */
  font-weight: 400; /* Normal weight */
  text-shadow: none; /* No shadow */
}

/* ------------------------------
   BUTTONS - Viome-inspired
   ------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: var(--font-weight-semibold);
  cursor: pointer;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

/* Primary Button - Viome-style with opacity hover */
.btn-primary {
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-hover) 100%);
  border-color: var(--color-navy);
  color: #ffffff;
  box-shadow: 0 4px 20px var(--color-navy-glow);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--color-navy-light) 0%, var(--color-navy) 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px var(--color-navy-glow), 0 4px 12px rgba(30, 58, 95, 0.2);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 10px var(--color-navy-glow);
}

/* Secondary/Outline Button */
.btn-outline {
  background-color: transparent;
  border-color: var(--color-navy);
  color: var(--color-navy);
}

.btn-outline:hover {
  border-color: var(--color-navy);
  background: var(--color-navy);
  color: #ffffff;
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

/* Ghost Button - transparent with subtle hover */
.btn-ghost {
  background: transparent;
  border-color: transparent;
  color: var(--color-text);
  padding: 10px 20px;
}

.btn-ghost:hover {
  background: rgba(0, 0, 0, 0.04);
}

/* Button with Arrow - Viome-style forward action */
.btn-arrow::after {
  content: '\2192';
  font-size: 1.1em;
  transition: transform var(--transition-soft);
}

.btn-arrow:hover::after {
  transform: translateX(4px);
}

/* Secondary Brand Button */
.btn-secondary {
  background: var(--color-bg-secondary);
  border-color: var(--color-bg-secondary);
  color: var(--color-text);
}

.btn-secondary:hover {
  background: var(--color-bg-tertiary);
  border-color: var(--color-bg-tertiary);
  opacity: 0.9;
}

/* Small Button */
.btn-sm {
  padding: 10px 20px;
  font-size: 0.85rem;
}

/* Large Button */
.btn-lg {
  padding: 18px 40px;
  font-size: 1.05rem;
}

.section-dark .btn-outline {
  color: #fff;
  border-color: rgba(255,255,255,0.4);
}

.section-dark .btn-outline:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.15);
  color: #fff;
}

/* Hero section outline button styles */
.hero .btn-outline {
  color: #fff;
  border-color: rgba(255,255,255,0.5);
  background-color: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
}

.hero .btn-outline:hover {
  border-color: #fff;
  background-color: rgba(255,255,255,0.2);
  color: #fff;
  box-shadow: 0 12px 32px rgba(255, 255, 255, 0.15);
}

/* ------------------------------
   FOOTER
   ------------------------------ */
.site-footer {
  padding: 60px 0 32px;
  background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
  color: #f7f7f7;
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--color-apricot) 50%, transparent 100%);
  opacity: 0.3;
}

.footer-container {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand {
  max-width: 300px;
}

.footer-brand .logo {
  color: #f7f7f7;
  margin-bottom: 12px;
  display: inline-block;
}

.footer-brand p {
  color: #aaa;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 16px;
}

/* Footer Social Media Links */
.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: #f7f7f7;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background-color: var(--color-accent);
  color: #111;
  transform: translateY(-2px);
}

.footer-social svg {
  width: 18px;
  height: 18px;
}

/* Footer Newsletter Form */
.footer-newsletter h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: #f7f7f7;
}

.footer-newsletter p {
  color: #aaa;
  font-size: 0.85rem;
  margin-bottom: 16px;
}

.newsletter-form {
  display: flex;
  gap: 8px;
}

.newsletter-form input[type="email"] {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.05);
  color: #f7f7f7;
  font-size: 0.9rem;
  font-family: var(--font-body);
  transition: border-color 0.3s ease, background-color 0.3s ease;
}

.newsletter-form input[type="email"]::placeholder {
  color: #999;
}

.newsletter-form input[type="email"]:focus {
  outline: none;
  border-color: var(--color-accent);
  background-color: rgba(255, 255, 255, 0.08);
}

.newsletter-form button {
  padding: 10px 20px;
  font-size: 0.9rem;
  white-space: nowrap;
}

/* Footer Links Section */
.footer-links-section h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin-bottom: 16px;
  color: #f7f7f7;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin-bottom: 16px;
  color: #ffffff;
}

.footer-links a {
  font-size: 0.9375rem;
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s ease;
  padding: 4px 0;  /* Better touch target */
}

.footer-links a:hover {
  color: #ffd7ba;  /* High contrast on hover */
}

.footer-meta {
  width: 100%;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  grid-column: 1 / -1;
}

.footer-meta p {
  font-size: 0.8rem;
  color: #ffffff;
  opacity: 1;
  margin: 0;
}

.footer-meta a {
  color: #ffffff;
}

.footer-meta-links {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 12px;
}

.footer-meta-links a {
  font-size: 0.85rem;
  color: #aaa;
  text-decoration: none;
  transition: color 0.3s ease;
}

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

/* ------------------------------
   VIDEO MODAL
   ------------------------------ */
.video-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 200;
  align-items: center;
  justify-content: center;
}

.video-modal.active {
  display: flex;
}

.video-modal-backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(0,0,0,0.9);
  cursor: pointer;
}

.video-modal-content {
  position: relative;
  z-index: 2;
  max-width: 960px;
  width: 90%;
  margin: 0 auto;
}

.video-modal-inner {
  position: relative;
  padding-top: 56.25%;
  background-color: #000;
  border-radius: 12px;
  overflow: hidden;
}

.video-modal-inner iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.video-modal-close {
  position: absolute;
  top: -48px;
  right: 0;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.video-modal-close:hover {
  transform: scale(1.1);
}

/* ------------------------------
   FORM STYLES
   ------------------------------ */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #2a2a2a;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e0d5ce;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  background-color: #ffffff;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  color: var(--color-text);
}

/* Enhanced Select Dropdown Styling */
.form-group select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23c97d3f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 20px;
  padding-right: 40px;
  cursor: pointer;
}

.form-group select:hover {
  border-color: var(--color-accent-hover);
}

/* Placeholder-style default option */
.form-group select option[value=""] {
  color: #999;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(201, 169, 169, 0.2);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* ------------------------------
   FAQ ACCORDION
   ------------------------------ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--color-border-soft);
  padding: 24px 0;
}

.faq-question {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: #1a1a1a;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--color-accent);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  color: #4a4a4a;
  line-height: 1.7;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

/* ------------------------------
   TRUST BADGES & SOCIAL PROOF - Viome-inspired
   ------------------------------ */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-card-gap);
  margin-top: 48px;
  margin-bottom: 48px;
}

.trust-item {
  text-align: center;
  padding: 32px 20px;
  border-radius: var(--radius-lg);
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: all var(--transition-smooth);
}

.trust-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-accent);
}

.trust-stat {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: var(--font-weight-bold);
  color: var(--color-text);
  margin-bottom: 8px;
  line-height: 1;
}

/* Animated counter effect */
.trust-stat[data-count] {
  transition: all 0.5s ease;
}

.trust-item p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin: 0;
  font-weight: var(--font-weight-medium);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Social Proof Banner - Viome-style */
.social-proof-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 24px;
  background: var(--color-bg-secondary);
  border-radius: var(--radius-full);
  margin-bottom: 24px;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.social-proof-banner strong {
  color: var(--color-text);
  font-weight: var(--font-weight-semibold);
}

.social-proof-icon {
  width: 20px;
  height: 20px;
  color: var(--color-accent);
}

.trust-badges-row {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  padding: 32px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

/* Feature Badge - Viome HSA/FSA style */
.feature-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-smooth);
}

.feature-badge:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: var(--color-accent);
}

.feature-badge-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-subtle);
  border-radius: var(--radius-sm);
  color: var(--color-accent-text);
}

.feature-badge-text {
  font-size: 0.9rem;
  color: var(--color-text);
  font-weight: var(--font-weight-medium);
}

.badge-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-smooth);
}

.badge-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: var(--color-accent);
}

.badge-item p {
  font-size: 0.9rem;
  color: var(--color-text);
  margin: 0;
  font-weight: var(--font-weight-medium);
}

/* ------------------------------
   ANIMATIONS / SCROLL REVEAL - Viome-inspired
   ------------------------------ */

/* Fade up animation */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Fade in animation */
.fade-in {
  opacity: 0;
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in.visible {
  opacity: 1;
}

/* Scale up animation */
.scale-up {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.scale-up.visible {
  opacity: 1;
  transform: scale(1);
}

/* Slide in from left */
.slide-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-left.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Slide in from right */
.slide-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Staggered delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }

/* Text Rotation Animation - Viome "is for everyone" style */
.text-rotate-container {
  display: inline-block;
  position: relative;
  min-width: 200px;
  height: 1.4em;
  overflow: hidden;
  vertical-align: bottom;
}

.text-rotate-words {
  display: block;
  animation: textRotate 12s infinite;
}

.text-rotate-word {
  display: block;
  height: 1.4em;
  line-height: 1.4em;
  color: var(--color-accent-text);
  font-weight: var(--font-weight-semibold);
}

@keyframes textRotate {
  0%, 20% { transform: translateY(0); }
  25%, 45% { transform: translateY(-1.4em); }
  50%, 70% { transform: translateY(-2.8em); }
  75%, 95% { transform: translateY(-4.2em); }
  100% { transform: translateY(0); }
}

/* Pulse animation for badges/icons */
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.05); opacity: 0.9; }
}

.pulse {
  animation: pulse 2s ease-in-out infinite;
}

/* Floating animation */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.float {
  animation: float 4s ease-in-out infinite;
}

/* Shimmer effect for loading states */
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.shimmer {
  background: linear-gradient(90deg,
    var(--color-bg-secondary) 25%,
    var(--color-bg-tertiary) 50%,
    var(--color-bg-secondary) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

/* Count up animation helper */
@keyframes countUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Hero slow zoom */
@keyframes heroZoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.05); }
}

.hero-zoom {
  animation: heroZoom 20s ease-out forwards;
}

/* Gradient shift animation */
@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.gradient-animated {
  background-size: 200% 200%;
  animation: gradientShift 8s ease infinite;
}

/* Testimonial carousel auto-play */
@keyframes carouselSlide {
  0%, 23% { transform: translateX(0); }
  25%, 48% { transform: translateX(-100%); }
  50%, 73% { transform: translateX(-200%); }
  75%, 98% { transform: translateX(-300%); }
  100% { transform: translateX(0); }
}

.carousel-auto .testimonial-track {
  animation: carouselSlide 16s infinite;
}

/* ------------------------------
   RESPONSIVE
   ------------------------------ */
@media (max-width: 960px) {
  h1 {
    font-size: 2.3rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  .hero-content h1 {
    font-size: 2.3rem;
  }

  .steps-timeline {
    grid-template-columns: 1fr 1fr;
  }

  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr 1fr;
  }

  .testimonials {
    grid-template-columns: 1fr;
  }

  .trust-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  h1 {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .section {
    padding: var(--spacing-section-mobile) 0;
  }

  .hero-content {
    padding-top: 100px;
    padding-bottom: 80px;
  }

  .hero-content h1 {
    font-size: 1.8rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .nav-toggle {
    display: flex;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: rgba(255, 255, 255, 0.97);  /* Always solid white on mobile */
    backdrop-filter: blur(18px);
    padding: 16px 24px;
    border-radius: 0 0 0 18px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    display: none;
  }

  .main-nav.open {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 12px;
  }

  /* Mobile menu links always dark (menu has white background) */
  .main-nav a {
    color: var(--nav-text-dark) !important;
    text-shadow: none !important;
  }

  .main-nav a::after {
    background-color: var(--color-dusty-rose) !important;
  }

  .main-nav a:hover {
    color: var(--nav-accent-dark) !important;
  }

  .steps-timeline,
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-links {
    flex-direction: column;
    gap: 12px;
  }

  .trust-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .trust-stat {
    font-size: 2.5rem;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form button {
    width: 100%;
  }

  .trust-badges-row {
    flex-direction: column;
    gap: 16px;
  }

  .badge-item {
    width: 100%;
    justify-content: center;
  }
}
