/* ===== FreshCart — Local Grocery Delivery LP ===== */
/* Palette: Cream #FFFDF7 | Emerald #059669 | Orange #F97316 | Charcoal #1a1a2e */

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

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: #FFFDF7;
  color: #1a1a2e;
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Outfit', sans-serif;
  line-height: 1.2;
  color: #1a1a2e;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

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

/* ---------- Scroll Animations ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 253, 247, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(26, 26, 46, 0.06);
  transition: box-shadow 0.3s ease;
}
.nav.scrolled {
  box-shadow: 0 2px 24px rgba(0,0,0,0.08);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav-logo {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.55rem;
  color: #059669;
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-logo span { font-size: 1.4rem; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: #1a1a2e;
  transition: color 0.25s ease;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #059669;
  transition: width 0.3s ease;
}
.nav-links a:hover { color: #059669; }
.nav-links a:hover::after { width: 100%; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 50px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn-primary {
  background: #059669;
  color: #fff;
  box-shadow: 0 4px 16px rgba(5, 150, 105, 0.25);
}
.btn-primary:hover {
  background: #047857;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(5, 150, 105, 0.35);
}
.btn-secondary {
  background: transparent;
  color: #059669;
  border: 2px solid #059669;
}
.btn-secondary:hover {
  background: #059669;
  color: #fff;
  transform: translateY(-2px);
}
.btn-orange {
  background: #F97316;
  color: #fff;
  box-shadow: 0 4px 16px rgba(249, 115, 22, 0.25);
}
.btn-orange:hover {
  background: #ea580c;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(249, 115, 22, 0.35);
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: #1a1a2e;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ---------- Hero ---------- */
.hero {
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero-bg-blob {
  position: absolute;
  top: -120px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(5,150,105,0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-text h1 {
  font-size: 3.4rem;
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.hero-text h1 .highlight {
  color: #059669;
  position: relative;
}
.hero-text h1 .highlight::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 100%;
  height: 8px;
  background: rgba(5,150,105,0.15);
  border-radius: 4px;
  z-index: -1;
}
.hero-text p {
  font-size: 1.15rem;
  color: #555;
  margin-bottom: 32px;
  max-width: 480px;
}
.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-trust {
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.88rem;
  color: #777;
}
.hero-trust .stars { color: #F97316; font-size: 1rem; }
.hero-image {
  position: relative;
}
.hero-image img {
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.1);
  width: 100%;
  height: auto;
  object-fit: cover;
}
.hero-badge {
  position: absolute;
  bottom: -16px;
  left: -16px;
  background: #fff;
  padding: 14px 20px;
  border-radius: 14px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
}
.hero-badge .emoji { font-size: 1.5rem; }

/* ---------- Section Defaults ---------- */
section {
  padding: 100px 0;
}
.section-label {
  font-family: 'Outfit', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #059669;
  margin-bottom: 12px;
}
.section-title {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 16px;
}
.section-subtitle {
  font-size: 1.05rem;
  color: #666;
  max-width: 560px;
}
.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-header .section-subtitle {
  margin: 0 auto;
}

/* ---------- How It Works ---------- */
.how-it-works {
  background: #f7f6f0;
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.step-card {
  background: #fff;
  padding: 40px 32px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}
.step-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}
.step-number {
  position: absolute;
  top: 16px;
  right: 20px;
  font-family: 'Outfit', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: rgba(5,150,105,0.08);
  line-height: 1;
}
.step-icon {
  font-size: 2.8rem;
  margin-bottom: 20px;
  display: block;
}
.step-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.step-card p {
  font-size: 0.95rem;
  color: #666;
}
.step-arrow {
  display: none;
}

/* ---------- Why FreshCart ---------- */
.why-section .why-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.why-image img {
  border-radius: 20px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.08);
  width: 100%;
  height: auto;
  object-fit: cover;
}
.why-features {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.why-feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.why-feature-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: rgba(5,150,105,0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}
.why-feature h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.why-feature p {
  font-size: 0.92rem;
  color: #666;
}

/* ---------- Delivery Zones ---------- */
.zones {
  background: #f7f6f0;
}
.zone-card {
  background: #fff;
  border-radius: 24px;
  padding: 48px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.04);
  max-width: 800px;
  margin: 0 auto;
}
.zone-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 24px;
  text-align: center;
}
.zone-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 32px;
}
.zone-tag {
  background: rgba(5,150,105,0.08);
  color: #059669;
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: 'Outfit', sans-serif;
  transition: all 0.25s ease;
}
.zone-tag:hover {
  background: #059669;
  color: #fff;
}
.zone-search {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto;
}
.zone-search input {
  flex: 1;
  padding: 14px 20px;
  border: 2px solid #e5e5e0;
  border-radius: 50px;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.3s ease;
  font-family: inherit;
  background: #FFFDF7;
}
.zone-search input:focus {
  border-color: #059669;
}

