:root {
  --red: #E50914;
  --red-hover: #F40612;
  --red-deep: #B20710;
  --red-glow: rgba(229, 9, 20, 0.30);
  --bg: #0D0D0D;
  --surface-1: #141414;
  --surface-2: #1F1F1F;
  --surface-3: #2A2A2A;
  --border: #2D2D2D;
  --text: #FFFFFF;
  --muted: #B3B3B3;
  --tertiary: #808080;
  --success: #46D369;
  --warning: #F5A623;
  --info: #0080FF;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 4vw, 64px);
  background: linear-gradient(180deg, rgba(13, 13, 13, 0.92), rgba(13, 13, 13, 0.35));
  border-bottom: 1px solid transparent;
  transition: background 240ms ease, border-color 240ms ease, backdrop-filter 240ms ease;
}

.site-header.scrolled {
  background: rgba(13, 13, 13, 0.78);
  border-color: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 215px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--red), var(--red-deep));
  box-shadow: 0 0 24px var(--red-glow);
  font-weight: 800;
  font-size: 14px;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  margin-top: 2px;
  font-size: 12px;
}

.nav-links {
  display: flex;
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-download,
.primary-btn,
.ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 8px;
  padding: 0 20px;
  font-weight: 700;
  transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease, border-color 220ms ease;
}

.nav-download,
.primary-btn {
  background: var(--red);
  box-shadow: 0 10px 30px rgba(229, 9, 20, 0.28);
}

.nav-download:hover,
.primary-btn:hover {
  background: var(--red-hover);
  transform: translateY(-2px);
  box-shadow: 0 0 26px var(--red-glow);
}

.ghost-btn {
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
}

.ghost-btn:hover {
  border-color: rgba(255, 255, 255, 0.46);
  background: rgba(255, 255, 255, 0.10);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 140px clamp(20px, 5vw, 80px) 72px;
}

.hero-device {
  position: absolute;
  top: 16%;
  right: clamp(20px, 6vw, 100px);
  width: min(52vw, 780px);
  aspect-ratio: 16 / 10;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  padding: 12px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.02));
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.72), 0 0 70px rgba(229, 9, 20, 0.20);
  transform: perspective(1100px) rotateY(-9deg) rotateX(3deg);
}

.device-screen {
  height: 100%;
  overflow: hidden;
  border-radius: 16px;
  background:
    radial-gradient(circle at 72% 18%, rgba(229, 9, 20, 0.34), transparent 26%),
    linear-gradient(135deg, #171717, #070707 58%, #250306);
}

.device-top,
.generic-controls {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  background: rgba(0, 0, 0, 0.58);
}

.device-top span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--red);
  box-shadow: 0 0 18px var(--red);
}

.device-top strong {
  flex: 1;
}

.device-top em {
  color: var(--success);
  font-style: normal;
  font-weight: 800;
  font-size: 12px;
}

.device-hero {
  min-height: 44%;
  display: grid;
  align-content: end;
  gap: 8px;
  padding: 32px;
  background:
    linear-gradient(0deg, rgba(0, 0, 0, 0.76), transparent 70%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 16px);
}

.device-hero i {
  width: 54px;
  height: 4px;
  border-radius: 999px;
  background: var(--red);
  box-shadow: 0 0 20px var(--red-glow);
}

.device-hero b {
  font-size: clamp(26px, 3vw, 44px);
}

.device-hero small {
  color: var(--muted);
  font-weight: 700;
}

.generic-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 18px;
}

.generic-row span {
  min-height: 92px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  background:
    linear-gradient(0deg, rgba(0, 0, 0, 0.65), transparent),
    linear-gradient(135deg, var(--surface-3), var(--surface-1));
}

.generic-row span:first-child {
  outline: 3px solid rgba(229, 9, 20, 0.55);
  box-shadow: 0 0 24px var(--red-glow);
}

.generic-controls i {
  flex: 1;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--red) 56%, var(--surface-3) 56%);
}

.generic-controls small {
  color: var(--muted);
  font-weight: 700;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(13, 13, 13, 0.98) 0%, rgba(13, 13, 13, 0.82) 32%, rgba(13, 13, 13, 0.35) 70%, rgba(13, 13, 13, 0.9) 100%),
    linear-gradient(0deg, var(--bg) 0%, rgba(13, 13, 13, 0.08) 45%);
}

.hero-content {
  position: relative;
  max-width: 760px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.eyebrow span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--red);
  box-shadow: 0 0 18px var(--red);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 8px;
  font-size: clamp(56px, 9vw, 112px);
  line-height: 0.92;
  font-weight: 800;
}

.tagline {
  margin-bottom: 18px;
  color: var(--red);
  font-size: clamp(26px, 4vw, 45px);
  font-weight: 700;
}

.hero-copy {
  max-width: 680px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  gap: 12px;
  max-width: 640px;
  margin: 42px 0 0;
}

.hero-stats div {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(20, 20, 20, 0.72);
  backdrop-filter: blur(14px);
}

.hero-stats dt {
  font-size: 28px;
  font-weight: 800;
}

.hero-stats dd {
  margin: 4px 0 0;
  color: var(--tertiary);
  font-size: 13px;
}

.hash-card {
  max-width: 640px;
  margin-top: 14px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(20, 20, 20, 0.72);
  backdrop-filter: blur(14px);
}

