/* ===========================
   FRESHCART — style.css
=========================== */

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

:root {
  --green: #2E7D32;
  --green-light: #43A047;
  --green-dark: #1B5E20;
  --yellow: #FDD835;
  --yellow-dark: #F9A825;
  --white: #ffffff;
  --off-white: #F8FAF8;
  --gray: #6B7280;
  --gray-light: #F3F4F6;
  --dark: #111827;
  --radius: 16px;
  --shadow: 0 4px 24px rgba(46,125,50,0.10);
  --shadow-lg: 0 8px 40px rgba(46,125,50,0.15);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--dark);
  background: var(--white);
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: 'Syne', sans-serif; }
em { font-style: normal; color: var(--green); }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 2px solid transparent;
}
.btn--primary {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}
.btn--primary:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.btn--ghost {
  background: transparent;
  color: var(--green);
  border-color: var(--green);
}
.btn--ghost:hover {
  background: var(--green);
  color: var(--white);
  transform: translateY(-2px);
}
.btn--yellow {
  background: var(--yellow);
  color: var(--dark);
  border-color: var(--yellow);
  font-weight: 700;
}
.btn--yellow:hover {
  background: var(--yellow-dark);
  border-color: var(--yellow-dark);
  transform: translateY(-2px);
}

/* ===== NAVBAR ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(46,125,50,0.08);
  transition: box-shadow 0.3s;
}
.nav.scrolled { box-shadow: var(--shadow); }
.nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__logo {
  font-family: 'Syne', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--green);
}
.nav__logo span { color: var(--yellow); }
.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav__links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--dark);
  transition: color 0.2s;
}
.nav__links a:hover { color: var(--green); }
.nav__cta {
  background: var(--green);
  color: var(--white) !important;
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
}
.nav__cta:hover { background: var(--green-dark) !important; }
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 2rem 4rem;
  max-width: 1200px;
  margin: 0 auto;
  gap: 4rem;
  position: relative;
}
.hero__bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
}
.blob--1 {
  width: 600px; height: 600px;
  background: var(--green);
  top: -200px; right: -100px;
}
.blob--2 {
  width: 400px; height: 400px;
  background: var(--yellow);
  bottom: -100px; left: -100px;
}
.blob--3 {
  width: 300px; height: 300px;
  background: var(--green-light);
  top: 50%; left: 40%;
}
.hero__content { flex: 1; }
.hero__badge {
  display: inline-block;
  background: rgba(46,125,50,0.1);
  color: var(--green);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}
.hero__title {
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 1.5rem;
  color: var(--dark);
}
.hero__sub {
  font-size: 1.1rem;
  color: var(--gray);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 2rem;
}
.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.hero__promo { margin-top: 0.5rem; }
.promo-tag {
  background: var(--yellow);
  color: var(--dark);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
}
.hero__visual { flex: 1; display: flex; justify-content: center; }

/* ===== PHONE MOCKUP ===== */
.phone-mockup {
  width: 280px;
  background: var(--dark);
  border-radius: 40px;
  padding: 12px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.25);
  animation: float 4s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.phone-screen {
  background: var(--off-white);
  border-radius: 30px;
  padding: 1.2rem;
  overflow: hidden;
}
.phone-greeting { font-family: 'Syne', sans-serif; font-size: 1rem; font-weight: 700; }
.phone-sub { font-size: 0.72rem; color: var(--gray); margin-bottom: 0.8rem; }
.store-chips {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-bottom: 0.8rem;
}
.chip {
  background: var(--white);
  border: 1px solid #e5e7eb;
  padding: 0.2rem 0.6rem;
  border-radius: 50px;
  font-size: 0.65rem;
  font-weight: 500;
}
.chip--active {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}
.product-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-bottom: 0.8rem;
}
.p-card {
  background: var(--white);
  border-radius: 12px;
  padding: 0.6rem;
  text-align: center;
}
.p-card__emoji { font-size: 1.4rem; }
.p-card__name { font-size: 0.6rem; color: var(--gray); margin: 0.2rem 0; }
.p-card__price { font-size: 0.75rem; font-weight: 700; color: var(--green); }
.phone-track {
  background: var(--white);
  border-radius: 12px;
  padding: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.track-icon { font-size: 1.2rem; }
.track-title { font-size: 0.65rem; font-weight: 600; margin-bottom: 0.3rem; }
.track-bar {
  height: 4px;
  background: #e5e7eb;
  border-radius: 2px;
  overflow: hidden;
}
.track-fill {
  height: 100%;
  width: 70%;
  background: var(--green);
  border-radius: 2px;
  animation: progress 2s ease-in-out infinite alternate;
}
@keyframes progress {
  from { width: 60%; }
  to { width: 85%; }
}

/* ===== STORES STRIP ===== */
.stores-strip {
  background: var(--green);
  padding: 1.5rem 2rem;
  text-align: center;
}
.stores-strip__label {
  color: rgba(255,255,255,0.7);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.8rem;
}
.stores-strip__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}
.stores-strip__list span {
  color: var(--white);
  font-weight: 500;
  font-size: 0.95rem;
}

