/* ============================================================
   GymBro Landing — Styles
   Color Palette:
   - Primary:    #50CE80 / gradient #10B981 → #059669
   - Secondary:  #EC89DD
   - BG dark:    #000000
   - BG:         #000A03
   - BG light:   #001407
   - BG gradient:#001406 0%, #000A03 58%
   - Border:     #002914 / #004D2B / #001406
   - Text:       #C7FFD7 / #7EC493
   - Success:    #22C358
   - Warning:    #F4A825
   - Danger:     #E23636
   ============================================================ */

/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #50ce80;
  --primary-dark: #059669;
  --primary-light: #10b981;
  --secondary: #ec89dd;
  --bg-dark: #000000;
  --bg: #000a03;
  --bg-light: #001407;
  --bg-grad-start: #001406;
  --bg-grad-end: #000a03;
  --border: #002914;
  --border-highlight: #004d2b;
  --border-muted: #001406;
  --text: #c7ffd7;
  --text-muted: #7ec493;
  --success: #22c358;
  --warning: #f4a825;
  --danger: #e23636;
  --white: #ffffff;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-glow: 0 0 40px rgba(80, 206, 128, 0.15);
  --shadow-glow-pink: 0 0 40px rgba(236, 137, 221, 0.5);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--primary-light);
}

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

/* ===== SCROLL PROGRESS ===== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-light), var(--primary));
  z-index: 1001;
  width: 0%;
  transition: width 0.1s linear;
}

/* ===== CONTAINER ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== TYPOGRAPHY ===== */
.section-label {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin-bottom: 12px;
  padding: 4px 12px;
  background: rgba(80, 206, 128, 0.1);
  border: 1px solid rgba(80, 206, 128, 0.2);
  border-radius: 100px;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--white);
}

.section-subtitle {
  font-size: 1.0625rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  line-height: 1.4;
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: linear-gradient(135deg,
      var(--primary-light),
      var(--primary-dark));
  color: #000a03;
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.3);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(16, 185, 129, 0.4);
  color: #000a03;
}

.btn--primary:active {
  transform: translateY(0);
}

.btn--outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border-highlight);
}

.btn--outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(80, 206, 128, 0.05);
}

.btn--lg {
  padding: 16px 32px;
  font-size: 1.0625rem;
}

.btn--block {
  width: 100%;
}

.btn__text {
  display: none;
}

.btn__text--default {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn--loading .btn__text--default {
  display: none;
}

.btn--loading .btn__text--loading {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn--success .btn__text--default {
  display: none;
}

.btn--success .btn__text--success {
  display: inline-flex;
}

.btn--success {
  background: var(--success);
  pointer-events: none;
}

.btn--error .btn__text--default {
  display: none;
}

.btn--error .btn__text--error {
  display: inline-flex;
}

.btn--error {
  background: var(--danger);
}

.btn__spinner {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all var(--transition);
  background: transparent;
}

.header--scrolled {
  background: rgba(0, 10, 3, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--white);
}

.logo__text {
  font-size: 1.25rem;
  font-weight: 700;
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__link {
  color: var(--text-muted);
  font-size: 0.9375rem;
  font-weight: 500;
  transition: color var(--transition);
}

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

.nav__link--cta {
  color: #000a03;
  background: linear-gradient(135deg,
      var(--primary-light),
      var(--primary-dark));
  padding: 8px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.nav__link--cta:hover {
  color: #000a03;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.3);
}

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

.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: all var(--transition);
  border-radius: 2px;
}

.burger--active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.burger--active span:nth-child(2) {
  opacity: 0;
}

.burger--active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 120px 0 80px;
  background: linear-gradient(180deg,
      var(--bg-grad-start) 0%,
      var(--bg-grad-end) 58%,
      var(--bg) 100%);
  overflow: hidden;
}

.hero__bg-effects {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.3;
}

.hero__glow--1 {
  width: 600px;
  height: 600px;
  background: rgba(16, 185, 129, 0.2);
  top: -200px;
  right: -100px;
}

.hero__glow--2 {
  width: 400px;
  height: 400px;
  background: rgba(236, 137, 221, 0.1);
  bottom: -100px;
  left: -100px;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--primary);
  padding: 6px 16px;
  background: rgba(80, 206, 128, 0.08);
  border: 1px solid rgba(80, 206, 128, 0.2);
  border-radius: 100px;
  margin-bottom: 24px;
  animation: fadeInUp 0.6s ease-out;
}

.hero__badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(1.3);
  }
}

