/* ═══════════════════════════════════════════════════
   SNACK NINJA VENDING — Design System v4
   Bebas Neue (display) + Barlow (body)
   Electric Blue + Cyan on pure black
   Inspired by: gaming badge, neon glow, ninja aesthetic
═══════════════════════════════════════════════════ */

/* ── Reset ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: #05060F;
  color: #E8EEFF;
  font-family: 'Barlow', sans-serif;
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5 {
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 0.04em;
  line-height: 1.05;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; }
ul { list-style: none; }
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: #05060F; }
::-webkit-scrollbar-thumb { background: #1E2440; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #2563EB; }

/* ── Design Tokens ──────────────────────────────── */
:root {
  --bg:       #05060F;   /* primary background — near-black navy */
  --base:     #080B18;   /* alternate section bg */
  --dark:     #0D1220;   /* card surface */
  --elev:     #131829;   /* elevated surface */
  --float:    #1E2440;   /* borders, floating UI */
  --border:   rgba(37,99,235,0.15);  /* blue-tinted border */
  --blue:     #2563EB;   /* royal blue — primary accent */
  --blue-l:   #3B82F6;   /* lighter blue for hover */
  --blue-d:   #1D4ED8;   /* darker blue */
  --cyan:     #00BFFF;   /* electric cyan — glow accent */
  --cyan-d:   #0EA5E9;   /* secondary cyan */
  --white:    #E8EEFF;   /* primary text */
  --muted:    #6B7AA8;   /* secondary text */
  --chrome:   #8BAADC;   /* metallic blue-white */
}

/* ── Utilities ──────────────────────────────────── */
.text-center { text-align: center; }
.w-full { width: 100%; }
.mb-4   { margin-bottom: 1rem; }
.mt-12  { margin-top: 3rem; }
.blue   { color: var(--blue); }
.cyan   { color: var(--cyan); }
.chrome { color: var(--chrome); }
.muted  { color: var(--muted); }

