/* ========== RESET & BASE ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  background: #050510;
  color: #e8e8f0;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

:root {
  --bg: #050510;
  --bg-2: #0c0c1f;
  --surface: #11112a;
  --border: rgba(255,255,255,0.08);
  --text: #e8e8f0;
  --text-dim: #9292b4;
  --accent: #00e5ff;
  --accent-2: #ff3cf2;
  --accent-3: #6e3cff;
  --gradient: linear-gradient(135deg, #6e3cff 0%, #ff3cf2 50%, #00e5ff 100%);
  --gradient-2: linear-gradient(135deg, #00e5ff, #6e3cff);
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 32px; }

/* ========== PARTICLES CANVAS ========== */
#particles {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.4;
}

/* ========== NAV ========== */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 0;
  backdrop-filter: blur(20px);
  background: rgba(5, 5, 16, 0.6);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s;
}
.nav__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.logo {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: var(--text);
  display: flex;
  align-items: center;
}
.logo__bracket { color: var(--accent); }
.logo__year { color: var(--accent-2); font-size: 0.8em; }
.logo--big { font-size: 32px; }

.nav__links {
  display: flex;
  gap: 32px;
  font-size: 14px;
  font-weight: 500;
}
.nav__links a {
  color: var(--text-dim);
  position: relative;
  padding: 4px 0;
  transition: color 0.2s;
}
.nav__links a::after {
  content: ''; position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width 0.3s;
}
.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after { width: 100%; }
.nav__cta { font-size: 14px; padding: 10px 20px; }
.nav__actions { display: flex; gap: 10px; align-items: center; }

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  font-family: inherit;
  font-weight: 600;
  font-size: 15px;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(.4,0,.2,1);
  position: relative;
  overflow: hidden;
}
.btn--primary {
  background: var(--gradient);
  color: white;
  box-shadow: 0 0 0 0 rgba(110, 60, 255, 0.5), 0 10px 40px -10px rgba(0, 229, 255, 0.5);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 0 4px rgba(110, 60, 255, 0.15), 0 20px 50px -10px rgba(255, 60, 242, 0.6);
}
.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn--ghost:hover {
  border-color: var(--accent);
  background: rgba(0, 229, 255, 0.05);
}
.btn--lg { padding: 18px 36px; font-size: 16px; }

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 140px 32px 80px;
  overflow: hidden;
}
.hero {
  /* clip the fixed bg to hero only */
  clip-path: inset(0);
}
.hero__bg {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background-size: cover;
  background-position: center;
  filter: saturate(1.2) contrast(1.05);
  z-index: 0;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, transparent 0%, rgba(5,5,16,0.6) 50%, var(--bg) 100%),
    linear-gradient(180deg, rgba(5,5,16,0.4) 0%, rgba(5,5,16,0.7) 100%);
  z-index: 1;
}
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,229,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,229,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 1;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  text-align: center;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(10px);
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text-dim);
  margin-bottom: 32px;
  animation: float 4s ease-in-out infinite;
}
.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #00ff88;
  box-shadow: 0 0 12px #00ff88;
  animation: pulse 1.5s ease-in-out infinite;
}
.dot--red {
  background: #ff2d4d;
  box-shadow: 0 0 12px #ff2d4d;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.hero__badge-link {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 700;
  margin-left: 4px;
  position: relative;
  transition: opacity 0.2s;
}
.hero__badge-link:hover { opacity: 0.8; }

.hero__title {
  font-size: clamp(56px, 11vw, 160px);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
  text-transform: uppercase;
}
.hero__title-accent {
  display: block;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 30px rgba(110, 60, 255, 0.4));
}
.hero__title-accent em {
  font-style: normal;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 400;
  font-size: 0.7em;
  opacity: 0.8;
}

