/* =============================================================
   VALO.TRACK — Global Styles
   Theme: Midnight Purple + Valorant Red + Radiant Teal
   ============================================================= */

:root {
  /* Core palette */
  --bg-900: #07060d;
  --bg-800: #0d0b1a;
  --bg-700: #141125;
  --bg-600: #1c1832;
  --bg-card: #15122a;
  --bg-card-hover: #1e1a38;

  /* Accents */
  --valo-red: #ff4655;
  --valo-red-dark: #d93545;
  --valo-gold: #ece8cd;
  --valo-teal: #59f1c8;
  --valo-purple: #8b5cf6;
  --valo-purple-deep: #5b2dd1;
  --valo-blue: #5aa9ff;

  /* Text */
  --text-100: #f7f5ff;
  --text-300: #c8c2e0;
  --text-500: #8d85a8;
  --text-700: #55506e;

  /* Borders */
  --border-soft: rgba(139, 92, 246, 0.15);
  --border-mid: rgba(139, 92, 246, 0.3);
  --border-strong: rgba(255, 70, 85, 0.5);

  /* Radius / spacing */
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 28px;

  /* Shadows */
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.4);
  --shadow-glow-red: 0 0 40px rgba(255, 70, 85, 0.25);
  --shadow-glow-purple: 0 0 60px rgba(139, 92, 246, 0.3);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg-900);
  color: var(--text-100);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 20% 10%, rgba(139, 92, 246, 0.08), transparent 45%),
    radial-gradient(circle at 80% 60%, rgba(255, 70, 85, 0.06), transparent 50%),
    var(--bg-900);
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

/* =============================================================
   Utility / Buttons
   ============================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--r-sm);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.04em;
  transition: all 0.25s ease;
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--valo-red);
  color: #fff;
  box-shadow: var(--shadow-glow-red);
}

.btn-primary:hover {
  background: var(--valo-red-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 70, 85, 0.5);
}

.btn-secondary {
  background: transparent;
  color: var(--text-100);
  border-color: var(--border-mid);
}

.btn-secondary:hover {
  border-color: var(--valo-purple);
  background: rgba(139, 92, 246, 0.08);
  transform: translateY(-2px);
}

.btn-ghost {
  padding: 8px 18px;
  border: 1px solid var(--border-mid);
  color: var(--text-300);
  font-size: 13px;
  border-radius: var(--r-sm);
  transition: all 0.2s;
}

.btn-ghost:hover {
  color: var(--valo-red);
  border-color: var(--valo-red);
  background: rgba(255, 70, 85, 0.08);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 15px;
}

.eyebrow {
  display: inline-block;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.25em;
  color: var(--valo-red);
  text-transform: uppercase;
  margin-bottom: 16px;
}

/* =============================================================
   Navigation
   ============================================================= */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 48px;
  background: rgba(7, 6, 13, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-soft);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.08em;
}

.brand-mark {
  width: 26px;
  height: 26px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transform: rotate(45deg);
  background: var(--valo-red);
  border-radius: 3px;
}

.brand-mark-inner {
  width: 10px;
  height: 10px;
  background: var(--bg-900);
  border-radius: 1px;
}

.brand-text {
  font-family: 'Inter', sans-serif;
}

.brand-accent {
  color: var(--valo-red);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
  margin: 0;
  padding: 0;
}

.nav-link {
  position: relative;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-300);
  padding: 6px 0;
  transition: color 0.2s;
}

.nav-link:hover {
  color: var(--text-100);
}

.nav-link.active {
  color: var(--valo-red);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  background: var(--valo-red);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-toggle {
  padding: 8px 14px;
  border-radius: var(--r-sm);
  border: 1px solid var(--border-soft);
  color: var(--text-300);
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.1em;
  transition: all 0.2s;
}

.lang-toggle:hover {
  border-color: var(--valo-purple);
  color: var(--valo-purple);
}

/* =============================================================
   Hero
   ============================================================= */

.hero {
  position: relative;
  min-height: calc(100vh - 70px);
  display: flex;
  align-items: center;
  padding: 60px 48px;
  overflow: hidden;
}

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

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(139, 92, 246, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 92, 246, 0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
}

.hero-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.5;
}

.hero-glow--red {
  top: -100px;
  right: -100px;
  background: var(--valo-red);
}

.hero-glow--teal {
  bottom: -150px;
  left: 10%;
  background: var(--valo-purple);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
  max-width: 1300px;
  margin: 0 auto;
  width: 100%;
}

