/* Лендинг NotaAI — палитра рассылок воронки (spec 2026-07-03-notaai-landing) */

@font-face {
  font-family: 'Unbounded';
  font-weight: 700;
  font-display: swap;
  src: url('/assets/unbounded-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+2000-206F, U+2074, U+20AC, U+2122;
}
@font-face {
  font-family: 'Unbounded';
  font-weight: 700;
  font-display: swap;
  src: url('/assets/unbounded-700-cyr.woff2') format('woff2');
  unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Unbounded';
  font-weight: 500;
  font-display: swap;
  src: url('/assets/unbounded-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+2000-206F, U+2074, U+20AC, U+2122;
}
@font-face {
  font-family: 'Unbounded';
  font-weight: 500;
  font-display: swap;
  src: url('/assets/unbounded-500-cyr.woff2') format('woff2');
  unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

:root {
  --bg: #FBF0DF;
  --bg-card: #FFF8EC;
  --purple: #46224E;
  --orange: #F4711F;
  --orange-hi: #FF8B3D;
  --wine: #8E2438;
  --text: #2B1B2E;
  --muted: #7A6A6F;
  --radius: 26px;
  --head: 'Unbounded', system-ui, sans-serif;
  --body: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  overflow-x: hidden;
  position: relative;
}

/* Едва заметная звуковая волна на фоне */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='120' viewBox='0 0 260 120'%3E%3Cg fill='%23F4711F'%3E%3Crect x='10' y='40' width='8' height='40' rx='4'/%3E%3Crect x='36' y='22' width='8' height='76' rx='4'/%3E%3Crect x='62' y='48' width='8' height='24' rx='4'/%3E%3Crect x='88' y='30' width='8' height='60' rx='4'/%3E%3Crect x='114' y='10' width='8' height='100' rx='4'/%3E%3Crect x='140' y='36' width='8' height='48' rx='4'/%3E%3Crect x='166' y='52' width='8' height='16' rx='4'/%3E%3Crect x='192' y='26' width='8' height='68' rx='4'/%3E%3Crect x='218' y='44' width='8' height='32' rx='4'/%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.045;
  z-index: 0;
}

main, header, footer { position: relative; z-index: 1; }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 14px 5vw;
  background: rgba(251, 240, 223, 0.9);
  backdrop-filter: blur(8px);
  z-index: 10;
}

.logo {
  font-family: var(--head);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: 1px;
  color: var(--purple);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.logo-ai {
  font-size: 11px;
  background: var(--orange);
  color: #fff;
  border-radius: 999px;
  padding: 3px 8px;
  letter-spacing: 2px;
  transform: translateY(-8px);
}

.site-nav { display: flex; gap: 22px; margin-left: auto; }
.site-nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  font-size: 13.5px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}
.site-nav a:hover { color: var(--orange); }

.header-right { display: flex; align-items: center; gap: 14px; }

.lang-toggle {
  display: inline-flex;
  border: 2px solid var(--purple);
  border-radius: 999px;
  overflow: hidden;
}
.lang-toggle button {
  border: 0;
  background: transparent;
  color: var(--purple);
  font: 700 13px var(--body);
  padding: 7px 12px;
  cursor: pointer;
}
.lang-toggle button.active { background: var(--purple); color: #fff; }

/* ===== Кнопки ===== */
.btn {
  display: inline-block;
  text-decoration: none;
  font-family: var(--head);
  font-weight: 700;
  border-radius: 999px;
  text-align: center;
}
.btn-cta {
  background: linear-gradient(135deg, var(--orange), var(--orange-hi));
  color: #fff;
  box-shadow: 0 8px 24px rgba(244, 113, 31, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn-cta:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(244, 113, 31, 0.45); }
.btn-header { font-size: 13px; padding: 11px 20px; }
.btn-big { font-size: 17px; padding: 18px 42px; }

/* ===== Hero ===== */
.hero {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
  padding: 90px 5vw 110px;
  text-align: center;
}
.hero h1 {
  font-family: var(--head);
  font-weight: 700;
  font-size: clamp(32px, 5.5vw, 56px);
  line-height: 1.15;
  color: var(--purple);
  margin-bottom: 22px;
}
.hero-sub {
  max-width: 620px;
  margin: 0 auto 34px;
  font-size: 19px;
  color: var(--text);
}
.hero-note { margin-top: 16px; font-size: 14px; color: var(--muted); }

/* Декор: 3D-элементы. Бордовые варианты — hue-rotate из оранжевого PNG */
.deco { position: absolute; pointer-events: none; user-select: none; animation: float 6s ease-in-out infinite; }
.deco.wine { filter: hue-rotate(-38deg) saturate(1.15) brightness(0.72); }
.deco-heart-big { width: 150px; top: 20px; right: -20px; animation-delay: -2s; }
.deco-note-left { width: 110px; bottom: 30px; left: -30px; transform: rotate(-14deg); }
.deco-heart-small { width: 70px; top: 140px; left: 4%; animation-delay: -4s; }
.deco-note-pricing { width: 90px; top: -10px; right: 2%; transform: rotate(10deg); }
.deco-heart-cta { width: 90px; top: -36px; right: 7%; }

@keyframes float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -14px; }
}
@media (prefers-reduced-motion: reduce) {
  .deco { animation: none; }
}

/* ===== Секции ===== */
.section {
  position: relative;
  max-width: 1060px;
  margin: 0 auto;
  padding: 40px 5vw 70px;
}
.section-sub {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 40px;
  color: var(--muted);
}

/* Заголовок-«пилюля» как в рассылках */
.pill-title {
  display: table;
  margin: 0 auto 36px;
  font-family: var(--head);
  font-weight: 700;
  font-size: clamp(22px, 3.4vw, 34px);
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #fff;
  padding: 14px 38px;
  border-radius: 999px;
}
.pill-purple { background: var(--purple); }
.pill-orange { background: linear-gradient(135deg, var(--orange), var(--orange-hi)); }
.tilt-l { transform: rotate(-2deg); }
.tilt-r { transform: rotate(2deg); }

/* ===== Карточки ===== */
.cards { display: grid; gap: 22px; }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: 0 10px 30px rgba(70, 34, 78, 0.07);
}
.card h3 {
  font-family: var(--head);
  font-weight: 500;
  font-size: 19px;
  color: var(--purple);
  margin: 16px 0 10px;
}
.card p { color: var(--muted); font-size: 15.5px; }

