/* =====================================================
   Universal Bites — Website Styles
   ===================================================== */

/* ── Apple Color Emoji — cross-browser ───────────── */
/* local() resolves on macOS/iOS with no download.    */
/* Non-Apple browsers fall back to the CDN (~44 MB,   */
/* cached after first visit).                         */
@font-face {
  font-family: 'Apple Color Emoji';
  src: local('Apple Color Emoji'),
       url('https://cdn.jsdelivr.net/gh/GORAlexComp/AppleColorEmojiFont@main/fonts/AppleColorEmoji.woff2') format('woff2'),
       url('https://cdn.jsdelivr.net/gh/GORAlexComp/AppleColorEmojiFont@main/fonts/AppleColorEmoji.ttf')   format('truetype');
  font-weight: normal;
  font-style:  normal;
  font-display: swap;
  unicode-range:
    U+200D,           /* zero-width joiner          */
    U+20E3,           /* combining enclosing keycap */
    U+231A-231B,      /* watch / hourglass          */
    U+23E9-23F3,      /* clock / timer symbols      */
    U+23F8-23FA,      /* media control buttons      */
    U+25AA-25AB,      /* small squares              */
    U+25B6, U+25C0,   /* play / back triangles      */
    U+25FB-25FE,      /* medium squares             */
    U+2600-27BF,      /* misc symbols + dingbats    */
    U+2934-2935,      /* arrows                     */
    U+2B05-2B07,      /* arrows                     */
    U+2B1B-2B1C,      /* black/white large squares  */
    U+2B50,           /* star                       */
    U+2B55,           /* circle                     */
    U+3030, U+303D,   /* wavy dash / part alt mark  */
    U+3297, U+3299,   /* circled CJK                */
    U+FE0F,           /* emoji variation selector   */
    U+1F000-1FFFF;    /* emoji block                */
}

/* ── Reset & Base ────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:         #07070f;
  --bg2:        #0d0d1a;
  --surface:    rgba(255,255,255,0.04);
  --surface-h:  rgba(255,255,255,0.07);
  --border:     rgba(255,255,255,0.08);
  --border-h:   rgba(255,255,255,0.14);

  --text-1:     #f0f0f8;
  --text-2:     #9090aa;
  --text-3:     #5a5a72;

  --mg-purple:  #6434a4;
  --mg-green:   #2d8a3e;
  --mg-gold:    #d4a520;
  --hhn-red:    #cc2200;
  --hhn-orange: #ff6600;

  --grad-hero:  linear-gradient(135deg, #7b3fc8 0%, #c046a4 50%, #e07540 100%);
  --grad-mg:    linear-gradient(135deg, #6434a4, #2d8a3e);
  --grad-hhn:   linear-gradient(135deg, #8a1010, #cc2200);
  --grad-text:  linear-gradient(90deg, #b06cff 0%, #e878d8 50%, #ff9f50 100%);

  --radius-sm:  10px;
  --radius:     16px;
  --radius-lg:  24px;
  --radius-xl:  36px;

  --shadow-sm:  0 2px 12px rgba(0,0,0,.4);
  --shadow:     0 8px 32px rgba(0,0,0,.5);
  --shadow-lg:  0 24px 64px rgba(0,0,0,.7);

  --font: 'Inter', 'Apple Color Emoji', system-ui, -apple-system, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text-1);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { display: block; max-width: 100%; }

/* ── Utilities ───────────────────────────────────── */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 100px 0; }

.gradient-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-eyebrow {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-2);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.03em;
  margin-bottom: 20px;
}

.section-sub {
  font-size: 1.1rem;
  color: var(--text-2);
  max-width: 540px;
  margin-bottom: 56px;
}

