/* Eat Mi site – shared styles (on top of Bootstrap 5) */
:root {
  --eat-blue: #373b89;
  --eat-blue-dark: #2a2d6b;
  --eat-yellow: #f2eca0;
  --eat-yellow-soft: #f8f5d2;
  --eat-cream: #fbf9f1;
  --eat-text: #3d4250;
  --eat-muted: #6b7280;

  --bs-primary: var(--eat-blue);
  --bs-primary-rgb: 55, 59, 137;
  --bs-link-color: var(--eat-blue);
  --bs-link-color-rgb: 55, 59, 137;
  --bs-link-hover-color: var(--eat-blue-dark);
  --bs-body-color: var(--eat-text);
}

body {
  background: var(--eat-cream);
  color: var(--eat-text);
  font-family: "Rubik", system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.7;
}

/* Chewy matches the logo; it has no Hebrew glyphs, so Hebrew falls back to Fredoka */
h1, h2, h3, h4, .brand-font {
  font-family: "Chewy", "Fredoka", "Rubik", sans-serif;
  color: var(--eat-blue);
  font-weight: 400;
  letter-spacing: .01em;
}
:lang(he) h1, :lang(he) h2, :lang(he) h3, :lang(he) h4 { font-weight: 600; }

/* ---------- Navbar ---------- */
.site-nav {
  background: #fff;
  box-shadow: 0 2px 12px rgba(55, 59, 137, .08);
}
.site-nav .navbar-brand {
  font-family: "Chewy", "Fredoka", sans-serif;
  font-weight: 400;
  font-size: 1.6rem;
  color: var(--eat-blue);
  display: flex;
  align-items: center;
  gap: .5rem;
}
.site-nav .navbar-brand img { width: 40px; height: 40px; border-radius: 50%; border: 1px solid #353B8A; box-sizing: border-box; }
.site-nav .nav-link { color: var(--eat-text); font-weight: 500; }
.site-nav .nav-link:hover,
.site-nav .nav-link.active { color: var(--eat-blue); }
.site-nav .nav-link.active { font-weight: 700; }
.lang-switch {
  border: 1.5px solid var(--eat-blue);
  border-radius: 999px;
  padding: .2rem .9rem !important;
  color: var(--eat-blue) !important;
  font-weight: 600;
}
.lang-switch:hover { background: var(--eat-blue); color: #fff !important; }

/* ---------- Hero ---------- */
.hero { padding: 3rem 0 3.5rem; }
.hero-img {
  width: 100%;
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(55, 59, 137, .12);
}
.hero h1 { font-size: clamp(2.8rem, 6vw, 4.2rem); font-weight: 400; margin-bottom: .25rem; }
.hero .lead { font-size: 1.25rem; color: var(--eat-text); }

.btn-play {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  background: var(--eat-blue);
  color: #fff;
  border-radius: 999px;
  padding: .8rem 1.6rem;
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  transition: transform .15s, background .15s;
}
.btn-play:hover { background: var(--eat-blue-dark); color: #fff; transform: translateY(-2px); }
.btn-play svg { width: 22px; height: 22px; flex: none; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }
@media (min-width: 992px) { .hero-ctas { justify-content: flex-start; } }
.btn-play.btn-secondary-cta { background: transparent; color: var(--eat-blue); box-shadow: inset 0 0 0 2px var(--eat-blue); }
.btn-play.btn-secondary-cta:hover { background: var(--eat-blue); color: #fff; }
.btn-play[hidden] { display: none; }

/* ---------- Sections ---------- */
.section { padding: 3.5rem 0; }
.section-yellow { background: var(--eat-yellow); }
.section-white { background: #fff; }

.feature-card {
  background: #fff;
  border-radius: 20px;
  padding: 1.6rem 1.4rem;
  height: 100%;
  box-shadow: 0 4px 14px rgba(55, 59, 137, .08);
  transition: transform .15s;
}
.feature-card:hover { transform: translateY(-4px); }
.feature-card .emoji { font-size: 2.2rem; line-height: 1; display: block; margin-bottom: .6rem; }
.feature-card h3 { font-size: 1.35rem; margin-bottom: .5rem; }
.feature-card p { margin: 0; }

.info-block { max-width: 760px; margin-inline: auto; }
.info-block h2 { font-size: clamp(1.6rem, 4vw, 2.1rem); margin-bottom: 1rem; }
.arrow-link { font-weight: 600; text-decoration: none; }
.arrow-link:hover { text-decoration: underline; }

/* ---------- Text pages (guidelines, privacy) ---------- */
.page-header {
  background: var(--eat-yellow);
  padding: 2.5rem 0 2rem;
}
.page-header h1 { font-size: clamp(1.9rem, 5vw, 2.6rem); margin: 0; }
.page-header .updated { color: var(--eat-muted); margin: .4rem 0 0; }

.doc {
  background: #fff;
  border-radius: 20px;
  padding: 2rem 1.5rem;
  box-shadow: 0 4px 14px rgba(55, 59, 137, .06);
  max-width: 820px;
  margin: -1.25rem auto 0;
  position: relative;
}
@media (min-width: 768px) { .doc { padding: 2.5rem 3rem; } }
.doc h2 { font-size: 1.4rem; margin-top: 2rem; margin-bottom: .6rem; }
.doc h2:first-child { margin-top: 0; }
.doc ul { padding-inline-start: 1.3rem; }
.doc li { margin-bottom: .35rem; }
.doc li::marker { color: var(--eat-blue); }
.doc .do-list li::marker { content: "✓  "; color: #2e8b57; }
.doc .dont-list li::marker { content: "✕  "; color: #c0392b; }
.doc .closing { font-weight: 600; color: var(--eat-blue); margin-top: 2rem; }

/* ---------- Plans ---------- */
.plan-card {
  background: #fff;
  border: 2px solid #d9dbee;            /* free – light frame */
  border-radius: 20px;
  padding: 1.6rem 1.4rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 14px rgba(55, 59, 137, .06);
}
.plan-card.monthly { border-color: var(--eat-blue); }   /* monthly – darker frame */
.plan-card.yearly {                                       /* yearly – yellowish, stands out */
  background: #fffbea;
  border: 3px solid #f5d65a;
  box-shadow: 0 12px 30px rgba(230, 190, 40, .28);
}
@media (min-width: 992px) {
  .plan-card.yearly { transform: scale(1.04); }
}
.plan-card .plan-icon { font-size: 2rem; line-height: 1; text-align: center; }
.plan-card h3 { text-align: center; font-size: 1.35rem; margin: .4rem 0 .2rem; }
.plan-price {
  text-align: center;
  font-family: "Chewy", "Fredoka", sans-serif;
  font-size: 2rem;
  font-weight: 400;
  color: var(--eat-blue);
  line-height: 1.2;
}
.plan-price small { font-size: .9rem; font-weight: 400; color: var(--eat-muted); }
.plan-note { text-align: center; font-size: .85rem; color: var(--eat-muted); }
.plan-badge {
  align-self: center;
  background: var(--eat-yellow);
  color: var(--eat-blue);
  font-weight: 700;
  font-size: .8rem;
  padding: .15rem .8rem;
  border-radius: 999px;
  margin: .3rem 0 .1rem;
}
.plan-card hr { border: 0; border-top: 2px solid var(--eat-yellow); opacity: 1; margin: 1rem 0; }
.plan-group { margin-bottom: .9rem; }
.plan-group-title { font-weight: 700; margin-bottom: .2rem; }
.plan-group ul { list-style: none; padding: 0; margin: 0; font-size: .95rem; }
.plan-group li { padding-inline-start: 1.2rem; position: relative; margin-bottom: .2rem; }
.plan-group li::before { content: "✦"; color: var(--eat-blue); position: absolute; inset-inline-start: 0; font-size: .75rem; top: .3rem; }

.faq .accordion-item { border: 0; border-radius: 14px !important; overflow: hidden; margin-bottom: .75rem; box-shadow: 0 2px 8px rgba(55, 59, 137, .06); }
.faq .accordion-button { font-family: "Rubik", system-ui, sans-serif; font-weight: 600; color: var(--eat-blue); }
.faq .accordion-button:not(.collapsed) { background: var(--eat-yellow-soft); box-shadow: none; }
.faq .accordion-button:focus { box-shadow: 0 0 0 .2rem rgba(55, 59, 137, .2); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--eat-blue);
  color: #e6e7f5;
  padding: 2.25rem 0 1.75rem;
  font-size: .95rem;
}
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--eat-yellow); text-decoration: underline; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem 1.25rem; margin-bottom: .75rem; }
.site-footer .copy { color: #b9bbe0; font-size: .85rem; margin: .5rem 0 0; }
