/* ═══════════════════════════════════════════════════════════
   VICE CITY INFINITE — DESIGN SYSTEM
   Retro-Futuristic Neon Noir · 80s Miami × Cyberpunk
═══════════════════════════════════════════════════════════ */

/* ── CSS VARIABLES ── */
:root {
  --bg-deep:       #05050F;
  --bg-dark:       #0A0A1A;
  --bg-mid:        #0F0F28;
  --bg-card:       #12122A;
  --bg-card-hover: #1A1A38;

  --neon-cyan:     #00F5FF;
  --neon-pink:     #FF2D78;
  --neon-gold:     #FFD700;
  --neon-orange:   #FF6B2B;
  --neon-yellow:   #FFE500;
  --neon-green:    #39FF14;

  --text-primary:  #F0EEF8;
  --text-secondary:#A89EC8;
  --text-muted:    #5A5478;

  --border-dim:    rgba(0, 245, 255, 0.12);
  --border-glow:   rgba(0, 245, 255, 0.4);

  --font-display:  'Bebas Neue', sans-serif;
  --font-body:     'Rajdhani', sans-serif;
  --font-mono:     'Share Tech Mono', monospace;

  --radius-sm:     4px;
  --radius-md:     8px;
  --radius-lg:     16px;

  --transition:    0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul { list-style: none; }

/* ── SCANLINES OVERLAY ── */
.scanlines {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.03) 2px,
    rgba(0, 0, 0, 0.03) 4px
  );
}

/* ── PARTICLES ── */
.particles {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: var(--neon-cyan);
  opacity: 0;
  animation: particleDrift var(--dur, 8s) var(--delay, 0s) infinite linear;
}

@keyframes particleDrift {
  0%   { transform: translateY(100vh) translateX(0); opacity: 0; }
  10%  { opacity: 0.6; }
  90%  { opacity: 0.3; }
  100% { transform: translateY(-10vh) translateX(var(--drift, 40px)); opacity: 0; }
}

/* ── CONTAINER ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── REVEAL ANIMATIONS ── */
.reveal-up,
.reveal-left,
.reveal-right {
  opacity: 0;
  transition: opacity 0.7s ease var(--delay, 0s),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1) var(--delay, 0s);
}

.reveal-up    { transform: translateY(40px); }
.reveal-left  { transform: translateX(-50px); }
.reveal-right { transform: translateX(50px); }

.reveal-up.visible,
.reveal-left.visible,
.reveal-right.visible {
  opacity: 1;
  transform: translate(0);
}