/* ============ CINEMATIC GLITCH ============ */
.glitch {
  position: relative;
  display: inline-block;
  color: white;
  text-shadow:
    0.04em 0 0 rgba(255, 60, 90, 0.0),
    -0.04em -0.02em 0 rgba(0, 229, 255, 0.0);
  animation: glitch-main 1.8s infinite;
  will-change: transform, text-shadow;
}
.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  will-change: transform, clip-path, opacity;
  mix-blend-mode: screen;
}
.glitch::before {
  color: #ff003c;
  animation: glitch-red 1.8s infinite steps(1);
  text-shadow: 1px 0 #ff003c, -1px 0 #ff003c;
}
.glitch::after {
  color: #00f0ff;
  animation: glitch-cyan 1.8s infinite steps(1);
  text-shadow: -1px 0 #00f0ff, 1px 0 #00f0ff;
}

/* main element — subtle skew + chromatic shadow during burst */
@keyframes glitch-main {
  0%, 38%, 48%, 88%, 100% {
    transform: translate3d(0, 0, 0) skewX(0);
    text-shadow:
      0.04em 0 0 rgba(255, 0, 60, 0),
      -0.04em -0.02em 0 rgba(0, 240, 255, 0);
  }
  /* BURST #1 (39-46%) */
  39% {
    transform: translate3d(-2px, 0, 0) skewX(-3deg);
    text-shadow:
      0.05em 0 0 rgba(255, 0, 60, 0.85),
      -0.05em -0.025em 0 rgba(0, 240, 255, 0.85),
      0.025em 0.04em 0 rgba(255, 60, 242, 0.6);
  }
  40% {
    transform: translate3d(3px, 0, 0) skewX(2deg);
    text-shadow:
      -0.05em 0.02em 0 rgba(255, 0, 60, 0.85),
      0.06em -0.02em 0 rgba(0, 240, 255, 0.85),
      -0.025em 0.05em 0 rgba(255, 60, 242, 0.6);
  }
  41% {
    transform: translate3d(-1px, 1px, 0) skewX(0);
    text-shadow:
      0.04em 0 0 rgba(255, 0, 60, 0.85),
      -0.04em -0.02em 0 rgba(0, 240, 255, 0.85);
  }
  42% {
    transform: translate3d(0, -2px, 0) skewX(1deg);
    text-shadow:
      -0.04em -0.02em 0 rgba(255, 0, 60, 0.7),
      0.04em 0.025em 0 rgba(0, 240, 255, 0.7);
  }
  43% {
    transform: translate3d(2px, 0, 0) skewX(0);
    text-shadow:
      0.06em 0.02em 0 rgba(255, 0, 60, 0.9),
      -0.06em -0.02em 0 rgba(0, 240, 255, 0.9);
  }
  46% {
    transform: translate3d(-1px, 0, 0) skewX(-1deg);
    text-shadow:
      0.03em 0 0 rgba(255, 0, 60, 0.6),
      -0.03em 0 0 rgba(0, 240, 255, 0.6);
  }
  /* BURST #2 (89-96%) */
  89% {
    transform: translate3d(-2px, 0, 0) skewX(-3deg);
    text-shadow:
      0.05em 0 0 rgba(255, 0, 60, 0.85),
      -0.05em -0.025em 0 rgba(0, 240, 255, 0.85),
      0.025em 0.04em 0 rgba(255, 60, 242, 0.6);
  }
  90% {
    transform: translate3d(3px, 0, 0) skewX(2deg);
    text-shadow:
      -0.05em 0.02em 0 rgba(255, 0, 60, 0.85),
      0.06em -0.02em 0 rgba(0, 240, 255, 0.85),
      -0.025em 0.05em 0 rgba(255, 60, 242, 0.6);
  }
  91% {
    transform: translate3d(-1px, 1px, 0) skewX(0);
    text-shadow:
      0.04em 0 0 rgba(255, 0, 60, 0.85),
      -0.04em -0.02em 0 rgba(0, 240, 255, 0.85);
  }
  92% {
    transform: translate3d(0, -2px, 0) skewX(1deg);
    text-shadow:
      -0.04em -0.02em 0 rgba(255, 0, 60, 0.7),
      0.04em 0.025em 0 rgba(0, 240, 255, 0.7);
  }
  93% {
    transform: translate3d(2px, 0, 0) skewX(0);
    text-shadow:
      0.06em 0.02em 0 rgba(255, 0, 60, 0.9),
      -0.06em -0.02em 0 rgba(0, 240, 255, 0.9);
  }
  96% {
    transform: translate3d(-1px, 0, 0) skewX(-1deg);
    text-shadow:
      0.03em 0 0 rgba(255, 0, 60, 0.6),
      -0.03em 0 0 rgba(0, 240, 255, 0.6);
  }
}

