/* ══════════════════════════════════════════════════════════
   1. RESET & BASE
   ══════════════════════════════════════════════════════════ */

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

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

body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Manrope", sans-serif;
  line-height: 1.55;
}

/* Зернистость поверх всей страницы */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='240' height='240' filter='url(%23n)'/></svg>");
  opacity: 0.14;
  pointer-events: none;
  z-index: 9999;
}

/* ══════════════════════════════════════════════════════════
   2. DESIGN TOKENS (светлая тема — по умолчанию)
   ══════════════════════════════════════════════════════════ */

:root {
  /* Палитра */
  --bg: #ffffff;
  --ink: #141414;
  --muted: #a3a3a3;
  --dark: #262626;
  --btn-text: #ffffff;
  --card: #e8e7e4;
  --line: #e3e2df;
  --accent: #a04288;

  /* Карусель */
  --carousel-bg: transparent;
  --carousel-btn-bg: rgba(255, 255, 255, 0.9);
  --carousel-btn-clr: #2b2140;
  --carousel-dot: rgba(43, 33, 64, 0.22);
}

/* ── Тёмная тема (переключение + системная) ───────────── */

[data-theme="dark"] {
  --bg: #16151a;
  --ink: #f2f0ee;
  --muted: #8b8794;
  --dark: #060606;
  --card: #232129;
  --line: #2c2a33;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #16151a;
    --ink: #f2f0ee;
    --muted: #8b8794;
    --dark: #000000;
    --card: #232129;
    --line: #2c2a33;
  }
}

/* Тёмная тема — карусель */
html[data-theme="dark"],
html.dark {
  --carousel-bg: transparent;
  --carousel-btn-bg: rgb(10 10 10 / 90%);
  --carousel-btn-clr: #efeaff;
  --carousel-dot: rgba(239, 234, 255, 0.25);
}

@media (prefers-color-scheme: dark) {
  :root {
    --carousel-bg: transparent;
    --carousel-btn-bg: rgba(44, 44, 44, 0.9);
    --carousel-btn-clr: #efeaff;
    --carousel-dot: rgba(239, 234, 255, 0.25);
  }
}

/* ══════════════════════════════════════════════════════════
   3. НАВИГАЦИЯ
   ══════════════════════════════════════════════════════════ */

.nav {
  display: flex;
  align-items: center;
  padding: 36px 56px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
}

.logo-img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 26%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

/* ── Тумблер темы ─────────────────────────────────────── */

.theme-toggle {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px 6px 5px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  color: var(--ink);
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
  -webkit-appearance: none;
  appearance: none;
}
.theme-toggle:hover {
  transform: translateY(-2px);
}

.tt-icons {
  position: relative;
  width: 20px;
  height: 20px;
  flex: none;
}
.tt-icons svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  position: absolute;
  inset: 0;
  transition: opacity 0.25s ease, transform 0.35s ease;
}
.ic-sun {
  opacity: 0;
  transform: rotate(-90deg) scale(0.6);
}
.ic-moon {
  opacity: 1;
  transform: rotate(0) scale(1);
}

[data-theme="dark"] .ic-sun,
.theme-toggle.is-dark .ic-sun {
  opacity: 1;
  transform: rotate(0) scale(1);
}

[data-theme="dark"] .ic-moon,
.theme-toggle.is-dark .ic-moon {
  opacity: 0;
  transform: rotate(90deg) scale(0.6);
}

.tt-pill {
  /* стили самой пилюли/бегунка (если есть в HTML) */
}

[data-theme="dark"] .tt-pill,
.theme-toggle.is-dark .tt-pill {
  background: var(--ink);
}

[data-theme="dark"] .tt-pill::after,
.theme-toggle.is-dark .tt-pill::after {
  transform: translateX(18px);
  background: var(--bg);
}

[data-theme="dark"] .theme-toggle::after {
  transform: translateX(20px);
}

/* ══════════════════════════════════════════════════════════
   4. HERO
   ══════════════════════════════════════════════════════════ */

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 24px;
}

