/* Movezen Balance - Premium Design System */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
  --color-base: #FAFAF8; /* Warm white base */
  --color-surface: #FFFFFF;
  --color-surface-secondary: #F3F1ED;
  --color-text-main: #2C302E; /* Deep Charcoal */
  --color-text-muted: #5E635F;
  --color-brand-primary: #1C3F35; /* Forest Green */
  --color-brand-accent: #C7795C; /* Warm Terracotta */
  --color-brand-accent-glow: rgba(199, 121, 92, 0.4);
  --color-gold: #D4AF37;
  
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 40px rgba(28, 63, 53, 0.12);
  --shadow-glow: 0 0 40px rgba(199, 121, 92, 0.3);
  
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 50px;
  --radius-asymmetric: 40px 10px 40px 10px;
  --radius-asymmetric-alt: 10px 40px 10px 40px;
  
  --transition-fast: 0.2s ease-in-out;
  --transition-normal: 0.4s ease-in-out;
  --transition-slow: 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 18px; /* Increased from 16px for larger text globally */
}

body {
  font-family: var(--font-body);
  color: var(--color-text-main);
  background-color: var(--color-base);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600; /* Increased weight for better readability */
  line-height: 1.25;
  color: var(--color-brand-primary);
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

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

/* Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Typography Classes */
h1.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

h2.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
  text-align: center;
}

.text-lead {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  font-weight: 400;
  max-width: 600px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.125rem;
  cursor: pointer;
  border: none;
  transition: all var(--transition-normal);
  text-align: center;
}

.btn-primary {
  background-color: var(--color-brand-accent);
  color: white;
  box-shadow: 0 8px 20px rgba(199, 121, 92, 0.3);
  animation: btnPulse 2s infinite;
}

.btn-primary:hover {
  background-color: #b56b50;
  transform: translateY(-2px) scale(1.02);
  box-shadow: var(--shadow-glow);
  animation: none;
}

.btn-secondary {
  background-color: white;
  color: var(--color-brand-primary);
  border: 1px solid rgba(28, 63, 53, 0.1);
}

.btn-secondary:hover {
  border-color: var(--color-brand-primary);
  background-color: var(--color-surface-secondary);
}

/* Promo Bar */
.promo-bar {
  background: linear-gradient(90deg, var(--color-brand-primary), #2a5a4c);
  color: white;
  text-align: center;
  padding: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  position: relative;
  z-index: 1000;
  overflow: hidden;
}

.promo-grid {
  display: flex;
  justify-content: center;
  gap: 2rem;
  animation: ticker 20s linear infinite;
}

.promo-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}

/* Prominent Ad Badge */
.prominent-ad-badge {
  background: var(--color-text-main);
  color: white;
  text-align: center;
  padding: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  position: relative;
  z-index: 1001;
}

