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

/* ── VARIABLES ── */
:root {
  --black:      #000000;
  --white:      #FFFFFF;
  --accent:     #C8FF00;
  --muted:      #888888;
  --border:     rgba(255,255,255,0.07);
  --card-bg:    #0C0C0C;
  --grad-start: #FA93FA;
  --grad-mid:   #C967E8;
  --grad-end:   #983AD6;
}

html { scroll-behavior: smooth; }

body {
  background: #000;
  color: var(--white);
  font-family: 'Manrope', sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
}

/* noise texture */
body::before {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%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='0.035'/%3E%3C/svg%3E");
  background-size: 180px;
  pointer-events: none;
  z-index: 0;
}

/* dot grid */
body::after {
  content: '';
  position: fixed; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.055) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 0;
}

/* ════════════════════════════
   NAV
════════════════════════════ */
nav {
  position: relative;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 64px;
  border-bottom: 1px solid var(--border);
}

.logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 26px;
  letter-spacing: 3px;
  color: var(--white);
  text-decoration: none;
}
.logo em { color: var(--accent); font-style: normal; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.4px;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--white); }

.nav-cta { display: flex; gap: 10px; }

.btn-ghost {
  padding: 9px 20px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--white);
  border-radius: 7px;
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s;
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.35); }

.btn-filled {
  padding: 9px 20px;
  background: var(--accent);
  color: #000;
  border: none;
  border-radius: 7px;
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: opacity 0.2s;
}
.btn-filled:hover { opacity: 0.85; }

/* ════════════════════════════
   HERO
════════════════════════════ */
.hero {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: calc(100vh - 70px);
  padding: 72px 64px 0;
  overflow: visible;
}

/* purple ambient glow */
.hero-glow {
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 900px; height: 600px;
  background: radial-gradient(ellipse at center top,
    rgba(201,103,232,0.09) 0%,
    rgba(250,147,250,0.04) 40%,
    transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* ── Hero content ── */
.hero-left {
  position: relative;
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  max-width: 860px;
  width: 100%;
  padding-bottom: 80px;
}

/* ── BADGE (original lime style restored) ── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border: 1px solid rgba(200,255,0,0.22);
  border-radius: 100px;
  background: rgba(200,255,0,0.05);
  width: fit-content;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  animation: fadeUp 0.6s ease both;
}

.badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: blink 2s ease-in-out infinite;
}

@keyframes blink { 0%,100% { opacity:1; } 50% { opacity:0.2; } }

/* ── Headline ── */
.headline {
  font-family: 'Bebas Neue', sans-serif;
  line-height: 0.9;
  letter-spacing: 1.5px;
}
.headline .row { display: block; overflow: hidden; }
.headline .row span {
  display: block;
  animation: slideUp 0.75s cubic-bezier(0.16,1,0.3,1) both;
}
.headline .row:nth-child(1) span { font-size: clamp(60px,7.5vw,108px); color: var(--white); animation-delay: 0.08s; }
.headline .row:nth-child(2) span {
  font-size: clamp(60px,7.5vw,108px);
  color: transparent;
  -webkit-text-stroke: 2px var(--accent);
  animation-delay: 0.16s;
}
.headline .row:nth-child(3) span { font-size: clamp(40px,5vw,76px); color: var(--white); animation-delay: 0.24s; }
.headline .row:nth-child(4) span { font-size: clamp(40px,5vw,76px); color: var(--accent); animation-delay: 0.32s; }

@keyframes slideUp {
  from { transform: translateY(105%); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Description ── */
.hero-desc {
  font-size: 15.5px;
  color: var(--muted);
  line-height: 1.75;
  max-width: 520px;
  animation: fadeUp 0.8s ease 0.52s both;
}
.hero-desc strong { color: #ddd; font-weight: 600; }

/* ── CTA row ── */
.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  animation: fadeUp 0.8s ease 0.66s both;
}

/* LIQUID GLASS – Primary */
.btn-cta {
  position: relative;
  padding: 15px 34px;
  background: rgba(200,255,0,0.10);
  color: var(--accent);
  border: 1px solid rgba(200,255,0,0.28);
  border-radius: 50px;
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  letter-spacing: 0.3px;
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  transition: transform 0.18s, box-shadow 0.2s, background 0.2s;
  box-shadow: 0 4px 20px rgba(200,255,0,0.08),
              inset 0 1px 0 rgba(200,255,0,0.18),
              inset 0 -1px 0 rgba(0,0,0,0.2);
  overflow: hidden;
}
.btn-cta::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(200,255,0,0.12) 0%, rgba(200,255,0,0.02) 100%);
  pointer-events: none;
}
.btn-cta:hover {
  transform: translateY(-2px);
  background: rgba(200,255,0,0.16);
  box-shadow: 0 12px 40px rgba(200,255,0,0.20),
              inset 0 1px 0 rgba(200,255,0,0.25);
}
.btn-cta:active { transform: scale(0.98); }

/* LIQUID GLASS – Outline */
.btn-outline-cta {
  position: relative;
  display: flex; align-items: center; gap: 10px;
  padding: 15px 26px;
  background: rgba(255,255,255,0.04);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50px;
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  transition: border-color 0.2s, background 0.2s, transform 0.18s;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 4px 20px rgba(0,0,0,0.25);
  overflow: hidden;
}
.btn-outline-cta::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255,255,255,0.06) 0%, transparent 100%);
  pointer-events: none;
}
.btn-outline-cta:hover {
  border-color: rgba(255,255,255,0.24);
  background: rgba(255,255,255,0.08);
  transform: translateY(-2px);
}