.hero__title {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 20px;
  animation: fadeInUp 0.6s ease-out 0.1s both;
}

.hero__subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 32px;
  max-width: 520px;
  animation: fadeInUp 0.6s ease-out 0.2s both;
}

.hero__ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 12px;
  animation: fadeInUp 0.6s ease-out 0.3s both;
}

.hero__tg-note {
  font-size: 0.8125rem;
  color: var(--text-muted);
  opacity: 0.6;
  margin-bottom: 24px;
  animation: fadeInUp 0.6s ease-out 0.35s both;
}

.hero__trust {
  font-size: 0.875rem;
  color: var(--text-muted);
  animation: fadeInUp 0.6s ease-out 0.4s both;
}

.hero__trust-stat {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--primary);
}

/* Hero phone mockup */
.hero__visual {
  display: flex;
  justify-content: center;
  animation: fadeInUp 0.8s ease-out 0.3s both;
}

.hero__phone {
  width: 280px;
  min-height: 500px;
  background: #0d1117;
  border-radius: 32px;
  border: 2px solid var(--border-highlight);
  padding: 12px;
  box-shadow:
    var(--shadow-glow),
    0 20px 60px rgba(0, 0, 0, 0.5);
  position: relative;
  animation: phoneFloat 5s ease-in-out infinite;
}

@keyframes phoneFloat {

  0%,
  100% {
    transform: translateY(0);
    box-shadow:
      var(--shadow-glow),
      0 20px 60px rgba(0, 0, 0, 0.5);
  }

  50% {
    transform: translateY(-16px);
    box-shadow:
      0 0 60px rgba(80, 206, 128, 0.25),
      0 36px 80px rgba(0, 0, 0, 0.4);
  }
}

.hero__phone::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 24px;
  background: #000;
  border-radius: 12px;
  z-index: 2;
}

.hero__phone-screen {
  background: #1a1a2e;
  border-radius: 22px;
  overflow: hidden;
  height: 100%;
  min-height: 460px;
}

.hero__mockup {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.hero__mockup-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 40px 14px 12px;
  background: #16213e;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.hero__mockup-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}

.hero__mockup-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
}

.hero__mockup-status {
  font-size: 0.6875rem;
  color: var(--text-muted);
}