h1 {
  margin-top: 42px;
  font-family: "Playfair Display", serif;
  font-weight: 500;
  font-size: clamp(40px, 6.4vw, 66px);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.sub {
  margin-top: 18px;
  max-width: 420px;
  font-size: 17px;
  line-height: 1.55;
  color: var(--muted);
}

/* ── Кнопка ───────────────────────────────────────────── */

.btn {
  display: inline-block;
  margin-top: 36px;
  padding: 14px 30px;
  background: var(--dark);
  color: var(--btn-text);
  border: none;
  border-radius: 999px;
  font-family: "Manrope", sans-serif;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease;
}
.btn:hover {
  background: #000;
  transform: translateY(-2px);
}

/* ── Кнопка Google Play ───────────────────────────────── */

.btn-play {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  margin-top: 36px;
  padding: 11px 26px;
  background: var(--dark);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  font-family: "Manrope", sans-serif;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  user-select: none;
  -webkit-user-select: none;
}

.btn-play:hover {
  background: #000000;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
  border-color: rgba(255, 255, 255, 0.22);
}

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

.btn-play-icon {
  width: 24px;
  height: 24px;
  flex: none;
  display: block;
}

.btn-play-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  line-height: 1.15;
}

.btn-play-sub {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 2px;
}

.btn-play-title {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #ffffff;
}

/* Тёмная тема */
[data-theme="dark"] .btn-play {
  background: #232129;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .btn-play:hover {
  background: #2c2935;
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.6);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .btn-play {
    background: #232129;
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  }

  :root:not([data-theme="light"]) .btn-play:hover {
    background: #2c2935;
    border-color: rgba(255, 255, 255, 0.28);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.6);
  }
}

/* ══════════════════════════════════════════════════════════
   5. АРТ: СВЕЧЕНИЕ + ОБЛАКА + ТЕЛЕФОН
   ══════════════════════════════════════════════════════════ */

.art {
  position: relative;
  width: min(560px, 92vw);
  margin-top: 64px;
}

