@import url('https://fonts.googleapis.com/css2?family=Golos+Display:wght@500;700;800&family=Onest:wght@400;500;600&display=swap');

:root {
  --cream: #FAF5EE;
  --cream-deep: #F3EADD;
  --white: #FFFFFF;
  --chocolate: #2E1E12;
  --cocoa: #6B584A;
  --cyan: #2FC6F6;
  --cyan-deep: #0FA8DC;
  --orange: #FF9E2C;
  --sand: #E8DCCB;
  --leaf: #5BBF6A;
  --choco-dark: #3B2A1C;
  --cream-on-dark: #FAF5EE;
  --cocoa-on-dark: #C9B7A3;
  --sand-on-dark: #5A4633;

  --font-display: 'Golos Display', 'Manrope', sans-serif;
  --font-body: 'Onest', 'Golos Text', sans-serif;

  --r-card: 16px;
  --r-btn: 12px;

  --shadow-card: 0 1px 2px rgba(46,30,18,.06), 0 8px 24px rgba(46,30,18,.07);
  --shadow-pop: 0 2px 4px rgba(46,30,18,.08), 0 16px 40px rgba(46,30,18,.12);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--chocolate);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan-deep); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--cyan-deep); }

h1, h2, h3 { font-family: var(--font-display); margin: 0; color: var(--chocolate); }
h1 { font-size: 64px; line-height: 1.05; font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: 44px; line-height: 1.1; font-weight: 700; letter-spacing: -0.015em; }
h3 { font-size: 22px; line-height: 1.25; font-weight: 700; }
p { margin: 0; color: var(--cocoa); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.section { padding: 96px 0; }
.section--deep { background: var(--cream-deep); }
.section--dark { background: var(--choco-dark); color: var(--cream-on-dark); }
.section--dark h1, .section--dark h2, .section--dark h3 { color: var(--cream-on-dark); }
.section--dark p { color: var(--cocoa-on-dark); }

/* Маркерное подчёркивание (единственное допустимое место для linear-gradient) */
.marker {
  background: linear-gradient(transparent 60%, rgba(47,198,246,.45) 60%);
  padding: 0 .06em;
}
.marker--dark {
  background: linear-gradient(transparent 60%, rgba(47,198,246,.35) 60%);
}

/* Шапка секции: заголовок слева + номер */
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.section-head h2 { max-width: 720px; }
.section-num {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--cyan-deep);
  white-space: nowrap;
}
.section-sub { margin-top: 12px; max-width: 640px; }

/* Кнопки */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .01em;
  line-height: 1;
  padding: 16px 28px;
  border-radius: var(--r-btn);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, transform .18s ease, border-color .18s ease;
}
.btn--primary { background: var(--cyan); color: var(--chocolate); }
.btn--primary:hover { background: var(--cyan-deep); color: var(--white); transform: translateY(-1px); }
.btn--secondary { background: transparent; border-color: var(--chocolate); color: var(--chocolate); }
.btn--secondary:hover { background: var(--chocolate); color: var(--cream); }
.btn--secondary-light { background: transparent; border-color: var(--cream-on-dark); color: var(--cream-on-dark); }
.btn--secondary-light:hover { background: var(--cream-on-dark); color: var(--choco-dark); }
.btn--sm { padding: 10px 20px; font-size: 15px; }

/* Шапка сайта */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background .2s ease, border-color .2s ease, backdrop-filter .2s ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(250,245,238,.9);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--sand);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--chocolate); }
.brand__mark {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--cyan);
  color: var(--chocolate);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.brand__name { font-family: var(--font-display); font-weight: 700; font-size: 17px; }
.site-header.on-dark .brand { color: var(--cream-on-dark); }
.site-header.is-scrolled .brand { color: var(--chocolate); }

