:root {
  --bg: #070708;
  --bg-elevated: #101114;
  --bg-card: #121318;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #f5f5f7;
  --muted: #9a9aa3;
  --muted-2: #6e6e78;
  --accent: #3b82f6;
  --accent-2: #60a5fa;
  --accent-soft: rgba(59, 130, 246, 0.16);
  --glow: 0 0 28px rgba(59, 130, 246, 0.45);
  --radius: 16px;
  --max: 1120px;
  --header-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  pointer-events: none;
  position: fixed;
  inset: 0;
  background:
    radial-gradient(900px 420px at 50% -8%, rgba(59, 130, 246, 0.14), transparent 60%),
    radial-gradient(700px 360px at 90% 20%, rgba(99, 102, 241, 0.08), transparent 55%);
  z-index: 0;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

.wrap {
  width: min(100% - 40px, var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  backdrop-filter: blur(16px);
  background: rgba(7, 7, 8, 0.78);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: -0.03em;
  font-size: 1.05rem;
  white-space: nowrap;
}

.logo-mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(145deg, #60a5fa, #2563eb);
  box-shadow: var(--glow);
  display: grid;
  place-items: center;
}

.logo-mark svg {
  width: 16px;
  height: 16px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav a {
  font-size: 0.92rem;
  color: #d4d4d8;
  transition: color 0.2s ease;
}

.nav a:hover,
.nav a.active {
  color: #fff;
}

.menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  background: transparent;
  border-radius: 10px;
  cursor: pointer;
}

.menu-btn span,
.menu-btn span::before,
.menu-btn span::after {
  display: block;
  width: 18px;
  height: 1.5px;
  background: #fff;
  position: relative;
  margin: 0 auto;
}

.menu-btn span::before,
.menu-btn span::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-btn span::before { top: -6px; }
.menu-btn span::after { top: 6px; }

main {
  position: relative;
  z-index: 1;
}

.hero {
  padding: 96px 0 72px;
  text-align: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-2);
  font-size: 0.82rem;
  font-weight: 500;
  border: 1px solid rgba(59, 130, 246, 0.28);
  margin-bottom: 28px;
}

.hero h1,
.page-hero h1 {
  font-size: clamp(2.05rem, 6vw, 4.4rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
  font-weight: 700;
  max-width: 16ch;
  margin: 0 auto 22px;
  overflow-wrap: break-word;
}

.lede {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 62ch;
  margin: 0 auto 32px;
}

.cta-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px 22px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--glow);
}

.btn-primary:hover {
  background: #2563eb;
}

.btn-ghost {
  background: transparent;
  color: #e4e4e7;
}

.btn-ghost:hover {
  color: #fff;
}

.btn-outline {
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.03);
}

.section {
  padding: 72px 0;
}

.section-head {
  text-align: center;
  margin-bottom: 36px;
}

.section-head h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  letter-spacing: -0.035em;
  margin-bottom: 10px;
}

.section-head p {
  color: var(--muted);
}

.player-shell {
  max-width: min(820px, 100%);
  margin: 0 auto;
  background: linear-gradient(180deg, #17181e, #0e0f13);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

.player-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--muted);
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 10px #ef4444;
  display: inline-block;
  margin-right: 8px;
}

.player-stage {
  aspect-ratio: 16 / 9;
  background:
    radial-gradient(circle at 30% 40%, rgba(59, 130, 246, 0.18), transparent 36%),
    linear-gradient(160deg, #1a1c24, #0b0c10);
  display: grid;
  place-items: center;
  position: relative;
}

.play-ring {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
  display: grid;
  place-items: center;
}

.player-meta {
  position: absolute;
  left: 20px;
  bottom: 20px;
  text-align: left;
}

.player-meta strong {
  display: block;
  font-size: 1.05rem;
}

.player-meta span {
  color: var(--muted);
  font-size: 0.85rem;
}

.chat-panel {
  padding: 16px 18px 18px;
  display: grid;
  gap: 12px;
}

.msg {
  display: grid;
  gap: 2px;
  font-size: 0.9rem;
}

.msg b {
  color: var(--accent-2);
  font-weight: 600;
}

.msg span {
  color: #d4d4d8;
}

.composer {
  margin-top: 4px;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
  color: var(--muted-2);
  font-size: 0.88rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.card h3 {
  font-size: 1.12rem;
  letter-spacing: -0.02em;
  margin: 12px 0 8px;
}

.card p {
  color: var(--muted);
  font-size: 0.95rem;
}

.icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent-2);
  display: grid;
  place-items: center;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.step {
  padding: 8px 4px;
}

.step-num {
  color: var(--accent-2);
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 8px;
}

.step h3 {
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.step p {
  color: var(--muted);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  max-width: 860px;
  margin: 0 auto;
}

.price-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px;
}

.price-card.featured {
  border-color: rgba(59, 130, 246, 0.45);
  box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.18), var(--glow);
}

.price-card h3 {
  font-size: 1.25rem;
  margin-bottom: 6px;
}

.price-card .desc {
  color: var(--muted);
  margin-bottom: 18px;
}

.amount {
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  margin-bottom: 20px;
}

.amount span {
  font-size: 1rem;
  color: var(--muted);
  font-weight: 500;
}

.price-card ul {
  list-style: none;
  display: grid;
  gap: 10px;
  margin-bottom: 24px;
  color: #d4d4d8;
}

.price-card li::before {
  content: "✓";
  color: var(--accent-2);
  margin-right: 8px;
}

.page-hero {
  padding: 80px 0 28px;
  text-align: center;
}

.page-hero p {
  color: var(--muted);
  max-width: 62ch;
  margin: 0 auto;
}

.prose {
  max-width: 760px;
  margin: 0 auto 80px;
  color: #d4d4d8;
}

.prose h2 {
  color: #fff;
  margin: 36px 0 12px;
  letter-spacing: -0.03em;
}

.prose p + p {
  margin-top: 14px;
}

.prose ul {
  margin: 12px 0 12px 18px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  max-width: 960px;
  margin: 0 auto 80px;
}

form {
  display: grid;
  gap: 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px;
}

label {
  display: grid;
  gap: 6px;
  font-size: 0.88rem;
  color: #d4d4d8;
}

input,
textarea {
  width: 100%;
  background: #0b0c10;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  outline: none;
}

input:focus,
textarea:focus {
  border-color: rgba(59, 130, 246, 0.6);
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.aside-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px;
  height: fit-content;
}

.aside-card h2 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.aside-card p,
.aside-card a {
  color: var(--muted);
}

.aside-card a:hover {
  color: #fff;
}

.mail-list {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.mail-list small {
  display: block;
  color: var(--muted-2);
  font-size: 0.78rem;
  margin-bottom: 2px;
}

.mail-list a {
  color: var(--accent-2);
  word-break: break-all;
}

.form-success {
  display: none;
  background: var(--accent-soft);
  border: 1px solid rgba(59, 130, 246, 0.3);
  color: var(--accent-2);
  border-radius: 10px;
  padding: 12px 14px;
}

.site-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  padding: 28px 0 40px;
  margin-top: 24px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 22px;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-links a:hover {
  color: #fff;
}

.copy {
  color: var(--muted-2);
  font-size: 0.88rem;
}

@media (max-width: 860px) {
  .logo {
    font-size: 0.92rem;
  }

  .hero h1,
  .page-hero h1 {
    max-width: none;
  }

  .grid-3,
  .steps,
  .pricing-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #0c0d11;
    border-bottom: 1px solid var(--border);
    padding: 8px 0 16px;
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 12px 20px;
  }

  .menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .hero {
    padding: 64px 0 48px;
  }
}