.hero__mockup-chat {
  flex: 1;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero__mockup-msg {
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 0.75rem;
  line-height: 1.5;
  max-width: 90%;
  animation: msgAppear 0.4s ease-out both;
}

.hero__mockup-msg--bot {
  background: #16213e;
  color: #ccc;
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.hero__mockup-msg--bot:nth-child(1) {
  animation-delay: 0.5s;
}

.hero__mockup-msg--bot:nth-child(2) {
  animation-delay: 1s;
}

.hero__mockup-msg--bot:nth-child(4) {
  animation-delay: 2s;
}

.hero__mockup-msg--user {
  background: linear-gradient(135deg,
      var(--primary-light),
      var(--primary-dark));
  color: #000;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
  animation-delay: 1.5s;
}

@keyframes msgAppear {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.95);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Mockup header layout */
.hero__mockup-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero__mockup-back {
  flex-shrink: 0;
  opacity: 0.5;
}

.hero__mockup-msg-text {
  margin-bottom: 2px;
}

/* Inline buttons (Telegram style) */
.hero__mockup-inline-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 8px;
}

.hero__mockup-inline-btn {
  display: block;
  padding: 5px 10px;
  border: 1px solid rgba(80, 206, 128, 0.25);
  border-radius: 8px;
  font-size: 0.625rem;
  color: var(--primary);
  text-align: center;
  cursor: default;
  transition: all 0.2s ease;
}

.hero__mockup-inline-btn--active {
  background: rgba(80, 206, 128, 0.12);
  border-color: rgba(80, 206, 128, 0.5);
}

/* Program cards */
.hero__mockup-cards {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 8px;
}

.hero__mockup-card {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  background: rgba(80, 206, 128, 0.06);
  border: 1px solid rgba(80, 206, 128, 0.15);
  border-radius: 10px;
  cursor: default;
  transition: border-color 0.2s ease;
}

.hero__mockup-card-icon {
  font-size: 1rem;
  flex-shrink: 0;
  line-height: 1;
}

.hero__mockup-card-title {
  font-size: 0.6875rem;
  font-weight: 600;
  color: #fff;
  flex: 1;
}

.hero__mockup-card-desc {
  font-size: 0.5625rem;
  color: var(--text-muted);
  opacity: 0.7;
}

/* Input bar */
.hero__mockup-input {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: #0f1629;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.hero__mockup-input-text {
  font-size: 0.6875rem;
  color: rgba(255, 255, 255, 0.2);
}

/* ===== PROBLEMS ===== */
.problems {
  padding: 100px 0;
  position: relative;
}

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

.problems__card {
  background: linear-gradient(180deg,
      rgba(0, 20, 7, 0.6) 0%,
      rgba(0, 10, 3, 0.4) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: all var(--transition);
}

.problems__card:hover {
  border-color: var(--border-highlight);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.problems__stat {
  margin-bottom: 16px;
}

.problems__number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.problems__percent {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

.problems__card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.problems__card-text {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===== SOLUTION ===== */
.solution {
  padding: 100px 0;
  background: linear-gradient(180deg,
      var(--bg) 0%,
      var(--bg-light) 50%,
      var(--bg) 100%);
}

.utp-phrase {
  font-size: 1.1875rem;
  color: var(--text);
  max-width: 680px;
}

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

.solution__pillar {
  text-align: center;
  padding: 32px 24px;
}

.solution__pillar-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(80, 206, 128, 0.08);
  border: 1px solid rgba(80, 206, 128, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.solution__pillar h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.solution__pillar p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===== HOW IT WORKS ===== */
.how-it-works {
  padding: 100px 0;
}

.steps {
  max-width: 700px;
  margin: 0 auto;
}

.steps__item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  align-items: flex-start;
}

.steps__number {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg,
      var(--primary-light),
      var(--primary-dark));
  color: #000;
  font-size: 1.25rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.steps__content h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}

.steps__content p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.steps__visual {
  display: none;
  /* placeholder */
}

.steps__connector {
  width: 2px;
  height: 32px;
  background: linear-gradient(180deg, var(--primary) 0%, transparent 100%);
  margin-left: 27px;
  opacity: 0.4;
}

/* ===== FEATURES ===== */
.features {
  padding: 100px 0;
  background: linear-gradient(180deg,
      var(--bg) 0%,
      var(--bg-light) 50%,
      var(--bg) 100%);
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.features__tier {
  background: rgba(0, 20, 7, 0.4);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;

  transform: translateY(0);
  box-shadow: 0 0 40px rgba(80, 206, 128, 0);
}

.features__tier--premium {
  position: relative;
}

.features__tier--free:hover {
  border-color: var(--border-highlight);
  box-shadow: var(--shadow-glow);
}

.features__tier--premium:hover {
  border-color: var(--secondary);
  box-shadow: var(--shadow-glow-pink);
}

.features__tier-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.features__tier-badge {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 14px;
  border-radius: 100px;
}

.features__tier-badge--free {
  background: rgba(80, 206, 128, 0.1);
  color: var(--primary);
  border: 1px solid rgba(80, 206, 128, 0.2);
}

.features__tier-badge--premium {
  background: rgba(236, 137, 221, 0.1);
  color: var(--secondary);
  border: 1px solid rgba(236, 137, 221, 0.2);
}

.features__tier-price {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
}

.features__tier-price small {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
}

.features__tier-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}

.features__tier-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.features__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
  min-height: 300px;
}

.features__item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9375rem;
  color: var(--text);
  line-height: 1.4;
}

.features__check {
  flex-shrink: 0;
  margin-top: 1px;
}

.features__note {
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 40px;
  padding: 16px;
  background: rgba(80, 206, 128, 0.05);
  border-radius: var(--radius);
  border: 1px solid rgba(80, 206, 128, 0.1);
}

/* ===== AVATAR SECTION ===== */
.avatar-section {
  padding: 100px 0;
}

.avatar-section__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.avatar-section__visual {
  display: flex;
  justify-content: center;
}

/* Body Map */
.body-map {
  position: relative;
  width: 420px;
  height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.body-map__glow {
  position: absolute;
  width: 220px;
  height: 340px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse,
      rgba(80, 206, 128, 0.1) 0%,
      transparent 70%);
  pointer-events: none;
  animation: avatarGlow 4s ease-in-out infinite;
}

@keyframes avatarGlow {

  0%,
  100% {
    opacity: 0.5;
    transform: translate(-50%, -50%) scale(1);
  }

  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.08);
  }
}