.nav-list { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-list a { font-size: 15px; font-weight: 500; color: var(--cream-on-dark); }
.nav-list a:hover { color: var(--cyan); }
.site-header.is-scrolled .nav-list a { color: var(--chocolate); }
.site-header.is-scrolled .nav-list a:hover { color: var(--cyan-deep); }

.header-actions .btn--secondary-light { border-color: var(--cream-on-dark); color: var(--cream-on-dark); }
.site-header.is-scrolled .header-actions .btn--secondary-light { border-color: var(--chocolate); color: var(--chocolate); }
.site-header.is-scrolled .header-actions .btn--secondary-light:hover { background: var(--chocolate); color: var(--cream); }
.header-actions .btn--secondary-light:hover { background: var(--cream-on-dark); color: var(--choco-dark); }

.burger {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
  color: var(--cream-on-dark);
}
.site-header.is-scrolled .burger { color: var(--chocolate); }
.burger svg { display: block; }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--cream);
  padding: 96px 24px 40px;
  display: none;
  flex-direction: column;
  gap: 8px;
}
.mobile-menu.is-open { display: flex; }
.mobile-menu a {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--chocolate);
  padding: 12px 0;
  border-bottom: 1px solid var(--sand);
}
.mobile-menu .btn { margin-top: 24px; justify-content: center; }
body.menu-open { overflow: hidden; }

/* Hero */
.hero { padding: 160px 0 96px; }
.hero__grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 48px;
  align-items: center;
}
.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--cocoa-on-dark);
  margin-bottom: 24px;
}
.hero__eyebrow::before {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--cyan);
}
.hero__lead { margin-top: 24px; max-width: 480px; font-size: 17px; }
.hero__cta { margin-top: 36px; display: flex; gap: 16px; flex-wrap: wrap; }

/* Оконная карточка (скриншоты, hero) */
.window-card {
  background: var(--white);
  border-radius: 20px;
  box-shadow: var(--shadow-pop);
  overflow: hidden;
  border: 1px solid var(--sand);
}
.window-card__bar {
  background: var(--cream-deep);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.window-card__bar i {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #CFC4B4;
  display: block;
}
.window-card__label {
  margin-left: 8px;
  font-size: 12px;
  font-weight: 500;
  color: var(--cocoa);
}
.window-card img { width: 100%; }

/* Карточки возможностей */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--white);
  border: 1px solid var(--sand);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-card);
  padding: 28px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-pop);
  border-color: var(--cyan);
}
.feature-card svg { width: 28px; height: 28px; color: var(--cyan-deep); margin-bottom: 16px; }
.feature-card h3 { margin-bottom: 10px; }
.feature-card p { font-size: 15px; }

/* Overview: текст + скриншот */
.overview-grid {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: 48px;
  align-items: center;
}
.overview-grid--reverse { grid-template-columns: 6fr 5fr; }
.overview-grid h2 { margin-bottom: 16px; font-size: 36px; }
.overview-grid .btn { margin-top: 28px; }
.overview-item + .overview-item { margin-top: 72px; }

/* Слайдер скриншотов */
.slider { position: relative; max-width: 960px; margin: 0 auto; }
.slider__track { display: none; }
.slider__track.is-active { display: block; }
.slider__dots { display: flex; justify-content: center; gap: 10px; margin-top: 24px; }
.slider__dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: var(--sand);
  cursor: pointer;
  transition: background .18s ease;
}
.slider__dot.is-active { background: var(--cyan-deep); }
.slider__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--sand);
  background: var(--white);
  color: var(--chocolate);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-card);
  transition: border-color .18s ease;
}
.slider__nav:hover { border-color: var(--cyan); }
.slider__nav--prev { left: -22px; }
.slider__nav--next { right: -22px; }

/* Тарифы */
.trial-banner {
  background: var(--white);
  border: 1px solid var(--sand);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-card);
  padding: 20px 28px;
  max-width: 720px;
  margin: 0 auto 48px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 15px;
  color: var(--cocoa);
}
.trial-banner svg { width: 24px; height: 24px; color: var(--orange); flex: none; }
.trial-banner b { color: var(--chocolate); }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}
.price-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--sand);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-card);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.price-card--featured {
  border: 2px solid var(--cyan);
  box-shadow: var(--shadow-pop);
}
.price-card__badge {
  position: absolute;
  top: -14px;
  left: 28px;
  background: var(--orange);
  color: var(--chocolate);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
}
.price-card__name { font-family: var(--font-display); font-size: 18px; font-weight: 700; }
.price-card__price { font-family: var(--font-display); font-size: 40px; font-weight: 800; line-height: 1; }
.price-card ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.price-card li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; color: var(--cocoa); }
.price-card li svg { width: 18px; height: 18px; color: var(--leaf); flex: none; margin-top: 3px; }
.price-card .btn { justify-content: center; margin-top: auto; }