/* ═══════════════════════════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition);
}

.navbar.scrolled {
  padding: 12px 0;
  background: rgba(5, 5, 15, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-dim);
  box-shadow: 0 4px 40px rgba(0, 245, 255, 0.05);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-symbol {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--neon-cyan);
  text-shadow: 0 0 20px var(--neon-cyan), 0 0 40px rgba(0, 245, 255, 0.4);
  line-height: 1;
  animation: logoPulse 3s ease-in-out infinite;
}

@keyframes logoPulse {
  0%, 100% { text-shadow: 0 0 20px var(--neon-cyan), 0 0 40px rgba(0, 245, 255, 0.4); }
  50%       { text-shadow: 0 0 30px var(--neon-cyan), 0 0 60px rgba(0, 245, 255, 0.6), 0 0 80px rgba(0, 245, 255, 0.2); }
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  color: var(--text-primary);
}

.logo-text em {
  font-style: normal;
  color: var(--neon-cyan);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 14px;
  right: 14px;
  height: 1px;
  background: var(--neon-cyan);
  transform: scaleX(0);
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--neon-cyan);
}

.nav-link:hover::after {
  transform: scaleX(1);
}

.nav-link.nav-cta {
  background: var(--neon-cyan);
  color: var(--bg-deep);
  font-weight: 700;
  padding: 8px 20px;
  border-radius: var(--radius-sm);
  box-shadow: 0 0 20px rgba(0, 245, 255, 0.3);
}

.nav-link.nav-cta::after { display: none; }

.nav-link.nav-cta:hover {
  background: #fff;
  color: var(--bg-deep);
  box-shadow: 0 0 30px rgba(0, 245, 255, 0.6);
}

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--neon-cyan);
  transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ═══════════════════════════════════════════════════════════
   HERO SECTION
═══════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 120px 24px 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.35;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(255, 45, 120, 0.15) 0%, transparent 70%),
    radial-gradient(ellipse 60% 50% at 20% 50%, rgba(0, 245, 255, 0.1) 0%, transparent 60%),
    linear-gradient(to bottom, rgba(5,5,15,0.3) 0%, rgba(5,5,15,0.7) 60%, var(--bg-deep) 100%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 245, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 245, 255, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: linear-gradient(to bottom, transparent 0%, black 30%, black 70%, transparent 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--neon-cyan);
  border: 1px solid rgba(0, 245, 255, 0.3);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
  background: rgba(0, 245, 255, 0.05);
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--neon-cyan);
  box-shadow: 0 0 8px var(--neon-cyan);
  animation: badgePulse 2s ease-in-out infinite;
}

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

.hero-title {
  font-family: var(--font-display);
  line-height: 0.9;
  margin-bottom: 24px;
  position: relative;
}

.title-line {
  display: block;
  font-size: clamp(5rem, 14vw, 12rem);
  letter-spacing: 0.02em;
  color: var(--text-primary);
}

.title-glow {
  color: var(--neon-cyan);
  text-shadow:
    0 0 40px rgba(0, 245, 255, 0.8),
    0 0 80px rgba(0, 245, 255, 0.4),
    0 0 120px rgba(0, 245, 255, 0.2);
  animation: titleGlow 4s ease-in-out infinite;
}

@keyframes titleGlow {
  0%, 100% {
    text-shadow: 0 0 40px rgba(0, 245, 255, 0.8), 0 0 80px rgba(0, 245, 255, 0.4);
  }
  50% {
    text-shadow: 0 0 60px rgba(0, 245, 255, 1), 0 0 120px rgba(0, 245, 255, 0.6), 0 0 200px rgba(0, 245, 255, 0.2);
  }
}

.title-infinity {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: clamp(8rem, 20vw, 18rem);
  color: transparent;
  -webkit-text-stroke: 1px rgba(0, 245, 255, 0.1);
  pointer-events: none;
  user-select: none;
  animation: infinityFloat 6s ease-in-out infinite;
}

@keyframes infinityFloat {
  0%, 100% { transform: translateY(-50%) rotate(0deg); opacity: 0.5; }
  50%       { transform: translateY(-52%) rotate(3deg); opacity: 0.8; }
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  font-weight: 400;
  color: var(--text-secondary);
  max-width: 560px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-subtitle strong {
  color: var(--text-primary);
  font-weight: 700;
}

/* Hero stats */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stat-value {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--neon-cyan);
  line-height: 1;
  text-shadow: 0 0 20px rgba(0, 245, 255, 0.5);
}

.stat-suffix {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--neon-cyan);
  line-height: 1;
}

.stat-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.stat-divider {
  color: var(--border-dim);
  font-size: 1.5rem;
  align-self: center;
}

/* Hero actions */
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Floating resource indicators */
.hero-floaters {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.floater {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(10, 10, 26, 0.8);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-md);
  padding: 10px 16px;
  backdrop-filter: blur(10px);
  animation: floaterFloat var(--float-dur, 4s) var(--float-delay, 0s) ease-in-out infinite;
  transition: var(--transition);
}

.floater:hover {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 20px rgba(0, 245, 255, 0.2);
}

.floater-money  { --float-dur: 4s;   --float-delay: 0s; }
.floater-health { --float-dur: 4.5s; --float-delay: 0.5s; }
.floater-ammo   { --float-dur: 3.8s; --float-delay: 1s; }
.floater-armor  { --float-dur: 4.2s; --float-delay: 1.5s; }

@keyframes floaterFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}

.floater-icon { font-size: 1.2rem; }

.floater-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--neon-cyan);
  white-space: nowrap;
}

/* Scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
}

.hero-scroll-hint span {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  color: var(--text-muted);
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--neon-cyan), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50%       { opacity: 1; transform: scaleY(1.2); }
}

/* ═══════════════════════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.1);
  transform: translateX(-100%);
  transition: transform 0.4s ease;
}

.btn:hover::before { transform: translateX(0); }

.btn-primary {
  background: var(--neon-cyan);
  color: var(--bg-deep);
  box-shadow: 0 0 30px rgba(0, 245, 255, 0.35), inset 0 1px 0 rgba(255,255,255,0.2);
}

.btn-primary:hover {
  background: #fff;
  box-shadow: 0 0 50px rgba(0, 245, 255, 0.6), 0 8px 30px rgba(0, 245, 255, 0.3);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid rgba(255,255,255,0.2);
}

.btn-secondary:hover {
  border-color: var(--neon-cyan);
  color: var(--neon-cyan);
  box-shadow: 0 0 20px rgba(0, 245, 255, 0.15);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border-dim);
}

.btn-ghost:hover {
  border-color: var(--text-secondary);
  color: var(--text-primary);
  transform: translateY(-2px);
}

.btn-large {
  font-size: 1rem;
  padding: 18px 36px;
}

.btn-icon { font-size: 1rem; }

/* ═══════════════════════════════════════════════════════════
   TICKER BANNER
═══════════════════════════════════════════════════════════ */
.ticker-wrap {
  background: var(--neon-pink);
  overflow: hidden;
  padding: 12px 0;
  position: relative;
  z-index: 10;
}

.ticker-track {
  display: flex;
  gap: 40px;
  white-space: nowrap;
  animation: tickerScroll 30s linear infinite;
}

.ticker-track span {
  font-family: var(--font-display);
  font-size: 0.9rem;
  letter-spacing: 0.15em;
  color: var(--bg-deep);
  flex-shrink: 0;
}

@keyframes tickerScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ═══════════════════════════════════════════════════════════
   SECTION SHARED STYLES
═══════════════════════════════════════════════════════════ */
.section-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--neon-cyan);
  margin-bottom: 12px;
  text-transform: uppercase;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 500px;
}

.section-header {
  margin-bottom: 60px;
}

.text-neon  { color: var(--neon-cyan); text-shadow: 0 0 30px rgba(0, 245, 255, 0.5); }
.text-pink  { color: var(--neon-pink); text-shadow: 0 0 30px rgba(255, 45, 120, 0.5); }
.text-gold  { color: var(--neon-gold); }

/* ═══════════════════════════════════════════════════════════
   ABOUT SECTION
═══════════════════════════════════════════════════════════ */
.about {
  padding: 120px 0;
  position: relative;
  z-index: 1;
}

.about::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--neon-cyan), transparent);
  opacity: 0.3;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* About card stack */
.about-card-stack {
  position: relative;
  width: 340px;
  height: 420px;
  margin: 0 auto;
}

.about-card {
  position: absolute;
  width: 300px;
  height: 380px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-dim);
}

.card-back {
  bottom: 0;
  right: 0;
  background: rgba(255, 45, 120, 0.05);
  border-color: rgba(255, 45, 120, 0.15);
  transform: rotate(6deg);
}

.card-mid {
  bottom: 10px;
  right: 10px;
  background: rgba(0, 245, 255, 0.03);
  border-color: rgba(0, 245, 255, 0.1);
  transform: rotate(3deg);
}

.card-front {
  bottom: 20px;
  right: 20px;
  background: var(--bg-card);
  border-color: rgba(0, 245, 255, 0.25);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(0, 245, 255, 0.1);
  overflow: hidden;
}

.card-front::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--neon-pink), var(--neon-cyan));
}

.card-inner {
  padding: 32px;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.card-symbol {
  font-family: var(--font-display);
  font-size: 4rem;
  color: var(--neon-cyan);
  text-shadow: 0 0 30px rgba(0, 245, 255, 0.6);
  line-height: 1;
  margin-bottom: 8px;
}

.card-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 0.1em;
  color: var(--text-primary);
}

.card-subtitle {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--neon-green);
  margin-bottom: 16px;
}

.card-resources {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: auto;
}