/* ---------- Pricing ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}
.price-card {
  background: #fff;
  border-radius: 20px;
  padding: 40px 32px;
  text-align: center;
  border: 2px solid #eee;
  transition: all 0.3s ease;
  position: relative;
}
.price-card:hover {
  border-color: #059669;
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(5,150,105,0.1);
}
.price-card.featured {
  border-color: #059669;
  background: #059669;
  color: #fff;
}
.price-card.featured h3,
.price-card.featured p,
.price-card.featured .price-amount,
.price-card.featured .price-label,
.price-card.featured li {
  color: #fff;
}
.price-card.featured .price-amount { color: #fff; }
.price-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: #F97316;
  color: #fff;
  padding: 5px 18px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  font-family: 'Outfit', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.price-icon { font-size: 2.2rem; margin-bottom: 16px; }
.price-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.price-amount {
  font-family: 'Outfit', sans-serif;
  font-size: 2.6rem;
  font-weight: 800;
  color: #059669;
  margin-bottom: 4px;
}
.price-label {
  font-size: 0.85rem;
  color: #888;
  margin-bottom: 24px;
}
.price-card ul {
  text-align: left;
  margin-bottom: 28px;
}
.price-card li {
  padding: 6px 0;
  font-size: 0.92rem;
  color: #555;
  display: flex;
  align-items: center;
  gap: 8px;
}
.price-card li::before {
  content: '✓';
  color: #059669;
  font-weight: 700;
}
.price-card.featured li::before { color: #a7f3d0; }

/* ---------- Reviews ---------- */
.reviews {
  background: #f7f6f0;
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.review-card {
  background: #fff;
  border-radius: 20px;
  padding: 36px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
  transition: transform 0.3s ease;
}
.review-card:hover {
  transform: translateY(-4px);
}
.review-stars {
  color: #F97316;
  font-size: 1rem;
  margin-bottom: 16px;
}
.review-card blockquote {
  font-size: 0.98rem;
  color: #444;
  margin-bottom: 20px;
  font-style: italic;
  line-height: 1.7;
}
.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.review-author img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}
.review-author-info strong {
  display: block;
  font-size: 0.92rem;
}
.review-author-info span {
  font-size: 0.82rem;
  color: #888;
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid #e5e5e0;
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: 'Outfit', sans-serif;
  font-size: 1.08rem;
  font-weight: 600;
  color: #1a1a2e;
  text-align: left;
}
.faq-icon {
  font-size: 1.4rem;
  color: #059669;
  transition: transform 0.3s ease;
  min-width: 24px;
  text-align: center;
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}
.faq-item.open .faq-answer {
  max-height: 200px;
  padding-bottom: 24px;
}
.faq-answer p {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.7;
}

/* ---------- CTA Section ---------- */
.cta-section {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
}
.cta-section .section-label { color: rgba(255,255,255,0.7); }
.cta-section .section-title { color: #fff; font-size: 2.6rem; }
.cta-section .section-subtitle { color: rgba(255,255,255,0.85); margin: 0 auto 36px; }
.cta-form {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto;
}
.cta-form input {
  flex: 1;
  padding: 16px 22px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 50px;
  background: rgba(255,255,255,0.12);
  color: #fff;
  font-size: 0.95rem;
  outline: none;
  font-family: inherit;
}
.cta-form input::placeholder { color: rgba(255,255,255,0.6); }
.cta-form input:focus { border-color: #fff; }
.cta-note {
  margin-top: 16px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
}

/* ---------- Footer ---------- */
.footer {
  background: #1a1a2e;
  color: #fff;
  padding: 60px 0 32px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .nav-logo { color: #fff; margin-bottom: 16px; }
.footer-brand p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  max-width: 280px;
}
.footer h4 {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.footer ul li {
  margin-bottom: 10px;
}
.footer ul a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  transition: color 0.25s ease;
}
.footer ul a:hover { color: #059669; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-text h1 { font-size: 2.6rem; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;
    background: #FFFDF7;
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid #eee;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .hero-text h1 { font-size: 2.2rem; }
  .hero-text p { margin: 0 auto 28px; }
  .hero-ctas { justify-content: center; }
  .hero-trust { justify-content: center; }
  .hero-badge { left: 50%; transform: translateX(-50%); bottom: -20px; }
  .steps-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .why-section .why-inner { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 380px; margin: 0 auto; }
  .reviews-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .section-title { font-size: 1.9rem; }
  .zone-search { flex-direction: column; }
  .cta-form { flex-direction: column; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}

@media (max-width: 480px) {
  .hero-text h1 { font-size: 1.8rem; }
  section { padding: 60px 0; }
  .hero { padding: 110px 0 60px; }
}