/* Шаги */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
  margin-bottom: 48px;
}
.steps::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 4%;
  right: 4%;
  height: 1px;
  background: var(--sand);
}
.step { position: relative; padding-top: 0; }
.step__num {
  position: relative;
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 800;
  color: var(--cyan-deep);
  background: var(--cream);
  display: inline-block;
  padding-right: 12px;
  margin-bottom: 12px;
}
.step__num::after {
  content: '';
  position: absolute;
  top: 14px;
  right: -4px;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--cyan);
}
.section--deep .step__num { background: var(--cream-deep); }
.step h3 { font-size: 19px; margin-bottom: 8px; }
.step p { font-size: 14px; }
.steps-cta { text-align: center; }

/* FAQ */
.faq-grid {
  display: grid;
  grid-template-columns: 4fr 7fr;
  gap: 48px;
  align-items: start;
}
.faq-side { position: sticky; top: 120px; }
.faq-side h2 { margin-bottom: 16px; }
.faq-list { border-top: 1px solid var(--sand); }
.faq-item { border-bottom: 1px solid var(--sand); }
.faq-item__q {
  width: 100%;
  background: none;
  border: 0;
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  color: var(--chocolate);
  cursor: pointer;
}
.faq-item__q svg { width: 20px; height: 20px; color: var(--cyan-deep); flex: none; }
.faq-item__q .icon-minus { display: none; }
.faq-item.is-open .icon-plus { display: none; }
.faq-item.is-open .icon-minus { display: block; }
.faq-item__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .25s ease;
}
.faq-item__a p { padding: 0 0 22px; max-width: 640px; font-size: 16px; }

/* Финальный CTA */
.final-cta { position: relative; text-align: center; }
.final-cta h2 { max-width: 760px; margin: 0 auto 20px; }
.final-cta p { max-width: 560px; margin: 0 auto 36px; }
.final-cta__corner {
  position: absolute;
  top: 0; right: 0;
  width: 72px; height: 72px;
  border-top: 2px solid var(--cyan);
  border-right: 2px solid var(--cyan);
}

/* Контакты внутри CTA */
.final-cta .contact-line { margin-bottom: 28px; }
.final-cta .contact-line a { color: var(--cyan); text-decoration: underline; }

/* Подвал */
.footer {
  background: var(--cream);
  border-top: 1px solid var(--sand);
  padding: 56px 0 32px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}
.footer__brand p { font-size: 14px; margin-top: 14px; max-width: 280px; }
.footer h4 {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--cyan-deep);
  margin: 0 0 16px;
}
.footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer li, .footer a { font-size: 14px; font-weight: 500; color: var(--cocoa); }
.footer a:hover { color: var(--cyan-deep); }
.footer__bottom {
  border-top: 1px solid var(--sand);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--cocoa);
}
.footer__bottom a { color: var(--cocoa); }
.footer__bottom a:hover { color: var(--cyan-deep); }

/* Анимация появления */
.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .4s ease-out, transform .4s ease-out;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* Адаптив */
@media (max-width: 1280px) {
  h1 { font-size: 54px; }
  h2 { font-size: 38px; }
}
@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { max-width: 560px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .overview-grid, .overview-grid--reverse { grid-template-columns: 1fr; }
  .overview-grid--reverse .overview-media { order: -1; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .faq-grid { grid-template-columns: 1fr; }
  .faq-side { position: static; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .hero { padding: 120px 0 56px; }
  h1 { font-size: 38px; }
  h2 { font-size: 30px; }
  .overview-grid h2 { font-size: 28px; }
  .nav-list, .header-actions { display: none; }
  .burger { display: block; }
  .features-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 24px; padding-left: 24px; }
  .steps::before { top: 0; bottom: 0; left: 8px; right: auto; width: 1px; height: auto; }
  .step__num::after { top: 16px; right: auto; left: -20px; }
  .slider__nav { display: none; }
}
@media (max-width: 480px) {
  h1 { font-size: 32px; }
  .hero__cta .btn { width: 100%; justify-content: center; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .final-cta__corner { width: 40px; height: 40px; }
}