.glow {
  position: absolute;
  top: -70px;
  left: 50%;
  transform: translateX(-50%);
  width: 120%;
  height: 540px;
  filter: blur(32px) saturate(1.05);
  background: radial-gradient(
      45% 34% at 50% 20%,
      #c544ef 0%,
      rgba(104, 20, 83, 0) 70%
    ),
    radial-gradient(55% 45% at 36% 52%, #f4b0f8 0%, rgba(248, 176, 194, 0) 72%),
    radial-gradient(55% 45% at 64% 52%, #d9c8f3 0%, rgba(248, 176, 194, 0) 72%),
    radial-gradient(62% 46% at 50% 78%, #f3c6d3 0%, rgba(243, 198, 211, 0) 78%);
  z-index: 0;
}

.cloud {
  position: absolute;
  background: white;
  border-radius: 999px;
  filter: blur(9px);
  opacity: 0.95;
  z-index: 1;
}
.cloud::before,
.cloud::after {
  content: "";
  position: absolute;
  background: inherit;
  border-radius: 50%;
}
.cloud::before {
  width: 55%;
  height: 160%;
  top: -70%;
  left: 12%;
}
.cloud::after {
  width: 45%;
  height: 130%;
  top: -45%;
  right: 12%;
}

.c1 {
  width: 130px;
  height: 44px;
  top: 34px;
  left: calc(50% - 170px);
}
.c2 {
  width: 150px;
  height: 50px;
  top: 16px;
  left: calc(50% + 10px);
}
.c3 {
  width: 90px;
  height: 34px;
  top: 120px;
  left: calc(50% - 210px);
}
.c4 {
  width: 110px;
  height: 40px;
  top: 126px;
  left: calc(50% + 110px);
}

.phone-img {
  position: relative;
  z-index: 2;
  display: block;
  width: min(540px, 80vw);
  height: auto;
  margin-bottom: 75px;
  animation: phoneIn 0.9s cubic-bezier(0.2, 0.8, 0.3, 1) both,
    float 6s ease-in-out 1s infinite;
}

.features-title {
  margin-top: 64px;
}

/* ══════════════════════════════════════════════════════════
   6. ОБЩИЕ СЕКЦИИ (features, соцсети, cta)
   ══════════════════════════════════════════════════════════ */

section.block {
  max-width: 1000px;
  margin: 0 auto;
  padding: 60px 24px 0;
  text-align: center;
}

h2 {
  font-family: "Playfair Display", serif;
  font-weight: 500;
  font-size: clamp(30px, 4.4vw, 46px);
  letter-spacing: -0.01em;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px;
  margin-top: 72px;
  text-align: left;
}

.feature svg {
  width: 26px;
  height: 26px;
  fill: var(--ink);
}
.feature h3 {
  font-family: "Playfair Display", serif;
  font-weight: 600;
  font-size: 21px;
  margin: 18px 0 10px;
}
.feature p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}

/* ── Соцсети ──────────────────────────────────────────── */

.socials-title,
.socials {
  grid-column: 1 / -1;
  width: 100%;
  text-align: center;
  justify-content: center;
}

.socials-title {
  margin-top: 36px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.socials {
  display: flex;
  gap: 14px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.social {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #262626;
  fill: white;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  position: relative;
}
.social svg {
  width: 22px;
  height: 22px;
  fill: white;
  transition: fill 0.25s ease;
}
.social:hover {
  background: var(--dark);
  transform: translateY(-3px);
}
.social:hover svg {
  fill: #fff;
}

.asterisk {
  display: inline-flex;
  align-items: center;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  color: var(--ink);
  margin-left: -6px;
  align-self: center;
}

/* Запрещённые соцсети — размытие */
a.social.banned,
a.social.banned svg {
  filter: blur(4px) !important;
  -webkit-filter: blur(4px) !important;
}

.socials-note {
  margin-top: 18px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
}

/* ── CTA / Footer ─────────────────────────────────────── */

.cta {
  padding-bottom: 5px;
  margin-top: clamp(48px, 7vw, 96px);
}
.cta p {
  margin-top: 24px;
  color: var(--muted);
  font-size: 17px;
}

footer {
  margin-top: 60px;
  padding: 44px 24px;
  border-top: 1px solid var(--line);
  text-align: center;
  font-size: 13px;
  color: #9a9a9a;
}
footer a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
footer a:hover {
  border-bottom-color: var(--accent);
}

/* ══════════════════════════════════════════════════════════
   7. СЕКЦИИ ВОЗМОЖНОСТЕЙ (feat-grid, feat-list)
   ══════════════════════════════════════════════════════════ */

.feat {
  padding: clamp(40px, 9vw, 20px) 0;
  position: relative;
}

.feat-alt {
  background: linear-gradient(
    180deg,
    transparent,
    rgba(221, 90, 31, 0.05),
    transparent
  );
}
[data-theme="dark"] .feat-alt {
  background: linear-gradient(
    180deg,
    transparent,
    rgba(85, 31, 110, 0.06),
    transparent
  );
}

.feat-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 28px;
}

.feat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.feat-grid.reverse .feat-text {
  order: 2;
}
.feat-grid.reverse .shot-stage {
  order: 1;
}

.feat-eyebrow {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 18px;
}

.feat-h {
  font-family: "Playfair Display", serif;
  font-weight: 500;
  font-size: clamp(30px, 4.2vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 20px;
  max-width: 16ch;
}
.feat-h em {
  font-style: italic;
  color: var(--accent);
}

.feat-deck {
  font-size: 17px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 480px;
  margin-bottom: 28px;
}

.feat-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}
.feat-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink);
}
.feat-list li::before {
  content: "";
  width: 18px;
  height: 18px;
  border-radius: 50%;
  flex: none;
  margin-top: 2px;
  background: var(--accent)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9l3 3 5-6' stroke='%23ffffff' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / contain no-repeat;
}

.feat-btn {
  margin-top: 4px;
  padding: 13px 26px;
  font-size: 15px;
}

/* ── Скриншот приложения ──────────────────────────────── */

.shot-stage {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
}
.shot-stage::before {
  content: "";
  position: absolute;
  inset: 30px;
  background: radial-gradient(ellipse, rgb(0, 0, 0), transparent 65%);
  filter: blur(40px);
  z-index: 0;
  pointer-events: none;
}

.shot {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 340px;
  height: auto;
  border-radius: 30px;
  box-shadow: 0 30px 70px rgba(201, 85, 172, 0.22),
    0 12px 30px rgba(221, 31, 174, 0.12), 0 0 0 1px rgba(30, 15, 26, 0.05);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.3, 1);
}
.shot-stage:hover .shot {
  transform: translateY(-6px);
}