/* RED channel — clipped slices that jump */
@keyframes glitch-red {
  0%, 38%, 46.5%, 88%, 94%, 100% {
    transform: translate3d(0, 0, 0);
    clip-path: inset(100% 0 0 0);
    opacity: 0;
  }
  /* BURST #1 */
  39% { transform: translate3d(-5px, -2px, 0); clip-path: inset(8% 0 78% 0); opacity: 0.95; }
  39.5% { transform: translate3d(-3px, 1px, 0); clip-path: inset(60% 0 18% 0); opacity: 0.9; }
  40% { transform: translate3d(-6px, 2px, 0); clip-path: inset(30% 0 55% 0); opacity: 0.95; }
  40.5% { transform: translate3d(-4px, -1px, 0); clip-path: inset(78% 0 8% 0); opacity: 0.85; }
  41% { transform: translate3d(-7px, 0, 0); clip-path: inset(15% 0 65% 0); opacity: 0.9; }
  41.5% { transform: translate3d(-2px, 3px, 0); clip-path: inset(45% 0 35% 0); opacity: 0.8; }
  42% { transform: translate3d(-5px, 0, 0); clip-path: inset(82% 0 5% 0); opacity: 0.9; }
  42.5% { transform: translate3d(-3px, -2px, 0); clip-path: inset(5% 0 88% 0); opacity: 0.75; }
  43% { transform: translate3d(-4px, 1px, 0); clip-path: inset(38% 0 48% 0); opacity: 0.85; }
  46% { transform: translate3d(-2px, 0, 0); clip-path: inset(40% 0 50% 0); opacity: 0.5; }
  /* BURST #2 */
  89% { transform: translate3d(-5px, -2px, 0); clip-path: inset(8% 0 78% 0); opacity: 0.95; }
  89.5% { transform: translate3d(-3px, 1px, 0); clip-path: inset(60% 0 18% 0); opacity: 0.9; }
  90% { transform: translate3d(-6px, 2px, 0); clip-path: inset(30% 0 55% 0); opacity: 0.95; }
  90.5% { transform: translate3d(-4px, -1px, 0); clip-path: inset(78% 0 8% 0); opacity: 0.85; }
  91% { transform: translate3d(-7px, 0, 0); clip-path: inset(15% 0 65% 0); opacity: 0.9; }
  91.5% { transform: translate3d(-2px, 3px, 0); clip-path: inset(45% 0 35% 0); opacity: 0.8; }
  92% { transform: translate3d(-5px, 0, 0); clip-path: inset(82% 0 5% 0); opacity: 0.9; }
  92.5% { transform: translate3d(-3px, -2px, 0); clip-path: inset(5% 0 88% 0); opacity: 0.75; }
  93% { transform: translate3d(-4px, 1px, 0); clip-path: inset(38% 0 48% 0); opacity: 0.85; }
  96% { transform: translate3d(-2px, 0, 0); clip-path: inset(40% 0 50% 0); opacity: 0.5; }
}