/* ===== SECTIONS ===== */
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 2rem;
  text-align: center;
}
.section-label {
  display: inline-block;
  background: rgba(46,125,50,0.1);
  color: var(--green);
  padding: 0.3rem 1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}
.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 3rem;
  color: var(--dark);
}

/* ===== STEPS ===== */
.steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.step {
  background: var(--off-white);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  max-width: 260px;
  text-align: center;
  position: relative;
}
.step__num {
  font-family: 'Syne', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: rgba(46,125,50,0.1);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.step__icon { font-size: 2rem; margin-bottom: 0.8rem; }
.step h3 { font-size: 1.1rem; margin-bottom: 0.5rem; color: var(--dark); }
.step p { font-size: 0.9rem; color: var(--gray); line-height: 1.6; }
.step__arrow {
  font-size: 2rem;
  color: var(--green);
  margin-top: 4rem;
  opacity: 0.4;
}

/* ===== PRICING ===== */
.pricing-strip { background: var(--off-white); }
.pricing-cards {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}
.pricing-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  min-width: 220px;
  max-width: 280px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform 0.2s;
}
.pricing-card:hover { transform: translateY(-4px); }
.pricing-card--featured {
  background: var(--green);
  color: var(--white);
  transform: scale(1.05);
}
.pricing-card--featured:hover { transform: scale(1.05) translateY(-4px); }
.pricing-card--featured p { color: rgba(255,255,255,0.8); }
.pricing-card__icon { font-size: 2rem; margin-bottom: 0.8rem; }
.pricing-card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.pricing-card__price {
  font-family: 'Syne', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--green);
  margin-bottom: 0.5rem;
}
.pricing-card--featured .pricing-card__price { color: var(--yellow); }
.pricing-card p { font-size: 0.85rem; color: var(--gray); line-height: 1.5; }

/* ===== FEATURES ===== */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  text-align: left;
}
.feat-item {
  background: var(--off-white);
  border-radius: var(--radius);
  padding: 1.8rem;
  transition: transform 0.2s, box-shadow 0.2s;
}
.feat-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.feat-item__icon { font-size: 2rem; margin-bottom: 0.8rem; }
.feat-item h4 { font-size: 1rem; margin-bottom: 0.4rem; color: var(--dark); }
.feat-item p { font-size: 0.875rem; color: var(--gray); line-height: 1.6; }

/* ===== CTA BANNER ===== */
.cta-banner {
  background: var(--green-dark);
  color: var(--white);
}
.cta-banner .section-inner { text-align: center; }
.cta-banner h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); color: var(--white); margin-bottom: 0.8rem; }
.cta-banner p { color: rgba(255,255,255,0.8); font-size: 1.05rem; margin-bottom: 2rem; }
.cta-banner__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 1.5rem; }
.cta-banner__insta { color: rgba(255,255,255,0.6); font-size: 0.9rem; }
.cta-banner__insta a { color: var(--yellow); font-weight: 600; }

/* ===== FOOTER ===== */
.footer { background: var(--dark); color: var(--white); }
.footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem 2rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
}
.footer__brand p { color: rgba(255,255,255,0.5); font-size: 0.9rem; margin: 1rem 0; line-height: 1.6; }
.footer__insta { color: var(--yellow); font-size: 0.9rem; font-weight: 500; }
.footer__links h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.4); margin-bottom: 1rem; }
.footer__links ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer__links a { color: rgba(255,255,255,0.7); font-size: 0.9rem; transition: color 0.2s; }
.footer__links a:hover { color: var(--yellow); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center;
  padding: 1.5rem 2rem;
  color: rgba(255,255,255,0.3);
  font-size: 0.8rem;
}
.footer__bottom a { color: var(--yellow); }

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 100%);
  color: var(--white);
  padding: 8rem 2rem 4rem;
  text-align: center;
}
.page-hero h1 { font-size: clamp(2rem, 5vw, 3.5rem); color: var(--white); margin-bottom: 1rem; }
.page-hero p { font-size: 1.1rem; color: rgba(255,255,255,0.85); max-width: 600px; margin: 0 auto; }

/* ===== CONTENT SECTIONS ===== */
.content-section { padding: 5rem 2rem; }
.content-section.alt { background: var(--off-white); }
.content-wrap { max-width: 1200px; margin: 0 auto; }
.content-wrap--narrow { max-width: 800px; margin: 0 auto; }
.content-wrap h2 { font-size: 2rem; margin-bottom: 1.5rem; color: var(--dark); }
.content-wrap h3 { font-size: 1.3rem; margin: 2rem 0 0.8rem; color: var(--green); }
.content-wrap p { color: var(--gray); line-height: 1.8; margin-bottom: 1rem; }
.content-wrap ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; margin-bottom: 1.5rem; }
.content-wrap ul li { color: var(--gray); padding-left: 1.5rem; position: relative; line-height: 1.6; }
.content-wrap ul li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 700; }

