/* shared lusion-style base — variants only need to set --accent and tweak hero copy */
:root {
  --bg: #0a0a0a;
  --fg: #ededed;
  --fg-dim: rgba(237,237,237,0.55);
  --fg-faint: rgba(237,237,237,0.25);
  --accent: #c9f31d;
  --border: rgba(237,237,237,0.08);
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-weight: 300;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  cursor: none;
}
a { color: inherit; text-decoration: none; }

#bg-canvas { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 0; }
.noise {
  position: fixed; inset: 0; z-index: 2; pointer-events: none;
  opacity: 0.05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* ----- TOPBAR ----- */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px 32px; font-size: 13px;
  mix-blend-mode: difference; color: #fff;
}
.brand {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 500;
}
.brand-mark {
  width: 8px; height: 8px; background: var(--accent);
  border-radius: 50%; box-shadow: 0 0 12px var(--accent);
  animation: pulse 2s ease-in-out infinite;
}
.brand sup { font-size: 9px; opacity: 0.6; }
.nav { display: flex; gap: 28px; }
.nav a { opacity: 0.7; transition: opacity 0.3s; }
.nav a:hover { opacity: 1; }
.cta-mini {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 16px; border: 1px solid var(--border);
  border-radius: 100px; background: rgba(255,255,255,0.02);
  backdrop-filter: blur(8px);
  transition: border-color 0.3s, background 0.3s;
}
.cta-mini:hover { border-color: rgba(255,255,255,0.3); background: rgba(255,255,255,0.05); }
.cta-mini .dot {
  width: 6px; height: 6px; background: var(--accent);
  border-radius: 50%; box-shadow: 0 0 8px var(--accent);
}

/* ----- HERO ----- */
.hero {
  position: relative; z-index: 3;
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 100px 32px 80px;
  max-width: 1400px; margin: 0 auto;
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px; border: 1px solid var(--border);
  border-radius: 100px; background: rgba(255,255,255,0.02);
  backdrop-filter: blur(8px); font-size: 12px;
  color: var(--fg-dim); letter-spacing: 0.04em;
  width: fit-content; margin-bottom: 40px;
}
.hero-tag .pulse {
  width: 6px; height: 6px; background: var(--accent);
  border-radius: 50%; box-shadow: 0 0 12px var(--accent);
  animation: pulse 1.5s ease-in-out infinite;
}
.hero-title {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(64px, 14vw, 220px);
  line-height: 0.88; letter-spacing: -0.04em;
  text-transform: uppercase; margin-bottom: 48px;
}
.hero-title .line { display: block; overflow: hidden; }
.hero-title .line span {
  display: inline-block; transform: translateY(110%);
  background: linear-gradient(180deg, #fff 0%, #fff 40%, #888 70%, #555 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-title .line-2 span {
  padding-left: 8vw;
  background: linear-gradient(180deg, var(--accent) 0%, color-mix(in srgb, var(--accent) 75%, black) 70%, color-mix(in srgb, var(--accent) 40%, black) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-title .line-3 span { padding-left: 18vw; }

.hero-sub {
  font-size: clamp(15px, 1.4vw, 19px); font-weight: 300;
  color: var(--fg-dim); line-height: 1.5;
  max-width: 480px; margin-bottom: 40px;
}
.hero-cta {
  display: flex; gap: 16px; align-items: center;
  margin-bottom: 80px;
}
.btn-primary {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 18px 28px; background: var(--accent); color: #000;
  font-weight: 500; font-size: 14px; letter-spacing: 0.02em;
  border-radius: 100px;
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative; overflow: hidden;
}
.btn-primary::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.4) 50%, transparent 70%);
  transform: translateX(-100%); transition: transform 0.6s;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px color-mix(in srgb, var(--accent) 35%, transparent);
}
.btn-primary:hover::before { transform: translateX(100%); }
.btn-primary svg { transition: transform 0.3s; }
.btn-primary:hover svg { transform: translate(3px, -3px); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 18px 28px; border: 1px solid var(--border);
  border-radius: 100px; font-size: 14px; color: var(--fg-dim);
  transition: border-color 0.3s, color 0.3s;
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.3); color: var(--fg); }

.hero-foot {
  display: flex; gap: 48px; padding-top: 32px;
  border-top: 1px solid var(--border);
}
.stat-num {
  font-family: var(--font-display); font-size: 28px; font-weight: 500;
  letter-spacing: -0.02em; margin-bottom: 4px;
}
.stat:nth-child(2) .stat-num { color: var(--accent); }
.stat-label {
  font-size: 12px; color: var(--fg-faint);
  letter-spacing: 0.04em; text-transform: uppercase;
}

/* ----- CURSOR + TRAIL ----- */
.cursor {
  position: fixed; top: 0; left: 0;
  width: 8px; height: 8px; background: #fff;
  border-radius: 50%; pointer-events: none; z-index: 200;
  transform: translate3d(-50%, -50%, 0);
  mix-blend-mode: difference;
  transition: width 0.25s, height 0.25s;
  will-change: transform;
}
.cursor.hover { width: 36px; height: 36px; }
.cursor-trail {
  position: fixed; top: 0; left: 0;
  width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, var(--accent) 0%, transparent 65%);
  pointer-events: none; z-index: 99;
  filter: blur(36px); opacity: 0.7;
  transform: translate3d(-50%, -50%, 0);
  mix-blend-mode: screen;
  transition: opacity 0.4s, width 0.4s, height 0.4s;
  will-change: transform;
}
.cursor-trail.hover { width: 320px; height: 320px; opacity: 0.9; }

.back-to-menu {
  position: fixed; bottom: 24px; right: 32px; z-index: 11;
  font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--fg-faint); transition: color 0.3s;
  mix-blend-mode: difference;
}
.back-to-menu:hover { color: var(--accent); }

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

@media (max-width: 768px) {
  .nav { display: none; }
  .topbar { padding: 16px 20px; }
  .hero { padding: 80px 20px 60px; }
  .hero-title .line-2 span { padding-left: 0; }
  .hero-title .line-3 span { padding-left: 4vw; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .btn-primary, .btn-ghost { justify-content: center; }
  .hero-foot { flex-direction: column; gap: 20px; }
  html, body { cursor: auto; }
  .cursor, .cursor-trail { display: none; }
}