.res-bar {
  display: flex;
  align-items: center;
  gap: 8px;
}

.res-name {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  width: 50px;
  flex-shrink: 0;
}

.res-track {
  flex: 1;
  height: 4px;
  background: rgba(255,255,255,0.08);
  border-radius: 2px;
  overflow: hidden;
}

.res-fill {
  height: 100%;
  width: var(--fill, 0%);
  background: linear-gradient(90deg, var(--neon-cyan), rgba(0, 245, 255, 0.6));
  border-radius: 2px;
  animation: fillPulse 3s ease-in-out infinite;
}

.res-fill.ammo  { background: linear-gradient(90deg, var(--neon-orange), rgba(255, 107, 43, 0.6)); }
.res-fill.money { background: linear-gradient(90deg, var(--neon-gold), rgba(255, 215, 0, 0.6)); }

@keyframes fillPulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.7; }
}

.res-val {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--neon-cyan);
  width: 16px;
  text-align: right;
}

/* About text */
.about-text { padding: 20px 0; }

.about-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 20px;
}

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 32px;
}

.tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--neon-cyan);
  border: 1px solid rgba(0, 245, 255, 0.25);
  padding: 5px 12px;
  border-radius: 100px;
  background: rgba(0, 245, 255, 0.05);
  transition: var(--transition);
}

.tag:hover {
  background: rgba(0, 245, 255, 0.12);
  border-color: var(--neon-cyan);
}

/* ═══════════════════════════════════════════════════════════
   FEATURES SECTION
═══════════════════════════════════════════════════════════ */
.features {
  padding: 120px 0;
  background: var(--bg-dark);
  position: relative;
  z-index: 1;
}

.features::before,
.features::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--neon-pink), transparent);
  opacity: 0.3;
}

.features::before { top: 0; }
.features::after  { bottom: 0; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  cursor: default;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--neon-cyan), transparent);
  opacity: 0;
  transition: var(--transition);
}

.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(0, 245, 255, 0.3);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(0, 245, 255, 0.08);
}

.feature-card:hover::before { opacity: 1; }

.feature-icon-wrap {
  position: relative;
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
}

.feature-icon {
  font-size: 2.2rem;
  line-height: 1;
  position: relative;
  z-index: 1;
}

.feature-glow {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 245, 255, 0.2) 0%, transparent 70%);
  animation: glowPulse 3s ease-in-out infinite;
}

.feature-glow.glow-pink   { background: radial-gradient(circle, rgba(255, 45, 120, 0.2) 0%, transparent 70%); }
.feature-glow.glow-cyan   { background: radial-gradient(circle, rgba(0, 245, 255, 0.2) 0%, transparent 70%); }
.feature-glow.glow-gold   { background: radial-gradient(circle, rgba(255, 215, 0, 0.2) 0%, transparent 70%); }
.feature-glow.glow-yellow { background: radial-gradient(circle, rgba(255, 229, 0, 0.2) 0%, transparent 70%); }
.feature-glow.glow-orange { background: radial-gradient(circle, rgba(255, 107, 43, 0.2) 0%, transparent 70%); }

@keyframes glowPulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50%       { opacity: 1; transform: scale(1.2); }
}

.feature-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.feature-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
}

.feature-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: var(--neon-cyan);
  border: 1px solid rgba(0, 245, 255, 0.2);
  padding: 4px 10px;
  border-radius: 100px;
  background: rgba(0, 245, 255, 0.05);
}

/* Features banner */
.features-banner {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-dim);
}

.banner-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}

.banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(5,5,15,0.7) 0%, rgba(255,45,120,0.2) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.banner-text {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 3rem);
  letter-spacing: 0.1em;
  color: var(--text-primary);
  text-shadow: 0 0 40px rgba(0, 245, 255, 0.5);
  text-align: center;
}

/* ═══════════════════════════════════════════════════════════
   SHOWCASE SECTION
═══════════════════════════════════════════════════════════ */
.showcase {
  padding: 120px 0;
  position: relative;
  z-index: 1;
}

.showcase-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 20px;
  margin-bottom: 60px;
}

