/* ========= 0. ШРИФТЫ ========= */

@font-face {
  font-display: swap;
  font-family: "Inter";
  font-weight: 400;
  src: url("/fonts/inter-regular.woff2") format("woff2");
}

@font-face {
  font-display: swap;
  font-family: "Inter";
  font-weight: 600;
  src: url("/fonts/inter-600.woff2") format("woff2");
}

@font-face {
  font-display: swap;
  font-family: "Inter";
  font-weight: 700;
  src: url("/fonts/inter-700.woff2") format("woff2");
}

@font-face {
  font-display: swap;
  font-family: "Inter";
  font-weight: 800;
  src: url("/fonts/inter-800.woff2") format("woff2");
}


/* ========= 1. ПЕРЕМЕННЫЕ ========= */

:root {
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --secondary: #64748b;
  --bg-light: #f8fafc;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --white: #ffffff;
  --border: #e2e8f0;
}


/* ========= 2. RESET ========= */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  color: var(--text-main);
  background: var(--bg-light);
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}


/* ========= 3. HEADER ========= */

.header {
  background: var(--white);
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(6px);
}

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

.logo,
.header__logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.02em;
}


/* ========= 4. BUTTONS ========= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all .2s ease;
}

.btn-primary,
.btn--primary {
  background: var(--primary);
  color: var(--white);
}

.btn-primary:hover,
.btn--primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(37, 99, 235, 0.25);
}

.btn-outline,
.btn--outline {
  border: 1px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover,
.btn--outline:hover {
  background: #eff6ff;
}

.btn-secondary,
.btn--secondary {
  background: #e2e8f0;
  color: #475569;
}

.btn-secondary:hover,
.btn--secondary:hover {
  background: #cbd5e1;
}

.btn--large {
  padding: 16px 32px;
  font-size: 1.1rem;
}


/* ========= 5. HERO ========= */

.hero {
  padding: 120px 0 100px;
  text-align: center;
  background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
}

.hero h1,
.hero__title {
  font-size: 3.4rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero-subtitle,
.hero__subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto 40px;
}

.hero-buttons,
.hero__buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
}


/* ========= 6. STATS ========= */

.stats {
  padding: 60px 0;
  background: var(--white);
  border-top: 1px solid var(--border);
}

.stats-grid,
.stats__grid {
  display: flex;
  justify-content: space-around;
  gap: 20px;
}

.stat,
.stats__item {
  text-align: center;
}

.stat-number,
.stats__number {
  display: block;
  font-size: 2.7rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 4px;
}

.stat-label,
.stats__label {
  color: var(--text-muted);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}


/* ========= 7. HOW IT WORKS ========= */

.how {
  padding: 100px 0;
  background: var(--white);
  border-top: 1px solid var(--border);
}

.how h2 {
  text-align: center;
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 60px;
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  position: relative;
}

.how-grid::before {
  content: '';
  position: absolute;
  top: 40px;
  left: calc(16.6% + 20px);
  right: calc(16.6% + 20px);
  height: 2px;
  background: linear-gradient(90deg, var(--primary), #93c5fd);
}

.how-item {
  text-align: center;
  position: relative;
}

.step {
  width: 80px;
  height: 80px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 800;
  margin: 0 auto 24px;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.3);
  position: relative;
  z-index: 1;
}

.how-item h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.how-item p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}


/* ========= 8. FEATURES ========= */

.features {
  padding: 100px 0;
}

.section__title {
  text-align: center;
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 60px;
}

.features h2 {
  text-align: center;
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 60px;
}

.features-grid,
.features__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.feature,
.features__card {
  background: var(--white);
  padding: 40px;
  border-radius: 20px;
  border: 1px solid var(--border);
  transition: all .3s ease;
}

.feature:hover,
.features__card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 25px rgba(0, 0, 0, 0.05);
  border-color: var(--primary);
}

.features__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: #eff6ff;
  border-radius: 12px;
  color: var(--primary);
  margin-bottom: 24px;
}

.features__icon svg {
  width: 28px;
  height: 28px;
}

.feature h3,
.features__card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-main);
}

.feature p,
.features__card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}


/* ========= 9. AUDIENCE ========= */

.audience {
  padding: 100px 0;
  background: var(--bg-light);
  border-top: 1px solid var(--border);
}

.audience h2 {
  text-align: center;
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 60px;
}

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

.audience-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px;
  transition: all .3s ease;
}

.audience-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
  border-color: var(--primary);
}

.audience-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-main);
}

.audience-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}


/* ========= 10. FAQ ========= */

.faq {
  padding: 100px 0;
  background: var(--white);
  border-top: 1px solid var(--border);
}

.faq h2 {
  text-align: center;
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 60px;
}