/* ══════════════════════════════════════════════════════════
   8. КАРУСЕЛЬ
   ══════════════════════════════════════════════════════════ */

.feat-carousel {
  position: relative;
  outline: none;
  margin-bottom: 0;
}

.feat-carousel-viewport {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  background: var(--carousel-bg);
  touch-action: pan-y;
  transition: height 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);

  /* компенсируем боковые паддинги, чтобы не раздвигать карусель */
  margin-inline: calc(-1 * clamp(28px, 6vw, 64px));
  padding-inline: clamp(28px, 6vw, 64px);
}

.feat-carousel-track {
  display: flex;
  align-items: stretch;
  transition: transform 0.65s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.feat-carousel-slide {
  flex: 0 0 100%;
  min-width: 0;
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 0.55s ease, transform 0.55s ease;
  padding: clamp(24px, 4vw, 56px) clamp(28px, 6vw, 64px)
    calc(clamp(24px, 4vw, 56px) + 70px); /* воздух для тени снизу */
}
.feat-carousel-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.feat-carousel-slide .feat-grid {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  height: 100%;
  text-align: center;
}
.feat-carousel-slide .feat-text {
  align-self: center;
}
.feat-carousel-slide .feat-eyebrow {
  margin: 0 0 10px;
}
.feat-carousel-slide .feat-h {
  margin: 0;
}

@media (max-width: 900px) {
  .feat-carousel-slide .feat-text {
    text-align: center;
  }
}

/* ── Стрелки карусели ─────────────────────────────────── */

.carousel-btn {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  cursor: pointer;
  background: var(--carousel-btn-bg);
  box-shadow: 0 6px 18px rgba(43, 33, 64, 0.18);
  color: var(--carousel-btn-clr);
  font-size: 24px;
  line-height: 1;
  display: grid;
  place-items: center;
  transform: translateY(-50%);
  transition: transform 0.2s, opacity 0.2s;
  opacity: 0.9;
}
.carousel-btn:hover {
  opacity: 1;
  transform: translateY(-50%) scale(1.08);
}
.carousel-btn.prev {
  left: 14px;
}
.carousel-btn.next {
  right: 14px;
}

/* ── Точки карусели ───────────────────────────────────── */

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 22px;
}
.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 99px;
  border: 0;
  padding: 0;
  cursor: pointer;
  background: var(--carousel-dot);
  transition: width 0.25s, background 0.25s;
}
.carousel-dot.active {
  width: 26px;
  background: var(--accent, #7c5cff);
}

/* ══════════════════════════════════════════════════════════
   9. СТАТИСТИКА
   ══════════════════════════════════════════════════════════ */

.stats {
  margin: 0;
  padding: 0;
}

.stats-wrap {
  padding: 32px 24px;
  max-width: 100%;
  box-sizing: border-box;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-n {
  font-family: "Playfair Display", serif;
  font-weight: 500;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 10px;
  white-space: nowrap;
}

.stat-l {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

/* ══════════════════════════════════════════════════════════
   10. АНИМАЦИИ И REVEAL
   ══════════════════════════════════════════════════════════ */

@keyframes phoneIn {
  from {
    opacity: 0;
    transform: translateY(50px) rotate(-4deg) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotate(0) scale(1);
  }
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.8, 0.3, 1),
    transform 0.7s cubic-bezier(0.2, 0.8, 0.3, 1);
  will-change: opacity, transform;
}
.reveal.in {
  opacity: 1;
  transform: none;
}

/* Лёгкая «лесенка» для нескольких блоков в ряду */
.reveal:nth-child(2) {
  transition-delay: 0.08s;
}
.reveal:nth-child(3) {
  transition-delay: 0.16s;
}

/* ══════════════════════════════════════════════════════════
   11. МЕДИА-ЗАПРОСЫ
   ══════════════════════════════════════════════════════════ */

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .phone-img {
    animation: none !important;
  }
  .feat-carousel-track,
  .feat-carousel-viewport {
    transition: none;
  }
}

@media (max-width: 860px) {
  .feat-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .feat-grid.reverse .feat-text {
    order: 1;
  }
  .feat-grid.reverse .shot-stage {
    order: 2;
  }
  .feat-h {
    max-width: none;
  }
  .shot {
    max-width: 300px;
  }
}

@media (max-width: 768px) {
  .nav {
    padding: 28px 24px;
  }
  .features {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .phone-img {
    margin-bottom: 20px;
  }
}

@media (max-width: 720px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px 16px;
  }
}

@media (max-width: 640px) {
  .carousel-btn {
    display: none;
  } /* на мобильных — только свайп и точки */
}

/* ════════════════════════════════════════
   FAQ
   ════════════════════════════════════════ */
.faq {
  max-width: 800px;
  margin: 0 auto;
  /* padding: clamp(30px, 10vw, 50px) 24px; */
}
.faq h2 {
  font-family: "Playfair Display", serif;
  font-weight: 500;
  font-size: clamp(30px, 4.4vw, 46px);
  text-align: center;
  margin-bottom: 48px;
  letter-spacing: -0.01em;
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px 24px;
  transition: all 0.25s ease;
}
[data-theme="dark"] .faq-item {
  background: rgba(255, 255, 255, 0.04);
}
.faq-item[open] {
  background: rgba(255, 255, 255, 0.8);
  border-color: rgba(180, 31, 221, 0.3);
}
[data-theme="dark"] .faq-item[open] {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(180, 31, 221, 0.3);
}
.faq-item summary {
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: "+";
  font-size: 24px;
  font-weight: 300;
  color: var(--muted);
  transition: transform 0.25s ease;
}
.faq-item[open] summary::after {
  content: "−";
}
.faq-item p {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}

/* ── Donate-специфичные стили ── */
.donate-container {
  max-width: 760px;
  margin: 0 auto;
  padding: 20px 28px 10px;
}

.donate-header {
  text-align: center;
  margin: 32px 0 56px;
}

.donate-header h1 {
  font-family: "Playfair Display", serif;
  font-weight: 500;
  font-size: clamp(34px, 5.2vw, 52px);
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin-bottom: 20px;
  color: var(--ink);
}

.donate-header h1 em {
  font-style: italic;
  color: var(--accent);
}

.donate-header p {
  font-size: 17px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 580px;
  margin: 0 auto;
}

.amount-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 32px;
  margin-bottom: 36px;
}