.showcase-side {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.showcase-placeholder {
  background: var(--bg-card);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-lg);
  height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
}

.showcase-placeholder:hover {
  border-color: rgba(0, 245, 255, 0.3);
  box-shadow: 0 0 40px rgba(0, 245, 255, 0.08);
}

.showcase-placeholder.small { height: 100px; }

.showcase-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 20px,
      rgba(0, 245, 255, 0.02) 20px,
      rgba(0, 245, 255, 0.02) 40px
    );
}

.placeholder-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: relative;
  z-index: 1;
}

.placeholder-icon {
  font-size: 3rem;
  color: var(--neon-cyan);
  opacity: 0.5;
  transition: var(--transition);
}

.small-icon { font-size: 1.5rem; }

.showcase-placeholder:hover .placeholder-icon { opacity: 1; }

.placeholder-label {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
}

.placeholder-sub {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.placeholder-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  color: var(--neon-pink);
  border: 1px solid rgba(255, 45, 120, 0.3);
  padding: 3px 8px;
  border-radius: 100px;
  background: rgba(255, 45, 120, 0.08);
}

/* Testimonials */
.testimonials {
  position: relative;
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial {
  min-width: 100%;
  padding: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-lg);
  text-align: center;
}

.testimonial p {
  font-size: 1.2rem;
  font-style: italic;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.testimonial cite {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--neon-cyan);
  font-style: normal;
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.t-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
  border: none;
  padding: 0;
}

.t-dot.active {
  background: var(--neon-cyan);
  box-shadow: 0 0 10px rgba(0, 245, 255, 0.5);
  width: 24px;
  border-radius: 4px;
}

/* ═══════════════════════════════════════════════════════════
   INSTALL SECTION
═══════════════════════════════════════════════════════════ */
.install {
  padding: 120px 0;
  background: var(--bg-dark);
  position: relative;
  z-index: 1;
}

.install::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--neon-cyan), transparent);
  opacity: 0.3;
}

.install-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 60px;
  align-items: start;
}

.install-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.install-step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  padding: 32px 0;
  border-bottom: 1px solid var(--border-dim);
  position: relative;
}

.install-step:last-child { border-bottom: none; }

.install-step::before {
  content: '';
  position: absolute;
  left: 39px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, var(--neon-cyan), transparent);
  opacity: 0.15;
}

.step-number {
  font-family: var(--font-display);
  font-size: 3rem;
  color: transparent;
  -webkit-text-stroke: 1px rgba(0, 245, 255, 0.3);
  line-height: 1;
  padding-top: 4px;
  transition: var(--transition);
}

.install-step:hover .step-number {
  color: var(--neon-cyan);
  -webkit-text-stroke: 0;
  text-shadow: 0 0 20px rgba(0, 245, 255, 0.5);
}

.step-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.step-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 12px;
}

.step-desc code,
.step-path code {
  font-family: var(--font-mono);
  font-size: 0.85em;
  color: var(--neon-cyan);
  background: rgba(0, 245, 255, 0.08);
  padding: 2px 6px;
  border-radius: 3px;
  border: 1px solid rgba(0, 245, 255, 0.15);
}

.step-req {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.req-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.req-item {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--neon-orange);
  border: 1px solid rgba(255, 107, 43, 0.25);
  padding: 3px 8px;
  border-radius: 100px;
  background: rgba(255, 107, 43, 0.05);
}

.step-path {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  overflow-x: auto;
}

.step-link {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: var(--neon-cyan);
  transition: var(--transition);
}

.step-link:hover {
  text-shadow: 0 0 10px rgba(0, 245, 255, 0.5);
}

.step-success {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--neon-green);
}

.success-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--neon-green);
  box-shadow: 0 0 10px var(--neon-green);
  animation: badgePulse 2s ease-in-out infinite;
}

/* Install sidebar */
.install-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: 100px;
}

.sidebar-card {
  background: var(--bg-card);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.sidebar-title {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.1em;
  color: var(--text-primary);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-dim);
}

.req-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.req-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.req-check {
  color: var(--neon-green);
  font-size: 0.8rem;
  flex-shrink: 0;
}

