:root {
  color-scheme: dark;
  --bg: #050607;
  --bg-soft: #0d1115;
  --panel: rgba(255, 255, 255, 0.075);
  --panel-strong: rgba(255, 255, 255, 0.12);
  --border: rgba(255, 255, 255, 0.14);
  --text: #f7fbff;
  --muted: rgba(247, 251, 255, 0.72);
  --subtle: rgba(247, 251, 255, 0.52);
  --cyan: #0dcced;
  --blue: #1f94dc;
  --gold: #fcca3d;
  --orange: #ff851a;
  --red: #ed3d29;
  --radius: 24px;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  max-width: 100%;
  overflow-x: hidden;
  background:
    radial-gradient(circle at top right, rgba(13, 204, 237, 0.15), transparent 34rem),
    radial-gradient(circle at left 34rem, rgba(255, 133, 26, 0.16), transparent 30rem),
    linear-gradient(135deg, #020303 0%, #081016 46%, #120705 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  background: #050607;
  content: "";
}

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

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

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(5, 6, 7, 0.72);
  backdrop-filter: blur(22px);
}

.nav {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.08rem;
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  box-shadow: 0 0 30px rgba(255, 133, 26, 0.28);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 650;
}

.nav-links a {
  transition: color 180ms ease;
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  padding: 0 20px;
  border: 1px solid transparent;
  font-weight: 800;
  font-size: 0.95rem;
  line-height: 1;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: #101010;
  background: linear-gradient(135deg, var(--gold), var(--orange) 58%, var(--red));
  box-shadow: 0 18px 44px rgba(255, 133, 26, 0.26);
}

.button-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 76px);
  padding: 82px 0 92px;
}

.hero::before {
  position: absolute;
  inset: 0 0 auto auto;
  z-index: -1;
  width: min(47vw, 560px);
  height: 100%;
  background:
    linear-gradient(90deg, rgba(5, 6, 7, 0.98) 0%, rgba(5, 6, 7, 0.48) 46%, rgba(5, 6, 7, 0.12) 100%),
    url("../images/stage.png") center / cover no-repeat;
  opacity: 0.64;
  content: "";
  mask-image: linear-gradient(90deg, transparent 0, #000 22%, #000 100%);
}

.hero-layout {
  display: grid;
  align-items: center;
  gap: 64px;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 440px);
}

.hero-copy {
  min-width: 0;
  max-width: 690px;
}

.hero-logo {
  width: 118px;
  height: 118px;
  margin-bottom: 30px;
  border-radius: 28px;
  filter: drop-shadow(0 22px 42px rgba(0, 0, 0, 0.45));
}

.hero h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(3.15rem, 8vw, 6.65rem);
  line-height: 0.91;
  font-weight: 900;
  letter-spacing: 0;
}

.gradient-text {
  background: linear-gradient(115deg, var(--cyan), var(--gold) 46%, var(--orange) 74%, var(--red));
  background-clip: text;
  color: transparent;
}

.hero-lede {
  max-width: 650px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(1.13rem, 2vw, 1.38rem);
  line-height: 1.6;
}

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

.device-card {
  position: relative;
  min-width: 0;
  max-width: 100%;
  min-height: 620px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 42px;
  padding: 16px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.17), rgba(255, 255, 255, 0.055));
  box-shadow: var(--shadow);
}

.device-screen {
  height: 100%;
  min-height: 588px;
  border-radius: 30px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.24), rgba(0, 0, 0, 0.7)),
    url("../images/stage.png") center / cover no-repeat;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.coach-panel {
  display: flex;
  min-height: 588px;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  background:
    radial-gradient(circle at 76% 14%, rgba(13, 204, 237, 0.32), transparent 13rem),
    linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.76));
}

.coach-card {
  min-width: 0;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 22px;
  background: rgba(6, 8, 10, 0.72);
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(18px);
}

.coach-title {
  margin: 0 0 8px;
  font-size: 1.25rem;
  font-weight: 850;
}

.coach-copy {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.score-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 18px;
}

.score {
  border-radius: 18px;
  padding: 14px 12px;
  background: rgba(255, 255, 255, 0.08);
}

.score strong {
  display: block;
  font-size: 1.45rem;
}

.score span {
  display: block;
  margin-top: 4px;
  color: var(--subtle);
  font-size: 0.78rem;
  font-weight: 700;
}

.waveform {
  display: flex;
  align-items: end;
  gap: 5px;
  height: 80px;
  margin: 18px 0 2px;
}