/* CYAN channel — opposite-direction slices */
@keyframes glitch-cyan {
  0%, 38%, 46.5%, 88%, 94%, 100% {
    transform: translate3d(0, 0, 0);
    clip-path: inset(100% 0 0 0);
    opacity: 0;
  }
  /* BURST #1 */
  39% { transform: translate3d(5px, 2px, 0); clip-path: inset(70% 0 12% 0); opacity: 0.95; }
  39.5% { transform: translate3d(3px, -1px, 0); clip-path: inset(20% 0 65% 0); opacity: 0.9; }
  40% { transform: translate3d(6px, -3px, 0); clip-path: inset(50% 0 30% 0); opacity: 0.95; }
  40.5% { transform: translate3d(4px, 1px, 0); clip-path: inset(10% 0 80% 0); opacity: 0.85; }
  41% { transform: translate3d(7px, 0, 0); clip-path: inset(62% 0 18% 0); opacity: 0.9; }
  41.5% { transform: translate3d(2px, -3px, 0); clip-path: inset(35% 0 45% 0); opacity: 0.8; }
  42% { transform: translate3d(5px, 0, 0); clip-path: inset(8% 0 80% 0); opacity: 0.9; }
  42.5% { transform: translate3d(3px, 2px, 0); clip-path: inset(85% 0 5% 0); opacity: 0.75; }
  43% { transform: translate3d(4px, -1px, 0); clip-path: inset(48% 0 38% 0); opacity: 0.85; }
  46% { transform: translate3d(2px, 0, 0); clip-path: inset(60% 0 30% 0); opacity: 0.5; }
  /* BURST #2 */
  89% { transform: translate3d(5px, 2px, 0); clip-path: inset(70% 0 12% 0); opacity: 0.95; }
  89.5% { transform: translate3d(3px, -1px, 0); clip-path: inset(20% 0 65% 0); opacity: 0.9; }
  90% { transform: translate3d(6px, -3px, 0); clip-path: inset(50% 0 30% 0); opacity: 0.95; }
  90.5% { transform: translate3d(4px, 1px, 0); clip-path: inset(10% 0 80% 0); opacity: 0.85; }
  91% { transform: translate3d(7px, 0, 0); clip-path: inset(62% 0 18% 0); opacity: 0.9; }
  91.5% { transform: translate3d(2px, -3px, 0); clip-path: inset(35% 0 45% 0); opacity: 0.8; }
  92% { transform: translate3d(5px, 0, 0); clip-path: inset(8% 0 80% 0); opacity: 0.9; }
  92.5% { transform: translate3d(3px, 2px, 0); clip-path: inset(85% 0 5% 0); opacity: 0.75; }
  93% { transform: translate3d(4px, -1px, 0); clip-path: inset(48% 0 38% 0); opacity: 0.85; }
  96% { transform: translate3d(2px, 0, 0); clip-path: inset(60% 0 30% 0); opacity: 0.5; }
}

.hero__sub {
  font-size: clamp(16px, 1.8vw, 20px);
  color: var(--text-dim);
  margin-bottom: 48px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero__meta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.meta-card {
  padding: 18px 28px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 16px;
  backdrop-filter: blur(20px);
  text-align: left;
  transition: all 0.3s;
  min-width: 200px;
}
.meta-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  background: rgba(0, 229, 255, 0.05);
}
.meta-card__label {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  color: var(--text-dim);
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}
.meta-card__value {
  display: block;
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
}
.meta-card--accent {
  background: linear-gradient(135deg, rgba(110,60,255,0.15), rgba(255,60,242,0.15));
  border-color: rgba(255,60,242,0.4);
}
.meta-card--accent .meta-card__value {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero__scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--text-dim);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.hero__scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scroll-line 2s ease-in-out infinite;
}
@keyframes scroll-line {
  0%, 100% { transform: scaleY(0.5); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
}

/* ========== STATS ========== */
.stats {
  position: relative;
  z-index: 2;
  padding: 80px 0;
  background: linear-gradient(180deg, transparent, var(--bg-2));
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 48px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: 24px;
  backdrop-filter: blur(20px);
}
.stat { text-align: center; }
.stat__num {
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 700;
  line-height: 1;
  background: var(--gradient-2);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 8px;
}
.stat__unit { font-size: 0.5em; opacity: 0.8; }
.stat__label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--text-dim);
}

