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

body {
  font-family: 'Segoe UI', Helvetica, Arial, sans-serif;
  line-height: 1.6;
  color: #1d1d1d;
  background-color: #f9f9f9;
}

/* Navbar */
.navbar {
  background-color: transparent;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 3rem;
  position: absolute;
  width: 100%;
  z-index: 10;
}

.navbar .logo {
  font-size: 1.8rem;
  font-weight: bold;
  color: white;
}

.navbar nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.navbar nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1px;
}

.cta {
  background-color: transparent;
  color: white;
  border: 2px solid white;
  padding: 0.6rem 1.5rem;
  font-weight: bold;
  border-radius: 4px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.cta:hover {
  background-color: white;
  color: #0c1f15;
}

/* Hero Section */
.hero {
  height: 100vh;
  background: linear-gradient(135deg, #17b24b 0%, #0c1f15 100%);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  padding: 0 6rem;
  color: white;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  transform: rotate(30deg);
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.hero-btn.secondary {
  background: transparent;
  border: 2px solid white;
  color: white;
}

.hero-btn.secondary:hover {
  background: rgba(255,255,255,0.1);
}

.hero-decoration {
  position: absolute;
  right: 5%;
  bottom: 10%;
}

.hero-decoration .circle {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  position: absolute;
}

.hero-decoration .circle:nth-child(2) {
  width: 200px;
  height: 200px;
  right: -50px;
  top: -50px;
}
.hero-content {
  max-width: 1200px;
  width: 100%;
}

.hero h1 {
  font-size: 5rem;
  line-height: 1;
  margin-bottom: 1rem;
  font-weight: 300;
  text-transform: uppercase;
}

.hero h1 span {
  font-weight: 700;
  color: #17b24b;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  max-width: 500px;
  font-weight: 300;
}

.hero-btn {
  background: transparent;
  color: white;
  border: 2px solid white;
  padding: 0.8rem 2.5rem;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero-btn:hover {
  background: white;
  color: #0c1f15;
}

/* Power of Health Section */
.power-health {
  padding: 5rem 2rem;
  background-color: #fff;
  text-align: center;
}

.power-health .container {
  max-width: 1000px;
  margin: 0 auto;
}

.power-health h1 {
  font-size: 2.5rem;
  margin-bottom: 3rem;
  font-weight: 400;
  color: #0c1f15;
  line-height: 1.3;
}

.health-cards {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
}

.health-card {
  text-align: left;
  max-width: 300px;
}

.health-card h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #17b24b;
  font-weight: 600;
}

.health-card p {
  color: #555;
  line-height: 1.6;
  font-size: 1rem;
}

/* Benefits */
.benefits {
  padding: 5rem 2rem;
  text-align: center;
  background: #fff;
}

.benefits h2 {
  font-size: 2.2rem;
  margin-bottom: 2rem;
  font-weight: 300;
  text-transform: uppercase;
}

.product-row img {
  width: 80%;
  max-width: 600px;
  border-radius: 0.5rem;
}

.feature-icons {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.feature {
  background-color: #17b24b;
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: 6px;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1px;
}

/* Ingredients */
.ingredients {
  background-color: #eafff1;
  padding: 5rem 2rem;
  text-align: center;
}

.ingredients h2 {
  margin-bottom: 3rem;
  font-size: 2.2rem;
  font-weight: 300;
  text-transform: uppercase;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.grid .item {
  background: white;
  border: 1px solid #e0e0e0;
  padding: 1.5rem;
  border-radius: 5px;
  font-weight: 500;
  transition: transform 0.3s ease;
}

.grid .item:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Supplement Collection */
.collection {
  background-color: #fef7fb;
  padding: 5rem 2rem;
  text-align: center;
}

.collection-header h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  font-weight: 300;
  text-transform: uppercase;
}

.collection-header p {
  color: #6b6b6b;
  margin-bottom: 3rem;
  font-size: 1.1rem;
}

.product-cards {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.card {
  background: white;
  border-radius: 1rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  padding: 1.5rem;
  width: 280px;
  text-align: left;
  position: relative;
  transition: transform 0.3s ease;
}

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

.card img {
  width: 100%;
  border-radius: 0.5rem;
  margin-bottom: 1.5rem;
}

.card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.card .price {
  font-weight: bold;
  color: #000;
  font-size: 1.1rem;
}

.card .old-price {
  text-decoration: line-through;
  color: #999;
  font-size: 0.9rem;
  margin-left: 0.5rem;
}

.buy-btn {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  background: #8c46ff;
  color: white;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.buy-btn:hover {
  background: #6e2fd9;
}

/* Footer */
.footer {
  background-color: #0c1f15;
  color: white;
  text-align: center;
  padding: 5rem 2rem 2rem;
}

.footer h2 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  font-weight: 300;
  text-transform: uppercase;
}

.footer p {
  margin-bottom: 2.5rem;
  font-size: 1.1rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.get-started {
  background-color: #17b24b;
  color: white;
  border: none;
  padding: 1rem 2.5rem;
  border-radius: 5px;
  font-size: 1rem;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.get-started:hover {
  background-color: #129a3d;
}

.footer-bottom {
  margin-top: 3rem;
  font-size: 0.9rem;
  color: #ccc;
}

/* Responsive */
@media (max-width: 768px) {
  .navbar {
    padding: 1rem;
  }
  
  .hero {
    padding: 0 2rem;
    text-align: center;
    justify-content: center;
  }
  
  .hero h1 {
    font-size: 3rem;
  }
  
  .hero p {
    margin-left: auto;
    margin-right: auto;
  }
  
  .health-cards {
    flex-direction: column;
    align-items: center;
  }
  
  .health-card {
    max-width: 100%;
    margin-bottom: 2rem;
    text-align: center;
  }
  
  .power-health h1 {
    font-size: 2rem;
  }
  
  .feature-icons {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
}

/* Animaciones */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-content, .health-cards, .product-row, .grid, .product-cards {
  animation: fadeIn 1s ease-out forwards;
}

/* Efecto hover para tarjetas de productos */
.card {
  transition: all 0.3s ease;
}

.card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Botón flotante */
.floating-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background-color: #17b24b;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  z-index: 100;
  transition: all 0.3s ease;
}

.floating-btn:hover {
  transform: scale(1.1);
  background-color: #129a3d;
}

.contact {
  background-color: #f9f9f9;
  padding: 5rem 2rem;
  text-align: center;
}

.contact h2 {
  font-size: 2.2rem;
  margin-bottom: 2rem;
}

#contact-form {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

#contact-form input,
#contact-form textarea {
  padding: 0.8rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
}

#contact-form textarea {
  height: 150px;
  resize: vertical;
}

/* Sección de Autenticación */
.auth-section {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 80vh;
  padding: 2rem;
  background-color: #f9f9f9;
}

.auth-container {
  background: white;
  padding: 2.5rem;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 450px;
  text-align: center;
}

.auth-container h2 {
  margin-bottom: 1.5rem;
  color: #0c1f15;
  font-size: 2rem;
}

.auth-container input {
  width: 100%;
  padding: 0.8rem;
  margin-bottom: 1rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
}

.auth-btn {
  background-color: #17b24b;
  color: white;
  border: none;
  padding: 0.8rem 2rem;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
  width: 100%;
  transition: background-color 0.3s;
}

.auth-btn:hover {
  background-color: #129a3d;
}

.auth-text {
  margin-top: 1.5rem;
  color: #555;
}

.auth-text a {
  color: #17b24b;
  text-decoration: none;
  font-weight: 500;
}

/* Botones de Auth en Navbar */
.auth-buttons {
  display: flex;
  gap: 1rem;
}

.cta.secondary {
  background-color: transparent;
  color: white;
  border: 2px solid white;
}

.cta.secondary:hover {
  background-color: white;
  color: #0c1f15;
}
/* Estilos Generales para Login y Register */
/* Estilos para el tema oscuro */
.auth-section {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background-color: #121f17;
  background-image: url('assets/hojas-textura-dark.png'); /* Textura de hojas en modo oscuro */
  background-size: 30%;
  background-blend-mode: overlay;
  padding: 2rem;
}

.auth-container {
  background: #1a2e22;
  padding: 3rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  width: 100%;
  max-width: 450px;
  text-align: center;
  border: 1px solid rgba(46, 139, 87, 0.3);
}

.auth-container h2 {
  margin-bottom: 2rem;
  color: #e0f0e5;
  font-size: 2.2rem;
  font-weight: 600;
  position: relative;
}

.auth-container h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: #2e8b57;
  margin: 0.5rem auto 0;
}

.auth-container input {
  width: 100%;
  padding: 1rem;
  margin-bottom: 1.2rem;
  border: 1px solid #2a3e32;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s;
  background-color: #121f17;
  color: #e0f0e5;
}

.auth-container input:focus {
  border-color: #2e8b57;
  outline: none;
  box-shadow: 0 0 0 3px rgba(46, 139, 87, 0.3);
}

.auth-container input::placeholder {
  color: #5a7c6c;
}

.auth-btn {
  background-color: #2e8b57;
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  width: 100%;
  transition: all 0.3s;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.auth-btn:hover {
  background-color: #3cb371;
  transform: translateY(-2px);
}

.auth-text {
  margin-top: 1.5rem;
  color: #5a7c6c;
}

.auth-text a {
  color: #3cb371;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
}

.auth-text a:hover {
  color: #2e8b57;
  text-decoration: underline;
}

/* Decoración orgánica (opcional) */
.auth-container::before {
  content: "🌿";
  position: absolute;
  top: -15px;
  left: -15px;
  font-size: 1.5rem;
  opacity: 0.5;
  filter: brightness(0.8);
}

.auth-btn {
  box-shadow: 0 0 10px rgba(46, 139, 87, 0.5);
}
@keyframes pulse {
  0% { opacity: 0.8; }
  50% { opacity: 1; }
  100% { opacity: 0.8; }
}
.auth-btn:hover {
  animation: pulse 1.5s infinite;
}


/* Sección de Simulación Nutricional */
.simulation {
  padding: 5rem 2rem;
  text-align: center;
  background-color: #f0f7f4;
}

.simulation h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  font-weight: 300;
  text-transform: uppercase;
  color: #0c1f15;
}

.simulation p {
  color: #6b6b6b;
  margin-bottom: 3rem;
  font-size: 1.1rem;
}

.simulation-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

#nutrition-form {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  width: 100%;
  max-width: 400px;
  text-align: left;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #0c1f15;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
}

.simulation-btn {
  background-color: #17b24b;
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 5px;
  font-size: 1rem;
  cursor: pointer;
  width: 100%;
  transition: all 0.3s;
  margin-top: 1rem;
}

.simulation-btn:hover {
  background-color: #129a3d;
}

.results-container {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  width: 100%;
  max-width: 400px;
  text-align: left;
}

.result-item {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #eee;
}

.result-label {
  font-weight: 500;
  color: #0c1f15;
  display: block;
  margin-bottom: 0.3rem;
}

.result-value {
  font-weight: bold;
  color: #17b24b;
  font-size: 1.1rem;
}

.result-category {
  display: inline-block;
  margin-left: 0.5rem;
  font-size: 0.9rem;
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
}

.food-recommendations {
  width: 100%;
  margin-top: 3rem;
}

.food-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}

.food-card {
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  width: 280px;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid #e0e0e0;
  
}

.food-card img {
  background-color: #f5f5f5;
  object-fit: cover;
}

.food-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.food-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.food-card-content {
  padding: 1.5rem;
}

.food-card h4 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: #0c1f15;
}

.food-card .calories {
  display: inline-block;
  background: #e8f5e9;
  color: #17b24b;
  padding: 0.2rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  margin-bottom: 1rem;
}

.food-card p {
  color: #555;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.food-card .recipe-btn {
  background: #17b24b;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s;
}

.food-card .recipe-btn:hover {
  background: #129a3d;
}

@media (max-width: 768px) {
  .simulation-container {
    flex-direction: column;
    align-items: center;
  }
  
  #nutrition-form,
  .results-container {
    max-width: 100%;
  }
}

/* Comparison Section */
.comparison {
  padding: 5rem 2rem;
  background: linear-gradient(135deg, #f5f7fa 0%, #e4f0f5 100%);
  text-align: center;
}

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

.comparison h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #0c1f15;
  font-weight: 600;
}

.comparison .subtitle {
  color: #555;
  font-size: 1.1rem;
  margin-bottom: 3rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.plans {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.plan {
  background: white;
  border-radius: 15px;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
  padding: 2.5rem;
  width: 100%;
  max-width: 400px;
  position: relative;
  transition: all 0.3s ease;
}

.plan.featured {
  border: 2px solid #17b24b;
  transform: scale(1.03);
}

.plan-header {
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #eee;
  margin-bottom: 1.5rem;
}

.plan-header h3 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  color: #0c1f15;
}

.plan-header .price {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 1rem 0;
  color: #17b24b;
}

.plan-header .price span {
  font-size: 1rem;
  font-weight: normal;
  color: #777;
}

.plan-header p {
  color: #666;
  font-size: 0.9rem;
}

.features {
  text-align: left;
  margin: 2rem 0;
  padding: 0;
  list-style: none;
}

.features li {
  padding: 0.7rem 0;
  border-bottom: 1px dashed #eee;
  color: #555;
}

.features li:last-child {
  border-bottom: none;
}

.features li:before {
  content: " ";
  display: inline-block;
  width: 20px;
}

.features li:contains("✔") {
  color: #17b24b;
}

.features li:contains("✖") {
  color: #ff6b6b;
  opacity: 0.7;
}

.plan-btn {
  width: 100%;
  padding: 1rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 1rem;
}

.free-btn {
  background: #e0e0e0;
  color: #555;
}

.free-btn:hover {
  background: #d0d0d0;
}

.pro-btn {
  background: #17b24b;
  color: white;
  box-shadow: 0 5px 15px rgba(23, 178, 75, 0.3);
}

.pro-btn:hover {
  background: #129a3d;
  transform: translateY(-2px);
}

.badge {
  position: absolute;
  top: -15px;
  right: 20px;
  background: #ff6b6b;
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: bold;
  box-shadow: 0 3px 10px rgba(255, 107, 107, 0.3);
}

.note {
  margin-top: 2rem;
  font-size: 0.9rem;
  color: #666;
  font-style: italic;
}

/* Responsive */
@media (max-width: 768px) {
  .plans {
    flex-direction: column;
    align-items: center;
  }
  
  .plan {
    max-width: 100%;
  }
  
  .plan.featured {
    transform: none;
  }
}

/* Estilos para el modal de recetas */
.recipe-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.recipe-modal .modal-content {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  max-width: 500px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
}

.recipe-modal h3 {
  color: #17b24b;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.recipe-modal .recipe-steps p {
  margin-bottom: 1rem;
  line-height: 1.6;
}

.close-modal {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.5rem;
  cursor: pointer;
  color: #555;
  transition: color 0.3s;
}

.close-modal:hover {
  color: #ff6b6b;
}


/* Estilos para las recomendaciones de comida */
.food-recommendations {
  width: 100%;
  margin-top: 3rem;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.food-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.food-card {
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: transform 0.3s ease;
  border: 1px solid #e0e0e0;
}

.food-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.food-image-container {
  position: relative;
  height: 180px;
  overflow: hidden;
}

.food-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.calories-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(23, 178, 75, 0.9);
  color: white;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: bold;
}

.food-card-content {
  padding: 1.5rem;
}

.food-card-content h4 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: #0c1f15;
}

.food-card-content p {
  color: #555;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.recipe-btn {
  background: #17b24b;
  color: white;
  border: none;
  padding: 0.6rem 1.2rem;
  border-radius: 5px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s;
  width: 100%;
}

.recipe-btn:hover {
  background: #129a3d;
}

/* Estilos para el modal de recetas */
.recipe-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.recipe-modal .modal-content {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  max-width: 500px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.recipe-modal h3 {
  color: #17b24b;
  margin-bottom: 1.5rem;
}

.recipe-steps p {
  margin-bottom: 1rem;
  line-height: 1.6;
}

.close-modal {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.5rem;
  cursor: pointer;
  color: #555;
  transition: color 0.3s;
}

.close-modal:hover {
  color: #ff6b6b;
}

/* Cuando el modal está visible */
.recipe-modal.active {
  opacity: 1;
}

.recipe-modal.active .modal-content {
  transform: translateY(0);
}






/* Sección de Dieta Personalizada */
.personalized-diet {
  padding: 5rem 2rem;
  background-color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.personalized-diet::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('assets/leaf-pattern.png') repeat;
  opacity: 0.03;
  z-index: 0;
}

.personalized-diet .container {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
}

.personalized-diet h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #0c1f15;
  font-weight: 600;
}

.personalized-diet .subtitle {
  color: #6b6b6b;
  font-size: 1.1rem;
  margin-bottom: 3rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.diet-steps {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 3rem 0;
  flex-wrap: wrap;
}

.step {
  background: #f5faf7;
  border-radius: 15px;
  padding: 2rem;
  width: 100%;
  max-width: 300px;
  position: relative;
  border: 1px solid #e0f0e5;
  transition: all 0.3s ease;
}

.step:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.step-number {
  width: 50px;
  height: 50px;
  background: #17b24b;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0 auto 1.5rem;
}

.step h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: #0c1f15;
}

.step p {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.6;
}

.diet-features {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 4rem 0;
  flex-wrap: wrap;
}

.feature-box {
  background: white;
  border-radius: 10px;
  padding: 1.5rem;
  width: 100%;
  max-width: 250px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid #e8f5e9;
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.feature-box h4 {
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
  color: #17b24b;
}

.feature-box p {
  color: #666;
  font-size: 0.9rem;
}

.cta-container {
  margin-top: 3rem;
}

.diet-cta-btn {
  background: #17b24b;
  color: white;
  border: none;
  padding: 1rem 3rem;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
  text-decoration: none;
  box-shadow: 0 5px 15px rgba(23, 178, 75, 0.3);
}

.diet-cta-btn:hover {
  background: #129a3d;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(23, 178, 75, 0.4);
}

.small-text {
  margin-top: 1rem;
  color: #888;
  font-size: 0.8rem;
}

/* Mejoras para la sección de simulación */
.simulation {
  background: linear-gradient(135deg, #f0faf4 0%, #e0f5e8 100%);
}

.simulation h2 {
  color: #0c1f15;
  font-weight: 600;
}

.simulation p {
  color: #555;
}

#nutrition-form {
  background: white;
  border: 1px solid #d0e8d8;
}

.simulation-btn {
  background: linear-gradient(135deg, #17b24b 0%, #2e8b57 100%);
  font-weight: 600;
  letter-spacing: 1px;
}

.results-container {
  background: white;
  border: 1px solid #d0e8d8;
}

.result-value {
  color: #17b24b;
}

.food-card {
  border: 1px solid #e0f0e5;
}

.food-card:hover {
  border-color: #17b24b;
}

/* Responsive */
@media (max-width: 768px) {
  .diet-steps, .diet-features {
    flex-direction: column;
    align-items: center;
  }
  
  .step, .feature-box {
    max-width: 100%;
  }
  
  .personalized-diet h2 {
    font-size: 2rem;
  }
}


/* 8 locos */


/* 8 Razones para Elegir EcoBite */
.eight-reasons {
  padding: 5rem 2rem;
  background-color: #f5fbf8;
  text-align: center;
}

.eight-reasons .container {
  max-width: 1200px;
  margin: 0 auto;
}

.eight-reasons h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #0c1f15;
  font-weight: 600;
}

.eight-reasons .subtitle {
  color: #555;
  font-size: 1.1rem;
  margin-bottom: 3rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.reasons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.reason-card {
  background: white;
  border-radius: 12px;
  padding: 2rem 1.5rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  text-align: center;
}

.reason-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.reason-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #17b24b;
}

.reason-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: #0c1f15;
}

.reason-card p {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
  .reasons-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
  }
  
  .reason-card {
    padding: 1.5rem 1rem;
  }
  
  .eight-reasons h2 {
    font-size: 2rem;
  }
}







