/* style.css */
body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(to right, #ffe6e6, #e6ffe6);
  color: #333;
  line-height: 1.6;
  text-align: center;
}

h1, h2 {
  color: #c70039;
}

.hero {
  padding: 60px 20px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: #333;
  background: linear-gradient(to bottom right, #ffe6e6, #e6ffe6);
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
}
.hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.hero p {
  font-size: 1.125rem;
  color: #555;
  max-width: 600px;
  margin: 0 auto 1.5rem;
}
.sub-headline {
  font-size: 1rem;
  color: #166534;
  font-style: italic;
  max-width: 600px;
  margin: 0 auto 2rem;
  animation: fadeIn 1s ease-in-out;
}

/* CTA button with pulsing animation */
.cta {
  background: #28a745;
  color: #fff;
  font-size: 1.2rem;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.2s;
  animation: pulse 2s infinite;
}

.cta:hover {
  transform: scale(1.05);
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(40,167,69, 0.7); }
  70% { box-shadow: 0 0 0 15px rgba(40,167,69, 0); }
  100% { box-shadow: 0 0 0 0 rgba(40,167,69, 0); }
}

/* Waitlist section */
.waitlist {
  margin-top: 80px;
  padding: 40px;
  background: #f9f9f9;
  text-align: center;
  border-radius: 12px;
}

.waitlist input[type="email"] {
  padding: 10px;
  width: 250px;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.waitlist button {
  background: #28a745;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  margin-left: 10px;
  cursor: pointer;
}

.waitlist button:hover {
  background: #218838;
}

/* Vision Section */
.vision {
  padding: 60px 20px;
  background: #fff;
  text-align: center;
}
.vision h2 {
  font-size: 2.25rem;
  font-weight: 700;
  color: #c70039;
  margin-bottom: 1.5rem;
}
.vision p {
  font-size: 1.125rem;
  color: #555;
  max-width: 800px;
  margin: 0 auto 1.5rem;
}
.vision blockquote {
  font-size: 1.25rem;
  font-style: italic;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}

/* Features Section */
.features {
  padding: 60px 20px;
  background: #f9fafb;
}
.features h2 {
  font-size: 2.25rem;
  font-weight: 700;
  color: #c70039;
  text-align: center;
  margin-bottom: 2rem;
}
.card-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  justify-items: center;
}
.card {
  background: #fff;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}
.card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 0.5rem;
}
.card p {
  font-size: 1rem;
  color: #666;
}

/* Facts Carousel Section */
.facts {
  padding: 60px 20px;
  background: #fff;
  text-align: center;
}
.facts h2 {
  font-size: 2.25rem;
  font-weight: 700;
  color: #c70039;
  margin-bottom: 2rem;
}
.facts-carousel {
  position: relative;
  max-width: 400px;
  margin: 0 auto;
  height: 120px;
  overflow: hidden;
}
.fact-card {
  position: absolute;
  width: 100%;
  padding: 1.5rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fact-card.active {
  opacity: 1;
  transform: translateY(0);
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 { font-size: 2rem; }
  .hero p, .sub-headline { font-size: 1rem; }
  .vision h2, .features h2, .facts h2 { font-size: 1.75rem; }
  .card-container { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .hero { padding: 20px; }
  .cta { padding: 10px 20px; font-size: 0.9rem; }
  .facts-carousel { max-width: 100%; }
}

/* Branding Colors */
.brand-red { color: #dc2626; }
.brand-green { color: #16a34a; }

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.cta {
  background: #c70039;
  color: white;
  border: none;
  padding: 12px 25px;
  font-size: 1rem;
  border-radius: 25px;
  cursor: pointer;
  transition: 0.3s;
}
.cta:hover {
  background: #218838;
  transform: scale(1.05);
}

.vision, .features, .facts {
  padding: 50px 20px;
}

blockquote {
  font-style: italic;
  margin-top: 15px;
  color: #444;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
}

.card {
  background: white;
  padding: 20px;
  border-radius: 12px;
  width: 280px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}
.card:hover {
  transform: translateY(-8px);
}

.facts-carousel {
  position: relative;
  width: 100%;
  max-width: 400px;
  margin: 30px auto;
  overflow: hidden;
  justify-content: center;
  height: 120px;
}

.fact-card {
  position: absolute;
  width: 300px;
  padding: 20px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.7s ease;
}

.fact-card.active {
  opacity: 1;
  transform: translateY(0);
}

.sub-headline {
  margin-top: 20px;
  font-size: 1.1rem;
  color: #166534; /* dark green for trust + food vibes */
  font-style: italic;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
  animation: fadeIn 2s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.brand-red {
  color: #dc2626; /* rich red for heart */
}

.brand-green {
  color: #16a34a; /* fresh green for food */
}

/* Early Access Section */
.early-access {
  text-align: center;
}

.early-access h3 {
  font-size: 1.0rem;
  color: #166534; /* ✅ Green text */
  margin-bottom: 20px;
  line-height: 1.6;
}

.early-access .highlight-green {
  color:  #166534; /* brighter green for emphasis */
  font-weight: bold;
}

.spinner {
  width: 14px;
  height: 14px;
  border: 2px solid white;
  border-top-color: transparent;
  border-radius: 50%;
  display: inline-block;
  animation: spin .6s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}