.faq-item {
  max-width: 780px;
  margin: 0 auto 16px;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 32px;
  transition: all .2s ease;
}

.faq-item:hover {
  border-color: var(--primary);
  background: #eff6ff;
}

.faq-item h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-main);
}

.faq-item p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}


/* ========= 11. SEO TEXT ========= */

.seo {
  padding: 80px 0;
  background: var(--bg-light);
  border-top: 1px solid var(--border);
}

.seo .container {
  max-width: 780px;
}

.seo h2 {
  text-align: center;
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 24px;
}

.seo p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 16px;
}


/* ========= 12. CTA ========= */

.cta {
  padding: 80px 40px;
  background: var(--primary);
  color: var(--white);
  text-align: center;
  border-radius: 24px;
  margin: 0 20px 100px;
}

.cta h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.cta p {
  font-size: 1.2rem;
  margin-bottom: 32px;
  opacity: 0.9;
}

.cta .btn-primary,
.cta .btn--primary {
  background: var(--white);
  color: var(--primary);
}


/* ========= 13. FOOTER ========= */

.footer {
  padding: 40px 0;
  text-align: center;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
}


/* ========= 14. TELEGRAM FLOAT ========= */

.telegram-fixed {
  position: fixed;
  right: 20px;
  bottom: 20px;
  background: #229ED9;
  color: white;
  padding: 14px 20px;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
  transition: .2s;
  z-index: 999;
}

.telegram-fixed:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}


/* ========= 15. MOBILE ========= */

@media (max-width: 768px) {

  .hero h1,
  .hero__title {
    font-size: 2.4rem;
  }

  .hero-buttons,
  .hero__buttons {
    flex-direction: column;
    align-items: stretch;
    padding: 0 20px;
  }

  .stats-grid,
  .stats__grid {
    flex-direction: column;
    gap: 32px;
  }

  .how-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .how-grid::before {
    display: none;
  }

  .how h2,
  .audience h2,
  .faq h2,
  .features h2 {
    font-size: 1.75rem;
    margin-bottom: 40px;
  }

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

  .faq-item {
    padding: 20px 24px;
  }

  .features {
    padding: 70px 0;
  }

  .cta {
    margin: 0 10px 60px;
    padding: 60px 20px;
  }

  .cta h2 {
    font-size: 1.8rem;
  }

  .telegram-fixed {
    right: 12px;
    bottom: 12px;
    padding: 12px 16px;
    font-size: 0.9rem;
  }

}

/* ========= 16. PRIVACY ========= */

.privacy {
  padding: 80px 0 100px;
}

.privacy__header {
  text-align: center;
  margin-bottom: 60px;
}

.privacy__header h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.privacy__date {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.privacy__content {
  max-width: 780px;
  margin: 0 auto;
}

.privacy__section {
  margin-bottom: 48px;
}

.privacy__section h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--primary);
}

.privacy__section p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 12px;
}

.privacy__section ul {
  list-style: none;
  margin: 12px 0;
  padding: 0;
}

.privacy__section ul li {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.8;
  padding-left: 20px;
  position: relative;
  margin-bottom: 6px;
}

.privacy__section ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--primary);
}

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

.privacy__section a:hover {
  text-decoration: underline;
}

.privacy__section code {
  background: #eff6ff;
  color: var(--primary);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.9rem;
}

.privacy__back {
  max-width: 780px;
  margin: 40px auto 0;
}

.footer a {
  color: var(--text-muted);
  text-decoration: none;
}

.footer a:hover {
  color: var(--primary);
}
/* ========= 17. SEO PAGES ========= */

.seo-page {
  padding: 80px 0 100px;
}

.seo-page__grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 60px;
  align-items: start;
}

.seo-page__content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 40px 0 16px;
  color: var(--text-main);
}

.seo-page__content h2:first-child {
  margin-top: 0;
}

.seo-page__content p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 12px;
}

.seo-page__content ul {
  list-style: none;
  margin: 12px 0;
  padding: 0;
}

.seo-page__content ul li {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.8;
  padding-left: 20px;
  position: relative;
  margin-bottom: 8px;
}

.seo-page__content ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--primary);
}

.seo-page__cta {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.seo-cta-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  text-align: center;
}

.seo-cta-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-main);
}

.seo-cta-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.seo-cta-card .btn {
  width: 100%;
}

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

.seo-fact {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.seo-fact__number {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
}

.seo-fact__label {
  color: var(--text-muted);
  font-size: 0.85rem;
  text-align: right;
}

@media (max-width: 768px) {
  .seo-page__grid {
    grid-template-columns: 1fr;
  }

  .seo-page__cta {
    position: static;
  }
}