.step-num {
  display: inline-block;
  font-family: var(--head);
  font-weight: 700;
  font-size: 15px;
  color: #fff;
  border-radius: 999px;
  padding: 7px 16px;
}
.num-orange { background: var(--orange); }
.num-purple { background: var(--purple); }
.num-wine { background: var(--wine); }

/* ===== Тарифы ===== */
.price-card {
  position: relative;
  background: var(--bg-card);
  border: 2px solid transparent;
  border-radius: var(--radius);
  padding: 30px 22px 26px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(70, 34, 78, 0.07);
}
.price-best { border-color: var(--orange); }
.best-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%) rotate(-2deg);
  background: linear-gradient(135deg, var(--orange), var(--orange-hi));
  color: #fff;
  font: 700 12px var(--head);
  text-transform: uppercase;
  border-radius: 999px;
  padding: 6px 14px;
  white-space: nowrap;
}
.price-songs {
  font-family: var(--head);
  font-weight: 500;
  font-size: 16px;
  color: var(--purple);
  margin-bottom: 12px;
}
.price-amount {
  font-family: var(--head);
  font-weight: 700;
  font-size: 34px;
  color: var(--text);
  margin-bottom: 8px;
}
.price-per { font-size: 13px; color: var(--muted); }
.price-note { text-align: center; margin-top: 26px; font-size: 13.5px; color: var(--muted); }

/* ===== FAQ ===== */
.faq-list { max-width: 720px; margin: 0 auto; display: grid; gap: 14px; }
.faq-list details {
  background: var(--bg-card);
  border-radius: 18px;
  padding: 18px 24px;
  box-shadow: 0 6px 20px rgba(70, 34, 78, 0.06);
}
.faq-list summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--purple);
  list-style: none;
  position: relative;
  padding-right: 30px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--head);
  font-size: 20px;
  color: var(--orange);
}
.faq-list details[open] summary::after { content: '–'; }
.faq-list details p { margin-top: 12px; color: var(--muted); font-size: 15.5px; }

/* ===== Финальный CTA ===== */
.cta-band {
  position: relative;
  background: var(--purple);
  border-radius: 34px;
  padding: 60px 8vw;
  text-align: center;
}
.cta-band h2 {
  font-family: var(--head);
  font-weight: 700;
  font-size: clamp(24px, 3.6vw, 38px);
  color: #fff;
  line-height: 1.25;
  margin-bottom: 30px;
}

/* ===== Footer ===== */
.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 40px 80px;
  max-width: 1060px;
  margin: 0 auto;
  padding: 30px 5vw 60px;
}
.site-footer h4 {
  font-family: var(--head);
  font-weight: 500;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--purple);
  margin-bottom: 12px;
}
.site-footer p { margin-bottom: 8px; font-size: 15px; color: var(--muted); }
.site-footer a { color: var(--text); text-decoration: none; }
.site-footer a:hover { color: var(--orange); }
.logo-foot { font-size: 20px; margin-bottom: 10px; }
.foot-copy { font-size: 13px; }

/* ===== Мобильная вёрстка ===== */
@media (max-width: 900px) {
  .cards-3, .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .site-nav { display: none; }
}
@media (max-width: 560px) {
  .cards-3, .cards-4 { grid-template-columns: 1fr; }
  .btn-header { display: none; }
  .hero { padding-top: 56px; padding-bottom: 80px; }
  .deco-heart-big { width: 92px; right: -14px; top: 0; }
  .deco-note-left { width: 70px; left: -18px; bottom: 6px; }
  .deco-heart-small { display: none; }
  .deco-note-pricing { display: none; }
  .deco-heart-cta { width: 64px; top: -28px; right: 4%; }
  .cta-band { padding: 44px 7vw; }
}