/*ingredient seccion*/

/* Improved Ingredients Section */
.ingredients-dark {
  padding: 5rem 2rem;
  background: linear-gradient(135deg, #0c1f15 0%, #123a26 100%);
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.ingredients-dark::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><path fill="rgba(23, 178, 75, 0.05)" d="M30,50 Q50,30 70,50 Q50,70 30,50 Z"/></svg>');
  background-size: 80px;
  opacity: 0.3;
}

.ingredients-dark h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
  letter-spacing: 1px;
  position: relative;
  display: inline-block;
}

.ingredients-dark h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: #17b24b;
}

.ingredients-dark .subtitle {
  font-size: 1.2rem;
  margin-bottom: 3rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(23, 178, 75, 0.2);
  border-radius: 12px;
  padding: 2rem 1.5rem;
  transition: all 0.4s ease;
  backdrop-filter: blur(5px);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(23, 178, 75, 0.1) 0%, transparent 100%);
  z-index: -1;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(23, 178, 75, 0.2);
  border-color: rgba(23, 178, 75, 0.4);
  background: rgba(255, 255, 255, 0.08);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1.2rem;
  display: inline-block;
  transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
  transform: scale(1.2) rotate(5deg);
}

.feature-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: #fff;
  font-weight: 600;
}

.feature-card p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
  .ingredients-dark h2 {
    font-size: 2rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .ingredients-dark {
    padding: 3rem 1rem;
  }
}



