/* =============================================
   LIVING NUTRITIONALS — Premium Design System (V4.2)
   "Electric Wellness" - High Engagement / Future Health
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@400;500;600;700;800;900&display=swap');

:root {
  /* Brand Palette - Electric Wellness */
  --clr-primary: #0ea5e9;
  /* Sky Blue (Trust & Tech) */
  --clr-primary-dark: #0284c7;
  --clr-primary-glow: rgba(14, 165, 233, 0.5);

  --clr-gold: #fbbf24;
  /* Warm Gold */
  --clr-gold-light: #fcd34d;
  --clr-gold-glow: rgba(251, 191, 36, 0.4);

  --clr-accent: #f43f5e;
  /* Vibrant Rose (Energy/Action) */

  /* Surfaces */
  --bg-body: #0f172a;
  /* Rich Midnight Slate */
  --bg-surface: #1e293b;
  /* Lighter Midnight */
  --bg-card: rgba(30, 41, 59, 0.7);
  /* Semi-transparent Slate */
  --bg-glass: rgba(15, 23, 42, 0.9);

  /* Text */
  --text-main: #f8fafc;
  /* Crisp White */
  --text-muted: #cbd5e1;
  /* Cool Gray */
  --text-dim: #94a3b8;

  /* Gradients */
  --grad-primary: linear-gradient(135deg, #0ea5e9 0%, #3b82f6 100%);
  /* Blue to Royal */
  --grad-gold: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
  --grad-dark: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
  --grad-card: linear-gradient(145deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.02) 100%);

  /* Vibrant Glows */
  --grad-glow: linear-gradient(90deg, #0ea5e9, #8b5cf6, #f43f5e);

  /* Borders & Shadows */
  --border-light: 1px solid rgba(255, 255, 255, 0.15);
  --border-gold: 1px solid rgba(251, 191, 36, 0.4);
  --border-green: 1px solid rgba(14, 165, 233, 0.4);
  /* Kept for compat */
  --border-blue: 1px solid rgba(14, 165, 233, 0.4);

  --shadow-card: 0 20px 50px -10px rgba(0, 0, 0, 0.7);
  --shadow-glow-green: 0 0 30px var(--clr-primary-glow);
  /* Kept for compat */
  --shadow-glow-gold: 0 0 30px var(--clr-gold-glow);

  /* Spacing */
  --container: 1100px;
  --radius-sm: 8px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --radius-full: 9999px;

  /* Transitions */
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --duration: 0.4s;
}

/* Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}

ul {
  list-style: none;
}

/* Typography */
h1,
h2,
h3,
h4 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  line-height: 1.1;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: 1.5rem;
}