.body-map__svg {
  width: 200px;
  height: auto;
  position: relative;
  z-index: 1;
}

.body-map__muscle {
  fill: var(--primary);
  opacity: 0;
  filter: blur(5px);
  animation: muscleGlow 3s ease-in-out infinite;
  animation-delay: calc(var(--i, 0) * 0.3s);
}

.body-map__muscle--secondary {
  fill: var(--secondary);
}

@keyframes muscleGlow {

  0%,
  100% {
    opacity: 0.12;
    filter: blur(6px);
  }

  50% {
    opacity: 0.55;
    filter: blur(3px);
  }
}

/* Body map labels */
.body-map__label {
  position: absolute;
  top: var(--top);
  display: flex;
  align-items: center;
  gap: 0;
  white-space: nowrap;
  z-index: 2;
}

.body-map__label--left {
  left: 0;
  flex-direction: row;
}

.body-map__label--right {
  right: 0;
  flex-direction: row-reverse;
}

.body-map__label-text {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 4px 10px;
  background: rgba(0, 20, 7, 0.7);
  border: 1px solid var(--border);
  border-radius: 100px;
  transition: all var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.body-map__label:hover .body-map__label-text {
  color: var(--primary);
  border-color: rgba(80, 206, 128, 0.4);
  background: rgba(0, 41, 20, 0.6);
}

.body-map__label-line {
  display: block;
  width: 24px;
  height: 1px;
  background: linear-gradient(90deg, var(--border-highlight), transparent);
}

.body-map__label--right .body-map__label-line {
  background: linear-gradient(270deg, var(--border-highlight), transparent);
}

.avatar-section__content .section-title {
  text-align: left;
}

.avatar-section__content p {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.6;
}

.avatar-section__benefits {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.avatar-section__benefits li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9375rem;
  color: var(--text);
}

.avatar-section__benefits li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
}

/* ===== SOCIAL / CHALLENGES ===== */
.social {
  padding: 100px 0;
  background: linear-gradient(180deg,
      var(--bg) 0%,
      var(--bg-light) 50%,
      var(--bg) 100%);
}

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

.social__card {
  background: rgba(0, 20, 7, 0.4);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: all var(--transition);
}

.social__card:hover {
  border-color: var(--border-highlight);
  transform: translateY(-4px);
}

