/* ========================================
   FitCafe Modern Gradient Design
   Option A: Modern & Energetic
   ======================================== */

/* Color Variables */
:root {
  --gradient-primary: linear-gradient(135deg, #FF6B6B 0%, #C05621 50%, #DD6B20 100%);
  --gradient-cta: linear-gradient(135deg, #FFD93D 0%, #FFA502 100%);
  --gradient-hero: linear-gradient(135deg, #FFF5F5 0%, #FFF9F5 50%, #FFFFFF 100%);
  --color-primary: #FF6B6B;
  --color-secondary: #C05621;
  --color-accent: #FFD93D;
  --color-text: #1A202C;
  --color-text-light: #4A5568;
  --color-white: #FFFFFF;
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.15);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.2);
}

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--gradient-hero);
  overflow-x: hidden;
}

/* ========================================
   NAVIGATION - Modern Sticky Header
   ======================================== */
.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-lg);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  font-size: 2rem;
  font-weight: 900;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
  transition: transform 0.3s ease;
  letter-spacing: -0.5px;
}

.logo:hover {
  transform: scale(1.05);
}

.nav-menu {
  list-style: none;
  display: flex;
  gap: 2.5rem;
}

.nav-menu a {
  text-decoration: none;
  color: var(--color-text-light);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  position: relative;
}

.nav-menu a:hover {
  color: var(--color-primary);
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: 2px;
  transition: width 0.3s ease;
}

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

/* Mobile Navigation */
@media (max-width: 768px) {
  .nav-container {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }
  
  .nav-menu {
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .logo {
    font-size: 1.5rem;
  }
}

/* ========================================
   HERO SECTION - Gradient Background
   ======================================== */
#headline {
  background: var(--gradient-primary);
  color: var(--color-white);
  padding: 6rem 2rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-bottom: 0;
}

#headline::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  animation: shimmer 15s infinite linear;
}

@keyframes shimmer {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

#headline h1 {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
  text-shadow: 0 2px 20px rgba(0,0,0,0.2);
}

#headline .product-showcase {
  position: relative;
  z-index: 1;
  margin-top: 3rem;
}

#headline .product-hero-image {
  max-width: 400px;
  width: 100%;
  border-radius: 20px;
  box-shadow: var(--shadow-xl);
  animation: float 6s ease-in-out infinite;
}

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

#headline .product-badge {
  background: var(--gradient-cta);
  color: var(--color-text);
  padding: 0.75rem 2rem;
  border-radius: 50px;
  display: inline-block;
  font-weight: 700;
  font-size: 1rem;
  margin-top: 1.5rem;
  box-shadow: var(--shadow-md);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

@media (max-width: 768px) {
  #headline h1 {
    font-size: 2rem;
  }
  
  #headline .product-hero-image {
    max-width: 280px;
  }
}

/* ========================================
   SUBHEADLINE - Centered with Gradient Text
   ======================================== */
#subheadline {
  background: var(--color-white);
  padding: 4rem 2rem;
  text-align: center;
  margin: 0;
}

#subheadline h2 {
  font-size: 1.8rem;
  font-weight: 600;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.6;
}

@media (max-width: 768px) {
  #subheadline h2 {
    font-size: 1.3rem;
  }
}

/* ========================================
   SECTIONS - Card Style with Shadows
   ======================================== */
section:not(#headline):not(#subheadline):not(#cta):not(#guarantee):not(#optin) {
  background: var(--color-white);
  padding: 4rem 2rem;
  margin: 1rem auto;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  max-width: 1200px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

section:not(#headline):not(#subheadline):not(#cta):not(#guarantee):not(#optin):hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

section h2 {
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 2rem;
  text-align: center;
  position: relative;
}

section h2::after {
  content: '';
  display: block;
  width: 100px;
  height: 4px;
  background: var(--gradient-primary);
  margin: 1rem auto 0;
  border-radius: 2px;
}

section p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  color: var(--color-text-light);
  line-height: 1.8;
}

/* ========================================
   INGREDIENT CARDS - Hover Effects
   ======================================== */
.ingredient-card {
  background: linear-gradient(135deg, #FFF9F9 0%, #FFFFFF 100%);
  padding: 2rem;
  margin-bottom: 1.5rem;
  border-left: 5px solid var(--color-primary);
  border-radius: 15px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.ingredient-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255,107,107,0.05) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.ingredient-card:hover {
  transform: translateX(10px);
  box-shadow: var(--shadow-md);
}

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

.ingredient-card h3 {
  font-size: 1.5rem;
  color: var(--color-primary);
  margin-bottom: 1rem;
  font-weight: 700;
  position: relative;
  z-index: 1;
}

.ingredient-card p {
  color: var(--color-text-light);
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

/* ========================================
   BENEFITS LIST - Modern Cards
   ======================================== */
.benefits-list {
  list-style: none;
  max-width: 900px;
  margin: 0 auto;
}

.benefits-list li {
  padding: 2rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #FFF9F9 0%, #FFFFFF 100%);
  border-radius: 15px;
  border-left: 5px solid var(--color-primary);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.benefits-list li::before {
  content: '✓';
  position: absolute;
  top: 2rem;
  right: 2rem;
  font-size: 2rem;
  color: var(--color-primary);
  font-weight: 900;
}

.benefits-list li:hover {
  transform: translateX(10px);
  box-shadow: var(--shadow-md);
}

.benefits-list li strong {
  color: var(--color-primary);
  font-weight: 700;
  font-size: 1.15rem;
}

/* ========================================
   TESTIMONIALS - Card Carousel Style
   ======================================== */
.testimonial-card {
  background: linear-gradient(135deg, #FFF9F9 0%, #FFFFFF 100%);
  padding: 2.5rem;
  margin-bottom: 2rem;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  position: relative;
  transition: all 0.3s ease;
}

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

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 20px;
  left: 30px;
  font-size: 5rem;
  color: rgba(255,107,107,0.1);
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-card blockquote {
  font-style: italic;
  margin-bottom: 1.5rem;
  color: var(--color-text-light);
  font-size: 1.05rem;
  line-height: 1.8;
  position: relative;
  z-index: 1;
}

.testimonial-card cite {
  display: block;
  text-align: right;
  font-weight: 700;
  color: var(--color-primary);
  font-style: normal;
  font-size: 1rem;
}

/* ========================================
   GUARANTEE SECTION - Animated Badge
   ======================================== */
#guarantee {
  background: var(--gradient-primary);
  color: var(--color-white);
  text-align: center;
  padding: 5rem 2rem;
  border-radius: 20px;
  margin: 2rem auto;
  max-width: 1200px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

#guarantee::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  animation: shimmer 20s infinite linear;
}

#guarantee h2 {
  color: var(--color-white);
  font-size: 2.5rem;
  margin-bottom: 2.5rem;
  position: relative;
  z-index: 1;
}

#guarantee h2::after {
  display: none;
}

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

.guarantee-badge {
  background: var(--gradient-cta);
  color: var(--color-text);
  font-weight: 800;
  padding: 1.5rem 3rem;
  border-radius: 50px;
  display: inline-block;
  margin-bottom: 2rem;
  font-size: 1.5rem;
  box-shadow: var(--shadow-lg);
  animation: pulse 2s infinite;
}

#guarantee p {
  color: rgba(255,255,255,0.95);
  margin-bottom: 1.5rem;
  font-size: 1.15rem;
  line-height: 1.7;
}

#guarantee strong {
  color: var(--color-accent);
}