.hero-title {
  font-size: clamp(48px, 7vw, 96px);
  line-height: 0.95;
  margin: 0 0 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.hero-title-line {
  display: block;
  overflow: hidden;
}

.hero-title-accent {
  background: linear-gradient(90deg, var(--valo-red) 0%, var(--valo-purple) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-300);
  max-width: 520px;
  margin: 0 0 36px;
}

.hero-cta {
  display: flex;
  gap: 14px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border-soft);
}

.hero-stat-num {
  font-size: 36px;
  font-weight: 700;
  color: var(--valo-red);
  font-family: 'DM Mono', monospace;
  line-height: 1;
}

.hero-stat-label {
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--text-500);
  text-transform: uppercase;
  margin-top: 8px;
}

/* Hero stage / Jett */
.hero-stage {
  position: relative;
  height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stage-rings {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--border-mid);
  pointer-events: none;
}

.ring-1 {
  width: 400px;
  height: 400px;
  border-color: rgba(255, 70, 85, 0.2);
}

.ring-2 {
  width: 320px;
  height: 320px;
  border-color: rgba(139, 92, 246, 0.25);
  border-style: dashed;
}

.ring-3 {
  width: 240px;
  height: 240px;
  border-color: rgba(90, 241, 200, 0.15);
}

.jett-wrapper {
  position: relative;
  width: 300px;
  height: 480px;
}

.jett-silhouette {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.jett-silhouette svg {
  width: 240px;
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(90, 169, 255, 0.35));
}

.jett-wind {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(157, 246, 255, 0.3);
  opacity: 0;
}

.stage-shadow {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 180px;
  height: 24px;
  background: radial-gradient(ellipse, rgba(0, 0, 0, 0.6), transparent 70%);
  filter: blur(4px);
}

.hero-scroll-hint {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--text-500);
  text-transform: uppercase;
  z-index: 2;
}

.scroll-bar {
  width: 1px;
  height: 32px;
  background: linear-gradient(to bottom, var(--text-500), transparent);
  position: relative;
}

/* =============================================================
   Sections
   ============================================================= */

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}

.section-title {
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 800;
  margin: 0;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.features {
  padding: 120px 48px;
  max-width: 1280px;
  margin: 0 auto;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.feature-card {
  position: relative;
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  overflow: hidden;
}

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

.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-mid);
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

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

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
}

.feature-icon--red { background: rgba(255, 70, 85, 0.12); color: var(--valo-red); }
.feature-icon--teal { background: rgba(90, 241, 200, 0.12); color: var(--valo-teal); }
.feature-icon--purple { background: rgba(139, 92, 246, 0.15); color: var(--valo-purple); }
.feature-icon--gold { background: rgba(236, 232, 205, 0.12); color: var(--valo-gold); }
.feature-icon--mono { background: rgba(200, 194, 224, 0.08); color: var(--text-300); }
.feature-icon--soon { background: rgba(85, 80, 110, 0.15); color: var(--text-500); }

.feature-title {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 10px;
}

.feature-desc {
  font-size: 14px;
  color: var(--text-300);
  line-height: 1.6;
  margin: 0 0 20px;
}

.feature-link {
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.15em;
  color: var(--valo-red);
  text-transform: uppercase;
}

.feature-card--locked .feature-link {
  color: var(--valo-gold);
}

.feature-card--soon {
  opacity: 0.6;
  pointer-events: none;
}

.feature-card--soon .feature-link {
  color: var(--text-500);
}

/* =============================================================
   CTA Band
   ============================================================= */

.cta-band {
  padding: 100px 48px;
  background:
    linear-gradient(135deg, rgba(255, 70, 85, 0.08), rgba(139, 92, 246, 0.08)),
    var(--bg-800);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  text-align: center;
}

.cta-inner {
  max-width: 620px;
  margin: 0 auto;
}

.cta-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  margin: 0 0 14px;
  letter-spacing: -0.02em;
}

.cta-sub {
  font-size: 16px;
  color: var(--text-300);
  margin: 0 0 32px;
}

/* =============================================================
   Footer
   ============================================================= */

.footer {
  padding: 48px;
  border-top: 1px solid var(--border-soft);
  background: var(--bg-900);
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.footer-note {
  font-size: 12px;
  color: var(--text-500);
  margin: 0;
  max-width: 420px;
  line-height: 1.6;
}

.footer-copy {
  font-size: 12px;
  color: var(--text-500);
  margin: 0;
}

/* =============================================================
   Responsive
   ============================================================= */

@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-stage {
    height: 420px;
    order: -1;
  }

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

@media (max-width: 720px) {
  .nav {
    padding: 14px 20px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    padding: 40px 20px;
  }

  .hero-stats {
    gap: 24px;
  }

  .features,
  .cta-band {
    padding: 80px 20px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }
}