/* Header */
header {
  position: sticky;
  top: 0;
  background: rgba(250, 250, 248, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 999;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  transition: transform var(--transition-normal);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-brand-primary);
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.desktop-nav {
  display: none;
}

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

@media(min-width: 900px) {
  .desktop-nav {
    display: flex;
    gap: 2rem;
    align-items: center;
  }
  .desktop-nav a {
    font-weight: 500;
    color: var(--color-text-main);
  }
  .desktop-nav a:hover {
    color: var(--color-brand-accent);
  }
  .mobile-menu-btn {
    display: none;
  }
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 80px;
  left: 0;
  width: 100%;
  height: calc(100vh - 80px);
  background: var(--color-surface);
  padding: 2rem;
  transform: translateX(100%);
  transition: transform var(--transition-fast);
  z-index: 998;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mobile-menu.active {
  transform: translateX(0);
}

.mobile-menu a {
  font-size: 1.25rem;
  font-weight: 500;
  border-bottom: 1px solid var(--color-surface-secondary);
  padding-bottom: 1rem;
}

/* Sections Global */
section {
  padding: 5rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem auto;
}

/* Hero Section */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
}

.hero-bg-gradient {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 70vw;
  height: 70vw;
  background: radial-gradient(circle, var(--color-brand-accent-glow) 0%, transparent 70%);
  border-radius: 50%;
  z-index: -1;
  filter: blur(60px);
  animation: pulseGlow 8s ease-in-out infinite alternate;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-content {
  text-align: center;
  z-index: 2;
}

.hero-subtitle {
  display: inline-block;
  font-weight: 600;
  color: var(--color-brand-accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
  position: relative;
}

.hero-subtitle::before {
  content: '';
  display: inline-block;
  width: 30px;
  height: 2px;
  background: var(--color-brand-accent);
  vertical-align: middle;
  margin-right: 10px;
}

.hero-image-container {
  position: relative;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

.hero-img {
  width: 100%;
  animation: float 6s ease-in-out infinite;
  border-radius: var(--radius-asymmetric);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
}

.floating-badge {
  position: absolute;
  top: 10%;
  right: -5%;
  background: var(--color-surface);
  color: var(--color-brand-primary);
  padding: 1rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  font-weight: 600;
  font-family: var(--font-heading);
  animation: float 7s ease-in-out infinite reverse;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid rgba(0,0,0,0.05);
}

.floating-badge span {
  font-size: 1.5rem;
  color: var(--color-brand-accent);
}

@media(min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    text-align: left;
  }
  .hero-content {
    text-align: left;
  }
  .hero {
    min-height: 80vh;
  }
}

/* Trust Bar */
.trust-bar {
  background: var(--color-surface);
  padding: 2rem 0;
  border-top: 1px solid var(--color-surface-secondary);
  border-bottom: 1px solid var(--color-surface-secondary);
}

.trust-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  align-items: center;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 500;
  color: var(--color-brand-primary);
}

.trust-icon {
  color: var(--color-brand-accent);
  font-size: 1.5rem;
}

/* Lifestyle Hook */
.lifestyle-section {
  background: var(--color-surface);
}

.lifestyle-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}

.image-mask-organic {
  border-radius: var(--radius-asymmetric-alt);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.image-mask-organic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.image-mask-organic:hover img {
  transform: scale(1.05);
}

@media(min-width: 900px) {
  .lifestyle-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Ingredients */
.ingredients-section {
  background-color: var(--color-brand-primary);
  color: white;
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.ingredients-section .section-title {
  color: white;
}

.ingredients-section .text-lead {
  color: rgba(255,255,255,0.8);
}

.ingredients-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  position: relative;
  z-index: 2;
}

@media(min-width: 768px) {
  .ingredients-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media(min-width: 1024px) {
  .ingredients-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.ingredient-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: var(--radius-lg);
  transition: all var(--transition-normal);
  cursor: pointer;
}

.ingredient-card:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-10px);
  border-color: var(--color-brand-accent);
}

.ingredient-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--color-brand-accent);
}

.ingredient-card h3 {
  color: white;
  margin-bottom: 0.5rem;
}

.ingredient-card p {
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
}

/* Benefits Section */
.benefits-section {
  background-color: var(--color-surface-secondary);
}

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media(min-width: 768px) {
  .benefits-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.benefit-card {
  background: var(--color-surface);
  padding: 2.5rem 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  text-align: center;
}

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

.benefit-card img {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.5rem auto;
}

.benefit-card h3 {
  margin-bottom: 1rem;
}

/* Product Showcase */
.product-showcase {
  text-align: center;
  padding: 6rem 0;
}

.showcase-container {
  position: relative;
  max-width: 600px;
  margin: 0 auto 3rem auto;
}

.showcase-img {
  width: 100%;
  border-radius: var(--radius-asymmetric);
}

.showcase-label {
  position: absolute;
  background: white;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-md);
  font-weight: 500;
  color: var(--color-brand-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  animation: float 5s ease-in-out infinite;
}

.label-1 { top: 20%; left: -10%; animation-delay: 0s; }
.label-2 { top: 50%; right: -15%; animation-delay: 1s; }
.label-3 { bottom: 10%; left: 0; animation-delay: 2s; }

/* Purchase Section */
.purchase-section {
  background: var(--color-base);
  padding: 6rem 0;
}

.purchase-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1fr;
  overflow: hidden;
  max-width: 1000px;
  margin: 0 auto;
}

@media(min-width: 900px) {
  .purchase-card {
    grid-template-columns: 1fr 1.2fr;
  }
}

.purchase-image {
  background-color: var(--color-surface-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  position: relative;
}

.purchase-image img {
  width: 100%;
  max-width: 350px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.purchase-details {
  padding: 3rem;
  display: flex;
  flex-direction: column;
}

.price-block {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1rem;
}

.current-price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-brand-primary);
  font-family: var(--font-heading);
}

.original-price {
  font-size: 1.25rem;
  color: var(--color-text-muted);
  text-decoration: line-through;
}

.savings-badge {
  background: #E8F5E9;
  color: #2E7D32;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.875rem;
}

.quantity-selector {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.qty-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--color-surface-secondary);
  background: var(--color-surface);
  cursor: pointer;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.qty-btn:hover {
  background: var(--color-surface-secondary);
}

.qty-input {
  width: 50px;
  text-align: center;
  font-size: 1.125rem;
  font-weight: 600;
  border: none;
  background: transparent;
}

/* Order Form */
.order-form-container {
  background: white;
  padding: 2rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-surface-secondary);
  margin-top: 1.5rem;
}

.order-form-group {
  margin-bottom: 1.25rem;
  text-align: left;
}

.order-form-group label {
  display: block;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 0.4rem;
  font-weight: 500;
}

