/* ===== TAVERO — БАРАБАНЫ ОНЛАЙН ===== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --bg: #0d0d1a;
  --bg-2: #141428;
  --bg-3: #1c1c36;
  --accent: #e8642a;
  --accent-hover: #d4561e;
  --accent-light: #ff7a3d;
  --text: #f0f0f5;
  --text-muted: #8888aa;
  --text-faint: #4f4f6e;
  --border: #2a2a46;
  --border-light: #3a3a5a;
  --white: #ffffff;
  --success: #22c55e;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-sm: 8px;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --shadow: 0 4px 24px rgba(0,0,0,.4);
  --shadow-lg: 0 8px 48px rgba(0,0,0,.6);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 { line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.4rem); }

.accent { color: var(--accent); }
.text-muted { color: var(--text-muted); }

/* ===== LAYOUT ===== */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 100px 0; }
.section-sm { padding: 64px 0; }

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(232,100,42,.12);
  border: 1px solid rgba(232,100,42,.25);
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.section-title {
  margin-bottom: 16px;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin-bottom: 56px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s ease;
  border: 2px solid transparent;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(232,100,42,.35);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border-light);
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-lg { padding: 18px 40px; font-size: 1.1rem; border-radius: var(--radius); }

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: background .3s ease, padding .3s ease, border-color .3s ease;
  border-bottom: 1px solid transparent;
}

.header.scrolled {
  background: rgba(13,13,26,.94);
  backdrop-filter: blur(12px);
  padding: 14px 0;
  border-color: var(--border);
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
}
.logo span { color: var(--accent); }

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

.nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color .2s;
}
.nav a:hover { color: var(--text); }

.header__cta { display: flex; gap: 12px; align-items: center; }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all .25s;
}

/* ===== HERO ===== */
.hero {
  padding: 180px 0 100px;
  position: relative;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
}

.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13,13,26,.9) 45%, rgba(13,13,26,.6) 100%);
}

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

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(232,100,42,.12);
  border: 1px solid rgba(232,100,42,.3);
  padding: 7px 16px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--accent-light);
  margin-bottom: 24px;
}

.hero__badge::before {
  content: '';
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.8); }
}

.hero__title {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero__subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 40px;
}

.hero__stats {
  display: flex;
  gap: 40px;
  margin-top: 48px;
}

.hero__stat-value {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

.hero__stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ===== LEAD FORM ===== */
.lead-form-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  box-shadow: var(--shadow-lg);
}

.lead-form-card__title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.lead-form-card__sub {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 7px;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 13px 16px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: var(--font);
  font-size: 0.95rem;
  transition: border-color .2s;
  outline: none;
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--accent);
}

.form-group input::placeholder {
  color: var(--text-faint);
}

.form-group select option {
  background: var(--bg-2);
}

.form-note {
  font-size: 0.78rem;
  color: var(--text-faint);
  margin-top: 12px;
  line-height: 1.5;
}

.form-note a {
  color: var(--text-muted);
  text-decoration: underline;
  text-decoration-color: var(--text-faint);
}

/* ===== FEARS SECTION ===== */
.fears { background: var(--bg-2); }

.fears__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.fear-card {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
  transition: border-color .2s, transform .2s;
}

.fear-card:hover {
  border-color: var(--border-light);
  transform: translateY(-2px);
}

.fear-card__fear {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.fear-card__title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 16px;
  line-height: 1.4;
}

.fear-card__divider {
  width: 32px;
  height: 2px;
  background: var(--accent);
  margin-bottom: 16px;
  border-radius: 2px;
}

.fear-card__answer {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.6;
}

/* ===== WHO IT'S FOR ===== */
.for-who__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-top: 48px;
}

.for-who__image img {
  border-radius: var(--radius-lg);
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.for-who__list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.for-who__item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.for-who__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: rgba(232,100,42,.12);
  border: 1px solid rgba(232,100,42,.2);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-top: 2px;
}

.for-who__item-title {
  font-weight: 600;
  margin-bottom: 4px;
}

.for-who__item-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ===== HOW IT WORKS ===== */
.how { background: var(--bg-2); }

.how__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 56px;
  position: relative;
}

.how__steps::before {
  content: '';
  position: absolute;
  top: 32px;
  left: calc(33% - 4px);
  right: calc(33% - 4px);
  height: 2px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--border) 100%);
  z-index: 0;
}

.how__step {
  position: relative;
  z-index: 1;
}

.how__step-num {
  width: 64px;
  height: 64px;
  background: var(--bg-3);
  border: 2px solid var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 24px;
}

.how__step-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.how__step-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===== PROGRAM ===== */
.program__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 48px;
}

.program__module {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: border-color .2s, transform .2s;
}

.program__module:hover {
  border-color: var(--border-light);
  transform: translateY(-2px);
}

