@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;600;700&display=swap");

:root {
  --bg: #0f1117;
  --bg-soft: #151a24;
  --ink: #f6f7fb;
  --muted: #aab1c2;
  --accent: #ff6b35;
  --accent-2: #ffd166;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --glass: rgba(255, 255, 255, 0.05);
}

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

body {
  font-family: "Space Grotesk", sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at top, #1a1f2c 0%, #0f1117 60%);
  line-height: 1.6;
  min-height: 100vh;
}

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

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

.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.05);
  z-index: 2000;
}

.progress-bar span {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transition: width 0.1s ease-out;
}

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

.nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.logo {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent);
}

.nav-links {
  display: none;
  gap: 18px;
  align-items: center;
}

.nav-cta {
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--accent);
  color: #10131a;
  font-weight: 700;
}

.burger {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: var(--glass);
  display: grid;
  place-items: center;
  gap: 4px;
  cursor: pointer;
}

.burger {
  display: grid;
}

.burger span {
  width: 18px;
  height: 2px;
  background: var(--accent);
  display: block;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(9, 10, 14, 0.96);
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 80px 24px;
  transform: translateY(-110%);
  transition: transform 0.3s ease;
  z-index: 1600;
  opacity: 0;
  pointer-events: none;
  height: 100vh;
}

.mobile-menu.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu a {
  font-size: 20px;
  font-weight: 600;
}

.menu-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: var(--accent);
  color: #10131a;
  font-weight: 700;
  cursor: pointer;
}

.hero {
  min-height: 70vh;
  display: grid;
  align-items: center;
  text-align: center;
  padding: 96px 16px 60px;
  background: radial-gradient(circle at top left, rgba(255, 107, 53, 0.3), transparent 60%);
}

.hero-content {
  background: rgba(15, 17, 23, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 32px 20px;
  box-shadow: var(--shadow);
}

.hero h1 {
  font-size: clamp(26px, 4vw, 40px);
  margin-bottom: 12px;
}

.subhead {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 20px;
}

.hero-actions {
  display: grid;
  gap: 12px;
}

.btn {
  padding: 14px 18px;
  border-radius: 999px;
  border: none;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-align: center;
}

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

.btn.secondary {
  background: transparent;
  border: 1px solid var(--accent-2);
  color: var(--accent-2);
}

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

section {
  padding: 56px 16px;
  max-width: 1100px;
  margin: 0 auto;
}

.section-head {
  text-align: center;
  margin-bottom: 24px;
}

.section-head h2 {
  font-size: clamp(20px, 3vw, 30px);
}

.pains-grid,
.cases-grid {
  display: grid;
  gap: 16px;
}

.pain-card,
.case-item {
  background: var(--glass);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 20px;
  box-shadow: var(--shadow);
}

.pain-card h3,
.case-item h4 {
  color: var(--accent);
  margin-bottom: 8px;
}

.solution-content {
  text-align: center;
  color: var(--muted);
}

.author-grid {
  display: grid;
  gap: 20px;
  align-items: center;
}

.author-photo img {
  border-radius: 20px;
}

.author-info ul {
  list-style: none;
  display: grid;
  gap: 6px;
  color: var(--muted);
}

.program-list {
  display: grid;
  gap: 12px;
}

.program-item {
  background: var(--glass);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 14px 16px;
  color: var(--muted);
}

.program-item summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 600;
}

.prices-table {
  display: grid;
  gap: 16px;
}

.price-card {
  background: var(--bg-soft);
  border-radius: 18px;
  padding: 22px;
  box-shadow: var(--shadow);
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.price-card.featured {
  border: 2px solid var(--accent);
  transform: none;
}

.price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-2);
  margin: 12px 0;
}

.timer {
  background: linear-gradient(120deg, rgba(255, 107, 53, 0.2), rgba(255, 209, 102, 0.2));
  border-radius: 20px;
  text-align: center;
  padding: 32px 16px;
}

.countdown {
  font-size: 2.4rem;
  font-weight: 700;
  margin-top: 8px;
}

.register-content {
  text-align: center;
}

.contacts-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.contact-btn {
  padding: 14px;
  border-radius: 14px;
  background: var(--accent);
  color: #10131a;
  text-align: center;
  font-weight: 700;
}

.footer {
  text-align: center;
  padding: 24px 16px 120px;
  color: var(--muted);
  background: rgba(10, 12, 16, 0.8);
}

.sticky-bar {
  position: fixed;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: min(520px, 92vw);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  background: rgba(12, 14, 20, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 8px;
  z-index: 1700;
  backdrop-filter: blur(10px);
}

.sticky-btn {
  padding: 12px 14px;
  border-radius: 999px;
  text-align: center;
  font-weight: 700;
  background: var(--glass);
  color: var(--ink);
}

.sticky-btn.primary {
  background: var(--accent);
  color: #10131a;
}

.floating-telegram {
  position: fixed;
  right: 18px;
  bottom: 88px;
  background: #1f8df1;
  color: #fff;
  padding: 12px 14px;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: var(--shadow);
  z-index: 1701;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 900px) {
  .nav-links {
    display: flex;
  }

  .burger {
    display: none;
  }

  .mobile-menu {
    display: none;
  }

  .hero {
    min-height: 90vh;
    text-align: left;
  }

  .hero-content {
    max-width: 520px;
  }

  .hero-actions {
    grid-template-columns: auto auto;
    justify-content: start;
  }

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

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

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

  .contacts-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