[data-theme="dark"] .amount-card {
  background: rgba(255, 255, 255, 0.03);
}

.amount-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}

.amount-buttons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}

@media (max-width: 480px) {
  .amount-buttons {
    grid-template-columns: repeat(2, 1fr);
  }
}

.amount-btn {
  padding: 14px 8px;
  background: transparent;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.amount-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.amount-btn.active {
  background: var(--ink);
  color: var(--btn-text);
  border-color: var(--ink);
}

.custom-amount {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  transition: border-color 0.2s;
}

.custom-amount:focus-within {
  border-color: var(--accent);
}

.custom-amount input {
  flex: 1;
  border: none;
  background: transparent;
  color: var(--ink);
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  padding: 10px 14px;
  outline: none;
}

.custom-amount input::placeholder {
  color: var(--muted);
}

.custom-amount .ruble {
  padding: 0 16px 0 0;
  color: var(--muted);
  font-weight: 600;
}

.donate-btn {
  display: block;
  width: 100%;
  padding: 18px 24px;
  margin-top: 20px;
  background: var(--ink);
  color: var(--btn-text);
  border: none;
  border-radius: 14px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.donate-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(160, 66, 136, 0.25);
}

.donate-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.payment-methods {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 20px;
  padding: 14px;
  border-radius: 12px;
  border: 1px dashed var(--line);
  color: var(--muted);
  font-size: 14px;
}

.inside-section {
  margin: 64px 0 48px;
}

.inside-section h2 {
  font-family: "Playfair Display", serif;
  font-weight: 500;
  font-size: clamp(26px, 3.6vw, 34px);
  letter-spacing: -0.01em;
  margin-bottom: 28px;
  text-align: center;
  color: var(--ink);
}

.inside-list {
  list-style: none;
  display: grid;
  gap: 14px;
}

.inside-list li {
  display: flex;
  gap: 14px;
  padding: 16px 20px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 15px;
  line-height: 1.5;
}

[data-theme="dark"] .inside-list li {
  background: rgba(255, 255, 255, 0.03);
}

.inside-list li strong {
  font-weight: 600;
  color: var(--ink);
}

.inside-list li::before {
  content: "";
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10l3 3 7-7' stroke='white' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center/contain no-repeat;
  margin-top: 1px;
}

.nav {
  position: relative;
}

.nav-back {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-back:hover {
  color: var(--ink);
}

/* на узких экранах — уводим вправо, чтобы не наезжал на логотип */
@media (max-width: 520px) {
  .nav-back {
    position: static;
    transform: none;
    margin-left: auto;
  }
}
/* ── Арт «0 ₽» в стиле свечения главной ── */
.price-stage {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: clamp(36px, 6vw, 104px);
}
.price-glow {
  position: absolute;
  inset: 5%;
  background: radial-gradient(
    ellipse,
    rgba(160, 66, 136, 0.28),
    transparent 65%
  );
  filter: blur(40px);
  pointer-events: none;
}
[data-theme="dark"] .price-glow {
  background: radial-gradient(
    ellipse,
    rgba(160, 66, 136, 0.4),
    transparent 65%
  );
}
.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: clamp(44px, 6vw, 68px) clamp(52px, 7vw, 88px);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 32px;
  transform: rotate(-3deg); /* тот же наклон, что у телефона */
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.3, 1);
}
[data-theme="dark"] .price-card {
  background: rgba(255, 255, 255, 0.04);
}
.price-card:hover {
  transform: rotate(0deg) translateY(-6px); /* выпрямляется при наведении */
}
.price-num {
  font-family: "Playfair Display", serif;
  font-weight: 500;
  font-style: italic;
  font-size: clamp(64px, 10vw, 110px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--accent);
}
.price-lbl {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
}