.waveform i {
  flex: 1 1 0;
  min-width: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--cyan), var(--gold), var(--orange));
  opacity: 0.82;
}

.section {
  padding: 92px 0;
}

.section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 30px;
}

.section h2,
.legal h1 {
  margin: 0;
  font-size: clamp(2.1rem, 4vw, 3.65rem);
  line-height: 1.02;
  font-weight: 900;
  letter-spacing: 0;
}

.section-header p {
  max-width: 470px;
  margin: 0;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.55;
}

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

.feature-card,
.legal-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  background: var(--panel);
}

.feature-card h3 {
  margin: 18px 0 10px;
  font-size: 1.18rem;
}

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

.icon {
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  background: linear-gradient(135deg, rgba(13, 204, 237, 0.25), rgba(255, 133, 26, 0.24));
  color: var(--gold);
}

.privacy-band {
  padding-bottom: 110px;
}

.privacy-panel {
  display: grid;
  align-items: center;
  gap: 24px;
  grid-template-columns: 1fr auto;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 30px;
  padding: 34px;
  background:
    linear-gradient(135deg, rgba(13, 204, 237, 0.14), rgba(255, 133, 26, 0.13)),
    rgba(255, 255, 255, 0.07);
}

.privacy-panel h2 {
  margin: 0 0 10px;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.privacy-panel p {
  max-width: 660px;
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 34px 0;
  color: var(--subtle);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 0.95rem;
}

.footer-links {
  display: flex;
  gap: 20px;
  color: var(--muted);
  font-weight: 650;
}

.legal {
  padding: 76px 0 104px;
}

.legal-header {
  max-width: 760px;
  margin-bottom: 30px;
}

.legal-header p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.6;
}

.updated {
  color: var(--gold);
  font-weight: 800;
}

.legal-card {
  max-width: 880px;
  padding: clamp(24px, 5vw, 48px);
}

.legal-card h2 {
  margin: 34px 0 10px;
  font-size: 1.45rem;
}

.legal-card h2:first-child {
  margin-top: 0;
}

.legal-card h3 {
  margin: 22px 0 8px;
  font-size: 1.05rem;
}

.legal-card p,
.legal-card li {
  color: var(--muted);
  line-height: 1.7;
}

.legal-card a {
  color: var(--gold);
  font-weight: 700;
}

.legal-card ul {
  padding-left: 1.2rem;
}

@media (max-width: 900px) {
  .nav {
    min-height: 68px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 58px 0 72px;
  }

  .hero::before {
    width: 100%;
    opacity: 0.25;
    mask-image: linear-gradient(180deg, #000 0, transparent 78%);
  }

  .hero-layout,
  .privacy-panel {
    grid-template-columns: 1fr;
  }

  .device-card {
    min-height: 520px;
  }

  .device-screen,
  .coach-panel {
    min-height: 488px;
  }

  .section-header {
    align-items: start;
    flex-direction: column;
  }

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

@media (max-width: 560px) {
  .container {
    width: calc(100vw - 64px);
    max-width: 326px;
    margin-left: 24px;
    margin-right: 24px;
  }

  .nav {
    gap: 10px;
  }

  .brand {
    gap: 8px;
    font-size: 0.98rem;
  }

  .brand img {
    width: 40px;
    height: 40px;
  }

  .hero-layout > * {
    min-width: 0;
  }

  .button {
    width: 100%;
  }

  .site-header .button {
    display: none;
  }

  .hero-copy {
    width: 100%;
    max-width: 100%;
  }

  .hero-logo {
    width: 94px;
    height: 94px;
    margin-bottom: 24px;
  }

  .hero h1 {
    max-width: 350px;
    font-size: clamp(1.95rem, 8vw, 2.2rem);
    line-height: 1;
    overflow-wrap: break-word;
  }

  .hero-lede {
    max-width: 100%;
    font-size: 0.98rem;
  }

  .device-card {
    width: 100%;
    max-width: 100%;
    border-radius: 30px;
    padding: 10px;
    overflow: hidden;
  }

  .device-screen {
    border-radius: 22px;
  }

  .coach-panel {
    padding: 16px;
  }

  .coach-card {
    width: 100%;
    max-width: 100%;
  }

  .coach-copy {
    font-size: 0.9rem;
  }

  .score-row {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 68px 0;
  }

  .privacy-panel {
    padding: 24px;
  }

  .footer-inner {
    align-items: start;
    flex-direction: column;
  }
}