.social__card-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(80, 206, 128, 0.08);
  border: 1px solid rgba(80, 206, 128, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.social__card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.social__card p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===== TRUST / STATS ===== */
.trust {
  padding: 80px 0;
}

.trust__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding: 40px;
  background: rgba(0, 20, 7, 0.4);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.trust__stat {
  text-align: center;
}

.trust__stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.trust__stat-suffix {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

.trust__stat-label {
  display: block;
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 8px;
  line-height: 1.4;
}

/* ===== FAQ ===== */
.faq {
  padding: 100px 0;
  background: linear-gradient(180deg,
      var(--bg) 0%,
      var(--bg-light) 50%,
      var(--bg) 100%);
}

.faq__list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq__item {
  background: rgba(0, 20, 7, 0.4);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition);
}

.faq__item[open] {
  border-color: var(--border-highlight);
}

.faq__question {
  position: relative;
  padding: 20px 56px 20px 24px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  list-style: none;
  transition: color var(--transition);
}

.faq__question::-webkit-details-marker {
  display: none;
}

/* контейнер иконки */
.faq__question::before,
.faq__question::after {
  content: "";
  position: absolute;
  right: 24px;
  top: 50%;
  width: 16px;
  height: 2px;
  background: var(--primary);
  transform: translateY(-50%);
  transform-origin: center;
  transition:
    transform var(--transition),
    opacity var(--transition);
}

/* вертикальная полоска */
.faq__question::after {
  transform: translateY(-50%) rotate(90deg);
}

/* + -> - */
.faq__item[open] .faq__question::after {
  opacity: 0;
  transform: translateY(-50%) rotate(90deg) scaleX(0);
}

.faq__answer {
  overflow: hidden;
  opacity: 0;
  max-height: 0;
  padding-bottom: 0 !important;
  transition:
    max-height 0.35s ease,
    opacity 0.25s ease;
}

/* padding теперь здесь */
.faq__answer-inner {
  padding: 0 24px 20px;
}

.faq__item[open] .faq__answer {
  opacity: 1;
  max-height: 400px;
  /* лучше немного больше контента */
}

/* ===== BETA FORM ===== */
.beta-form {
  padding: 100px 0;
}

.form {
  max-width: 720px;
  margin: 0 auto;
}

.form__honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

.form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 24px;
}

.form__group--full {
  grid-column: 1 / -1;
}

.form__label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.form__required {
  color: var(--danger);
}

.form__optional {
  color: var(--text-muted);
  font-weight: 400;
  font-size: 0.8125rem;
}

.form__input {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font);
  font-size: 0.9375rem;
  color: var(--text);
  background: rgba(0, 20, 7, 0.6);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  outline: none;
}

.form__input::placeholder {
  color: var(--text-muted);
  opacity: 0.5;
}

.form__input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(80, 206, 128, 0.1);
}

.form__input--error {
  border-color: var(--danger);
}

.form__input--error:focus {
  box-shadow: 0 0 0 3px rgba(226, 54, 54, 0.1);
}

.form__select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%237EC493' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form__select option {
  background: var(--bg);
  color: var(--text);
}

.form__textarea {
  resize: vertical;
  min-height: 80px;
}

.form__hint {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  opacity: 0.7;
  margin-top: 4px;
}

.form__error {
  display: block;
  font-size: 0.75rem;
  color: var(--danger);
  margin-top: 4px;
  min-height: 1em;
}

/* Checkbox */
.form__checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.form__checkbox input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.form__checkbox-mark {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  border: 1.5px solid var(--border-highlight);
  border-radius: 4px;
  background: rgba(0, 20, 7, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  margin-top: 1px;
}

.form__checkbox input:checked+.form__checkbox-mark {
  background: linear-gradient(135deg,
      var(--primary-light),
      var(--primary-dark));
  border-color: var(--primary);
}

.form__checkbox input:checked+.form__checkbox-mark::after {
  content: "";
  width: 6px;
  height: 10px;
  border: 2px solid #000;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) translateY(-1px);
}

.form__checkbox-text a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form__submit {
  margin-top: 32px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

/* Form success */
.form__success {
  max-width: 500px;
  margin: 0 auto;
  text-align: center;
  padding: 48px 32px;
  animation: fadeInUp 0.6s ease-out;
}

.form__success-icon {
  margin-bottom: 24px;
}

.form__success-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.form__success-text {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.6;
}

/* ===== FINAL CTA ===== */
.final-cta {
  padding: 100px 0;
  background: linear-gradient(180deg,
      var(--bg) 0%,
      var(--bg-light) 50%,
      var(--bg) 100%);
}

.final-cta__inner {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.final-cta__title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.2;
}

.final-cta__text {
  font-size: 1.0625rem;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.final-cta__buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== FOOTER ===== */
.footer {
  padding: 64px 0 32px;
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, var(--bg) 0%, #000 100%);
  position: relative;
}

.footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0.4;
}

.footer__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 48px;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__brand .logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--white);
}