/* ========== SECTIONS ========== */
.section {
  position: relative;
  z-index: 2;
  padding: 120px 0;
}
.section__head {
  margin-bottom: 64px;
  text-align: center;
}
.section__num {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: var(--accent);
  margin-bottom: 12px;
  letter-spacing: 0.1em;
}
.section__title {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  background: linear-gradient(180deg, white 0%, var(--text-dim) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.section__desc {
  color: var(--text-dim);
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto;
}

/* ========== ABOUT ========== */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about__text .lead {
  font-size: 22px;
  margin-bottom: 24px;
  color: var(--text);
}
.about__text .lead strong {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.about__text p {
  color: var(--text-dim);
  margin-bottom: 16px;
}
.about__features {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.about__features li {
  display: flex;
  gap: 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
}
.about__features span { color: var(--accent); }

/* TERMINAL */
.terminal {
  background: #0a0a18;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  box-shadow: 0 30px 80px -20px rgba(0,229,255,0.2),
              0 0 0 1px rgba(0,229,255,0.1);
}
.terminal__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: #11112a;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.terminal__bar span {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: #ff5f56;
}
.terminal__bar span:nth-child(2) { background: #ffbd2e; }
.terminal__bar span:nth-child(3) { background: #27c93f; }
.terminal__title {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  color: var(--text-dim);
  font-size: 12px;
}
.terminal__body {
  padding: 24px;
  min-height: 280px;
}
.terminal .line {
  margin-bottom: 6px;
  color: #c0c0d8;
}
.terminal .prompt { color: var(--accent); margin-right: 8px; }
.terminal .line--out { color: var(--text-dim); padding-left: 16px; }
.terminal .line--ok { color: #00ff88; padding-left: 16px; font-weight: 700; }
.cursor {
  display: inline-block;
  background: var(--accent);
  width: 8px;
  animation: blink 1s infinite;
}
@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

/* ========== TRACKS ========== */
.tracks__note {
  text-align: center;
  color: var(--text-dim);
  font-size: 14px;
  margin-bottom: 32px;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.02em;
}
.tracks__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.track-card {
  position: relative;
  padding: 40px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(.4,0,.2,1);
}
.track-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: var(--gradient);
  opacity: 0;
  transition: opacity 0.4s;
  z-index: 0;
}
.track-card::after {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle, rgba(0,229,255,0.15), transparent 50%);
  opacity: 0;
  transition: opacity 0.4s;
}
.track-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent);
  box-shadow: 0 30px 60px -20px rgba(0,229,255,0.3);
}
.track-card:hover::after { opacity: 1; }
.track-card > * { position: relative; z-index: 1; }
.track-card__icon {
  font-size: 48px;
  margin-bottom: 24px;
  filter: drop-shadow(0 0 20px rgba(0,229,255,0.5));
}
.track-card__num {
  position: absolute;
  top: 32px; right: 32px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: var(--text-dim);
}
.track-card h3 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.track-card p {
  color: var(--text-dim);
  margin-bottom: 20px;
}
.track-card__tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.track-card__tags span {
  padding: 4px 12px;
  background: rgba(0,229,255,0.08);
  border: 1px solid rgba(0,229,255,0.2);
  border-radius: 999px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--accent);
}
.track-card__prize {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  color: var(--accent-2);
  font-weight: 700;
  padding-top: 20px;
  border-top: 1px dashed var(--border);
}

/* ========== SCHEDULE ========== */
.schedule__timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.day {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  transition: all 0.3s;
}
.day:hover {
  border-color: var(--accent-3);
  transform: translateY(-4px);
}
.day__head {
  padding-bottom: 20px;
  margin-bottom: 24px;
  border-bottom: 1px dashed var(--border);
}
.day__head span {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 28px;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.day__head em {
  font-style: normal;
  font-size: 13px;
  color: var(--text-dim);
}
.day ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.day li {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.day li:last-child { border: none; padding-bottom: 0; }
.day time {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: var(--accent);
  font-weight: 700;
}
.day strong {
  display: block;
  font-size: 15px;
  margin-bottom: 4px;
}
.day span {
  font-size: 13px;
  color: var(--text-dim);
}

/* ========== PRIZES PODIUM ========== */
.podium {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 24px;
  align-items: end;
  max-width: 1000px;
  margin: 0 auto;
}
.podium__place {
  position: relative;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 40px 32px;
  text-align: center;
  transition: all 0.4s;
}
.podium__place:hover {
  transform: translateY(-12px);
}
.podium__place--1 {
  background: linear-gradient(180deg, rgba(110,60,255,0.15), rgba(255,60,242,0.15));
  border-color: var(--accent-2);
  padding: 56px 32px;
  box-shadow: 0 30px 80px -20px rgba(255,60,242,0.4);
}
.podium__crown {
  position: absolute;
  top: -32px;
  left: 50%;
  font-size: 48px;
  filter: drop-shadow(0 0 20px gold);
  animation: float-crown 3s ease-in-out infinite;
}
@keyframes float-crown {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, -6px); }
}
.podium__medal { font-size: 64px; margin-bottom: 16px; }
.podium__title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  color: var(--text-dim);
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}
.podium__amount {
  font-size: 36px;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 24px;
}
.podium__place--1 .podium__amount { font-size: 48px; }
.podium ul {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.podium li {
  font-size: 14px;
  color: var(--text-dim);
  padding-left: 20px;
  position: relative;
}
.podium li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
}
.podium__winners {
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: center;
}
.podium__winners li {
  padding: 0 !important;
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
}
.podium__winners li::before { display: none; }
.podium__winners li strong { color: var(--text); }

