@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,700&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  /* Premium Palette */
  --primary: #2c5e1a; /* Forest Green (Trust & Authority) */
  --primary-light: #4a8c2d;
  --accent: #d4af37; /* Gold (Premium Value) */
  --bg-cream: #fdfbf7;
  --bg-white: #ffffff;
  --text-dark: #0f1c0f;
  --text-muted: #536353;
  --error: #e63946;
  
  /* Layout */
  --container: 1100px;
  --section-padding: 100px 20px;
  --radius: 24px;
  --shadow: 0 20px 50px rgba(0, 44, 15, 0.08);
  --glass: rgba(255, 255, 255, 0.7);
  --blur: blur(12px);
}

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

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  background: var(--bg-cream);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  line-height: 1.1;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; border-radius: 8px; }

/* Utilities */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.text-center { text-align: center; }
.badge {
  display: inline-block;
  padding: 8px 18px;
  background: rgba(44, 94, 26, 0.08);
  color: var(--primary);
  font-weight: 600;
  font-size: 0.85rem;
  border-radius: 100px;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Animations */
.animate {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

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

/* Buttons */
.btn {
  display: inline-block;
  padding: 20px 40px;
  border-radius: 100px;
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: none;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  box-shadow: 0 15px 35px rgba(44, 94, 26, 0.3);
}

.btn-primary:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 20px 45px rgba(44, 94, 26, 0.4);
}

/* Components */
.top-bar {
  background: var(--accent);
  color: #000;
  padding: 12px 10px;
  text-align: center;
  font-weight: 700;
  font-size: 0.9rem;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.card {
  background: var(--bg-white);
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(0,0,0,0.03);
  transition: transform 0.3s ease;
}

.card:hover { transform: translateY(-8px); }

.glass-card {
  background: var(--glass);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

/* Sections */
.section { padding: var(--section-padding); }

/* --- HERO --- */
.hero {
  padding: 160px 20px 100px;
  background: radial-gradient(circle at 10% 20%, rgba(44, 94, 26, 0.05) 0%, rgba(255, 255, 255, 1) 90%);
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 40%; height: 60%;
  background: radial-gradient(circle at top right, rgba(212, 175, 55, 0.08), transparent);
  pointer-events: none;
}

.hero .container {
  max-width: 1250px;
}

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

.main-title {
  font-size: clamp(2.8rem, 6vw, 4.2rem);
  margin-bottom: 25px;
  color: var(--text-dark);
}

.main-title span {
  color: var(--primary);
  font-style: italic;
}

.sub-title {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 600px;
}

.hero-image {
  position: relative;
  z-index: 2;
}

.hero-image img {
  width: 110%;
  transform: scale(1.08);
  transform-origin: center;
  height: auto;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,0.15));
  border-radius: 20px;
}

@media (max-width: 992px) {
  .hero-image img {
    width: 100%;
    transform: none;
  }
}

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

.grid-cards.grid-4 {
  grid-template-columns: repeat(4, 1fr);
  align-items: stretch;
}

.benefit-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.icon-box {
  background: var(--primary);
  color: white;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.2rem;
  box-shadow: 0 10px 20px rgba(44, 94, 26, 0.2);
}

/* --- RECIPES --- */
.recipe-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.recipe-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  height: 350px;
}

.recipe-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: scale 0.6s ease;
}

.recipe-card:hover img { scale: 1.1; }

.recipe-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  padding: 30px 20px;
  color: white;
}

/* --- OFFER --- */
.offer-card {
  max-width: 550px;
  margin: 0 auto;
  border: 2px solid var(--accent);
  position: relative;
  overflow: visible;
}

.offer-card::after {
  content: "OFERTA LIMITADA";
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #000;
  padding: 5px 20px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 0.8rem;
}

.price-tag {
  font-size: 4.5rem;
  font-family: 'Playfair Display', serif;
  color: var(--primary);
  margin: 10px 0;
}

.price-old {
  text-decoration: line-through;
  color: var(--error);
  font-size: 1.5rem;
  font-weight: 500;
}

/* Footer */
footer {
  background: #0a140a;
  color: rgba(255,255,255,0.6);
  padding: 80px 20px;
}

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

/* Responsive */
@media (max-width: 992px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-grid .flex-column { align-items: center; }
  .sub-title { margin-left: auto; margin-right: auto; }
  .section { padding: 60px 20px; }
  .grid-cards.grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 576px) {
  .grid-cards.grid-4 { grid-template-columns: 1fr; }
}

/* --- TOAST NOTIFICATIONS --- */
.sales-toast {
  position: fixed;
  bottom: 20px;
  left: -400px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 15px;
  z-index: 9999;
  border-left: 5px solid var(--primary);
  width: 320px;
  transition: left 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.sales-toast.show {
  left: 20px;
}

.sales-toast img {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  object-fit: cover;
}

.toast-title {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 2px;
  color: var(--text-dark);
}

.toast-title span {
  color: var(--primary);
}

.toast-time {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
}

@media (max-width: 576px) {
  .sales-toast {
    bottom: auto;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    transition: top 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  }
  
  .sales-toast.show {
    left: 50%;
    top: 20px;
    transform: translateX(-50%);
  }
}

/* --- MODAL / EXIT INTENT --- */
.modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background: #fff;
  width: 95%;
  max-width: 500px;
  border-radius: 30px;
  padding: 50px 40px;
  text-align: center;
  position: relative;
  transform: scale(0.8);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 40px 100px rgba(0,0,0,0.4);
  border: 4px solid var(--accent);
}

.modal-overlay.active .modal-content {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 25px;
  font-size: 1.8rem;
  color: #ccc;
  cursor: pointer;
  transition: color 0.3s;
  line-height: 1;
}
.modal-close:hover { color: var(--error); }

.discount-badge {
  background: var(--error);
  color: white;
  padding: 10px 25px;
  border-radius: 50px;
  font-weight: 800;
  display: inline-block;
  margin-bottom: 25px;
  font-size: 1rem;
  letter-spacing: 1px;
  animation: pulse-red 2s infinite;
}

@keyframes pulse-red {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(230, 57, 70, 0.4); }
  70% { transform: scale(1.05); box-shadow: 0 0 0 15px rgba(230, 57, 70, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(230, 57, 70, 0); }
}