.program__module-num {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.program__module-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.program__module-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.program__module-list li {
  font-size: 0.88rem;
  color: var(--text-muted);
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.program__module-list li::before {
  content: '→';
  color: var(--accent);
  flex-shrink: 0;
  font-size: 0.8rem;
  margin-top: 1px;
}

/* ===== OUTCOMES ===== */
.outcomes { background: var(--bg-2); }

.outcomes__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.outcome-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color .2s;
}

.outcome-item:hover { border-color: rgba(232,100,42,.3); }

.outcome-icon {
  width: 40px;
  height: 40px;
  background: rgba(232,100,42,.12);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.outcome-text {
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.5;
}

/* ===== FAQ ===== */
.faq__list {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 780px;
}

.faq-item {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .2s;
}

.faq-item.open { border-color: rgba(232,100,42,.3); }

.faq-item__q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  cursor: pointer;
  user-select: none;
  gap: 16px;
}

.faq-item__q-text {
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.4;
}

.faq-item__toggle {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.2rem;
  line-height: 1;
  transition: transform .25s;
}

.faq-item.open .faq-item__toggle { transform: rotate(45deg); }

.faq-item__a {
  display: none;
  padding: 0 24px 24px;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

.faq-item.open .faq-item__a { display: block; }

/* ===== CTA SECTION ===== */
.cta-section {
  background: linear-gradient(135deg, rgba(232,100,42,.08) 0%, transparent 60%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.cta-section__inner {
  display: grid;
  grid-template-columns: 1fr 440px;
  gap: 64px;
  align-items: center;
}

.cta-section__title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
}

.cta-section__sub {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ===== FOOTER ===== */
.footer {
  padding: 60px 0 40px;
  border-top: 1px solid var(--border);
}

.footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}

.footer__brand-name {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 14px;
}

.footer__brand-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 260px;
}

.footer__col-title {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-faint);
  margin-bottom: 18px;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__links a {
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: color .2s;
}
.footer__links a:hover { color: var(--text); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-top: 32px;
  gap: 32px;
  flex-wrap: wrap;
}

.footer__legal {
  font-size: 0.78rem;
  color: var(--text-faint);
  line-height: 1.7;
}

.footer__legal a {
  color: var(--text-muted);
  transition: color .2s;
}
.footer__legal a:hover { color: var(--text); }

/* ===== COOKIE BANNER ===== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 20px 0;
  transform: translateY(100%);
  transition: transform .35s ease;
  box-shadow: 0 -8px 32px rgba(0,0,0,.4);
}

.cookie-banner.visible { transform: translateY(0); }

.cookie-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cookie-banner__text {
  font-size: 0.87rem;
  color: var(--text-muted);
  line-height: 1.5;
  flex: 1;
  min-width: 280px;
}

.cookie-banner__text a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-banner__actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

/* ===== SUCCESS PAGE ===== */
.success-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
}

.success-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  max-width: 520px;
  width: 100%;
  text-align: center;
}

.success-icon {
  width: 72px;
  height: 72px;
  background: rgba(34, 197, 94, .12);
  border: 2px solid rgba(34, 197, 94, .3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 28px;
}

/* ===== LEGAL PAGES ===== */
.legal-hero {
  padding: 140px 0 64px;
  border-bottom: 1px solid var(--border);
}

.legal-content {
  padding: 64px 0 100px;
  max-width: 780px;
}

.legal-content h2 {
  font-size: 1.4rem;
  margin-top: 48px;
  margin-bottom: 16px;
  color: var(--text);
}

.legal-content h3 {
  font-size: 1.1rem;
  margin-top: 32px;
  margin-bottom: 10px;
  color: var(--text);
}

.legal-content p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 16px;
}

.legal-content ul {
  margin: 0 0 16px 20px;
  list-style: disc;
}

.legal-content ul li {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 8px;
}

/* ===== DIVIDER ===== */
.divider {
  height: 1px;
  background: var(--border);
  margin: 0;
}

/* ===== MOBILE NAV ===== */
.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
}

.mobile-nav.open { display: flex; }

.mobile-nav a {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  transition: color .2s;
}

.mobile-nav a:hover { color: var(--text); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__inner .lead-form-card { max-width: 560px; }
  .cta-section__inner { grid-template-columns: 1fr; }
  .for-who__grid { grid-template-columns: 1fr; }
  .for-who__image { display: none; }
  .how__steps::before { display: none; }
}

@media (max-width: 768px) {
  .section { padding: 72px 0; }
  .nav { display: none; }
  .header__cta .btn { display: none; }
  .burger { display: flex; }
  .hero { padding: 120px 0 72px; }
  .hero__stats { gap: 28px; flex-wrap: wrap; }
  .how__steps { grid-template-columns: 1fr; }
  .outcomes__list { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; gap: 16px; }
  .lead-form-card { padding: 28px 20px; }
  .cta-section__inner { grid-template-columns: 1fr; gap: 32px; }
  .success-card { padding: 40px 24px; }
}

@media (max-width: 480px) {
  .fears__grid { grid-template-columns: 1fr; }
  .program__grid { grid-template-columns: 1fr; }
  .cookie-banner__actions { flex-direction: column; width: 100%; }
  .cookie-banner__actions .btn { width: 100%; justify-content: center; }
}