.prizes__extra {
  text-align: center;
  margin-top: 48px;
  color: var(--text-dim);
}
.prizes__extra strong {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 1.3em;
}

/* ========== JURY ========== */
.jury__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.jury-card {
  text-align: center;
  padding: 32px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: 20px;
  transition: all 0.3s;
}
.jury-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  background: rgba(0,229,255,0.04);
}
.jury-card__avatar {
  width: 96px;
  height: 96px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--g);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 700;
  color: white;
  letter-spacing: -0.02em;
  position: relative;
}
.jury-card__avatar::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: var(--g);
  opacity: 0.3;
  filter: blur(20px);
  z-index: -1;
}

.jury-card__photo {
  width: 120px;
  height: 120px;
  margin: 0 auto 20px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  border: 2px solid var(--border);
  box-shadow: 0 10px 30px -10px rgba(0,0,0,0.5),
              0 0 0 4px rgba(0,229,255,0.06);
  filter: grayscale(100%) contrast(1.05);
  transition: all 0.4s ease;
}
.jury-card:hover .jury-card__photo {
  filter: grayscale(0%) contrast(1.05);
  border-color: var(--accent);
  box-shadow: 0 15px 40px -10px rgba(0,229,255,0.3),
              0 0 0 4px rgba(0,229,255,0.15);
}
.jury-card h4 {
  font-size: 18px;
  margin-bottom: 4px;
}
.jury-card span {
  font-size: 13px;
  color: var(--text-dim);
}