/* отступ для полосы ценностей на донате */
.stats.values {
  margin: 20px 0 70px;
}

/* ════════════════════════════════════════
       Реквизиты
       ════════════════════════════════════════ */
.req-section {
  margin: 40px 0 20px;
}
@media (max-width: 620px) {
  .req-section {
    padding: 0 24px;
  }
}
.req-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: clamp(28px, 4vw, 40px);
  max-width: 620px;
  margin: 0 auto;
}
[data-theme="dark"] .req-card {
  background: rgba(255, 255, 255, 0.03);
}

.req-head {
  text-align: center;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.req-eyebrow {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 10px;
}
.req-head h2 {
  font-family: "Playfair Display", serif;
  font-weight: 500;
  font-size: clamp(24px, 3.2vw, 32px);
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0;
}

.req-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.req-row {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 16px;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px dashed var(--line);
}
.req-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.req-row:first-child {
  padding-top: 0;
}

.req-row dt {
  position: relative;
  padding-left: 16px;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.req-row dt::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 16px;
  border-radius: 2px;
  background: var(--accent);
}

.req-row dd {
  font-size: 15px;
  color: var(--ink);
  font-weight: 500;
  line-height: 1.5;
  word-break: break-word;
}
.req-row dd a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.req-row dd a:hover {
  border-bottom-color: var(--accent);
}

@media (max-width: 520px) {
  .req-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .req-row dd {
    padding-left: 16px;
  }
}
/* ════════════════════════════════════════
       Юридический блок
       ════════════════════════════════════════ */
.legal {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  max-width: 620px;
  margin: 28px auto 0;
  padding: 16px 20px;
  background: rgba(0, 0, 0, 0.025);
  border: 1px solid var(--line);
  border-radius: 14px;
}
[data-theme="dark"] .legal {
  background: rgba(255, 255, 255, 0.03);
}

.legal-icon {
  flex: none;
  width: 20px;
  height: 20px;
  color: var(--accent);
  opacity: 0.75;
  margin-top: 2px;
}

.legal p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--muted);
}
.legal a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.legal a:hover {
  border-bottom-color: var(--accent);
}

@media (max-width: 520px) {
  .legal {
    gap: 10px;
    padding: 14px 16px;
  }
  .legal p {
    font-size: 12px;
  }
}
.amount-btn.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.amount-btn.active:hover {
  color: #fff;
}

.donate-btn {
  background: var(--accent);
  color: #fff;
}

.donate-btn:hover:not(:disabled) {
  background: var(--accent);
  box-shadow: 0 10px 24px rgba(160, 66, 136, 0.35);
}
