/* ─────────────────────────────────────────
   SFX LED — Shared Design System
   ───────────────────────────────────────── */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --lime-1: #c6ff00;
  --lime-2: #76ff03;
  --lime-3: #00e676;
  --lime-4: #69ff47;
  --lime-5: #b2ff59;
  --lime-dim: rgba(198, 255, 0, 0.15);
  --bg: #000;
  --text: #fff;
  --text-muted: rgba(255,255,255,0.5);
  --text-faint: rgba(255,255,255,0.28);
  --nav-h: 64px;
}

html, body {
  height: 100%;
  width: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* ── Page Background ── */
.page-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image: url('bg.jpg');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  animation: bgDrift 30s ease-in-out infinite alternate;
}

.page-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to top,
      rgba(0,0,0,0.97) 0%,
      rgba(0,0,0,0.80) 25%,
      rgba(0,0,0,0.55) 55%,
      rgba(0,0,0,0.30) 75%,
      rgba(0,0,0,0.12) 100%
    );
}

/* Solid dark bg for protected pages (no photo bleed) */
.page-bg--solid::after {
  background: rgba(0,0,0,0.88);
}

@keyframes bgDrift {
  from { transform: scale(1.04) translate(0, 0); }
  to   { transform: scale(1.08) translate(-1%, 1%); }
}

/* ── Scan lines ── */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 1;
  background: repeating-linear-gradient(
    to bottom,
    transparent,
    transparent 2px,
    rgba(0,0,0,0.05) 2px,
    rgba(0,0,0,0.05) 4px
  );
  pointer-events: none;
}

/* ── Nav ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(1.5rem, 5vw, 4rem);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.nav-logo {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text);
}

.nav-logo span {
  background: linear-gradient(90deg, var(--lime-1), var(--lime-3));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3rem);
  list-style: none;
}

.nav-links a {
  font-size: 0.72rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text-muted);
  position: relative;
  transition: color 0.25s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -4px;
  width: 0; height: 1px;
  background: var(--lime-1);
  transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.25s;
}

.btn-primary {
  background: linear-gradient(110deg, var(--lime-1), var(--lime-2), var(--lime-3));
  background-size: 200% 100%;
  color: #000;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
}

.btn-primary:hover {
  background-position: 100% center;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(198,255,0,0.25);
}

.btn-outline {
  background: transparent;
  color: var(--lime-1);
  border: 1px solid rgba(198,255,0,0.4);
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
}

.btn-outline:hover {
  border-color: var(--lime-1);
  background: var(--lime-dim);
  transform: translateY(-1px);
}

/* ── Lime gradient text ── */
.lime-text {
  background: linear-gradient(
    110deg,
    var(--lime-1) 0%, var(--lime-2) 20%,
    #fff 38%, var(--lime-3) 55%,
    var(--lime-4) 70%, #fff 82%,
    var(--lime-5) 100%
  );
  background-size: 300% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 4s linear infinite;
}

/* ── Divider ── */
.lime-divider {
  width: clamp(50px, 10vw, 100px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--lime-2), var(--lime-1), transparent);
  border: none;
  margin: 0 auto;
}

/* ── Label / eyebrow ── */
.label {
  font-size: 0.68rem;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.label--lime {
  color: var(--lime-1);
  opacity: 0.7;
}

/* ── Section ── */
.section {
  position: relative;
  z-index: 10;
  padding: clamp(4rem, 10vw, 8rem) clamp(1.5rem, 8vw, 6rem);
}

/* ── Animations ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes shimmer {
  0%   { background-position: 200% center; }
  100% { background-position: -200% center; }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}

.anim-fadeup { animation: fadeUp 0.9s ease both; }
.anim-delay-1 { animation-delay: 0.15s; }
.anim-delay-2 { animation-delay: 0.3s; }
.anim-delay-3 { animation-delay: 0.45s; }
.anim-delay-4 { animation-delay: 0.6s; }
.anim-delay-5 { animation-delay: 0.75s; }