/* ========== SPONSORS MARQUEE ========== */
.sponsors {
  padding: 60px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-2);
  overflow: hidden;
  position: relative;
  z-index: 2;
}
.marquee {
  overflow: hidden;
}
.marquee__track {
  display: flex;
  gap: 48px;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
  font-family: 'JetBrains Mono', monospace;
  font-size: 28px;
  font-weight: 700;
  color: var(--text-dim);
}
.marquee__track span:not(:nth-child(2n)) {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ========== FAQ ========== */
.faq__list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq__item {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s;
}
.faq__item[open] {
  border-color: var(--accent);
  background: rgba(0,229,255,0.03);
}
.faq__item summary {
  padding: 24px 28px;
  cursor: pointer;
  font-weight: 600;
  font-size: 17px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.2s;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: '+';
  font-family: 'JetBrains Mono', monospace;
  font-size: 24px;
  color: var(--accent);
  transition: transform 0.3s;
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p {
  padding: 0 28px 24px;
  color: var(--text-dim);
}

/* ========== CTA ========== */
.cta {
  position: relative;
  z-index: 2;
  padding: 60px 0 140px;
}
.cta__box {
  position: relative;
  padding: 80px 48px;
  text-align: center;
  background: linear-gradient(135deg, rgba(110,60,255,0.15), rgba(255,60,242,0.1), rgba(0,229,255,0.15));
  border: 1px solid var(--accent);
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 40px 100px -20px rgba(110,60,255,0.4);
}
.cta__bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
}
.cta__box > * { position: relative; z-index: 1; }
.cta__box h2 {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.03em;
  background: linear-gradient(180deg, white, #c0c0e0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.cta__box p {
  color: var(--text-dim);
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto 32px;
}
.cta__notice {
  margin-top: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: var(--text-dim);
}

/* ========== FOOTER ========== */
.footer {
  position: relative;
  z-index: 2;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 80px 0 32px;
}
.footer__top {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 64px;
  margin-bottom: 64px;
}
.footer__brand p {
  margin-top: 16px;
  color: var(--text-dim);
  max-width: 320px;
}
.footer__cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.footer__cols h5 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 16px;
  text-transform: uppercase;
}
.footer__cols a {
  display: block;
  color: var(--text-dim);
  margin-bottom: 8px;
  font-size: 14px;
  transition: color 0.2s;
}
.footer__cols a:hover { color: var(--text); }
.footer__bottom {
  padding-top: 32px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-dim);
}

/* ========== REVEAL ANIMATION ========== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(.4,0,.2,1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========== MODAL ========== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.modal.is-open {
  opacity: 1;
  pointer-events: auto;
}
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 5, 16, 0.85);
  backdrop-filter: blur(8px);
}
.modal__content {
  position: relative;
  max-width: 540px;
  width: calc(100% - 40px);
  padding: 56px 48px 48px;
  background: linear-gradient(180deg, #0c0c1f 0%, #11112a 100%);
  border: 1px solid rgba(255, 60, 242, 0.4);
  border-radius: 24px;
  text-align: center;
  box-shadow: 0 40px 100px -20px rgba(110, 60, 255, 0.6),
              0 0 0 1px rgba(0, 229, 255, 0.1);
  transform: scale(0.92) translateY(20px);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(.4,0,.2,1), opacity 0.3s ease;
}
.modal.is-open .modal__content {
  transform: scale(1) translateY(0);
  opacity: 1;
}
.modal__close {
  position: absolute;
  top: 16px; right: 20px;
  background: transparent;
  border: none;
  color: var(--text-dim);
  font-size: 32px;
  cursor: pointer;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.modal__close:hover {
  color: var(--text);
  background: rgba(255,255,255,0.05);
}
.modal__icon {
  font-size: 64px;
  margin-bottom: 16px;
  filter: drop-shadow(0 0 20px rgba(255,60,242,0.5));
}
.modal__content h3 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 16px;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.modal__content p {
  color: var(--text-dim);
  margin-bottom: 12px;
}
.modal__sub {
  font-size: 13px;
  font-family: 'JetBrains Mono', monospace;
  color: var(--accent);
}
.modal__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 28px;
}
.modal__actions .btn { width: 100%; justify-content: center; }

/* ===== Login form ===== */
.login-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
  text-align: left;
}
.login-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.login-field span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
}
.login-field input {
  padding: 14px 18px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  outline: none;
  transition: all 0.2s;
}
.login-field input::placeholder { color: rgba(255,255,255,0.25); }
.login-field input:focus {
  border-color: var(--accent);
  background: rgba(0,229,255,0.05);
  box-shadow: 0 0 0 3px rgba(0,229,255,0.12);
}
.login-error {
  padding: 12px 16px;
  background: rgba(255, 45, 77, 0.12);
  border: 1px solid rgba(255, 45, 77, 0.4);
  border-radius: 12px;
  color: #ff8a9c;
  font-size: 13px;
  font-family: 'JetBrains Mono', monospace;
  animation: shake 0.4s ease;
}
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-6px); }
  40%, 80% { transform: translateX(6px); }
}

