/* Base Variables & Theme */
:root {
  --color-primary-base: #ffffff;
  --color-primary-surface: #f9fbfb;
  --color-accent-blue: #0b2b40;
  --color-accent-green: #1f5e4e;
  --color-accent-coral: #ef7665;
  --color-accent-amber: #e59a54;
  --color-text-dark: #192126;
  --color-text-body: #4a5560;
  --color-border: rgba(11, 43, 64, 0.08);
  
  --font-family-heading: 'Outfit', 'Inter', sans-serif;
  --font-family-body: 'Inter', sans-serif;
  
  --shadow-sm: 0 4px 12px rgba(11, 43, 64, 0.06);
  --shadow-md: 0 12px 24px rgba(11, 43, 64, 0.08);
  --shadow-lg: 0 24px 48px rgba(11, 43, 64, 0.12);
  --shadow-glow: 0 0 30px rgba(31, 94, 78, 0.2);
  
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 9999px;
  --radius-organic: 30% 70% 70% 30% / 30% 30% 70% 70%;
  
  --transition-fast: 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-normal: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-slow: 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

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

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

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 80px 0;
  position: relative;
}

/* Animations */
@keyframes slideDown {
  from { transform: translateY(-100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes fadeInMoveUp {
  from { transform: translateY(40px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes float {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(2deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(239, 118, 101, 0.4); }
  70% { box-shadow: 0 0 0 15px rgba(239, 118, 101, 0); }
  100% { box-shadow: 0 0 0 0 rgba(239, 118, 101, 0); }
}

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

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

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

.scale-in {
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.scale-in.active {
  opacity: 1;
  transform: scale(1);
}

/* Articles Section */
.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.article-card {
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  border: 1px solid var(--color-border);
}

.article-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-md);
}

.article-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: var(--transition-slow);
}

.article-card:hover .article-image {
  transform: scale(1.05);
}

.article-content {
  padding: 24px;
}

.article-title {
  font-size: 1.125rem;
  color: var(--color-accent-blue);
  line-height: 1.4;
  margin-bottom: 12px;
}

.article-readmore {
  color: var(--color-accent-green);
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-family: var(--font-family-heading);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: var(--transition-normal);
  cursor: pointer;
  border: none;
  font-size: 1rem;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-accent-green), #144034);
  color: #fff;
  box-shadow: var(--shadow-md);
}

.btn-primary:active {
  transform: scale(0.98);
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: all 0.6s ease;
}

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

.btn-primary:hover::after {
  left: 100%;
}

.btn-secondary {
  background: transparent;
  color: var(--color-accent-blue);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--color-accent-blue);
  background: rgba(11, 43, 64, 0.03);
}

.btn-coral {
  background-color: var(--color-accent-coral);
  color: white;
  animation: pulse 2s infinite;
}

.btn-coral:hover {
  background-color: #d66453;
  transform: translateY(-2px);
}

/* Header & Promo */
.promo-bar {
  background-color: var(--color-accent-blue);
  color: white;
  text-align: center;
  padding: 12px 0;
  font-size: 0.875rem;
  font-weight: 500;
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 100;
  border-bottom: 1px solid var(--color-border);
  transition: var(--transition-normal);
}

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

.logo {
  font-family: var(--font-family-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-accent-green);
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo span {
  color: var(--color-accent-blue);
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-link {
  font-weight: 500;
  color: var(--color-text-dark);
  transition: var(--transition-fast);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent-green);
  transition: var(--transition-fast);
}

.nav-link:hover {
  color: var(--color-accent-green);
}

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

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

@media (max-width: 992px) {
  .nav-links { display: none; }
  .mobile-menu-toggle { display: block; }
  .header-cta { display: none; }
}

/* Hero Section */
.hero {
  padding: 120px 0 80px;
  background: radial-gradient(circle at 70% 30%, rgba(31, 94, 78, 0.05) 0%, transparent 50%),
              radial-gradient(circle at 30% 70%, rgba(229, 154, 84, 0.05) 0%, transparent 50%);
  position: relative;
  overflow: hidden;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content {
  animation: fadeInMoveUp 1s ease-out forwards;
}

.hero-subtitle {
  color: var(--color-accent-amber);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
  display: block;
}

.hero-title {
  font-size: 3.5rem;
  margin-bottom: 24px;
  color: var(--color-accent-blue);
}

.hero-description {
  font-size: 1.125rem;
  margin-bottom: 32px;
  color: var(--color-text-body);
}

.hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 40px;
}

.trust-chips {
  display: flex;
  gap: 16px;
}

.trust-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-dark);
  background: white;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
}

.hero-visual {
  position: relative;
}

.hero-image-wrapper {
  position: relative;
  z-index: 2;
  border-radius: var(--radius-organic);
  background: linear-gradient(135deg, rgba(255,255,255,0.8), rgba(255,255,255,0.2));
  backdrop-filter: blur(10px);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,0.5);
  animation: float 6s ease-in-out infinite;
}

