:root {
  /* Brand Colors */
  --primary: #1FB3B6;
  --primary-hover: #198F91;
  --primary-dark: #0E7490; /* Accessible WCAG 2.1 AA text variant */
  --secondary: #0F8F8D;
  --btn-gradient: linear-gradient(135deg, #128E91 0%, #0A6D6F 100%);
  --btn-gradient-hover: linear-gradient(135deg, #0E7490 0%, #075557 100%);
  --bg-gradient: linear-gradient(135deg, #1FB3B6 0%, #0F8F8D 100%);
  --card-bg: #F8F9FA;
  --text-dark: #1E1E1E;
  --text-muted: #4b5563;
  --border-color: #E5E7EB;
  --white: #FFFFFF;
  
  /* UI Elements */
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.09), 0 10px 10px -5px rgba(0, 0, 0, 0.03);
  --shadow-glow: 0 0 20px rgba(18, 142, 145, 0.35);
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-pill: 9999px;

  /* Typography */
  --font-heading: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  
  /* Layout */
  --container-max: 1200px;
  --section-padding: 5rem 1.5rem;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-dark);
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

ul {
  list-style: none;
}

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

/* Container */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Typography Utilities */
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-gradient {
  background: var(--bg-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}
.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 3rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.75rem;
  min-height: 48px; /* Accessible WCAG 48x48px touch target */
  font-family: var(--font-heading);
  font-weight: 600;
  border-radius: var(--radius-pill);
  cursor: pointer;
  border: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  font-size: 1rem;
  text-decoration: none;
}

.btn-primary {
  background: var(--btn-gradient);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(18, 142, 145, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: var(--btn-gradient-hover);
  box-shadow: 0 8px 22px rgba(18, 142, 145, 0.45);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-outline {
  background: transparent;
  color: var(--primary-dark);
  border: 2px solid var(--primary-dark);
}

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

.btn-white {
  background: var(--white);
  color: var(--primary-dark);
  box-shadow: var(--shadow-md);
}

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

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.25rem 0;
  z-index: 1000;
  transition: all 0.3s ease;
  background: transparent;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  padding: 1rem 0;
}

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

.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white); /* Changes based on scroll */
}

.logo span {
  color: var(--white); /* Very visible on the hero teal background */
}

.navbar.scrolled .logo {
  color: var(--text-dark); /* 'Celebrity' becomes dark grey */
}

.navbar.scrolled .logo span {
  color: var(--primary); /* '4Eva' becomes teal on the white scrolled navbar */
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  font-weight: 500;
  color: var(--white);
  position: relative;
}

.navbar.scrolled .nav-link {
  color: var(--text-dark);
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background: var(--primary);
  transition: width 0.3s ease;
}

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

.mobile-menu-btn {
  display: none;
  font-size: 1.5rem;
  color: var(--white);
  background: none;
  border: none;
  cursor: pointer;
}

.navbar.scrolled .mobile-menu-btn {
  color: var(--text-dark);
}

/* Animations */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none; /* Hide on mobile by default */
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--white);
    flex-direction: column;
    padding: 2rem;
    box-shadow: var(--shadow-md);
  }
  
  .nav-links.active {
    display: flex;
  }
  
  .nav-link {
    color: var(--text-dark);
  }
  
  .mobile-menu-btn {
    display: block;
  }
}

/* Accessibility & Motion Ergonomics */
.trust-banner:hover .marquee-content {
  animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
