/* Good Let's Eat — Shared Stylesheet */

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

:root {
  --bg:          #F9F8F5;
  --surface:     #FFFFFF;
  --brand:       #2C6E49;
  --brand-dark:  #1E4D34;
  --accent:      #E9A63A;
  --text:        #1A1A1A;
  --text-sub:    #6B7280;
  --border:      #E5E7EB;
  --radius:      12px;
  --shadow:      0 2px 12px rgba(0,0,0,0.08);
  --burger:      #D97706;
  --budget:      #2563EB;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
}

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Navigation ── */
nav {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  gap: 24px;
}
.nav-brand {
  font-weight: 700;
  font-size: 18px;
  color: var(--brand);
  white-space: nowrap;
}
.nav-links {
  display: flex;
  gap: 8px;
  list-style: none;
  flex-wrap: wrap;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-sub);
  padding: 6px 12px;
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
}
.nav-links a:hover {
  background: var(--bg);
  color: var(--text);
  text-decoration: none;
}

/* ── Page layout ── */
.page-hero {
  padding: 64px 24px 40px;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.page-hero h1 { font-size: clamp(28px, 5vw, 42px); font-weight: 800; line-height: 1.15; }
.page-hero p  { margin-top: 16px; font-size: 18px; color: var(--text-sub); }

.container { max-width: 960px; margin: 0 auto; padding: 0 24px 64px; }

/* ── App icon placeholder ── */
.app-icon {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 42px;
  margin: 0 auto 24px;
  flex-shrink: 0;
}
.app-icon.burger { background: linear-gradient(135deg, #FEF3C7, #FDE68A); }
.app-icon.budget { background: linear-gradient(135deg, #EFF6FF, #BFDBFE); }

.app-icon-img {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  object-fit: cover;
  display: block;
  margin: 0 auto 24px;
}

/* ── App cards (home page) ── */
.app-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.app-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.15s, box-shadow 0.15s;
}
.app-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.1); }
.app-card h2   { font-size: 22px; font-weight: 700; margin-bottom: 12px; }
.app-card p    { color: var(--text-sub); font-size: 15px; margin-bottom: 20px; }
.app-card-links { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  transition: opacity 0.15s;
  cursor: pointer;
}
.btn:hover { opacity: 0.85; text-decoration: none; }
.btn-primary  { background: var(--brand); color: #fff; }
.btn-outline  { background: transparent; border: 1.5px solid var(--border); color: var(--text); }
.btn-burger   { background: var(--burger); color: #fff; }
.btn-budget   { background: var(--budget); color: #fff; }

/* ── App Store badge placeholder ── */
.store-badge {
  display: inline-block;
  background: #000;
  color: #fff;
  border-radius: 10px;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-top: 8px;
}
.store-badge span { display: block; font-size: 10px; font-weight: 400; opacity: 0.75; }

/* ── Features list ── */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 40px;
}
.feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.feature-icon { font-size: 24px; margin-bottom: 12px; }
.feature h3   { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.feature p    { font-size: 14px; color: var(--text-sub); }

/* ── Support page ── */
.support-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 40px;
}
@media (max-width: 640px) { .support-grid { grid-template-columns: 1fr; } }

.faq-section h2, .contact-section h2 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
}
.faq-item { margin-bottom: 20px; }
.faq-item h3 { font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.faq-item p  { font-size: 14px; color: var(--text-sub); }

/* ── Contact form ── */
.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-sub);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  background: var(--bg);
  color: var(--text);
  transition: border-color 0.15s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--brand);
}
.form-group textarea { resize: vertical; min-height: 120px; }

.contact-email {
  margin-top: 20px;
  padding: 16px;
  background: var(--bg);
  border-radius: 8px;
  font-size: 14px;
  color: var(--text-sub);
  text-align: center;
}
.contact-email a { font-weight: 600; }

/* ── Privacy policy ── */
.policy-content {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  margin-top: 32px;
}
.policy-content h2 { font-size: 18px; font-weight: 700; margin: 28px 0 10px; }
.policy-content h2:first-child { margin-top: 0; }
.policy-content p  { font-size: 15px; color: #374151; margin-bottom: 14px; line-height: 1.7; }
.policy-content ul { padding-left: 20px; margin-bottom: 14px; }
.policy-content li { font-size: 15px; color: #374151; margin-bottom: 6px; line-height: 1.7; }

/* ── App page hero ── */
.app-hero {
  text-align: center;
  padding: 56px 24px 32px;
  max-width: 640px;
  margin: 0 auto;
}
.app-hero h1 { font-size: clamp(26px, 5vw, 38px); font-weight: 800; }
.app-hero p  { font-size: 18px; color: var(--text-sub); margin-top: 14px; }
.app-links   { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }

/* ── Section labels ── */
.section-label {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-sub);
  margin-bottom: 8px;
}

/* ── Divider ── */
hr.divider { border: none; border-top: 1px solid var(--border); margin: 40px 0; }

/* ── Breadcrumb ── */
.breadcrumb { font-size: 13px; color: var(--text-sub); margin-bottom: 20px; }
.breadcrumb a { color: var(--text-sub); }
.breadcrumb span { margin: 0 6px; }

/* ── Footer ── */
footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 32px 24px;
  text-align: center;
  font-size: 13px;
  color: var(--text-sub);
}
footer a { color: var(--text-sub); }
footer a:hover { color: var(--text); }
.footer-links { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 8px; }