/* ========== RESULTS PAGE ========== */
.results-hero {
  position: relative;
  padding: 180px 0 80px;
  text-align: center;
}
.results-hero h1 {
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  line-height: 1;
}
.results-hero h1 .accent {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.results-hero p {
  color: var(--text-dim);
  font-size: 18px;
  margin-bottom: 32px;
}
.results-meta {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 24px;
  padding: 20px 32px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255,255,255,0.02);
  backdrop-filter: blur(10px);
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: var(--text-dim);
}
.results-meta strong { color: var(--accent); }

.results-track {
  margin-bottom: 80px;
}
.results-track__head {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.results-track__num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  color: var(--accent);
}
.results-track__title {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.results-track__case {
  color: var(--text-dim);
  font-size: 14px;
  margin-bottom: 24px;
  padding-left: 4px;
  border-left: 2px solid var(--accent);
  padding: 8px 0 8px 16px;
  background: rgba(0,229,255,0.04);
  border-radius: 0 8px 8px 0;
}

.results-table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}
.results-table th {
  text-align: left;
  padding: 16px 20px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid var(--border);
}
.results-table td {
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  font-size: 14px;
  vertical-align: top;
}
.results-table tr:last-child td { border-bottom: none; }
.results-table tr:hover td { background: rgba(0,229,255,0.03); }

.place {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: 16px;
  width: 60px;
}
.place-1 { color: #ffd700; }
.place-2 { color: #c0c0c0; }
.place-3 { color: #cd7f32; }

.team-name {
  font-weight: 700;
  font-family: 'JetBrains Mono', monospace;
  font-size: 15px;
  color: var(--text);
}
.team-members {
  color: var(--text-dim);
  font-size: 13px;
  line-height: 1.5;
}
.team-solution {
  color: var(--text-dim);
  font-size: 13px;
  font-style: italic;
  max-width: 280px;
}

/* Highlighted row — applied to ALL 1st place teams */
.results-table tr.is-highlighted td {
  background: linear-gradient(90deg, rgba(110,60,255,0.22), rgba(0,229,255,0.10));
  box-shadow: inset 4px 0 0 var(--accent-2);
}
.results-table tr.is-highlighted .team-name {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
}
.results-table tr.is-highlighted .team-members strong {
  color: var(--accent);
}
.results-table tr.is-highlighted .team-solution {
  color: var(--text);
  font-style: normal;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .nav__links { display: none; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .about__grid { grid-template-columns: 1fr; gap: 48px; }
  .tracks__grid { grid-template-columns: 1fr; }
  .schedule__timeline { grid-template-columns: 1fr; }
  .podium { grid-template-columns: 1fr; gap: 16px; }
  .podium__place--1 { padding: 48px 32px; }
  .jury__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .nav__cta { display: none; }
  .hero { padding: 120px 20px 60px; }
  .hero__meta { flex-direction: column; }
  .meta-card { width: 100%; }
  .stats__grid { padding: 24px; gap: 16px; }
  .section { padding: 80px 0; }
  .jury__grid { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; gap: 8px; text-align: center; }
}