/* ===== CITIES GRID ===== */
.cities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}
.city-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--green);
}
.city-card h3 { font-size: 1.3rem; color: var(--green); margin-bottom: 1rem; }
.city-card ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.city-card ul li { font-size: 0.9rem; color: var(--gray); padding-left: 1.2rem; position: relative; }
.city-card ul li::before { content: "🛒"; position: absolute; left: 0; font-size: 0.7rem; top: 3px; }

/* ===== CONTACT FORM ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.contact-info h2 { font-size: 2rem; margin-bottom: 1rem; }
.contact-info p { color: var(--gray); line-height: 1.7; margin-bottom: 1.5rem; }
.contact-detail { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 1rem; }
.contact-detail__icon { font-size: 1.3rem; }
.contact-detail__text { font-size: 0.95rem; color: var(--gray); }
.contact-detail__text a { color: var(--green); font-weight: 500; }
.form-group { margin-bottom: 1.2rem; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 0.4rem; color: var(--dark); }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  color: var(--dark);
  background: var(--white);
  transition: border-color 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--green); }
.form-group textarea { resize: vertical; min-height: 140px; }

/* ===== HOW IT WORKS PAGE ===== */
.hiw-steps { display: flex; flex-direction: column; gap: 3rem; margin-top: 2rem; }
.hiw-step {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}
.hiw-step__num {
  font-family: 'Syne', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: var(--green);
  line-height: 1;
  min-width: 60px;
}
.hiw-step__icon { font-size: 2.5rem; min-width: 50px; text-align: center; }
.hiw-step__body h3 { font-size: 1.2rem; margin-bottom: 0.5rem; color: var(--dark); }
.hiw-step__body p { font-size: 0.95rem; color: var(--gray); line-height: 1.7; }

/* ===== FEATURES PAGE ===== */
.features-big-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}
.feature-big-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: transform 0.2s;
}
.feature-big-card:hover { transform: translateY(-4px); }
.feature-big-card__icon { font-size: 2.5rem; margin-bottom: 1rem; }
.feature-big-card h3 { font-size: 1.1rem; margin-bottom: 0.6rem; color: var(--dark); }
.feature-big-card p { font-size: 0.9rem; color: var(--gray); line-height: 1.6; }

/* ===== ABOUT PAGE ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-visual {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  border-radius: var(--radius);
  padding: 3rem;
  text-align: center;
  color: white;
}
.about-visual__emoji { font-size: 5rem; margin-bottom: 1rem; }
.about-visual h3 { font-size: 1.5rem; color: white; }
.about-visual p { color: rgba(255,255,255,0.8); margin-top: 0.5rem; }
.values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}
.value-card {
  background: var(--off-white);
  border-radius: 12px;
  padding: 1.5rem;
}
.value-card__icon { font-size: 1.8rem; margin-bottom: 0.6rem; }
.value-card h4 { font-size: 1rem; margin-bottom: 0.4rem; color: var(--dark); }
.value-card p { font-size: 0.85rem; color: var(--gray); line-height: 1.5; }

/* ===== LEGAL PAGES ===== */
.legal-content { max-width: 800px; margin: 0 auto; padding: 5rem 2rem; }
.legal-content h1 { font-size: 2.2rem; margin-bottom: 0.5rem; color: var(--dark); }
.legal-content .last-updated { color: var(--gray); font-size: 0.85rem; margin-bottom: 3rem; }
.legal-content h2 { font-size: 1.3rem; color: var(--green); margin: 2.5rem 0 0.8rem; }
.legal-content p { color: var(--gray); line-height: 1.8; margin-bottom: 1rem; font-size: 0.95rem; }
.legal-content ul { list-style: disc; padding-left: 1.5rem; margin-bottom: 1rem; }
.legal-content ul li { color: var(--gray); line-height: 1.7; font-size: 0.95rem; margin-bottom: 0.3rem; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero { flex-direction: column; padding: 7rem 1.5rem 3rem; text-align: center; gap: 3rem; }
  .hero__sub { margin: 0 auto 2rem; }
  .hero__actions { justify-content: center; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .nav__links { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: white; padding: 1.5rem; gap: 1rem; box-shadow: var(--shadow); }
  .nav__links.open { display: flex; }
  .nav__burger { display: flex; }
  .hero__title { font-size: 2.8rem; }
  .phone-mockup { width: 240px; }
  .step__arrow { display: none; }
  .footer__inner { grid-template-columns: 1fr; gap: 2rem; }
  .values-grid { grid-template-columns: 1fr; }
  .hiw-step { flex-direction: column; }
}