/* Buttons — компактные (шапка, футер) и hero CTA */

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: center;
}

.cta-row--stack {
  flex-direction: column;
  align-items: stretch;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.75rem;
  min-height: 48px;
  padding: 0.65rem 1.15rem;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition:
    transform 0.18s var(--ease-out),
    box-shadow 0.22s var(--ease-out),
    background 0.22s var(--ease-out),
    border-color 0.22s var(--ease-out);
}

.btn:active {
  transform: scale(0.985);
}

.btn--hero:active {
  transform: scale(0.98);
}

.btn__icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
}

/* Локальная иконка MAX (assets/icons/max.svg) */
.btn img {
  display: block;
  flex-shrink: 0;
}

.btn__icon--file {
  width: 28px;
  height: 28px;
  max-width: none;
  object-fit: contain;
}

.btn--compact .btn__icon--file {
  width: 22px;
  height: 22px;
}

.btn--telegram {
  color: #fff;
  background: linear-gradient(180deg, #35b6f0 0%, var(--telegram) 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.12) inset,
    0 12px 40px var(--telegram-glow);
}

.btn--telegram:hover {
  background: linear-gradient(180deg, #4dc0f2 0%, var(--telegram-hover) 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.15) inset,
    0 16px 48px var(--telegram-glow);
}

.btn--telegram:focus-visible {
  outline-color: #7dd4ff;
}

.btn--max {
  color: #f5f3ff;
  background: linear-gradient(160deg, #2a2438 0%, var(--max-surface) 45%, #12101a 100%);
  border: 1px solid var(--max-border);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 16px 48px var(--max-glow);
}

.btn--max:hover {
  border-color: rgba(160, 145, 255, 0.55);
  background: linear-gradient(160deg, #322a42 0%, #221c32 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.08) inset,
    0 20px 56px rgba(124, 105, 255, 0.55);
}

.btn--max:focus-visible {
  outline-color: var(--accent-a);
}

/* Главные CTA первого экрана — доминирующий акцент */
.btn--hero {
  width: 100%;
  min-height: clamp(68px, 4.5vw, 76px);
  padding: 1.25rem 1.65rem;
  font-size: 1.1875rem;
  font-weight: 700;
  letter-spacing: -0.022em;
  line-height: 1.15;
  border-radius: var(--radius-hero-cta);
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  transition:
    transform 0.26s var(--ease-out),
    box-shadow 0.3s var(--ease-out),
    background 0.3s var(--ease-out),
    border-color 0.3s var(--ease-out);
}

.btn--hero .btn__icon {
  width: 34px;
  height: 34px;
}

.btn--hero .btn__icon--file {
  width: 38px;
  height: 38px;
}

.btn--hero.btn--telegram {
  background: linear-gradient(180deg, #4dc4ff 0%, #1fa0e8 48%, #0d84cc 100%);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: var(--shadow-hero-tg);
}

.btn--hero.btn--telegram:hover {
  transform: scale(1.035);
  background: linear-gradient(180deg, #5acbff 0%, #28aae8 48%, #1290d8 100%);
  box-shadow: var(--shadow-hero-tg-hover);
}

.btn--hero.btn--telegram:active {
  transform: scale(0.99);
}

.btn--hero.btn--max {
  background: linear-gradient(165deg, #3d3558 0%, #221c34 42%, #100e1a 100%);
  border: 1px solid rgba(170, 155, 255, 0.42);
  box-shadow: var(--shadow-hero-max);
}

.btn--hero.btn--max:hover {
  transform: scale(1.035);
  border-color: rgba(190, 175, 255, 0.55);
  background: linear-gradient(165deg, #4a4165 0%, #2a2440 42%, #161322 100%);
  box-shadow: var(--shadow-hero-max-hover);
}

.btn--hero.btn--max:active {
  transform: scale(0.99);
}

@media (prefers-reduced-motion: reduce) {
  .btn--hero.btn--telegram:hover,
  .btn--hero.btn--max:hover,
  .btn--hero.btn--telegram:active,
  .btn--hero.btn--max:active {
    transform: none;
  }
}

.btn--large {
  min-height: 52px;
  padding: 0.8rem 1.35rem;
  font-size: 0.9375rem;
  border-radius: var(--radius-lg);
}

.btn--large .btn__icon--file {
  width: 24px;
  height: 24px;
}

/* Упрощённые карточки секций */
.feature-simple {
  padding: 1.35rem 1.25rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: border-color 0.2s var(--ease-out);
}

.feature-simple:hover {
  border-color: var(--color-border-strong);
}

.feature-simple__title {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.feature-simple__text {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.55;
}

.section-label {
  margin: 0 0 0.6rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-text-subtle);
}

.section-title {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 1.875rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.2;
}

.section-lead {
  margin: 0;
  max-width: 38rem;
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.62;
}

.muted-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
}

.muted-list li {
  position: relative;
  padding-left: 1rem;
}

.muted-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--color-text-subtle);
}