/* ── Reveal animations ───────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
  transition-delay: var(--delay, 0s);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Floating keyframes ──────────────────────────── */
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .5; transform: scale(.8); }
}
@keyframes glow-drift {
  0%, 100% { transform: translate(0,0) scale(1); }
  33%       { transform: translate(60px,-40px) scale(1.1); }
  66%       { transform: translate(-40px,60px) scale(.95); }
}
@keyframes bar-grow {
  from { width: 0; }
}
@keyframes counter-spin {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* =====================================================
   NAVIGATION
   ===================================================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 24px;
  transition: background .3s, border-color .3s, box-shadow .3s;
  border-bottom: 1px solid transparent;
}
.navbar.scrolled {
  background: rgba(7,7,15,.8);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-color: var(--border);
  box-shadow: 0 1px 0 var(--border);
}
.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}
.nav-logo-icon {
  width: 32px; height: 32px;
  background: var(--grad-mg);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
}
.nav-links {
  display: flex;
  gap: 8px;
  margin-left: auto;
}
.nav-links a {
  font-size: .875rem;
  font-weight: 500;
  color: var(--text-2);
  padding: 6px 14px;
  border-radius: 8px;
  transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--text-1); background: var(--surface); }

.nav-cta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .875rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 24px;
  background: white;
  color: #07070f;
  transition: opacity .2s, transform .2s;
  flex-shrink: 0;
}
.nav-cta:hover { opacity: .9; transform: translateY(-1px); }

/* =====================================================
   HERO
   ===================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding: 120px 24px 80px;
}

/* Glowing orbs */
.hero-glow-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: .35;
  animation: glow-drift 20s ease-in-out infinite;
}
.g1 {
  width: 600px; height: 600px;
  background: #7b3fc8;
  top: -200px; left: -100px;
  animation-delay: 0s;
}
.g2 {
  width: 500px; height: 500px;
  background: #c046a4;
  top: -100px; right: -50px;
  animation-delay: -7s;
}
.g3 {
  width: 400px; height: 400px;
  background: #e07540;
  bottom: -100px; left: 30%;
  animation-delay: -13s;
  opacity: .2;
}

.hero-inner {
  position: relative;
  max-width: 1160px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 64px;
}

/* Hero text */
.hero-text { flex: 1; min-width: 0; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .8rem;
  font-weight: 600;
  color: var(--text-2);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 6px 14px;
  margin-bottom: 28px;
  letter-spacing: .02em;
}
.badge-pulse {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #30d158;
  animation: pulse-dot 2s ease infinite;
  flex-shrink: 0;
}

.hero-title {
  font-size: clamp(2.6rem, 5.5vw, 4.5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -.04em;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-2);
  line-height: 1.7;
  max-width: 500px;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .95rem;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 28px;
  background: white;
  color: #07070f;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 4px 24px rgba(255,255,255,.15);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(255,255,255,.2); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .95rem;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 28px;
  border: 1px solid var(--border);
  color: var(--text-1);
  transition: border-color .2s, background .2s;
}
.btn-ghost:hover { border-color: var(--border-h); background: var(--surface); }

/* ── Phone mockup ─────────────────────────────────── */
.hero-phone {
  position: relative;
  flex-shrink: 0;
  width: 320px;
}

.hero-screenshot {
  width: 100%;
  display: block;
  filter: drop-shadow(0 40px 80px rgba(0,0,0,.7));
}


/* App screen interior */
.app-screen {
  height: 100%;
  background: linear-gradient(180deg, #1a0e2e 0%, #0e1a14 60%, #0a0a0f 100%);
  display: flex;
  flex-direction: column;
  padding: 48px 0 0;
  overflow: hidden;
}
.mg-screen { background: linear-gradient(180deg, #1e0a30 0%, #0a1a0a 60%, #0a0a0f 100%); }

.app-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px 12px;
  flex-shrink: 0;
}
.topbar-title {
  font-size: .75rem;
  font-weight: 700;
  color: var(--text-1);
}
.event-pill {
  font-size: .6rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.15);
}
.mg-pill { background: rgba(100,52,164,.35); color: #c8a4ff; }
.topbar-icons { display: flex; gap: 8px; }
.ti { font-size: .75rem; opacity: .6; }

.location-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 14px 8px;
  flex-shrink: 0;
}
.loc-name { font-size: .7rem; font-weight: 700; color: var(--text-1); }
.loc-count { font-size: .6rem; color: var(--text-2); }

.food-list { display: flex; flex-direction: column; flex: 1; overflow: hidden; }

.food-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-bottom: 1px solid rgba(255,255,255,.04);
  transition: background .15s;
}
.fav-row   { background: rgba(255,69,58,.06); }
.tasted-row { background: rgba(48,209,88,.06); }
.wished-row { background: rgba(255,159,10,.06); }

