:root {
  --hf-bg: #07111f;
  --hf-surface: rgba(255,255,255,0.72);
  --hf-surface-strong: rgba(255,255,255,0.9);
  --hf-text: #0d1726;
  --hf-muted: #5b6678;
  --hf-line: rgba(13, 23, 38, 0.08);
  --hf-brand: #c9a24e;
  --hf-brand-2: #ffdf8a;
  --hf-green: #7ddc94;
  --hf-blue: #73b8ff;
  --hf-violet: #9e89ff;
  --hf-shadow: 0 20px 60px rgba(8, 22, 39, 0.12);
  --hf-radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: var(--hf-text);
  background:
    radial-gradient(circle at top left, rgba(115,184,255,0.18), transparent 30%),
    radial-gradient(circle at top right, rgba(125,220,148,0.14), transparent 24%),
    linear-gradient(180deg, #f8fbff 0%, #eff5fb 45%, #f7fafc 100%);
}

img { max-width: 100%; }
a { text-decoration: none; }

.navbar {
  backdrop-filter: blur(16px);
  background: rgba(248, 251, 255, 0.78);
  border-bottom: 1px solid rgba(13, 23, 38, 0.05);
}

.navbar-brand img {
  height: 36px;
  width: auto;
}

.nav-link {
  color: #334155;
  font-weight: 600;
}

.nav-link:hover,
.nav-link.active {
  color: #0f172a;
}

.btn {
  border-radius: 999px;
  padding: 0.9rem 1.3rem;
  font-weight: 700;
}

.btn-brand {
  background: linear-gradient(135deg, var(--hf-brand), var(--hf-brand-2));
  border: 0;
  color: #111827;
  box-shadow: 0 12px 30px rgba(201, 162, 78, 0.28);
}
.btn-brand:hover { color: #111827; transform: translateY(-1px); }
.btn-outline-soft {
  background: rgba(255,255,255,0.78);
  border: 1px solid rgba(15, 23, 42, 0.08);
  color: #0f172a;
}

.section {
  padding: 6rem 0;
}

.hero {
  padding: 8rem 0 5rem;
}

.eyebrow {
  display: inline-flex;
  gap: .5rem;
  align-items: center;
  padding: .45rem .85rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.76);
  border: 1px solid rgba(15, 23, 42, 0.07);
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #334155;
}

.display-title {
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
  font-weight: 800;
}

.lead-copy {
  color: var(--hf-muted);
  font-size: 1.15rem;
  max-width: 58ch;
}

.glass-card,
.metric-card,
.game-card,
.feature-panel,
.placeholder-box,
.cta-panel {
  background: var(--hf-surface);
  border: 1px solid rgba(255,255,255,0.65);
  box-shadow: var(--hf-shadow);
  border-radius: var(--hf-radius);
}

.hero-visual {
  padding: 1.25rem;
  position: relative;
  overflow: hidden;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: -20% auto auto -20%;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(201,162,78,0.18), transparent 65%);
}

.placeholder-box {
  min-height: 220px;
  padding: 1.2rem;
  position: relative;
  overflow: hidden;
}

.placeholder-box.lg { min-height: 520px; }
.placeholder-box.md { min-height: 340px; }
.placeholder-box.sm { min-height: 180px; }

.placeholder-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(15,23,42,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15,23,42,0.06) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.95), rgba(0,0,0,.25));
}

.placeholder-tag {
  position: relative;
  z-index: 2;
  display: inline-block;
  margin-bottom: .9rem;
  padding: .4rem .7rem;
  border-radius: 999px;
  background: rgba(15,23,42,0.82);
  color: white;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.placeholder-title {
  position: relative;
  z-index: 2;
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: .6rem;
}

.placeholder-copy {
  position: relative;
  z-index: 2;
  color: #465366;
  max-width: 36ch;
}

.placeholder-accent {
  position: absolute;
  right: -40px;
  bottom: -40px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(115,184,255,.25), rgba(115,184,255,0));
}

.metric-card,
.game-card,
.feature-panel,
.cta-panel {
  padding: 1.5rem;
}

.metric-number {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.metric-label,
.kicker,
.small-muted {
  color: var(--hf-muted);
}

.game-card { height: 100%; }
.game-card h3 { font-size: 1.65rem; font-weight: 800; }
.game-card .badge-soft {
  display: inline-flex;
  border-radius: 999px;
  padding: .45rem .7rem;
  background: rgba(15,23,42,.06);
  font-size: .82rem;
  font-weight: 700;
  color: #334155;
}

.icon-bullet {
  width: 2.4rem;
  height: 2.4rem;
  display: inline-grid;
  place-items: center;
  border-radius: 16px;
  font-weight: 800;
  background: rgba(255,255,255,0.8);
}

.split-band {
  background: linear-gradient(180deg, rgba(7,17,31,0.02), rgba(7,17,31,0.045));
  border-top: 1px solid rgba(15,23,42,0.05);
  border-bottom: 1px solid rgba(15,23,42,0.05);
}

.timeline-step {
  position: relative;
  padding-left: 3rem;
  margin-bottom: 1.35rem;
}
.timeline-step::before {
  content: attr(data-step);
  position: absolute;
  left: 0;
  top: -.1rem;
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #0f172a;
  color: #fff;
  font-weight: 800;
  font-size: .9rem;
}

.footer {
  padding: 2rem 0 3rem;
  color: #64748b;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 991.98px) {
  .hero { padding-top: 7rem; }
  .display-title { line-height: 1.02; }
  .section { padding: 4.5rem 0; }
}

.fusion-carousel {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
}

.fusion-slide {
  min-height: 420px;
  border-radius: 24px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 28px;
  align-items: center;
}

.fusion-visual {
  min-height: 320px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px dashed rgba(255, 255, 255, 0.18);
  overflow: hidden;
}

.fusion-copy {
  padding-right: 48px;
}

.fusion-step-label {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.65;
}

.fusion-copy h3 {
  margin-bottom: 12px;
}

.fusion-copy p {
  margin-bottom: 0;
  opacity: 0.75;
}

.fusion-carousel .carousel-control-prev,
.fusion-carousel .carousel-control-next {
  width: 48px;
}

.fusion-indicators {
  margin-bottom: 14px;
}

@media (max-width: 767px) {
  .fusion-slide {
    min-height: auto;
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .fusion-visual {
    min-height: 260px;
  }

  .fusion-copy {
    padding-right: 0;
    text-align: center;
  }
}

.fusion-carousel .carousel-control-prev-icon,
.fusion-carousel .carousel-control-next-icon {
  filter: invert(1) brightness(0); /* turns arrows black */
}