/* Gradient text — blue to cyan (matches logo glow) */
.grad-text {
  background: linear-gradient(135deg, #3B82F6 0%, #00BFFF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.grad-text-rev {
  background: linear-gradient(135deg, #00BFFF 0%, #2563EB 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Noise texture ──────────────────────────────── */
.section-noise::before {
  content: '';
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
}

/* ── Scroll reveal ──────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1),
              transform 0.7s cubic-bezier(0.22,1,0.36,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }
.reveal-d4 { transition-delay: 0.4s; }

/* ── Section layouts ────────────────────────────── */
.section-inner { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.section-dark  { background: var(--bg);   padding: 6rem 0; position: relative; }
.section-base  { background: var(--base); padding: 6rem 0; position: relative; }
.section-noise { background: var(--bg);   padding: 6rem 0; position: relative; overflow: hidden; }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-header h2 { font-size: clamp(2.4rem, 5vw, 3.5rem); color: var(--white); margin-top: 0.4rem; }

/* Glow blobs */
.glow-blue-tl { position: absolute; top: -80px;  left: -80px;  width: 500px; height: 500px; background: radial-gradient(circle, rgba(37,99,235,0.12) 0%, transparent 70%);  pointer-events: none; filter: blur(60px); }
.glow-blue-br { position: absolute; bottom: -80px; right: -80px; width: 600px; height: 600px; background: radial-gradient(circle, rgba(37,99,235,0.09) 0%, transparent 70%);  pointer-events: none; filter: blur(80px); }
.glow-cyan-r  { position: absolute; top: 0; right: 0; width: 400px; height: 600px; background: radial-gradient(circle, rgba(0,191,255,0.08) 0%, transparent 70%);  pointer-events: none; filter: blur(60px); }
.glow-cyan-center { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 600px; height: 400px; background: radial-gradient(ellipse, rgba(0,191,255,0.06) 0%, transparent 70%); pointer-events: none; filter: blur(60px); }

/* ── Eyebrow ────────────────────────────────────── */
.eyebrow {
  font-family: 'Barlow', sans-serif;
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--cyan); display: block; margin-bottom: 0.75rem;
}

/* ── Cards ──────────────────────────────────────── */
.card {
  background: var(--dark);
  border: 1px solid var(--border);
  border-radius: 12px; padding: 1.75rem;
  transition: border-color 0.25s cubic-bezier(0.22,1,0.36,1),
              box-shadow   0.25s cubic-bezier(0.22,1,0.36,1),
              transform    0.25s cubic-bezier(0.22,1,0.36,1);
}
.card:hover {
  border-color: rgba(37,99,235,0.45);
  box-shadow: 0 0 0 1px rgba(37,99,235,0.2),
              0 16px 48px rgba(37,99,235,0.12),
              0 4px 12px rgba(0,0,0,0.6);
  transform: translateY(-3px);
}

/* Blue gradient card */
.card-blue {
  background: linear-gradient(145deg, rgba(37,99,235,0.12) 0%, rgba(37,99,235,0.02) 100%);
  border: 1px solid rgba(37,99,235,0.25);
}
/* Cyan gradient card */
.card-cyan {
  background: linear-gradient(145deg, rgba(0,191,255,0.1) 0%, rgba(0,191,255,0.01) 100%);
  border: 1px solid rgba(0,191,255,0.2);
}
/* Glass */
.card-glass {
  background: rgba(255,255,255,0.02);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.06); border-radius: 12px;
}

.card-stat { font-family: 'Bebas Neue', sans-serif; font-size: 3rem; letter-spacing: 0.04em; color: var(--cyan); line-height: 1; }
.card-h3   { font-family: 'Bebas Neue', sans-serif; font-size: 1.25rem; letter-spacing: 0.04em; color: var(--white); margin-bottom: 0.5rem; }
.card-body { font-size: 0.875rem; color: var(--muted); line-height: 1.7; }

/* ── Icon boxes ─────────────────────────────────── */
.icon-box { width: 44px; height: 44px; border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 1.1rem; flex-shrink: 0; }
.blue-icon { background: rgba(37,99,235,0.12); border: 1px solid rgba(37,99,235,0.25); }
.cyan-icon { background: rgba(0,191,255,0.08); border: 1px solid rgba(0,191,255,0.2); }

/* ── Buttons ─────────────────────────────────────── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--blue); color: #fff;
  font-family: 'Bebas Neue', sans-serif; letter-spacing: 0.1em;
  font-size: 1rem; padding: 0.85rem 2rem; border-radius: 6px;
  border: none; cursor: pointer; white-space: nowrap;
  box-shadow: 0 4px 24px rgba(37,99,235,0.4),
              0 0 0 1px rgba(59,130,246,0.3);
  transition: background 0.2s cubic-bezier(0.22,1,0.36,1),
              transform  0.2s cubic-bezier(0.22,1,0.36,1),
              box-shadow 0.2s cubic-bezier(0.22,1,0.36,1);
}
.btn-primary:hover  { background: var(--blue-l); transform: translateY(-2px); box-shadow: 0 10px 36px rgba(37,99,235,0.55), 0 0 20px rgba(0,191,255,0.2); }
.btn-primary:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: transparent; color: var(--white);
  font-family: 'Bebas Neue', sans-serif; letter-spacing: 0.1em;
  font-size: 1rem; padding: 0.83rem 2rem; border-radius: 6px;
  border: 1.5px solid var(--float); cursor: pointer; white-space: nowrap;
  transition: border-color 0.2s cubic-bezier(0.22,1,0.36,1),
              color       0.2s cubic-bezier(0.22,1,0.36,1),
              transform   0.2s cubic-bezier(0.22,1,0.36,1);
}
.btn-ghost:hover  { border-color: var(--cyan); color: var(--cyan); transform: translateY(-2px); }
.btn-ghost:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
.btn-ghost:active { transform: translateY(0); }
.btn-row { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }

/* ── Navbar ─────────────────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(5,6,15,0.9);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(37,99,235,0.2);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 1rem 2rem;
  display: flex; align-items: center; gap: 2rem;
}
.logo-link        { display: flex; align-items: center; gap: 0.6rem; flex-shrink: 0; }
.logo-icon        { width: 60px; height: 60px; object-fit: cover; flex-shrink: 0; border-radius: 8px; box-shadow: 0 0 0 1px rgba(0,191,255,0.35); }
.logo-text-stack  { display: flex; flex-direction: column; line-height: 1; }
.logo-name        { font-family: 'Bebas Neue', sans-serif; font-size: 1.4rem; letter-spacing: 0.07em; color: var(--white); }
.logo-name span   { color: var(--cyan); }
.logo-subtext     { font-size: 0.58rem; font-weight: 700; letter-spacing: 0.28em; text-transform: uppercase; color: var(--muted); margin-top: 2px; }
.nav-links   { display: flex; align-items: center; gap: 2rem; margin-left: auto; }
.nav-link    { font-family: 'Barlow', sans-serif; font-size: 0.875rem; font-weight: 500; color: var(--muted); white-space: nowrap; transition: color 0.18s; }
.nav-link:hover { color: var(--white); }
.nav-link.active { color: var(--cyan); }
.nav-link:focus-visible { outline: 2px solid var(--cyan); border-radius: 2px; }
.nav-cta { margin-left: 1.5rem; }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; margin-left: auto; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--white); border-radius: 2px; transition: transform 0.2s, opacity 0.2s; }
.mobile-menu { display: none; flex-direction: column; gap: 0.75rem; padding: 1rem 2rem 1.5rem; border-top: 1px solid rgba(37,99,235,0.2); }
.mobile-menu.open { display: flex; }
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
}

/* ── Inner page hero ─────────────────────────────── */
.page-hero { background: var(--bg); padding: 9rem 0 5.5rem; position: relative; overflow: hidden; }
.page-hero-glow {
  position: absolute; top: -100px; right: -60px;
  width: 700px; height: 600px;
  background: radial-gradient(ellipse, rgba(37,99,235,0.1) 0%, rgba(0,191,255,0.05) 50%, transparent 70%);
  pointer-events: none; filter: blur(70px);
}
.page-hero-inner { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.page-hero h1 { font-size: clamp(2.6rem, 5.5vw, 4.2rem); color: var(--white); margin: 0.5rem 0 1.25rem; }
.page-hero p  { font-size: 1.05rem; color: var(--muted); max-width: 560px; line-height: 1.7; }

/* ── Callout strip ──────────────────────────────── */
.callout-strip {
  background: linear-gradient(135deg, #050818 0%, #06091A 50%, #050612 100%);
  border-top: 1px solid rgba(37,99,235,0.2);
  border-bottom: 1px solid rgba(37,99,235,0.2);
  padding: 6rem 0; position: relative; overflow: hidden;
}
.callout-strip::before {
  content: ''; position: absolute; top: -100px; left: 50%; transform: translateX(-50%);
  width: 800px; height: 500px;
  background: radial-gradient(ellipse, rgba(37,99,235,0.1) 0%, rgba(0,191,255,0.04) 50%, transparent 70%);
  pointer-events: none; filter: blur(40px);
}
.callout-h2 { font-size: clamp(2.2rem, 5vw, 3.4rem); color: var(--white); margin: 0.75rem 0 1.5rem; }

/* ── Form elements ──────────────────────────────── */
.form-group { display: flex; flex-direction: column; gap: 0.5rem; }
.form-label {
  font-family: 'Barlow', sans-serif; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
}
.form-input {
  background: var(--dark); border: 1.5px solid var(--float); border-radius: 8px;
  padding: 0.875rem 1rem; color: var(--white);
  font-family: 'Barlow', sans-serif; font-size: 0.9rem; outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-input::placeholder { color: rgba(107,122,168,0.5); }
.form-input:hover  { border-color: rgba(37,99,235,0.4); }
.form-input:focus  { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37,99,235,0.15); }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 640px) { .form-row-2 { grid-template-columns: 1fr; } }

/* ── Footer ─────────────────────────────────────── */
.site-footer { background: #030408; border-top: 1px solid rgba(37,99,235,0.15); padding: 4.5rem 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 3rem; padding-bottom: 3.5rem; }
.footer-col-head { font-family: 'Barlow', sans-serif; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.25rem; }
.footer-links { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-bottom { border-top: 1px solid rgba(37,99,235,0.1); padding: 1.5rem 2rem; max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.5rem; }
.footer-bottom p { font-size: 0.8rem; color: var(--muted); }
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