/*simular dieta*/


/* Improved Personalized Diet Section - Dark Theme */
.personalized-diet-dark {
  padding: 5rem 2rem;
  background: linear-gradient(135deg, #1a2e22 0%, #223d2f 100%);
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.personalized-diet-dark h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
  color: #e0f0e5;
}

.personalized-diet-dark .subtitle {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.2rem;
  margin-bottom: 3rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.diet-steps {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 4rem;
  flex-wrap: wrap;
}

.step-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(23, 178, 75, 0.2);
  border-radius: 12px;
  padding: 2rem 1.5rem;
  width: 100%;
  max-width: 300px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.step-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(23, 178, 75, 0.1) 0%, transparent 100%);
  z-index: -1;
}

.step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(23, 178, 75, 0.2);
  border-color: rgba(23, 178, 75, 0.4);
}

.step-number {
  width: 50px;
  height: 50px;
  background: #17b24b;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0 auto 1.5rem;
  transition: all 0.3s ease;
}

.step-card:hover .step-number {
  transform: scale(1.1);
  box-shadow: 0 0 0 5px rgba(23, 178, 75, 0.3);
}

.step-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: #fff;
}

.step-card p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  line-height: 1.6;
}

.diet-features {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.feature-box {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 1.5rem;
  width: 100%;
  max-width: 250px;
  transition: all 0.3s ease;
}

.feature-box:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-3px);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: inline-block;
  transition: transform 0.3s ease;
}