/* ========================================
   OPT-IN SECTION - Gradient CTA
   ======================================== */
#optin {
  background: linear-gradient(135deg, #FFF9F9 0%, #FFFFFF 100%);
  text-align: center;
  padding: 4rem 2rem;
  border-radius: 20px;
  margin: 2rem auto;
  max-width: 1200px;
  box-shadow: var(--shadow-md);
}

#optin h2 {
  font-size: 2.2rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}

#optin h2::after {
  display: none;
}

.optin-subtitle {
  font-size: 1.1rem;
  color: var(--color-text-light);
  margin-bottom: 2.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.optin-form {
  max-width: 500px;
  margin: 0 auto 2rem;
}

.optin-form input[type="text"],
.optin-form input[type="email"] {
  width: 100%;
  padding: 1.2rem 1.5rem;
  margin-bottom: 1rem;
  border: 2px solid #E2E8F0;
  border-radius: 50px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: var(--color-white);
}

.optin-form input[type="text"]:focus,
.optin-form input[type="email"]:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(255,107,107,0.1);
}

/* ========================================
   CTA SECTION - Bold Gradient Button
   ======================================== */
#cta {
  background: var(--color-white);
  text-align: center;
  padding: 5rem 2rem;
  border-radius: 20px;
  margin: 2rem auto;
  max-width: 1200px;
  box-shadow: var(--shadow-md);
}

#cta h2 {
  font-size: 2.5rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.5rem;
}

#cta h2::after {
  display: none;
}

#cta p {
  font-size: 1.15rem;
  color: var(--color-text-light);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.cta-button {
  display: inline-block;
  background: var(--gradient-cta);
  color: var(--color-text);
  padding: 1.5rem 4rem;
  font-size: 1.3rem;
  font-weight: 800;
  text-decoration: none;
  border-radius: 50px;
  margin: 2rem 0;
  box-shadow: var(--shadow-lg);
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
}

.cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.5s ease;
}

.cta-button:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.cta-button:hover::before {
  left: 100%;
}

.cta-subtext {
  font-size: 0.95rem;
  color: var(--color-text-light);
  margin-bottom: 1.5rem;
  line-height: 2;
}

.cta-closing {
  font-size: 1.1rem;
  color: var(--color-primary);
  font-weight: 600;
  font-style: italic;
}

/* ========================================
   FOOTER - Modern Multi-Column
   ======================================== */
footer {
  background: linear-gradient(135deg, #1A202C 0%, #2D3748 100%);
  color: rgba(255,255,255,0.8);
  padding: 4rem 2rem 2rem;
  margin-top: 4rem;
}

.footer-links {
  text-align: center;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-links a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  margin: 0 1rem;
  transition: color 0.3s ease;
  font-weight: 500;
}

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

.footer-disclaimer {
  font-size: 0.85rem;
  text-align: center;
  margin-bottom: 1rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
}

.footer-copyright {
  font-size: 0.9rem;
  text-align: center;
  color: rgba(255,255,255,0.5);
  margin-top: 2rem;
}

/* ========================================
   ANIMATIONS & UTILITIES
   ======================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fadeInUp {
  animation: fadeInUp 0.6s ease forwards;
}

/* Scroll animations */
section {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   RESPONSIVE ADJUSTMENTS
   ======================================== */
@media (max-width: 768px) {
  section h2 {
    font-size: 1.8rem;
  }
  
  .ingredient-card {
    padding: 1.5rem;
  }
  
  .testimonial-card {
    padding: 1.5rem;
  }
  
  .cta-button {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
  }
  
  #guarantee {
    padding: 3rem 1.5rem;
  }
  
  #guarantee h2 {
    font-size: 1.8rem;
  }
}
