/* ─────────────────────────────────────────
   BASE — Reset, Variables, Typography, Buttons
───────────────────────────────────────── */

/* Imports */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Barlow+Condensed:wght@300;400;500;600;700&family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500&display=swap');

/* ── Reset ── */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: #080808;
  color: #e0e0e0;
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
a { text-decoration: none; color: inherit; }

/* ── Design Tokens ── */
:root {
  --bg:       #080808;
  --card:     #0e0e0e;
  --surface:  #141414;
  --surface2: #1c1c1c;
  --border:   rgba(255,255,255,0.055);
  --border2:  rgba(255,255,255,0.12);
  --text:     #e0e0e0;
  --muted:    #5a5a5a;
  --muted2:   #888;

  /* Flavor colours */
  --sw: #e8456a;
  --cl: #00d4ff;
  --mp: #f5a623;

  --ease: cubic-bezier(0.16,1,0.3,1);
}

/* ── Grain Overlay ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9997;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='250' height='250'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.03;
}

/* ── Scroll Progress Bar ── */
#prog {
  position: fixed;
  top: 0; left: 0;
  width: 0%;
  height: 2px;
  z-index: 10000;
  background: linear-gradient(90deg, var(--sw), var(--cl), var(--mp));
  pointer-events: none;
  transition: width 0.08s linear;
}

/* ── Sections ── */
.section { padding: 100px 44px; }

.sec-eye {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}

.sec-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.6rem, 5.5vw, 4.6rem);
  letter-spacing: 0.05em;
  color: #fff;
  line-height: 0.93;
  margin-bottom: 60px;
}

.center { text-align: center; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.92rem;
  letter-spacing: 0.2em;
  padding: 14px 34px;
  border-radius: 3px;
  border: none;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.25s;
}

.btn .rpl {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.22);
  transform: scale(0);
  animation: rpl-anim 0.55s linear forwards;
  pointer-events: none;
}

.btn:hover { transform: scale(1.03); }
.btn:active { transform: scale(0.97); }

.btn-white { background: #fff; color: #080808; }
.btn-white:hover { box-shadow: 0 10px 40px rgba(255,255,255,0.12); }

.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.5); }

/* ── Stock Indicators ── */
.sd { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; display: inline-block; }
.s-in  { background: #22c55e; box-shadow: 0 0 6px rgba(34,197,94,0.6);   animation: sd-pulse 2s ease infinite; }
.s-low { background: var(--mp); box-shadow: 0 0 6px rgba(245,166,35,0.55); animation: sd-pulse 1.5s ease infinite; }
.s-out { background: #2a2a2a; }

/* ── Utility ── */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* ── Responsive ── */
@media (max-width: 700px) {
  .section { padding: 70px 18px; }
}
