/* =========================================================
   GuidedGroceries Marketing Site — style.css
   ========================================================= */

/* --- Custom properties --- */
:root {
  --green: #2e7d32;
  --green-light: #e8f5e9;
  --green-tint: #f0f7f0;
  --green-border: #d4ebd4;
  --grey-bg: #f9fafb;
  --border: #f0f0f0;
  --text: #111;
  --text-muted: #555;
  --text-faint: #888;
  --amber: #e67e22;
}

/* --- Reset & base --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}

/* --- Section typography --- */
.section-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--green);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 10px;
}
.section-subtitle {
  font-size: 15px;
  color: var(--text-faint);
  margin-bottom: 0;
}

/* --- Nav --- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 48px;
  max-width: 1040px;
  margin: 0 auto;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 9px;
}
.nav-logo img {
  border-radius: 7px;
}
.nav-logo span {
  font-weight: 700;
  font-size: 15px;
  color: var(--text);
}
.nav-links {
  display: flex;
  gap: 24px;
}
.nav-links a {
  font-size: 13px;
  color: var(--text-muted);
}
.nav-links a:hover {
  color: var(--green);
}
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.nav-hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-muted);
  border-radius: 1px;
}
.nav-mobile-menu {
  display: none;
  flex-direction: column;
  padding: 12px 20px 16px;
  border-top: 1px solid var(--border);
  gap: 14px;
}
.nav-mobile-menu.open {
  display: flex;
}
.nav-mobile-menu a {
  font-size: 15px;
  color: var(--text-muted);
}

/* --- Store badges --- */
.store-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.btn-store {
  display: flex;
  align-items: center;
  gap: 9px;
  background: #000;
  border-radius: 9px;
  padding: 9px 16px;
  min-width: 138px;
  cursor: pointer;
  transition: opacity 0.15s;
}
.btn-store:hover {
  opacity: 0.85;
}
.btn-store-text-top {
  color: #fff;
  font-size: 9px;
  opacity: 0.75;
  line-height: 1;
  display: block;
}
.btn-store-text-main {
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  display: block;
}
.btn-store--light {
  background: #fff;
}
.btn-store--light .btn-store-text-top,
.btn-store--light .btn-store-text-main {
  color: #000;
}
.btn-store--light .btn-store-text-top {
  opacity: 0.6;
}

/* --- Hero --- */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 56px 48px 48px;
  max-width: 1040px;
  margin: 0 auto;
}
.hero-text {
  flex: 1;
  max-width: 400px;
}
.badge-pill {
  display: inline-block;
  background: var(--green-light);
  color: var(--green);
  font-size: 10px;
  font-weight: 700;
  padding: 5px 13px;
  border-radius: 20px;
  letter-spacing: 0.6px;
  margin-bottom: 18px;
}
.hero-headline {
  font-size: 38px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.12;
  margin-bottom: 16px;
}
.hero-subtext {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 32px;
}