.food-thumb {
  width: 36px; height: 36px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.food-meta { flex: 1; min-width: 0; }
.food-name {
  font-size: .65rem;
  font-weight: 600;
  color: var(--text-1);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.food-sub  { font-size: .55rem; color: var(--text-2); margin-top: 1px; }
.food-stars { font-size: .55rem; color: var(--mg-gold); margin-top: 1px; }
.gold { color: #d4a520; }

.food-badge {
  width: 22px; height: 22px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .65rem;
  flex-shrink: 0;
}
.fav-badge    { background: rgba(255,69,58,.2);  color: #ff453a; border: 1px solid rgba(255,69,58,.3); }
.tasted-badge { background: rgba(48,209,88,.2);  color: #30d158; border: 1px solid rgba(48,209,88,.3); }
.wished-badge { background: rgba(255,159,10,.2); color: #ff9f0a; border: 1px solid rgba(255,159,10,.3); font-size: .5rem; }

/* Tab bar */
.app-tabbar {
  display: flex;
  justify-content: space-around;
  padding: 8px 0 14px;
  border-top: 1px solid rgba(255,255,255,.07);
  background: rgba(0,0,0,.3);
  flex-shrink: 0;
  margin-top: auto;
}
.tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  opacity: .4;
}
.active-tab { opacity: 1; }
.tab-icon  { font-size: .75rem; }
.tab-label { font-size: .45rem; font-weight: 600; color: var(--text-2); }
.active-tab .tab-label { color: #b06cff; }

/* Floating badges */
.float-badge {
  position: absolute;
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(16px) saturate(200%);
  -webkit-backdrop-filter: blur(16px) saturate(200%);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 14px;
  padding: 8px 14px;
  font-size: .75rem;
  font-weight: 600;
  color: var(--text-1);
  white-space: nowrap;
  box-shadow: var(--shadow);
}
.float-badge span {
  display: inline-block;
  margin-right: 6px;
}
.fb1 { top: 15%; left: -90px; }
.fb2 { bottom: 22%; right: -70px; }
.fb2 span { color: #30d158; }

/* Scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
}
.scroll-arrow {
  width: 22px; height: 22px;
  border-right: 2px solid rgba(255,255,255,.25);
  border-bottom: 2px solid rgba(255,255,255,.25);
  transform: rotate(45deg);
}

/* =====================================================
   STATS BAR
   ===================================================== */
.stats-section { padding: 0; }
.stats-bar {
  max-width: 1160px;
  margin: 0 auto;
  padding: 40px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stat-item {
  flex: 1;
  text-align: center;
  padding: 0 24px;
}
.stat-num {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 900;
  letter-spacing: -.04em;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-lbl {
  font-size: .8rem;
  font-weight: 500;
  color: var(--text-2);
  text-transform: uppercase;
  letter-spacing: .08em;
}
.stat-sep {
  width: 1px;
  height: 48px;
  background: var(--border);
  flex-shrink: 0;
}

/* =====================================================
   EVENTS
   ===================================================== */
.events-section { padding-top: 110px; padding-bottom: 110px; }

.events-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.event-card {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  overflow: hidden;
  transition: border-color .3s, transform .3s;
}
.event-card:hover {
  border-color: var(--border-h);
  transform: translateY(-4px);
}

.ec-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  opacity: .12;
  transition: opacity .3s;
}
.event-card:hover .ec-glow { opacity: .22; }
.mg-glow  { background: var(--grad-mg); }
.hhn-glow { background: var(--grad-hhn); }

.ec-body { position: relative; padding: 32px; }

.ec-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.ec-years {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-2);
}
.ec-icon { font-size: 2rem; }

/* HHN card: badge lives inside ec-top row alongside the date + icon */
.hhn-card .ec-top {
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.hhn-card .ec-top .coming-soon-badge { margin-right: auto; }

.ec-title {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -.03em;
  margin-bottom: 12px;
}
.ec-desc { font-size: .9rem; color: var(--text-2); line-height: 1.6; margin-bottom: 24px; }

.ec-palette { display: flex; gap: 6px; margin-bottom: 20px; }
.palette-dot {
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.1);
}

.ec-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.ec-tag {
  font-size: .75rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 20px;
  background: rgba(100,52,164,.2);
  border: 1px solid rgba(100,52,164,.3);
  color: #c8a4ff;
}
.hhn-tag {
  background: rgba(204,34,0,.2);
  border-color: rgba(204,34,0,.3);
  color: #ff8870;
}

.coming-soon-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: #ff6600;
  background: rgba(255,102,0,.12);
  border: 1px solid rgba(255,102,0,.3);
  padding: 5px 12px;
  border-radius: 20px;
  /* lives inside .ec-top on desktop — no bottom margin needed */
  margin-bottom: 0;
  white-space: nowrap;
}

/* =====================================================
   FEATURES
   ===================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.feat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color .25s, background .25s, transform .25s;
}
.feat-card:hover {
  border-color: var(--border-h);
  background: var(--surface-h);
  transform: translateY(-3px);
}

.feat-icon {
  font-size: 1.8rem;
  margin-bottom: 16px;
  display: block;
}
.feat-title {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -.02em;
  margin-bottom: 10px;
}
.feat-desc {
  font-size: .875rem;
  color: var(--text-2);
  line-height: 1.6;
}

/* =====================================================
   TRACKING
   ===================================================== */
.tracking-section { padding: 100px 0; }
.tracking-layout {
  display: flex;
  align-items: center;
  gap: 80px;
}
.tracking-text { flex: 1; min-width: 0; }
.tracking-text .section-sub { margin-bottom: 40px; }

.track-states {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 32px;
}
.track-state {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.ts-icon {
  width: 42px; height: 42px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  font-weight: 800;
}
.ts-wished { background: rgba(255,159,10,.15); color: #ff9f0a; border: 1px solid rgba(255,159,10,.25); font-size: .9rem; }
.ts-tasted { background: rgba(48,209,88,.15);  color: #30d158; border: 1px solid rgba(48,209,88,.25); font-size: 1rem; }
.ts-fav    { background: rgba(255,69,58,.15);  color: #ff453a; border: 1px solid rgba(255,69,58,.25); font-size: 1rem; }

.ts-text strong { display: block; font-size: .95rem; font-weight: 700; margin-bottom: 3px; }
.ts-text span   { font-size: .875rem; color: var(--text-2); }

.rating-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.rating-star {
  font-size: 1.6rem;
  color: #d4a520;
  flex-shrink: 0;
}
.rating-copy strong { display: block; font-size: .9rem; font-weight: 700; }
.rating-copy span   { font-size: .8rem; color: var(--text-2); }

/* Journey stats (inside phone) */
.journey-stats {
  display: flex;
  justify-content: space-around;
  padding: 12px 14px;
  background: rgba(255,255,255,.03);
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.js-stat { text-align: center; }
.jss-icon { font-size: .9rem; margin-bottom: 2px; }
.jss-num  { font-size: .8rem; font-weight: 800; }
.jss-lbl  { font-size: .5rem; color: var(--text-2); }

.tracking-phone { flex-shrink: 0; display: flex; justify-content: center; width: 320px; }

/* =====================================================
   MAP
   ===================================================== */
.map-section { padding: 100px 0; background: var(--bg2); }
.map-layout {
  display: flex;
  align-items: center;
  gap: 80px;
}

/* Map canvas */
.map-canvas {
  position: absolute;
  inset: 0;
  background: #0d1a2a;
  overflow: hidden;
}
.map-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 20px 20px;
}
.map-path {
  position: absolute;
  background: rgba(255,255,255,.08);
  border-radius: 4px;
}
.p1 { top: 20%; left: 15%; width: 70%; height: 3px; }
.p2 { top: 20%; left: 35%; width: 3px; height: 60%; }
.p3 { top: 55%; left: 15%; width: 55%; height: 3px; }

.map-pin-wrap {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.map-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.4);
  border: 2px solid rgba(255,255,255,.6);
}
.active-dot {
  background: #6434a4;
  border-color: #b06cff;
  box-shadow: 0 0 12px rgba(100,52,164,.8);
  width: 12px; height: 12px;
}
.map-pin-label {
  font-size: .4rem;
  color: rgba(255,255,255,.45);
  text-align: center;
  white-space: nowrap;
  line-height: 1.2;
}
.active-pl { color: #c8a4ff; }

.map-popup-card {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: rgba(13,10,24,.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border);
  padding: 12px 14px;
  flex-shrink: 0;
}
.mpc-name  { font-size: .7rem; font-weight: 700; margin-bottom: 2px; }
.mpc-count { font-size: .55rem; color: var(--text-2); margin-bottom: 8px; }
.mpc-items { display: flex; gap: 6px; flex-wrap: wrap; }
.mpc-chip  {
  font-size: .5rem; font-weight: 600;
  padding: 3px 8px;
  background: rgba(100,52,164,.3);
  border: 1px solid rgba(100,52,164,.4);
  border-radius: 8px;
  color: #c8a4ff;
}

.map-section .app-screen { padding: 44px 0 0; position: relative; }

.map-phone { flex-shrink: 0; display: flex; justify-content: center; width: 320px; }
.map-text { flex: 1; min-width: 0; }
.map-text .section-sub { margin-bottom: 40px; }

/* Icon list */
.icon-list { display: flex; flex-direction: column; gap: 20px; }
.icon-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.il-icon {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.icon-list strong { display: block; font-size: .9rem; font-weight: 700; margin-bottom: 3px; }
.icon-list span   { font-size: .85rem; color: var(--text-2); }

/* =====================================================
   RECAP
   ===================================================== */
.recap-section { padding: 100px 0; }
.recap-layout {
  display: flex;
  align-items: flex-start;
  gap: 80px;
}
.recap-text { flex: 1; min-width: 0; }
.recap-text .section-sub { margin-bottom: 40px; }
.recap-text .icon-list { margin-bottom: 0; }

/* Recap card */
.recap-card-wrap { flex-shrink: 0; width: 320px; }
.recap-card {
  background: linear-gradient(160deg, #160a2a 0%, #0a160a 100%);
  border: 1px solid rgba(100,52,164,.3);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: 0 24px 64px rgba(100,52,164,.2), var(--shadow-lg);
}

.rc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
.rc-event-badge {
  font-size: .75rem;
  font-weight: 700;
  padding: 5px 12px;
  background: rgba(100,52,164,.25);
  border: 1px solid rgba(100,52,164,.35);
  border-radius: 20px;
  color: #c8a4ff;
}
.rc-date { font-size: .75rem; color: var(--text-2); }

.rc-stats-grid {
  display: flex;
  gap: 0;
  margin-bottom: 24px;
  background: rgba(255,255,255,.04);
  border-radius: var(--radius);
  padding: 16px;
}
.rcs-item { flex: 1; text-align: center; }
.rcs-item + .rcs-item { border-left: 1px solid var(--border); }
.rcs-val   { font-size: 1.3rem; font-weight: 800; letter-spacing: -.03em; margin-bottom: 3px; }
.rcs-label { font-size: .65rem; color: var(--text-2); text-transform: uppercase; letter-spacing: .06em; }

.rc-divider { height: 1px; background: var(--border); margin: 20px 0; }

.rc-section-label {
  font-size: .65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--text-3);
  margin-bottom: 12px;
}

.rc-top-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.rc-top-item { display: flex; align-items: center; gap: 10px; }
.medal { font-size: 1rem; flex-shrink: 0; }
.rc-top-name { flex: 1; font-size: .85rem; font-weight: 600; }
.rc-top-stars { font-size: .7rem; color: #d4a520; }

.rc-spending-bars { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.rc-bar-row { display: flex; align-items: center; gap: 10px; }
.rcb-label { font-size: .7rem; font-weight: 600; color: var(--text-2); width: 50px; }
.rcb-track {
  flex: 1;
  height: 6px;
  background: rgba(255,255,255,.07);
  border-radius: 6px;
  overflow: hidden;
}
.rcb-fill {
  height: 100%;
  border-radius: 6px;
  animation: bar-grow .8s ease forwards;
}
.rcb-val { font-size: .7rem; font-weight: 600; width: 44px; text-align: right; }

.rc-share-btn {
  width: 100%;
  padding: 11px;
  background: rgba(100,52,164,.2);
  border: 1px solid rgba(100,52,164,.35);
  border-radius: 12px;
  color: #c8a4ff;
  font-size: .85rem;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font);
  transition: background .2s;
}
.rc-share-btn:hover { background: rgba(100,52,164,.35); }

/* =====================================================
   DOWNLOAD
   ===================================================== */
.download-section {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
  text-align: center;
}
.dl-glow-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.dl-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  animation: glow-drift 18s ease-in-out infinite;
}
.dg1 {
  width: 500px; height: 500px;
  background: rgba(123,63,200,.35);
  top: -150px; left: -100px;
}
.dg2 {
  width: 400px; height: 400px;
  background: rgba(192,70,164,.3);
  bottom: -100px; right: -80px;
  animation-delay: -8s;
}

.dl-content { position: relative; }
.dl-title {
  font-size: clamp(2rem, 4.5vw, 3.8rem);
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: 1.08;
  margin-bottom: 20px;
}
.dl-sub {
  font-size: 1.1rem;
  color: var(--text-2);
  max-width: 440px;
  margin: 0 auto 40px;
}

.dl-badge-wrap { display: flex; justify-content: center; margin-bottom: 20px; }
.app-store-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: rgba(255,255,255,.07);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 18px;
  padding: 14px 28px;
  color: white;
  transition: background .2s, transform .2s, border-color .2s;
  box-shadow: var(--shadow);
}
.app-store-btn:hover {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.25);
  transform: translateY(-2px);
}
.asb-text { display: flex; flex-direction: column; text-align: left; }
.asb-top  { font-size: .7rem; color: rgba(255,255,255,.65); line-height: 1; margin-bottom: 2px; }
.asb-bottom { font-size: 1.2rem; font-weight: 700; line-height: 1; }

.dl-note { font-size: .8rem; color: var(--text-3); }

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: .9rem;
}
.footer-links {
  display: flex;
  gap: 24px;
}
.footer-links a {
  font-size: .85rem;
  color: var(--text-2);
  transition: color .2s;
}
.footer-links a:hover { color: var(--text-1); }
.footer-disclaimer {
  font-size: .72rem;
  color: var(--text-3);
  line-height: 1.6;
}

/* ── Support Modal ────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(0,0,0,.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s;
}
.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.modal-card {
  background: #131320;
  border: 1px solid var(--border-h);
  border-radius: var(--radius-xl);
  padding: 40px;
  width: 100%;
  max-width: 480px;
  position: relative;
  transform: translateY(20px);
  transition: transform .3s;
}
.modal-overlay.open .modal-card {
  transform: translateY(0);
}
.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-2);
  width: 32px; height: 32px;
  border-radius: 50%;
  cursor: pointer;
  font-size: .85rem;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, color .2s;
}
.modal-close:hover { background: var(--surface-h); color: var(--text-1); }
.modal-title {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -.02em;
  margin-bottom: 8px;
}
.modal-sub {
  font-size: .9rem;
  color: var(--text-2);
  margin-bottom: 28px;
}
.form-group {
  margin-bottom: 18px;
}
.form-group label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  color: var(--text-1);
  margin-bottom: 6px;
}
.form-group input,
.form-group textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border-h);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: .9rem;
  color: var(--text-1);
  font-family: var(--font);
  resize: vertical;
  transition: border-color .2s;
  box-sizing: border-box;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #b06cff;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-3); }
.support-submit {
  width: 100%;
  justify-content: center;
  margin-top: 4px;
}
.form-success {
  display: none;
  text-align: center;
  padding: 24px 0 8px;
}
.success-icon {
  font-size: 2.5rem;
  color: #30d158;
  margin-bottom: 12px;
}
.form-success p {
  font-size: 1rem;
  color: var(--text-2);
}


/* ── Policy pages ────────────────────────────────── */
.policy-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 24px;
  background: rgba(7,7,15,.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.policy-nav .nav-inner {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1160px;
  margin: 0 auto;
}
.policy-back {
  font-size: .875rem;
  font-weight: 500;
  color: var(--text-2);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color .2s;
}
.policy-back:hover { color: var(--text-1); }

.policy-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 120px 24px 80px;
}
.policy-page h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -.03em;
  margin-bottom: 10px;
}
.policy-date {
  font-size: .85rem;
  color: var(--text-3);
  margin-bottom: 48px;
  display: block;
}
.policy-page h2 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 36px 0 10px;
  color: var(--text-1);
}
.policy-page p {
  font-size: .95rem;
  color: var(--text-2);
  line-height: 1.8;
  margin-bottom: 14px;
}
.policy-page ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 14px;
}
.policy-page ul li {
  font-size: .95rem;
  color: var(--text-2);
  line-height: 1.8;
  margin-bottom: 6px;
}
.policy-page a { color: #b06cff; }
.policy-divider {
  height: 1px;
  background: var(--border);
  margin: 40px 0;
}

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 900px) {
  .hero-inner { flex-direction: column; text-align: center; gap: 48px; }
  .hero-subtitle { margin: 0 auto 40px; }
  .hero-actions { justify-content: center; }
  .hero-phone { width: 260px; }
  .fb1, .fb2 { display: none; }

  .tracking-layout { flex-direction: column; gap: 48px; }
  .map-layout      { flex-direction: column-reverse; gap: 48px; }
  .recap-layout    { flex-direction: column; gap: 48px; }
  .recap-card-wrap { width: 100%; }

  .events-grid  { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }

  .section-sub { max-width: 100%; }
}

/* =====================================================
   HAMBURGER & MOBILE MENU
   ===================================================== */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 6px;
  background: none;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-1);
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  top: 57px;
  left: 0; right: 0;
  z-index: 99;
  background: rgba(7,7,15,.96);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid var(--border);
  padding: 20px 24px 28px;
  flex-direction: column;
  gap: 4px;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: transform .25s ease, opacity .2s ease;
}
.mobile-menu.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.mobile-menu ul a {
  display: block;
  padding: 13px 4px;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-2);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  transition: color .15s;
}
.mobile-menu ul a:hover { color: var(--text-1); }
.mobile-menu-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding: 14px 20px;
  background: var(--accent);
  color: #fff;
  font-size: .95rem;
  font-weight: 700;
  border-radius: 12px;
  text-decoration: none;
  justify-content: center;
  transition: opacity .15s;
}
.mobile-menu-cta:hover { opacity: .9; }

@media (max-width: 640px) {
  .nav-hamburger { display: flex; }
  .mobile-menu   { display: flex; }
  .nav-links { display: none; }

  /* Compact nav: [Logo] [auto gap] [Download] [☰] */
  .nav-inner    { gap: 8px; }
  .nav-logo     { flex-shrink: 1; min-width: 0; }
  .nav-cta      { margin-left: auto; font-size: .8rem; padding: 6px 14px; gap: 4px; }
  .nav-cta svg  { display: none; }
  .nav-hamburger { margin-left: 4px; }

  /* Use grid on the HHN card header so we can explicitly place:
       row 1: [2026] [gap] [🎃]
       row 2: [📅 Coming August 26th]
     Flex order tricks are unreliable here because both years and icon
     share order:0 but their source order puts icon after the badge. */
  .hhn-card .ec-top {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 8px 0;
  }
  .hhn-card .ec-years { grid-row: 1; grid-column: 1; }
  .hhn-card .ec-icon  { grid-row: 1; grid-column: 3; }
  .hhn-card .ec-top .coming-soon-badge {
    grid-row: 2;
    grid-column: 1 / -1;
    max-width: max-content;
    margin-right: 0;
    margin-top: 0;
    margin-bottom: 12px;
  }
  .features-grid { grid-template-columns: 1fr; }
  .stats-bar { flex-wrap: wrap; gap: 24px; }
  .stat-sep { display: none; }
  .stat-item { flex: 1 1 40%; }

  .tracking-text .section-title,
  .map-text .section-title,
  .recap-text .section-title { font-size: 2rem; }

  .footer-inner {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
  }
  .footer-links {
    flex-direction: column;
    align-items: center;
    gap: 14px;
  }
  .footer-disclaimer { text-align: center; }
}