.feature-box:hover .feature-icon {
  transform: scale(1.2);
}

.feature-box h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: #fff;
}

.feature-box p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  line-height: 1.5;
}

.diet-cta-btn {
  background: #17b24b;
  color: white;
  border: none;
  padding: 1rem 2.5rem;
  border-radius: 30px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
  text-decoration: none;
  margin-top: 1rem;
  box-shadow: 0 4px 15px rgba(23, 178, 75, 0.3);
}

.diet-cta-btn:hover {
  background: #1fd15e;
  transform: translateY(-3px);
  box-shadow: 0 7px 20px rgba(23, 178, 75, 0.4);
}

.small-text {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  margin-top: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
  .diet-steps, .diet-features {
    flex-direction: column;
    align-items: center;
  }
  
  .step-card, .feature-box {
    max-width: 100%;
  }
  
  .personalized-diet-dark h2 {
    font-size: 2rem;
  }
}



/* Footer Mejorado */
.footer-enhanced {
  background: linear-gradient(135deg, #0c1f15 0%, #123a26 100%);
  color: white;
  padding: 4rem 2rem 2rem;
  position: relative;
  overflow: hidden;
}

.footer-enhanced::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><path fill="rgba(23, 178, 75, 0.05)" d="M30,50 Q50,30 70,50 Q50,70 30,50 Z"/></svg>');
  background-size: 80px;
  opacity: 0.3;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand {
  flex: 1;
  min-width: 250px;
}

.footer-logo {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #17b24b;
}

.footer-tagline {
  color: rgba(255,255,255,0.7);
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-icon {
  color: white;
  font-size: 1.5rem;
  transition: all 0.3s ease;
  opacity: 0.8;
}

.social-icon:hover {
  opacity: 1;
  transform: translateY(-3px);
  color: #17b24b;
}

.footer-columns {
  display: flex;
  flex: 3;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-col {
  flex: 1;
  min-width: 150px;
}

.footer-title {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: white;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: #17b24b;
}

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

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

.footer-links a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: white;
  padding-left: 5px;
}

.newsletter-section {
  text-align: center;
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.newsletter-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: white;
}

.newsletter-text {
  color: rgba(255,255,255,0.7);
  margin-bottom: 1.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1rem;
}

.newsletter-form {
  display: flex;
  max-width: 500px;
  margin: 0 auto;
  gap: 0.5rem;
}

.newsletter-input {
  flex: 1;
  padding: 0.8rem 1rem;
  border: none;
  border-radius: 30px;
  font-size: 1rem;
  background: rgba(255,255,255,0.9);
}

.newsletter-btn {
  background: #17b24b;
  color: white;
  border: none;
  padding: 0 2rem;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.newsletter-btn:hover {
  background: #1fd15e;
  transform: translateY(-2px);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.footer-copyright {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
}

.footer-extra-links {
  display: flex;
  gap: 1.5rem;
}

.footer-extra-links a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 0.85rem;
  transition: all 0.3s ease;
}

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

.footer-apps {
  display: flex;
  gap: 1rem;
}

.app-link {
  color: white;
  text-decoration: none;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  background: rgba(255,255,255,0.1);
  transition: all 0.3s ease;
}

.app-link:hover {
  background: rgba(255,255,255,0.2);
}

/* Responsive */
@media (max-width: 768px) {
  .footer-row {
    flex-direction: column;
    gap: 2rem;
  }
  
  .footer-columns {
    flex-direction: column;
  }
  
  .footer-col {
    min-width: 100%;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
  
  .newsletter-btn {
    padding: 0.8rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }
  
  .footer-extra-links {
    flex-wrap: wrap;
    justify-content: center;
  }
}