/* --- Phone mockup --- */
.phone-frame {
  background: #111;
  border-radius: 30px;
  padding: 11px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.18);
  width: 148px;
  flex-shrink: 0;
}
.phone-screen {
  background: #fff;
  border-radius: 21px;
  overflow: hidden;
}
.phone-status-bar {
  background: var(--green);
  padding: 8px 13px 6px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.phone-status-bar span {
  color: #fff;
  font-size: 8px;
  font-weight: 600;
}
.phone-app-header {
  background: var(--green);
  padding: 6px 11px 11px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.phone-app-header img {
  border-radius: 5px;
}
.phone-app-header span {
  color: #fff;
  font-size: 9px;
  font-weight: 700;
}
.phone-body {
  background: #f9fafb;
  padding: 11px 9px;
  min-height: 190px;
}
.phone-week-label {
  font-size: 9px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 9px;
}
.phone-day-row {
  background: #fff;
  border-radius: 6px;
  padding: 6px 9px;
  margin-bottom: 5px;
  border-left: 3px solid var(--green);
}
.phone-day-row--empty {
  border-left-color: #ddd;
}
.phone-day-label {
  font-size: 7px;
  color: #888;
}
.phone-day-meal {
  font-size: 8px;
  font-weight: 600;
  color: var(--text);
}
.phone-day-add {
  font-size: 8px;
  color: #aaa;
}
.phone-generate-btn {
  background: var(--green);
  border-radius: 6px;
  padding: 7px 9px;
  text-align: center;
  margin-top: 4px;
}
.phone-generate-btn span {
  font-size: 8px;
  font-weight: 700;
  color: #fff;
}

/* --- Trust strip --- */
.trust-strip {
  display: flex;
  justify-content: center;
  gap: 36px;
  flex-wrap: wrap;
  padding: 16px 48px;
  background: var(--grey-bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.trust-strip span {
  font-size: 12px;
  color: var(--text-muted);
}

/* --- How It Works --- */
.how-it-works {
  padding: 72px 48px;
  text-align: center;
  background: #fff;
}
.how-it-works-header {
  margin-bottom: 48px;
}
.steps {
  display: flex;
  gap: 24px;
  justify-content: center;
  align-items: flex-start;
  max-width: 800px;
  margin: 0 auto;
}
.step {
  flex: 1;
  max-width: 200px;
  text-align: left;
}
.step-icon {
  width: 48px;
  height: 48px;
  background: var(--green-light);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}
.step-num {
  font-size: 11px;
  font-weight: 700;
  color: var(--green);
  letter-spacing: 0.5px;
  margin-bottom: 7px;
}
.step-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}
.step-desc {
  font-size: 13px;
  color: #666;
  line-height: 1.65;
}
.step-arrow {
  font-size: 22px;
  color: #ccc;
  padding-top: 28px;
  flex-shrink: 0;
}

/* --- Smart List section --- */
.smart-list-section {
  background: var(--green-tint);
  border-top: 1px solid var(--green-border);
  border-bottom: 1px solid var(--green-border);
  padding: 72px 48px;
}
.smart-list-content {
  display: flex;
  align-items: center;
  gap: 56px;
  max-width: 880px;
  margin: 0 auto;
}
.smart-list-text {
  flex: 1;
}
.smart-list-body {
  font-size: 15px;
  color: #444;
  line-height: 1.75;
  margin: 16px 0 28px;
}
.proof-bullets {
  display: flex;
  flex-direction: column;
  gap: 13px;
  list-style: none;
}
.proof-bullet {
  display: flex;
  align-items: center;
  gap: 12px;
}
.proof-bullet-icon {
  width: 22px;
  height: 22px;
  background: var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}
.proof-bullet-text {
  font-size: 14px;
  color: #333;
}
.grocery-list-mockup {
  flex-shrink: 0;
  width: 240px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}
.list-header {
  background: var(--green);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.list-header-title {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}
.list-count {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 12px;
}
.list-items {
  padding: 8px 0;
  list-style: none;
}
.list-item {
  padding: 9px 18px;
  border-bottom: 1px solid #f5f5f5;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.list-item:last-child {
  border-bottom: none;
}
.list-checkbox {
  width: 17px;
  height: 17px;
  border: 2px solid var(--green);
  border-radius: 4px;
  flex-shrink: 0;
  margin-top: 2px;
}
.list-checkbox--done {
  background: #e5e7eb;
  border-color: #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
  font-size: 10px;
}
.list-item-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  display: block;
}
.list-item-reason {
  font-size: 11px;
  color: var(--green);
  margin-top: 2px;
  display: block;
}
.list-item-reason--amber {
  color: var(--amber);
}
.list-item-reason--grey {
  color: #999;
}
.list-item--skipped {
  background: #fafafa;
}
.list-item--skipped .list-item-name {
  text-decoration: line-through;
  color: #bbb;
}
.list-item--skipped .list-item-reason {
  color: #bbb;
}
.list-footer {
  padding: 11px 18px;
  background: var(--grey-bg);
  border-top: 1px solid var(--border);
  text-align: center;
}
.list-footer span {
  font-size: 11px;
  color: var(--text-faint);
}

/* --- Features --- */
.features-section {
  padding: 72px 48px;
  background: var(--grey-bg);
}
.features-section .section-label,
.features-section .section-title {
  text-align: center;
}
.features-header {
  margin-bottom: 48px;
}
.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 640px;
  margin: 0 auto;
}
.feature-card {
  background: #fff;
  border-radius: 14px;
  padding: 24px;
  border: 1px solid var(--border);
}
.feature-card-icon {
  font-size: 26px;
  margin-bottom: 12px;
}
.feature-card-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}
.feature-card-desc {
  font-size: 13px;
  color: #666;
  line-height: 1.65;
}

/* --- Download CTA --- */
.cta-section {
  padding: 72px 48px;
  background: var(--green);
  text-align: center;
}
.cta-title {
  font-size: 30px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}
.cta-subtitle {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 36px;
}
.cta-badges {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* --- Footer --- */
.footer {
  background: #111;
  padding: 28px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 9px;
}
.footer-brand img {
  border-radius: 5px;
  opacity: 0.75;
}
.footer-brand span {
  color: #aaa;
  font-size: 13px;
}
.footer-links {
  display: flex;
  gap: 22px;
}
.footer-links a {
  font-size: 13px;
  color: #aaa;
}
.footer-links a:hover {
  color: #fff;
}

/* --- Inner page content (privacy.html, support.html) --- */
.page-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 56px 48px 80px;
}
.page-content h1 {
  font-size: 32px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
}
.page-content .updated {
  font-size: 13px;
  color: var(--text-faint);
  margin-bottom: 40px;
  display: block;
}
.page-content h2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-top: 40px;
  margin-bottom: 12px;
}
.page-content h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-top: 24px;
  margin-bottom: 8px;
}
.page-content p {
  font-size: 15px;
  color: #444;
  line-height: 1.75;
  margin-bottom: 14px;
}
.page-content ul {
  padding-left: 20px;
  margin-bottom: 14px;
}
.page-content li {
  font-size: 15px;
  color: #444;
  line-height: 1.75;
  margin-bottom: 6px;
}
.page-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 14px;
}
.page-content th {
  text-align: left;
  padding: 10px 14px;
  background: var(--grey-bg);
  border-bottom: 2px solid var(--border);
  font-weight: 700;
  color: var(--text);
}
.page-content td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  color: #444;
}
.page-content td a {
  color: var(--green);
}
.page-content hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 36px 0;
}