.footer__tagline {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
  max-width: 220px;
}

.footer__social {
  display: flex;
  gap: 12px;
}

.footer__social-link {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--border-highlight);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all var(--transition);
  background: rgba(0, 20, 7, 0.3);
}

.footer__social-link:hover {
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: 0 0 20px rgba(80, 206, 128, 0.15);
  background: rgba(80, 206, 128, 0.05);
}

.footer__columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 48px;
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__col-title {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary);
  margin-bottom: 4px;
  opacity: 0.8;
}

.footer__link {
  font-size: 0.9375rem;
  color: var(--text-muted);
  transition: color var(--transition);
}

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

.footer__divider {
  height: 1px;
  background: linear-gradient(90deg,
      transparent,
      var(--border-highlight),
      transparent);
  margin-bottom: 24px;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer__copy {
  font-size: 0.8125rem;
  color: var(--text-muted);
  opacity: 0.5;
}

.footer__partners {
  display: flex;
  align-items: center;
  gap: 24px;
}

.footer__partner-logo {
  height: 32px;
  width: auto;
  opacity: 0.4;
  transition: opacity var(--transition);
  filter: grayscale(0.5);
}

.footer__partner-logo:hover {
  opacity: 0.75;
  filter: grayscale(0);
}

/* ===== ANIMATIONS ===== */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.6s ease-out,
    transform 0.6s ease-out;
  transition-delay: var(--delay, 0s);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero__subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__ctas {
    justify-content: center;
  }

  .hero__tg-note {
    text-align: center;
  }

  .hero__trust {
    text-align: center;
  }

  .problems__grid,
  .social__grid,
  .solution__pillars {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }

  .features__grid {
    grid-template-columns: 1fr;
    max-width: 480px;
  }

  .avatar-section__inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .avatar-section__content .section-title {
    text-align: center;
  }

  .avatar-section__benefits {
    align-items: center;
  }

  .body-map {
    width: 340px;
    height: 460px;
    margin: 0 auto;
  }

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

@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(0, 10, 3, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    padding: 40px;
    gap: 24px;
    transition: right var(--transition);
    border-left: 1px solid var(--border);
  }

  .nav--open {
    right: 0;
  }

  .burger {
    display: flex;
  }

  .hero {
    padding: 100px 0 60px;
    min-height: auto;
  }

  .hero__phone {
    width: 240px;
    min-height: 420px;
  }

  .hero__phone-screen {
    min-height: 380px;
  }

  .hero__ctas {
    flex-direction: column;
    align-items: stretch;
  }

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

  .trust__inner {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    padding: 24px;
  }

  .footer__top {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 24px;
  }

  .footer__brand {
    align-items: center;
  }

  .footer__tagline {
    text-align: center;
  }

  .footer__columns {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 32px;
  }

  .footer__col {
    align-items: center;
  }

  .footer__social {
    justify-content: center;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .footer__partners {
    justify-content: center;
  }

  .body-map {
    width: 300px;
    height: 420px;
  }

  .body-map__label-text {
    font-size: 0.6rem;
    padding: 3px 7px;
  }

  .body-map__label-line {
    width: 14px;
  }

  .section-title {
    font-size: clamp(1.5rem, 5vw, 2rem);
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero__title {
    font-size: 1.75rem;
  }

  .problems__number {
    font-size: 2.5rem;
  }

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