.hero-image {
  transform: scale(1.1) translateY(-20px);
  filter: drop-shadow(0 20px 30px rgba(0,0,0,0.15));
}

.discount-badge {
  position: absolute;
  top: 20px;
  right: -20px;
  background: var(--color-accent-coral);
  color: white;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-weight: 800;
  line-height: 1;
  z-index: 3;
  box-shadow: 0 10px 20px rgba(239, 118, 101, 0.3);
  transform: rotate(15deg);
  animation: pulse 3s infinite;
}

.discount-badge span {
  font-size: 1.5rem;
}

.discount-badge small {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
}

@media (max-width: 992px) {
  .hero-container { grid-template-columns: 1fr; text-align: center; }
  .hero-title { font-size: 2.5rem; }
  .hero-actions { justify-content: center; flex-direction: column; }
  .trust-chips { justify-content: center; flex-wrap: wrap; }
  .hero-image-wrapper { margin-top: 40px; max-width: 400px; margin-inline: auto; }
}

/* Ingredients Section */
.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 60px;
}

.section-title {
  font-size: 2.5rem;
  color: var(--color-accent-blue);
  margin-bottom: 16px;
}

.ingredients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.ingredient-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 40px 30px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  border: 1px solid var(--color-border);
  position: relative;
  overflow: hidden;
}

.ingredient-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 4px;
  background: var(--color-accent-green);
  transform: scaleX(0);
  transition: var(--transition-normal);
  transform-origin: left;
}

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

.ingredient-card:hover::before {
  transform: scaleX(1);
}

.ingredient-icon {
  width: 80px;
  height: 80px;
  background: var(--color-primary-surface);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 2rem;
  color: var(--color-accent-green);
  transition: var(--transition-normal);
}

.ingredient-card:hover .ingredient-icon {
  background: var(--color-accent-green);
  color: white;
  transform: rotate(10deg);
}

