/* =========================
   Base / reset
========================= */
:root {
  --bg: #0b0b0c;
  --text: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.72);
  --border: rgba(255, 255, 255, 0.18);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.55);
  --shadow-soft: 0 12px 30px rgba(0, 0, 0, 0.35);
  --gold: #f5c542;
  --radius: 18px;
  --radius-pill: 999px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji",
    "Segoe UI Emoji";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  overflow-y: auto;
}

/* =========================
   Background
========================= */
.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
}

.bg__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.02);
}

.bg__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.45) 0%,
    rgba(0, 0, 0, 0.55) 55%,
    rgba(0, 0, 0, 0.62) 100%
  );
}

.bg__vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at center,
    rgba(0, 0, 0, 0.06) 0%,
    rgba(0, 0, 0, 0.22) 55%,
    rgba(0, 0, 0, 0.55) 100%
  );
}

/* =========================
   Screen layout
========================= */
.screen {
  position: relative;
  z-index: 1;
  height: 100vh;
  height: 100svh;
  display: grid;
  place-items: center;
  padding: clamp(16px, 3vw, 36px);
}

.center {
  width: min(720px, 92vw);
  display: grid;
  gap: clamp(14px, 2.2vw, 20px);
  justify-items: center;
  text-align: center;
}

/* =========================
   Logo
========================= */
.logo-wrap {
  width: min(676px, 92vw);
}

.logo {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 16px 28px rgba(0, 0, 0, 0.55));
}

/* =========================
   Buttons
========================= */
.cta {
  display: grid;
  gap: 10px;
  width: min(420px, 86vw);
}

.btn {
  appearance: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 14px 18px;
  font-weight: 700;
  letter-spacing: 0.2px;
  font-size: 16px;
  text-decoration: none;
  color: var(--text);
  background: rgba(255, 255, 255, 0.10);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.btn__arrow {
  display: inline-block;
  margin-left: 10px;
}

.btn:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.35);
  outline-offset: 3px;
}

.btn:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.26);
}

.btn--primary {
  background: rgba(211, 35, 35, 0.35);
  border-color: rgba(211, 35, 35, 0.6);
  font-size: 22px;
  padding: 28px 36px;
}

.btn--primary:hover {
  background: rgba(211, 35, 35, 0.45);
  border-color: rgba(211, 35, 35, 0.75);
}

.btn--ghost {
  background: rgba(0, 0, 0, 0.18);
}

/* =========================
   Trust row (Option A)
========================= */
.trust {
  width: min(676px, 92vw);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  justify-items: stretch;
  margin-top: 12px;
}

.trust__item {
  display: flex;
  gap: 10px;
  align-items: center;
  text-decoration: none;
  color: var(--text);
  padding: 12px 14px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
  min-width: 0;
  width: 100%;
}

.trust__item:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.24);
}

.trust__icon {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
}

.trust__text {
  display: grid;
  gap: 2px;
  text-align: left;
}

.trust__text strong {
  font-size: 14px;
  line-height: 1.1;
}

.trust__sub {
  font-size: 12px;
  color: var(--muted);
}

.trust__stars {
  display: inline-flex;
  gap: 2px;
  margin-top: 4px;
}

.trust__star {
  width: 12px;
  height: 12px;
  fill: var(--gold);
}

.contact-actions {
  width: min(676px, 92vw);
  display: grid;
  gap: 10px;
}

@media (max-width: 640px) {
  .trust {
    grid-template-columns: 1fr;
  }
}

.trust__item--pill {
  justify-content: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(0, 0, 0, 0.22);
  font-weight: 800;
  letter-spacing: 0.35px;
}

/* =========================
   Floating One Bite badge
========================= */
.float-badge {
  position: fixed;
  top: max(14px, env(safe-area-inset-top));
  right: max(14px, env(safe-area-inset-right));
  z-index: 3;

  display: grid;
  gap: 3px;
  padding: 16px 18px;
  border-radius: 21px;
  justify-items: stretch;

  color: var(--text);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.20);
  background: rgba(0, 0, 0, 0.26);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  transform: translateZ(0);
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.float-badge:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(0, 0, 0, 0.30);
}

.float-badge__top {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.78);
  letter-spacing: 0.2px;
}

.float-badge__score {
  font-size: 29px;
  font-weight: 900;
  letter-spacing: 0.6px;
  line-height: 1;
  text-align: center;
  width: 100%;
}

.float-badge__sub {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.70);
}

/* gentle float */
@media (prefers-reduced-motion: no-preference) {
  .float-badge {
    animation: floaty 3.8s ease-in-out infinite;
  }
  @keyframes floaty {
    0% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
    100% { transform: translateY(0); }
  }
}

/* mobile placement: hide badge entirely */
@media (max-width: 768px) {
  .float-badge {
    display: none;
  }
}

/* =========================
   One Bite modal
========================= */
.modal {
  position: fixed;
  inset: 0;
  z-index: 6;
  display: grid;
  place-items: center;
  padding: clamp(16px, 4vw, 32px);
}

.modal[hidden] {
  display: none;
}

.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
}

.modal__panel {
  position: relative;
  width: min(880px, 92vw);
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.20);
  background: rgba(10, 10, 10, 0.92);
  box-shadow: var(--shadow);
  padding: 18px;
  z-index: 1;
}

.modal__close {
  position: absolute;
  top: 10px;
  right: 12px;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  font-size: 18px;
  cursor: pointer;
}

.modal__close:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.35);
  outline-offset: 3px;
}

.modal__video {
  width: 100%;
  height: auto;
  max-height: 72vh;
  border-radius: 12px;
  background: #000;
}

/* =========================
   iOS Add-to-home hint
========================= */
.ios-hint {
  width: min(560px, 92vw);
  position: fixed;
  left: 50%;
  bottom: max(18px, env(safe-area-inset-bottom));
  transform: translateX(-50%);
  z-index: 4;
}

.ios-hint__card {
  position: relative;
  padding: 14px 14px 14px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.20);
  background: rgba(0, 0, 0, 0.36);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  text-align: left;
}

.ios-hint__title {
  font-weight: 900;
  letter-spacing: 0.2px;
  margin-bottom: 6px;
}

.ios-hint__text {
  color: rgba(255, 255, 255, 0.80);
  font-size: 13px;
  line-height: 1.35;
}

.ios-hint__chip {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.10);
  margin: 0 2px;
  white-space: nowrap;
}

.ios-hint__close {
  position: absolute;
  top: 8px;
  right: 10px;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  font-size: 16px;
  cursor: pointer;
}

.ios-hint__close:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.35);
  outline-offset: 3px;
}
