:root {
  --bg: #0c0d10;
  --bg-soft: #14161b;
  --text: #e8e9ec;
  --text-muted: #9aa0ab;
  --accent: #e8102e;
  --accent-2: #ff3b52;
  --radius: 14px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: rgba(12, 13, 16, 0.6);
  color: var(--text);
  line-height: 1.6;
}

html {
  background: transparent;
}

.container {
  width: min(1100px, 90%);
  margin-inline: auto;
}

.brand {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--text);
  text-decoration: none;
}

.brand span {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(12, 13, 16, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 1rem;
}

.nav-links {
  display: flex;
  gap: 1.75rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--text);
}

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

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

.hero {
  position: relative;
  min-height: 80vh;
  display: grid;
  place-items: center;
  text-align: center;
}

.hero-bg {
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  filter: blur(13.5px);
  opacity: 0.35;
  transition: opacity 2s ease-in-out;
}

.hero-bg.is-hidden {
  opacity: 0;
}

.hero-content {
  position: relative;
}

.hero-kicker {
  color: var(--accent-2);
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 0.8rem;
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.1;
  max-width: 18ch;
  margin-inline: auto;
}

.hero-sub {
  color: var(--text-muted);
  max-width: 55ch;
  margin: 1.25rem auto 2rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.scroll-hint {
  margin-top: 5rem;
  color: var(--text-muted);
  opacity: 0.5;
  animation: bounce 2s ease-in-out infinite;
}

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

.btn {
  display: inline-block;
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.15s ease, opacity 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  color: #fff;
}

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

.features {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  padding-block: 1.5rem 5rem;
}

.card {
  background: var(--bg-soft);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius);
  padding: 2rem;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(232, 16, 46, 0.55);
}

.card h2 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.card p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.link-arrow {
  color: var(--accent-2);
  text-decoration: none;
  font-weight: 600;
}

.site-footer {
  position: relative;
  background: rgba(12, 13, 16, 0.85);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-block: 2.5rem;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.socials {
  display: flex;
  gap: 1.25rem;
  list-style: none;
}

.socials a {
  color: var(--text-muted);
  text-decoration: none;
}

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

.copy {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Sound waves animation */
.sound-waves {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 60px;
  margin-bottom: 2rem;
}

.sound-waves span {
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--accent-2), var(--accent));
  border-radius: 4px;
  animation: wave 1.2s ease-in-out infinite;
}

.sound-waves span:nth-child(1) { animation-delay: 0s; }
.sound-waves span:nth-child(2) { animation-delay: 0.1s; }
.sound-waves span:nth-child(3) { animation-delay: 0.2s; }
.sound-waves span:nth-child(4) { animation-delay: 0.3s; }
.sound-waves span:nth-child(5) { animation-delay: 0.4s; }
.sound-waves span:nth-child(6) { animation-delay: 0.5s; }
.sound-waves span:nth-child(7) { animation-delay: 0.6s; }
.sound-waves span:nth-child(8) { animation-delay: 0.7s; }
.sound-waves span:nth-child(9) { animation-delay: 0.8s; }
.sound-waves span:nth-child(10) { animation-delay: 0.9s; }

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

@media (max-width: 720px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--bg-soft);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .nav-links.open {
    max-height: 320px;
  }

  .nav-links li a {
    display: block;
    padding: 0.9rem 5%;
  }

  .scroll-hint {
    margin-top: 2.5rem;
  }

  .site-footer {
    z-index: 1;
  }
}