.order-form-control {
  width: 100%;
  padding: 1rem;
  border: 1px solid #ddd;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color var(--transition-fast);
}

.order-form-control:focus {
  outline: none;
  border-color: var(--color-brand-accent);
}

.payment-methods {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.payment-method-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--color-surface-secondary);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.payment-method-card:hover {
  background-color: var(--color-surface-secondary);
}

.payment-method-card input[type="radio"] {
  transform: scale(1.2);
  accent-color: var(--color-brand-primary);
}

.scientific-ref-card {
  background: white;
  padding: 1.5rem;
  border-left: 4px solid var(--color-brand-accent);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.scientific-ref-card a {
  color: var(--color-brand-primary);
  font-weight: 600;
  text-decoration: underline;
}

.product-placeholder {
  width: 100%;
  height: 400px;
  background-color: #e9ecef;
  border: 2px dashed #ced4da;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #adb5bd;
  font-weight: 600;
  text-align: center;
  padding: 1rem;
}

.product-image-frame {
  background: radial-gradient(circle, #ffffff 0%, #f9f9f9 100%);
  border-radius: 50%;
  padding: 2rem;
  box-shadow: var(--shadow-lg), inset 0 0 20px rgba(0,0,0,0.02);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  animation: float 6s ease-in-out infinite;
  border: 4px solid white;
}

.product-image-frame img {
  width: 100%;
  max-width: 250px;
  transition: transform 0.5s ease;
  filter: drop-shadow(0 10px 15px rgba(0,0,0,0.15));
}

.product-image-frame:hover img {
  transform: scale(1.05) rotate(2deg);
}

.purchase-btn-container {
  margin-bottom: 1.5rem;
}

.btn-purchase {
  width: 100%;
  padding: 1.25rem;
  font-size: 1.25rem;
}

.disclaimer-text {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  text-align: center;
  margin-top: 1rem;
}

.security-icons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
  color: var(--color-text-muted);
}

/* FAQ */
.faq-section {
  background: var(--color-surface);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--color-surface-secondary);
  margin-bottom: 1rem;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 1.5rem 0;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--color-brand-primary);
  cursor: pointer;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal);
}

.faq-answer-inner {
  padding-bottom: 1.5rem;
  color: var(--color-text-muted);
}

.faq-item.active .faq-answer {
  max-height: 500px; /* arbitrary max-height for transition */
}

.faq-icon {
  transition: transform var(--transition-fast);
}

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

/* Footer */
footer {
  background: var(--color-brand-primary);
  color: white;
  padding: 4rem 0 2rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

@media(min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer-logo {
  color: white;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-p {
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
}

.footer-title {
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
  color: white;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: rgba(255,255,255,0.7);
  transition: color var(--transition-fast);
}

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

.footer-disclaimers {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem;
  text-align: center;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
}

.footer-disclaimers p {
  margin-bottom: 0.5rem;
}

/* Animations */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}

@keyframes pulseGlow {
  0% { opacity: 0.5; transform: scale(1); }
  100% { opacity: 0.8; transform: scale(1.05); }
}

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

@keyframes btnPulse {
  0% { box-shadow: 0 0 0 0 rgba(199, 121, 92, 0.5); }
  70% { box-shadow: 0 0 0 15px rgba(199, 121, 92, 0); }
  100% { box-shadow: 0 0 0 0 rgba(199, 121, 92, 0); }
}

/* Scroll Reveal Classes */
.reveal {
  opacity: 0;
  transform: translateY(40px) scale(0.98); /* Added scale for stronger animation */
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0) scale(1);
}

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

/* Sticky CTA Mobile */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--color-surface);
  padding: 1rem;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
  z-index: 997;
  transform: translateY(100%);
  transition: transform var(--transition-normal);
  display: flex;
  justify-content: center;
  align-items: center;
}

.sticky-cta.visible {
  transform: translateY(0);
}

@media(min-width: 900px) {
  .sticky-cta {
    display: none;
  }
}

/* Editorial Block */
.editorial-block {
  padding: 4rem 2rem;
  background: var(--color-base);
  border-left: 4px solid var(--color-brand-accent);
  margin: 2rem 0;
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}

.editorial-block h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

/* Base Page Title (for subpages) */
.page-header {
  background: var(--color-surface);
  padding: 6rem 0 3rem 0;
  text-align: center;
  border-bottom: 1px solid var(--color-surface-secondary);
}

.page-content {
  padding: 4rem 0;
  background: var(--color-base);
}

.prose {
  max-width: 800px;
  margin: 0 auto;
}

.prose h2 { margin: 2rem 0 1rem 0; font-size: 1.75rem; }
.prose p { margin-bottom: 1.5rem; }
.prose ul { margin: 0 0 1.5rem 2rem; }
.prose li { margin-bottom: 0.5rem; }
