/* BitePass start page (bitepasslb.com). Uses the tokens from style.css. */

.section { padding: 84px 20px; }
.section .inner { max-width: var(--max); margin: 0 auto; }
.section-alt { background: var(--bg-deep); }
.section-head { max-width: 640px; margin: 0 0 36px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section h2 { font-size: clamp(30px, 4.2vw, 46px); line-height: 1.08; letter-spacing: -1px; margin: 0 0 12px; font-weight: 900; }
.section-head p { color: var(--soft); font-size: 18px; margin: 0; }
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(197, 253, 182, 0.1);
  border: 1px solid rgba(197, 253, 182, 0.3);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}

/* ── Hero ───────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 20px 84px;
  background:
    radial-gradient(circle at 85% 10%, rgba(158, 67, 124, 0.55), transparent 45%),
    radial-gradient(circle at 5% 90%, rgba(102, 44, 121, 0.6), transparent 50%),
    var(--bg);
}
.hero .inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 48px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(42px, 6.6vw, 78px);
  line-height: 0.98;
  letter-spacing: -2px;
  font-weight: 900;
  margin: 0 0 20px;
}
.hero h1 .hl { color: var(--accent); }
.hero-text { font-size: 19px; color: var(--soft); max-width: 560px; margin: 0 0 28px; }
.hero-trust { margin: 18px 0 0; color: var(--muted); font-weight: 700; font-size: 15px; }
@media (max-width: 860px) {
  .hero { padding-top: 44px; }
  .hero .inner { grid-template-columns: 1fr; }
  .phone-wrap { order: 2; }
}

/* Phone mockup with live restaurant cards */
.phone-wrap { display: flex; justify-content: center; }
.phone {
  width: min(330px, 100%);
  aspect-ratio: 9 / 18.5;
  border-radius: 46px;
  background: var(--bg-deep);
  border: 10px solid #120816;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.06);
  padding: 22px 14px 14px;
  overflow: hidden;
  position: relative;
  transform: rotate(-3deg);
}
[dir='rtl'] .phone { transform: rotate(3deg); }
.phone::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  width: 90px;
  height: 22px;
  margin-left: -45px;
  border-radius: 999px;
  background: #120816;
}
.phone-top { display: flex; align-items: center; gap: 8px; margin: 14px 4px 14px; font-weight: 900; font-size: 18px; }
.phone-top img { width: 26px; height: 26px; }
.phone-list { display: grid; gap: 12px; }
.mini-card {
  border-radius: 20px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
}
.mini-card .img { aspect-ratio: 16 / 8; background: linear-gradient(135deg, var(--primary), var(--deep)); position: relative; }
.mini-card .img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mini-card .body { padding: 9px 12px 11px; }
.mini-card strong { display: block; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-card span { font-size: 12px; color: var(--muted); }

.deal-badge {
  position: absolute;
  top: 10px;
  inset-inline-start: 10px;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 900;
  font-size: 13px;
  padding: 4px 10px;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}
.new-badge {
  position: absolute;
  top: 10px;
  inset-inline-end: 10px;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  font-size: 12px;
  padding: 3px 9px;
  border-radius: 999px;
}

/* ── Stats ──────────────────────────────────────────────────────────────── */
.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: var(--max);
  margin: -44px auto 0;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}
.stat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 20px;
  text-align: center;
}
.stat b { display: block; font-size: clamp(30px, 4vw, 42px); font-weight: 900; color: var(--accent); line-height: 1.1; }
.stat span { color: var(--soft); font-weight: 700; font-size: 15px; }
@media (max-width: 560px) { .stat { padding: 16px 8px; } .stat span { font-size: 13px; } }

/* ── How it works ───────────────────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; counter-reset: step; }
.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 900;
  font-size: 22px;
  margin-bottom: 18px;
}
.step h3 { margin: 0 0 8px; font-size: 21px; }
.step p { margin: 0; color: var(--soft); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* ── Map + restaurant list ──────────────────────────────────────────────── */
.map-tools { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 16px; }
.search {
  flex: 1 1 260px;
  min-height: 48px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font: inherit;
  padding: 0 18px;
}
.search::placeholder { color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--soft);
  font: inherit;
  font-weight: 700;
  font-size: 14px;
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
}
.chip[aria-pressed='true'] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }

.map-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 18px; }
@media (max-width: 900px) { .map-layout { grid-template-columns: 1fr; } }
.map-box {
  position: relative;
  min-height: 520px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background:
    radial-gradient(circle at 30% 30%, rgba(158, 67, 124, 0.35), transparent 55%),
    linear-gradient(160deg, var(--surface2), var(--bg-deep));
}
@media (max-width: 900px) { .map-box { min-height: 380px; } }
#map { position: absolute; inset: 0; }
.map-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 24px;
  color: var(--soft);
}
.map-placeholder p { margin: 12px 0 0; max-width: 320px; }
.map-near { position: absolute; bottom: 16px; inset-inline-end: 16px; z-index: 3; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35); }