/* play icon — purple gradient */
.play-icon {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--grad-start), var(--grad-mid), var(--grad-end));
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 10px rgba(201,103,232,0.5);
  flex-shrink: 0;
}
.play-icon svg { margin-left: 1.5px; }

/* ── Stats ── */
.hero-stats {
  display: flex;
  align-items: center;
  animation: fadeUp 0.8s ease 0.82s both;
}
.stat {
  padding-right: 32px;
  margin-right: 32px;
  border-right: 1px solid var(--border);
}
.stat:last-child { border-right: none; padding-right: 0; margin-right: 0; }
.stat-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 30px;
  letter-spacing: 1px;
  color: var(--white);
  line-height: 1;
}
.stat-label {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-top: 3px;
}

/* ════════════════════════════
   HERO VIDEO
════════════════════════════ */
.hero-video-section {
  position: relative;
  width: 100%;
  margin-top: -160px;
  z-index: 10;
  pointer-events: none;
  /* CSS fallback glow — always visible even if video fails */
  min-height: 320px;
  background: radial-gradient(ellipse at 50% 40%,
    rgba(201,103,232,0.18) 0%,
    rgba(152,58,214,0.10) 35%,
    rgba(100,30,180,0.04) 60%,
    transparent 80%);
}

.hero-video-section video {
  position: relative;
  width: 100%;
  height: auto;
  display: block;
  mix-blend-mode: screen;
  z-index: 1;
}

/* left/right gradient fade */
.hero-video-overlay-x {
  position: absolute; inset: 0;
  background: linear-gradient(to right,
    #000 0%, transparent 20%, transparent 80%, #000 100%);
  z-index: 2; pointer-events: none;
}

/* top/bottom gradient fade */
.hero-video-overlay-y {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom,
    #000 0%, transparent 28%, transparent 62%, #000 100%);
  z-index: 3; pointer-events: none;
}

/* ════════════════════════════
   LOGO CLOUD
════════════════════════════ */
.logo-cloud {
  position: relative;
  z-index: 5;
  background: rgba(0,0,0,0.20);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 28px 64px;
  overflow: hidden;
}

.logo-cloud-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  max-width: 1400px;
  margin: 0 auto;
}

.logo-cloud-label {
  flex-shrink: 0;
  font-size: 11.5px;
  font-weight: 600;
  color: rgba(255,255,255,0.30);
  letter-spacing: 0.4px;
  white-space: nowrap;
  text-transform: uppercase;
}

.logo-cloud-divider {
  width: 1px; height: 32px;
  background: rgba(255,255,255,0.09);
  flex-shrink: 0;
}

.logo-slider-wrap {
  flex: 1;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.logo-slider {
  display: flex;
  align-items: center;
  gap: 56px;
  width: max-content;
  animation: logoScroll 26s linear infinite;
}
.logo-slider:hover { animation-play-state: paused; }

.logo-item {
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0.40;
  transition: opacity 0.25s;
  flex-shrink: 0;
  filter: brightness(0) invert(1);
  user-select: none;
}
.logo-item:hover { opacity: 0.85; }

.logo-item img {
  height: 20px;
  width: auto;
  display: block;
}

.logo-item svg {
  height: 20px;
  width: auto;
  display: block;
}

@keyframes logoScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ════════════════════════════
   RESPONSIVE
════════════════════════════ */
@media (max-width: 960px) {
  nav { padding: 18px 24px; }
  .nav-links { display: none; }
  .hero { padding: 56px 24px 0; min-height: unset; }
  .hero-left { padding-bottom: 60px; }
  .logo-cloud { padding: 24px 20px; }
  .logo-cloud-inner { flex-direction: column; align-items: center; gap: 16px; }
  .logo-cloud-divider { display: none; }
}

@media (max-width: 500px) {
  .hero { padding: 44px 20px 0; }
  .hero-left { padding-bottom: 40px; }
  .hero-actions { flex-direction: column; width: 100%; }
  .btn-cta, .btn-outline-cta { width: 100%; justify-content: center; }
  .hero-stats { gap: 0; flex-wrap: wrap; row-gap: 12px; justify-content: center; }
  .hero-video-section { margin-top: -80px; min-height: 200px; }
  .hero-glow { width: 100%; }
}

@media (min-width: 1400px) {
  .hero { padding: 80px 120px 0; }
}