.ingredient-title {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

/* Product Spotlight */
.product-spotlight {
  background: var(--color-primary-surface);
  border-radius: var(--radius-lg);
  margin: 80px 24px;
  padding: 80px 0;
}

@media(max-width: 768px) {
  .product-spotlight { margin: 40px 16px; padding: 40px 0;}
}

.spotlight-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.spotlight-features {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: white;
  padding: 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
}

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

.feature-icon-wrapper {
  background: rgba(31, 94, 78, 0.1);
  color: var(--color-accent-green);
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.spotlight-image {
  position: relative;
  text-align: center;
}

.spotlight-image::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 80%; height: 80%;
  background: radial-gradient(circle, rgba(31,94,78,0.2) 0%, transparent 60%);
  z-index: 0;
}

.spotlight-image img {
  position: relative;
  z-index: 1;
  max-width: 400px;
  margin: 0 auto;
}

@media(max-width: 992px) {
  .spotlight-container { grid-template-columns: 1fr; }
  .spotlight-image { order: -1; }
}

/* Purchase Section */
.purchase-section {
  background: linear-gradient(to bottom, #ffffff, var(--color-primary-surface));
}

.purchase-card {
  max-width: 800px;
  margin: 0 auto;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 2fr 3fr;
}

.purchase-visual {
  background: var(--color-primary-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.purchase-details {
  padding: 40px;
}

.price-block {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.current-price {
  font-size: 3rem;
  font-weight: 800;
  color: var(--color-accent-blue);
  line-height: 1;
}

.old-price {
  font-size: 1.5rem;
  text-decoration: line-through;
  color: #94a3b8;
}

.savings {
  background: var(--color-accent-coral);
  color: white;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.875rem;
  font-weight: bold;
}

.quantity-selector {
  display: flex;
  gap: 12px;
  margin-bottom: 32px;
}

.qty-option {
  flex: 1;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.qty-option.active {
  border-color: var(--color-accent-green);
  background: rgba(31, 94, 78, 0.05);
}

.qty-option span {
  display: block;
  font-weight: bold;
  font-size: 1.125rem;
  color: var(--color-text-dark);
}

.qty-option small {
  color: var(--color-accent-green);
}

.checkout-trust {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
  color: #94a3b8;
  font-size: 1.5rem;
}

@media(max-width: 768px) {
  .purchase-card { grid-template-columns: 1fr; }
  .purchase-visual { padding: 20px; }
  .purchase-details { padding: 24px; }
  .current-price { font-size: 2.5rem; }
}

/* Reviews */
.reviews-masonry {
  display: column;
  column-count: 3;
  column-gap: 24px;
}

.review-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
  break-inside: avoid;
  border: 1px solid var(--color-border);
}

.stars {
  color: var(--color-accent-amber);
  margin-bottom: 12px;
}

.reviewer {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}

.reviewer-avatar {
  width: 40px; height: 40px;
  background: var(--color-primary-surface);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: var(--color-accent-green);
}

@media(max-width: 992px) { .reviews-masonry { column-count: 2; } }
@media(max-width: 600px) { .reviews-masonry { column-count: 1; } }

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

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

.faq-question {
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--color-text-dark);
}

.faq-icon {
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  color: var(--color-accent-green);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-answer-inner {
  padding-bottom: 24px;
  color: var(--color-text-body);
}

/* Footer */
footer {
  background: var(--color-accent-blue);
  color: rgba(255,255,255,0.7);
  padding: 80px 0 40px;
}

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

.footer-title {
  color: white;
  font-size: 1.25rem;
  margin-bottom: 24px;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a:hover {
  color: white;
}

.disclaimer-box {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 16px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  margin-top: 24px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
}

@media(max-width: 992px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media(max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
}

/* Utility */
.text-center { text-align: center; }
.mb-2 { margin-bottom: 8px; }
.mb-4 { margin-bottom: 16px; }
.mb-8 { margin-bottom: 32px; }

/* Sticky Mobile CTA */
.mobile-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: white;
  padding: 16px;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
  z-index: 90;
  animation: slideDown 0.3s reverse;
}

.mobile-sticky-cta.visible {
  display: flex;
  justify-content: space-between;
  align-items: center;
  animation: slideDown 0.3s forwards;
}

@media(max-width: 768px) {
  body { padding-bottom: 80px; } /* Space for sticky cta */
}

/* Image containers */
.rounded-mask {
  border-radius: var(--radius-organic);
  overflow: hidden;
}

.glass-panel {
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.5);
}

/* Checkout Form Styles */
.checkout-form {
  background: white;
  border-top: 1px solid var(--color-border);
  padding-top: 24px;
  margin-top: 16px;
}
.form-row {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}
.form-input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-family-body);
  font-size: 1rem;
  color: var(--color-text-dark);
  transition: var(--transition-fast);
  margin-bottom: 12px;
}
.form-input:focus {
  outline: none;
  border-color: var(--color-accent-green);
  box-shadow: 0 0 0 3px rgba(31, 94, 78, 0.1);
}
.payment-methods {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.payment-method {
  display: flex;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition-fast);
}
.payment-method.active {
  border-color: var(--color-accent-green);
  background: rgba(31, 94, 78, 0.05);
}
.method-name {
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 12px;
}