.hash-card span {
  display: block;
  margin-bottom: 8px;
  color: var(--tertiary);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.hash-card code {
  display: block;
  overflow-wrap: anywhere;
  color: var(--text);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 13px;
  line-height: 1.6;
}

.strip {
  display: flex;
  gap: 12px;
  overflow: auto;
  padding: 16px clamp(20px, 5vw, 80px);
  border-block: 1px solid var(--border);
  background: var(--surface-1);
}

.strip span {
  flex: 0 0 auto;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 10px 14px;
  color: var(--muted);
  background: var(--surface-2);
  font-size: 13px;
  font-weight: 600;
}

.section,
.player-section,
.download-band,
.about {
  padding: 88px clamp(20px, 5vw, 80px);
}

.section-heading {
  max-width: 860px;
  margin-bottom: 38px;
}

.section-heading.compact {
  max-width: 420px;
  margin-bottom: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1;
}

.section-heading p,
.player-copy p,
.about p,
.download-band p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

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

.feature-card {
  min-height: 255px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(31, 31, 31, 0.92), rgba(20, 20, 20, 0.92));
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.38);
  transition: transform 300ms ease, border-color 300ms ease, box-shadow 300ms ease;
}

.feature-card:hover {
  transform: scale(1.02);
  border-color: rgba(229, 9, 20, 0.72);
  box-shadow: 0 0 24px var(--red-glow), 0 8px 32px rgba(0, 0, 0, 0.6);
}

.icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
  border-radius: 12px;
  background: rgba(229, 9, 20, 0.14);
  color: var(--red);
  font-size: 22px;
}

.feature-card h3 {
  margin-bottom: 10px;
  font-size: 22px;
}

.feature-card p {
  color: var(--muted);
  line-height: 1.65;
}

.player-section {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 34px;
  align-items: center;
  background: var(--surface-1);
}

.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 26px 0 0;
  list-style: none;
}

.check-list li {
  color: var(--text);
}

.check-list li::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 10px;
  border-radius: 999px;
  background: var(--success);
  box-shadow: 0 0 14px rgba(70, 211, 105, 0.7);
}

.player-panel {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  background: #050505;
  box-shadow: 0 16px 60px rgba(0, 0, 0, 0.72), 0 0 30px rgba(229, 9, 20, 0.12);
}

.mock-top,
.mock-controls {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: rgba(0, 0, 0, 0.82);
}

.mock-top span {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: var(--red);
  box-shadow: 0 0 16px var(--red);
}

.mock-top strong {
  flex: 1;
}

.mock-top em {
  color: var(--success);
  font-style: normal;
  font-weight: 800;
}

.mock-stage {
  position: relative;
  min-height: 360px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 70% 25%, rgba(229, 9, 20, 0.26), transparent 34%),
    linear-gradient(135deg, #111, #050505 46%, #210205);
}

.mock-stage button {
  width: 80px;
  height: 80px;
  border: 6px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: var(--red);
  color: var(--text);
  font-size: 28px;
  box-shadow: 0 0 34px var(--red-glow);
  cursor: pointer;
}

.quality-chip,
.stats-card {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(20, 20, 20, 0.76);
  backdrop-filter: blur(16px);
}

.quality-chip {
  top: 22px;
  right: 22px;
  padding: 9px 12px;
  font-size: 12px;
  font-weight: 800;
}

.stats-card {
  right: 22px;
  bottom: 22px;
  padding: 14px;
  color: var(--muted);
  line-height: 1.8;
}

.stats-card b {
  color: var(--text);
}

.seek {
  flex: 1;
  height: 4px;
  border-radius: 999px;
  background: var(--surface-3);
}

.seek i {
  display: block;
  width: 62%;
  height: 100%;
  border-radius: inherit;
  background: var(--red);
  box-shadow: 0 0 14px var(--red-glow);
}

.download-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background:
    linear-gradient(90deg, rgba(229, 9, 20, 0.22), rgba(13, 13, 13, 0.2)),
    var(--surface-2);
}

.download-band div {
  max-width: 760px;
}

.split {
  display: grid;
  grid-template-columns: 0.65fr 1.35fr;
  gap: 36px;
}

.timeline {
  display: grid;
  gap: 14px;
}

.timeline article {
  padding: 22px;
  border-left: 3px solid var(--red);
  background: var(--surface-1);
}

.timeline time {
  color: var(--red);
  font-weight: 800;
}

.timeline h3 {
  margin: 8px 0;
}

.timeline p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.about {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  border-top: 1px solid var(--border);
}

.footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 28px clamp(20px, 5vw, 80px);
  border-top: 1px solid var(--border);
  color: var(--muted);
  background: #090909;
}

.footer strong {
  color: var(--text);
}

.footer a {
  color: var(--red);
  font-weight: 700;
}

@media (max-width: 960px) {
  .nav-links {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-device {
    opacity: 0.26;
    right: -180px;
    width: 780px;
  }

  .hero-stats,
  .feature-grid,
  .player-section,
  .split,
  .about {
    grid-template-columns: 1fr;
  }

  .download-band {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 12px 16px;
  }

  .brand {
    min-width: 0;
  }

  .brand small,
  .nav-download {
    display: none;
  }

  .hero {
    padding: 118px 18px 48px;
  }

  .hero-copy,
  .section-heading p,
  .player-copy p,
  .about p,
  .download-band p {
    font-size: 15px;
  }

  .hero-actions a,
  .primary-btn,
  .ghost-btn {
    width: 100%;
  }

  .section,
  .player-section,
  .download-band,
  .about {
    padding: 56px 18px;
  }

  .mock-stage {
    min-height: 260px;
  }
}