/* --- FAQ (support page) --- */
.faq-item {
  margin-bottom: 32px;
}
.faq-question {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}
.faq-answer {
  font-size: 15px;
  color: #444;
  line-height: 1.75;
}
.contact-block {
  background: var(--grey-bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 32px;
  margin-top: 48px;
}
.contact-block h2 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  margin-top: 0;
}
.contact-block p {
  font-size: 15px;
  color: #444;
  line-height: 1.7;
  margin-bottom: 0;
}
.contact-block a {
  color: var(--green);
  font-weight: 600;
}

/* =========================================================
   Responsive — <=640px
   ========================================================= */
@media (max-width: 640px) {
  .nav-inner {
    padding: 12px 20px;
  }
  .nav-links {
    display: none;
  }
  .nav-hamburger {
    display: flex;
  }
  .nav-mobile-menu {
    padding: 12px 20px 16px;
  }

  .hero {
    flex-direction: column;
    text-align: center;
    padding: 36px 24px 32px;
    gap: 32px;
    max-width: 100%;
  }
  .hero-text {
    max-width: 100%;
  }
  .store-badges {
    justify-content: center;
    flex-direction: column;
    align-items: center;
  }
  .btn-store {
    min-width: 0;
    width: 200px;
    justify-content: center;
  }

  .trust-strip {
    padding: 14px 20px;
    gap: 12px 20px;
  }

  .how-it-works {
    padding: 52px 24px;
  }
  .steps {
    flex-direction: column;
    align-items: center;
    gap: 28px;
  }
  .step {
    max-width: 100%;
    width: 100%;
  }
  .step-arrow {
    display: none;
  }

  .smart-list-section {
    padding: 52px 24px;
  }
  .smart-list-content {
    flex-direction: column;
    gap: 36px;
  }
  .grocery-list-mockup {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }

  .features-section {
    padding: 52px 24px;
  }
  .features-grid {
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  .cta-section {
    padding: 52px 24px;
  }
  .cta-title {
    font-size: 24px;
  }

  .footer {
    padding: 24px 20px;
  }

  .page-content {
    padding: 40px 24px 60px;
  }
  .page-content h1 {
    font-size: 26px;
  }

  .section-title {
    font-size: 24px;
  }
}