h3 {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

p {
  margin-bottom: 1rem;
  color: var(--text-muted);
}

.text-gradient {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.text-gold {
  color: var(--clr-gold);
}

.text-green {
  color: var(--clr-primary);
}

.text-center {
  text-align: center;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.container-narrow {
  max-width: 800px;
  margin: 0 auto;
}

.grid {
  display: grid;
  gap: 2rem;
}

.flex {
  display: flex;
  gap: 1rem;
}

.flex-center {
  align-items: center;
  justify-content: center;
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.section {
  padding: 100px 0;
  position: relative;
}

.spacer {
  height: 60px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2.5rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.3s var(--ease);
  border: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.btn-primary {
  background: var(--grad-primary);
  color: #fff;
  box-shadow: 0 10px 30px -5px var(--clr-primary-glow);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px -5px var(--clr-primary-glow);
  filter: brightness(1.1);
}

.btn-gold {
  background: var(--grad-gold);
  color: #000;
  box-shadow: 0 10px 30px -5px var(--clr-gold-glow);
}

.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px -5px var(--clr-gold-glow);
}

.btn-pulse {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(14, 165, 233, 0.7);
  }

  70% {
    box-shadow: 0 0 0 20px rgba(14, 165, 233, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(14, 165, 233, 0);
  }
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: var(--border-light);
  padding: 1rem 0;
  transition: padding 0.3s;
}

.site-header.scrolled {
  padding: 0.6rem 0;
  background: rgba(15, 23, 42, 0.95);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 40px;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  opacity: 0.9;
}

.nav-link:hover {
  color: var(--clr-primary);
  opacity: 1;
}

/* Hero Section */
.hero {
  padding-top: 140px;
  min-height: 100vh;
  background: radial-gradient(circle at 60% 0%, #1e293b 0%, var(--bg-body) 70%);
  display: flex;
  align-items: center;
  overflow: hidden;
  justify-content: center;
  text-align: center;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  background: rgba(14, 165, 233, 0.1);
  border: 1px solid var(--clr-primary);
  border-radius: var(--radius-full);
  margin-bottom: 2rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--clr-primary);
  box-shadow: 0 0 20px rgba(14, 165, 233, 0.2);
}

/* VSL */
.vsl-wrapper {
  margin: 3rem auto;
  max-width: 800px;
  aspect-ratio: 16/9;
  background: #000;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card), 0 0 40px rgba(14, 165, 233, 0.15);
  border: var(--border-light);
  position: relative;
}

.vsl-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('../images/vsl-thumb.jpg') center/cover no-repeat;
  cursor: pointer;
}

.play-btn {
  width: 90px;
  height: 90px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.play-btn::after {
  content: '';
  border-left: 24px solid white;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  margin-left: 6px;
}

.vsl-overlay:hover .play-btn {
  transform: scale(1.1);
  background: var(--clr-primary);
  border-color: var(--clr-primary);
  box-shadow: 0 0 30px var(--clr-primary-glow);
}

/* Benefits */
.benefit-card {
  background: var(--bg-card);
  padding: 2.5rem;
  border-radius: var(--radius-md);
  border: var(--border-light);
  text-align: center;
  transition: all 0.3s;
  backdrop-filter: blur(10px);
}

.benefit-card:hover {
  transform: translateY(-8px);
  border-color: var(--clr-primary);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
}

.benefit-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: var(--clr-primary);
  filter: drop-shadow(0 0 10px var(--clr-primary-glow));
}

/* Comparison Table */
.comparison-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin: 3rem 0;
  background: var(--bg-surface);
}

.comparison-table th,
.comparison-table td {
  padding: 1.5rem;
  border-bottom: var(--border-light);
  text-align: left;
}

.comparison-table th {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-main);
  font-size: 1.1rem;
}

.comparison-table td {
  background: transparent;
  font-size: 1rem;
}

.check {
  color: var(--clr-primary);
  font-weight: bold;
  text-shadow: 0 0 10px var(--clr-primary-glow);
}

.cross {
  color: var(--clr-accent);
  font-weight: bold;
}

/* Pricing Card */
.pricing-card {
  background: var(--grad-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  text-align: center;
  position: relative;
  max-width: 550px;
  margin: 0 auto;
  box-shadow: var(--shadow-card), 0 0 40px rgba(14, 165, 233, 0.1);
}

.pricing-badge {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--grad-gold);
  color: #000;
  padding: 0.6rem 2rem;
  border-radius: var(--radius-full);
  font-weight: 800;
  font-size: 0.95rem;
  text-transform: uppercase;
  box-shadow: 0 10px 20px rgba(251, 191, 36, 0.3);
}

.price-large {
  font-size: 4.5rem;
  font-weight: 800;
  font-family: 'Outfit', sans-serif;
  line-height: 1;
  color: var(--text-main);
  margin: 1.5rem 0;
  text-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
}

.price-sub {
  font-size: 1.2rem;
  text-decoration: line-through;
  color: var(--text-dim);
}

.shipping-badge {
  background: rgba(14, 165, 233, 0.1);
  color: var(--clr-primary);
  padding: 0.8rem;
  border-radius: var(--radius-sm);
  margin: 1.5rem 0 2.5rem;
  font-weight: 600;
  border: 1px solid rgba(14, 165, 233, 0.2);
}

/* Product Grid for Upsells */
.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  text-align: left;
  gap: 3rem;
  margin-top: 3rem;
}

@media (max-width: 768px) {
  .product-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .product-grid img {
    margin: 0 auto 1.5rem;
  }
}

/* Upsell Layouts */
.upsell-page {
  padding-top: 120px;
  text-align: center;
  padding-bottom: 5rem;
}

.upsell-box {
  background: var(--bg-card);
  border: var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  max-width: 750px;
  margin: 3rem auto;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(20px);
}

.progress-bar {
  width: 100%;
  max-width: 600px;
  height: 10px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  margin: 0 auto 2rem;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  width: 75%;
  background: var(--grad-primary);
  border-radius: 10px;
  box-shadow: 0 0 15px var(--clr-primary-glow);
}

/* Footer - Compact & Aligned */
.site-footer {
  background: #020617;
  border-top: var(--border-light);
  padding: 3rem 0 2rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-col h4 {
  color: var(--text-main);
  margin-bottom: 1.5rem;
  font-size: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.footer-col a {
  display: block;
  margin-bottom: 0.6rem;
  transition: color 0.2s;
  opacity: 0.8;
}

.footer-col a:hover {
  color: var(--clr-primary);
  opacity: 1;
  transform: translateX(5px);
  display: inline-block;
}

.disclaimer {
  font-size: 0.75rem;
  color: var(--text-dim);
  border-top: var(--border-light);
  padding-top: 1.5rem;
  margin-top: 1.5rem;
  line-height: 1.6;
}

/* Legal Pages */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 140px 20px 80px;
}

.legal-content h1 {
  margin-bottom: 2rem;
  color: var(--clr-primary);
}

.legal-content h2 {
  margin-top: 3rem;
  font-size: 1.75rem;
  color: var(--text-main);
}

.legal-content p {
  margin-bottom: 1.2rem;
  line-height: 1.8;
  font-size: 1.05rem;
}

.legal-content.light-theme {
  color: #334155;
}

/* Adjustment if light theme is used */

/* Mobile Utilities */
@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .nav-links {
    display: none;
  }

  .site-header {
    padding: 0.8rem 0;
  }

  .pricing-card {
    padding: 2rem 1.5rem;
  }
}