.r-list {
  display: grid;
  gap: 12px;
  max-height: 520px;
  overflow-y: auto;
  padding-inline-end: 4px;
  scrollbar-color: var(--border) transparent;
}
@media (max-width: 900px) { .r-list { max-height: none; overflow: visible; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); } }
.r-card {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 10px;
  color: var(--text);
  text-decoration: none;
  cursor: pointer;
  text-align: start;
  font: inherit;
  width: 100%;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.r-card:hover, .r-card.active { border-color: var(--accent); background: var(--surface2); }
.r-card .thumb {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary), var(--deep));
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 30px;
  color: rgba(255, 255, 255, 0.85);
}
.r-card .thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.r-card .thumb .deal-badge { top: 6px; inset-inline-start: 6px; font-size: 11px; padding: 3px 8px; }
.r-card h3 { margin: 0 0 3px; font-size: 17px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.r-card .meta { color: var(--muted); font-size: 14px; margin: 0 0 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.r-card .deal { color: var(--accent); font-weight: 800; font-size: 14px; margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.r-card .rating { color: var(--soft); font-weight: 700; }
.list-note {
  background: var(--surface);
  border: 1px dashed var(--border);
  border-radius: 20px;
  padding: 24px;
  color: var(--soft);
  text-align: center;
}

/* Info card on the map (Google InfoWindow content) */
.gm-style .gm-style-iw-c { padding: 0 !important; border-radius: 18px !important; background: var(--surface) !important; }
.gm-style .gm-style-iw-d { overflow: hidden !important; }
.gm-style .gm-style-iw-tc::after { background: var(--surface) !important; }
.gm-style .gm-ui-hover-effect { filter: invert(1); }
.map-info { width: 230px; color: var(--text); font-family: 'DM Sans', system-ui, sans-serif; }
.map-info .img { position: relative; aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--primary), var(--deep)); }
.map-info .img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.map-info .body { padding: 10px 12px 12px; }
.map-info strong { display: block; font-size: 16px; }
.map-info span { display: block; color: var(--muted); font-size: 13px; margin-bottom: 8px; }
.map-info a { display: inline-block; color: var(--on-accent); background: var(--accent); font-weight: 800; font-size: 13px; text-decoration: none; padding: 6px 12px; border-radius: 999px; }

/* ── Deal types ─────────────────────────────────────────────────────────── */
.deal-types { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.deal-type {
  font-weight: 900;
  font-size: clamp(18px, 2.4vw, 24px);
  padding: 14px 24px;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  background: var(--surface);
}
.deal-type:nth-child(odd) { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }

/* ── Pricing ────────────────────────────────────────────────────────────── */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; } }
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
}
.plan.featured { border: 2px solid var(--accent); background: linear-gradient(180deg, rgba(197, 253, 182, 0.08), var(--surface) 45%); }
.plan .ribbon {
  position: absolute;
  top: -13px;
  inset-inline-start: 24px;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 900;
  font-size: 13px;
  padding: 4px 12px;
  border-radius: 999px;
}
.plan h3 { margin: 0 0 12px; font-size: 20px; color: var(--soft); }
.plan .price { font-size: 46px; font-weight: 900; line-height: 1; letter-spacing: -1px; }
.plan .price-text { font-size: 34px; }
.plan .per { color: var(--muted); font-weight: 700; margin-inline-start: 6px; }
.plan p { color: var(--soft); margin: 16px 0 0; flex: 1; }
.pricing-note { text-align: center; color: var(--muted); font-size: 14px; margin: 22px 0 0; }

/* ── For restaurants ────────────────────────────────────────────────────── */
.partners {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 36px;
  align-items: center;
  background: linear-gradient(135deg, var(--primary), var(--deep));
  border-radius: 32px;
  padding: 48px 40px;
}
@media (max-width: 860px) { .partners { grid-template-columns: 1fr; padding: 34px 24px; } }
.partners h2 { margin-bottom: 14px; }
.partners p { color: #f6e9f7; font-size: 18px; margin: 0 0 24px; }
.partners ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.partners li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: rgba(31, 15, 37, 0.35);
  border-radius: 16px;
  padding: 14px 16px;
  font-weight: 700;
}
.partners li::before {
  content: '✓';
  flex: none;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 900;
  font-size: 14px;
}
.partners .hint { font-size: 14px; color: #f6e9f7; margin: 12px 0 0; opacity: 0.85; }

/* ── FAQ ────────────────────────────────────────────────────────────────── */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 0 22px;
}
.faq details[open] { border-color: var(--primary); }
.faq summary {
  cursor: pointer;
  list-style: none;
  font-weight: 800;
  font-size: 18px;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--accent); font-size: 24px; line-height: 1; transition: transform 0.2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 20px; color: var(--soft); }

/* ── Final CTA ──────────────────────────────────────────────────────────── */
.cta {
  text-align: center;
  background:
    radial-gradient(circle at 50% 120%, rgba(197, 253, 182, 0.22), transparent 55%),
    var(--bg-deep);
}
.cta h2 { max-width: 760px; margin-inline: auto; }
.cta p { color: var(--soft); font-size: 19px; margin: 0 0 28px; }
.cta .store-buttons { justify-content: center; }
