/* ═══════════════════════════════════════════════════════════
   BANANALYTICS — Shared Stylesheet
   ═══════════════════════════════════════════════════════════ */

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

:root {
  --black:   #0B0B0B;
  --yellow:  #FFE135;
  --cream:   #FAF5E4;
  --coral:   #FF4C4C;
  --violet:  #7C6FFF;
  --muted:   #888580;
  --card-bg: #161616;
  --border:  rgba(255,255,255,0.06);

  --font-display: 'Henny Penny', cursive;
  --font-label:   'Syne', sans-serif;
  --font-body:    'DM Sans', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ─── Typography ─────────────────────────────────────────── */
h1, h2, h3 { font-family: var(--font-display); }

/* ─── Utility ────────────────────────────────────────────── */
.container { width: min(1240px, 92vw); margin-inline: auto; }

.label {
  font-family: var(--font-label);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--yellow);
}

/* ─── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-label);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 100px;
  padding: 0.75rem 1.75rem;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
  border: none;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.35); }
.btn-yellow { background: var(--yellow); color: var(--black); }
.btn-outline {
  background: transparent;
  color: var(--cream);
  border: 1.5px solid rgba(250,245,228,0.25);
}
.btn-outline:hover { border-color: var(--yellow); color: var(--yellow); }
.btn-dark { background: var(--black); color: var(--yellow); }
.btn-dark:hover { box-shadow: 0 12px 32px rgba(0,0,0,0.5); }

/* ─── Blobs ──────────────────────────────────────────────── */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.18;
  pointer-events: none;
  animation: blobPulse 6s ease-in-out infinite;
}
@keyframes blobPulse {
  0%, 100% { transform: scale(1);    opacity: 0.18; }
  50%       { transform: scale(1.12); opacity: 0.24; }
}

/* ─── NAV ────────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1rem 0;
  transition: background 0.3s, backdrop-filter 0.3s;
}
nav.scrolled {
  background: rgba(11,11,11,0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,225,53,0.08);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}
.nav-logo img {
  height: 44px;
  width: auto;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.4));
}
.nav-wordmark {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--yellow);
  line-height: 1;
}
.nav-wordmark span { color: var(--cream); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}
.nav-links a {
  font-family: var(--font-label);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--cream); }
.nav-links a.active { position: relative; }
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0; right: 0;
  height: 2px;
  background: var(--yellow);
  border-radius: 2px;
}

/* Mobile hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--cream);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ─── PAGE HERO (inner pages) ────────────────────────────── */
.page-hero {
  position: relative;
  min-height: 52vh;
  display: flex;
  align-items: flex-end;
  padding-top: 8rem;
  padding-bottom: 4rem;
  overflow: hidden;
}
.page-hero-content { position: relative; z-index: 2; }
.page-hero h1 {
  font-size: clamp(3rem, 7vw, 6.5rem);
  line-height: 1.05;
  margin: 0.5rem 0 1rem;
}
.page-hero h1 .accent { color: var(--yellow); }
.page-hero p {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 540px;
  line-height: 1.7;
}
.page-hero-blob-1 { width: 600px; height: 600px; background: var(--yellow); top: -200px; right: -150px; animation-delay: 0s; }
.page-hero-blob-2 { width: 300px; height: 300px; background: var(--violet); bottom: -50px; left: -80px; animation-delay: 2.5s; }

/* ─── SECTION COMMON ─────────────────────────────────────── */
section { padding: 6rem 0; }
.section-header { margin-bottom: 4rem; }
.section-header h2 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.1;
  margin-top: 0.75rem;
}
.section-header .accent { color: var(--yellow); }

/* ─── MARQUEE ────────────────────────────────────────────── */
.marquee-wrap {
  overflow: hidden;
  border-top: 1px solid rgba(255,225,53,0.12);
  border-bottom: 1px solid rgba(255,225,53,0.12);
  padding: 1rem 0;
  background: rgba(255,225,53,0.03);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 22s linear infinite;
}
.marquee-item {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--yellow);
  padding: 0 2rem;
  white-space: nowrap;
  opacity: 0.7;
}
.marquee-item .sep { color: var(--coral); margin: 0 1rem; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ─── FOOTER ─────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  padding: 3rem 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
}
.footer-brand {}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  margin-bottom: 0.5rem;
}
.footer-logo img { height: 36px; width: auto; }
.footer-logo-text {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--yellow);
}
.footer-logo-text span { color: var(--cream); }
.footer-tagline { font-size: 0.85rem; color: var(--muted); }

.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col-label {
  font-family: var(--font-label);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(136,133,128,0.5);
  margin-bottom: 0.75rem;
}
.footer-links a {
  font-family: var(--font-label);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--yellow); }
.footer-contact { font-size: 0.85rem; color: var(--muted); line-height: 1.9; }
.footer-contact a { color: var(--yellow); text-decoration: none; }
.footer-contact a:hover { text-decoration: underline; }
.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.04);
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: rgba(136,133,128,0.5);
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ─── Scroll Reveal ──────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ─── Pill tags ──────────────────────────────────────────── */
.pill {
  font-family: var(--font-label);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.4rem 0.9rem;
  border-radius: 100px;
  border: 1px solid rgba(255,225,53,0.2);
  color: var(--yellow);
}

/* ─── CTA Banner ─────────────────────────────────────────── */
.cta-banner {
  padding: 5rem 0;
}
.cta-inner {
  background: var(--yellow);
  border-radius: 28px;
  padding: 5rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-inner::before {
  content: '🍌';
  font-size: 20rem;
  position: absolute;
  right: -3rem;
  top: 50%;
  transform: translateY(-50%) rotate(20deg);
  opacity: 0.1;
  pointer-events: none;
}
.cta-inner .label { color: rgba(11,11,11,0.5); }
.cta-inner h2 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  color: var(--black);
  line-height: 1.1;
  margin: 0.5rem 0 1rem;
}
.cta-inner p {
  font-size: 1.05rem;
  color: rgba(11,11,11,0.6);
  max-width: 480px;
  margin: 0 auto 2.5rem;
}
.cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ─── Responsive ─────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0;
    background: rgba(11,11,11,0.97);
    backdrop-filter: blur(20px);
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    z-index: 99;
  }
  .nav-links.open a { font-size: 1.1rem; }
  .nav-toggle { display: flex; z-index: 101; }
  .cta-inner { padding: 3rem 1.5rem; }
  .footer-inner { flex-direction: column; }
  section { padding: 4rem 0; }
}

/* ─── Nav shared script behaviour ───────────────────────── */
/* Applied via JS */