.compat-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.compat-item:last-child { border-bottom: none; }

.compat-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
  flex-shrink: 0;
}

.compat-icon.good { background: rgba(57, 255, 20, 0.15); color: var(--neon-green); }
.compat-icon.warn { background: rgba(255, 229, 0, 0.15); color: var(--neon-yellow); }
.compat-icon.bad  { background: rgba(255, 45, 120, 0.15); color: var(--neon-pink); }

.version-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.version-num {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--neon-cyan);
  text-shadow: 0 0 20px rgba(0, 245, 255, 0.4);
}

.version-date,
.version-size {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

/* ═══════════════════════════════════════════════════════════
   DOWNLOAD CTA SECTION
═══════════════════════════════════════════════════════════ */
.download-cta {
  padding: 140px 0;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.cta-bg {
  position: absolute;
  inset: 0;
}

.cta-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 245, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 245, 255, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
}

.cta-glow-left {
  position: absolute;
  left: -200px;
  top: 50%;
  transform: translateY(-50%);
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 45, 120, 0.15) 0%, transparent 70%);
}

.cta-glow-right {
  position: absolute;
  right: -200px;
  top: 50%;
  transform: translateY(-50%);
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 245, 255, 0.12) 0%, transparent 70%);
}

.cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta-infinity {
  font-family: var(--font-display);
  font-size: 8rem;
  color: transparent;
  -webkit-text-stroke: 1px rgba(0, 245, 255, 0.2);
  line-height: 1;
  margin-bottom: -20px;
  animation: infinityFloat 6s ease-in-out infinite;
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.cta-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 40px;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.cta-note {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

/* ═══════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════ */
.footer {
  background: var(--bg-dark);
  border-top: 1px solid var(--border-dim);
  padding: 80px 0 40px;
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 2fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.footer-tagline {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 280px;
}

.footer-nav-title {
  font-family: var(--font-display);
  font-size: 0.9rem;
  letter-spacing: 0.15em;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav a {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: var(--transition);
}

.footer-nav a:hover {
  color: var(--neon-cyan);
}

.footer-disclaimer {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid var(--border-dim);
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — TABLET
═══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .about-grid       { grid-template-columns: 1fr; gap: 60px; }
  .about-visual     { order: -1; }
  .about-card-stack { margin: 0 auto; }

  .features-grid    { grid-template-columns: repeat(2, 1fr); }

  .install-layout   { grid-template-columns: 1fr; }
  .install-sidebar  { position: static; display: grid; grid-template-columns: repeat(3, 1fr); }

  .footer-grid      { grid-template-columns: 1fr 1fr; gap: 40px; }

  .hero-floaters    { display: none; }
  .title-infinity   { display: none; }
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — MOBILE
═══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(5, 5, 15, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 32px 40px;
    gap: 4px;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 1px solid var(--border-dim);
    z-index: 999;
  }

  .nav-links.open { right: 0; }

  .nav-link {
    width: 100%;
    font-size: 1rem;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-dim);
  }

  .nav-link.nav-cta {
    margin-top: 16px;
    text-align: center;
    border-bottom: none;
  }

  .nav-toggle { display: flex; z-index: 1000; }

  .features-grid    { grid-template-columns: 1fr; }
  .showcase-grid    { grid-template-columns: 1fr; }
  .showcase-side    { display: none; }

  .install-sidebar  { grid-template-columns: 1fr; }

  .footer-grid      { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom    { flex-direction: column; text-align: center; }

  .hero-stats       { gap: 16px; }
  .hero-actions     { flex-direction: column; }
  .btn              { justify-content: center; }

  .cta-actions      { flex-direction: column; align-items: center; }

  .about-card-stack { width: 280px; height: 360px; }
  .about-card       { width: 260px; height: 340px; }
}

@media (max-width: 480px) {
  .hero { padding: 100px 20px 60px; }
  .container { padding: 0 16px; }
  .about, .features, .showcase, .install, .download-cta { padding: 80px 0; }
  .section-header { margin-bottom: 40px; }
  .install-step { grid-template-columns: 60px 1fr; }
  .step-number { font-size: 2rem; }
}