/* ===== TOKENS ===== */
:root {
  --blue: #3521ff;
  --blue-dark: #1400dc;
  --teal: #3be9b9;
  --black: #000000;
  --text: #1a1b26;
  --text-on-dark: #ffffff;
  --bg: #ffffff;
  --bg-secondary: #f4f6fb;
  --border: #e9eaf2;
  --radius: 4px;
  --radius-lg: 8px;
  --container: 1520px;
  --gutter: 200px;
  --font-heading: "Helvetica Neue", Arial, sans-serif;
  --font-body: "PT Sans", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { font-family: var(--font-heading); font-weight: 700; margin: 0; }
p { margin: 0; line-height: 1.6; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 32px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  border: none;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-dark); transform: translateY(-1px); }
.btn--sm { padding: 8px 16px; font-size: 14px; }
.btn--block { width: 100%; }
.btn--login { background: #3BE9B9; color: #000; border: none;min-width: 140px; text-align: center; }
.btn--login:hover { background: #32d6a8; color: #000;}

/* ===== LAYOUT HELPERS ===== */
main section { padding: 64px var(--gutter); }
.section-head { max-width: 768px; margin: 0 auto 48px; text-align: center; }
.section-head h2 { font-size: 40px; line-height: 1.2; margin-bottom: 16px; color: var(--black); }
.section-head p { font-size: 18px; color: var(--text); }

/* ===== COOKIE BANNER ===== */

.cookie-banner {
  position: fixed;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 99999;

  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;

  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);

  padding: 20px 24px;

  font-family: var(--font-body, Arial, sans-serif);
}

.cookie-banner__content {
  max-width: 1200px;
  margin: 0 auto;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 32px;
}

.cookie-banner__text {
  flex: 1;
}

.cookie-banner__text strong {
  display: block;

  font-size: 17px;
  line-height: 1.3;

  color: var(--black, #171717);

  margin-bottom: 6px;
}

.cookie-banner__text p {
  margin: 0;

  font-size: 14px;
  line-height: 1.5;

  color: #5a5d70;
}

.cookie-banner__actions {
  display: flex;
  align-items: center;
  gap: 12px;

  flex-shrink: 0;
}

.cookie-btn {
  border: 0;
  border-radius: 10px;

  padding: 11px 20px;

  font-size: 14px;
  font-family: inherit;

  cursor: pointer;
  transition: 0.2s ease;
}

.cookie-btn--accept {
  background: var(--blue, #3521ff);
  color: #fff;
}

.cookie-btn--accept:hover {
  opacity: 0.9;
}

.cookie-btn--reject {
  background: #f3f4f6;
  color: #222;
}

.cookie-btn--reject:hover {
  background: #e8e9ec;
}

@media (max-width: 860px) {

  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;

    padding: 18px;
  }

  .cookie-banner__content {
    flex-direction: column;
    align-items: stretch;

    gap: 16px;
  }

  .cookie-banner__actions {
    width: 100%;
  }

  .cookie-btn {
    flex: 1;
  }
}
.cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 999999;

  display: block;

  background: #fff;
  border: 1px solid #ddd;
  border-radius: 16px;
  padding: 24px;

  box-shadow: 0 10px 40px rgba(0,0,0,.15);
}

.cookie-banner__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.cookie-banner__text {
  flex: 1;
}

.cookie-banner__text strong {
  display: block;
  margin-bottom: 8px;
}

.cookie-banner__text p {
  margin: 0;
}

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

.cookie-btn {
  padding: 12px 20px;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
}

.cookie-btn--accept {
  background: #3521ff;
  color: white;
}

.cookie-btn--reject {
  background: #eee;
}

@media (max-width: 860px) {

  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }

  .cookie-banner__content {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-banner__actions {
    width: 100%;
  }

  .cookie-btn {
    flex: 1;
  }
}

/* ===== TOPMENU ===== */
.topmenu {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px var(--gutter);
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.topmenu__logo { display: flex; align-items: center; }
.topmenu__logo img { height: 24px; width: auto; display: block; }
.topmenu__nav { display: flex; align-items: center; gap: 24px; }
.topmenu__nav a { font-weight: 700; font-size: 16px; color: var(--black); padding: 8px 12px; border-radius: var(--radius); }
.topmenu__nav a:hover { background: var(--bg-secondary); }
.topmenu__nav a.btn--primary,
.topmenu__nav a.btn--primary:hover { color: #ffffff; }
.topmenu__divider { width: 1px; height: 24px; background: var(--border); }
.topmenu__burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.topmenu__burger span { width: 24px; height: 2px; background: var(--black); }

/* ===== HERO ===== */
.hero {
  display: flex; align-items: stretch; gap: 0;
  padding: 0;
}
.hero__text { width: 539px; min-width: 539px; flex-shrink: 0; margin-left: 200px; padding: 0; padding-top: 110px; padding-bottom: 110px; }
.hero__text h1 { font-size: 48px; line-height: 1.25; color: var(--black); margin-bottom: 24px; }
.hero__lead { font-size: 18px; margin-bottom: 16px; }
.hero__text .btn { margin-top: 32px; align-self: flex-start; }
.hero__media { flex: 1; min-width: 0; overflow: hidden; background: var(--bg-secondary); }
.hero__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero__stats { display: flex; gap: 32px; margin-top: 48px; flex-wrap: wrap; }
.hero__stat p { margin: 0; line-height: 1; }
.hero__stat-small { font-size: 20px; color: var(--blue-dark); font-family: var(--font-heading); font-weight: 400; }
.hero__stat-big { font-size: 40px; color: var(--blue-dark); font-family: var(--font-heading); font-weight: 400; }
.hero__stat-label { font-size: 14px; color: var(--text); display: block; margin-top: 4px; }

/* ===== WHY BANNER ===== */
.why {
  background: var(--blue-dark);
  color: #fff;
  text-align: center;
  padding: 64px var(--gutter);
}
.why h2 { font-size: 40px; margin-bottom: 24px; }
.why p { font-size: 22px; line-height: 1.5; max-width: 900px; margin: 0 auto; }

/* ===== BENEFITS ===== */
.benefits { background: var(--bg-secondary); }
.benefits__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; max-width: var(--container); margin: 0 auto; }
.benefit-card { background: #fff; border-radius: var(--radius-lg); padding: 32px; }
.benefit-card__icon { width: 56px; height: 56px; background: var(--blue-dark); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; margin-bottom: 24px; }
.benefit-card__icon svg { width: 28px; height: 28px; }
.benefit-card h3 { font-size: 24px; margin-bottom: 16px; color: var(--text); }
.benefit-card p { font-size: 16px; color: var(--text); }

/* ===== FEATURES ===== */
.features__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; max-width: var(--container); margin: 0 auto; }
.feature-card { background: transparent; border: none; border-radius: var(--radius-lg); padding: 24px 0; }
.feature-card__head { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.feature-card__icon { width: 48px; height: 48px; background: var(--teal); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.feature-card__icon svg { width: 24px; height: 24px; }
.feature-card h3 { font-size: 22px; line-height: 1.25; }
.feature-card p { font-size: 16px; max-width: 300px; }

/* ===== HOW IT WORKS ===== */
.how { background: var(--bg-secondary); }
.how__video {
  max-width: var(--container); margin: 0 auto 56px;
  aspect-ratio: 16/9; border-radius: var(--radius-lg); overflow: hidden;
  background: #000;
  position: relative;
}
.how__video video { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: cover; }
.how__steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; max-width: var(--container); margin: 0 auto; }
.step { background: #fff; border-radius: var(--radius-lg); padding: 32px; position: relative; }
.step__num { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 12px; background: var(--blue); color: #fff; font-family: var(--font-heading); font-weight: 700; font-size: 18px; margin-bottom: 20px; }
.step h3 { font-size: 20px; margin-bottom: 12px; }
.step p { font-size: 15px; color: var(--text); }

/* ===== AUDIENCE ===== */
.audience { background: var(--blue-dark); color: #fff; }
.audience .section-head h2 { color: #fff; }
.audience .section-head p { color: rgba(255,255,255,.85); }
.audience__grid { display: grid; grid-template-columns: repeat(3, minmax(320px, 1fr)); gap: 20px; max-width: var(--container); margin: 0 auto; }
.audience-card { text-align: center; padding: 0; }
.audience-card h3 { font-size: 24px; line-height: 1.2; max-width: 320px; min-height: 58px; margin: 0 auto 16px; color: #fff; }
.audience-card p { font-size: 16px; color: rgba(255,255,255,.85); }

/* ===== TRUST ===== */
.trust-intro { text-align: center; padding-bottom: 0; }
.trust-intro h2 { font-size: 40px; }
.trust-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; max-width: var(--container); margin: 0 auto; padding-top: 32px; }
.trust-card { text-align: left; padding: 24px; display: flex; flex-direction: column; }
.trust-card__icon { width: 56px; height: 56px; border-radius: var(--radius); background: var(--blue-dark); display: flex; align-items: center; justify-content: center; margin-bottom: 24px; flex-shrink: 0; }
.trust-card__icon svg { width: 28px; height: 28px; }
.trust-card h3 { font-size: 20px; margin-bottom: 12px; min-height: 52px; display: flex; align-items: flex-start; }
.trust-card p { font-size: 15px; color: var(--text); }

/* ===== BREAKER ===== */
.breaker {
  position: relative; padding: 0;
  aspect-ratio: 1920 / 937.5;
  display: flex; align-items: flex-end;
  overflow: hidden; color: #fff;
}
.breaker__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.breaker__content { position: relative; z-index: 2; padding: 64px var(--gutter); max-width: 700px; }
.breaker__content h2 { font-size: 40px; margin-bottom: 8px; text-shadow: 0 2px 12px rgba(0,0,0,.35); }
.breaker__content p { font-size: 18px; text-shadow: 0 1px 8px rgba(0,0,0,.35); }

/* ===== STATS ===== */
.stats { text-align: center; background: #000; color: #fff; }
.stats h2 { font-size: 40px; max-width: 900px; margin: 0 auto 16px; color: #fff; }
.stats > p { font-size: 18px; max-width: 700px; margin: 0 auto 48px; color: rgba(255,255,255,.75); }
.stats__grid { display: flex; justify-content: center; gap: 80px; flex-wrap: wrap; }
.stat__num { display: block; font-family: var(--font-heading); font-weight: 700; font-size: 48px; color: var(--teal); }
.stat__label { font-size: 14px; color: rgba(255,255,255,.75); max-width: 220px; display: block; margin: 8px auto 0; }

/* ===== CTA ===== */
.cta { background: #fff; display: grid; grid-template-columns: 1fr 1fr; 
      grid-template-areas: 
       "title title" 
       "description email" 
       "list demo"; 
      gap: 32px 64px; align-items: start }
.cta__title h2 { font-size: 36px; color: var(--black); margin-bottom: 24px; }
.cta__title { grid-area: title; text-align: center; font-size: 36px; margin: 0; }
.cta__description { grid-area: description; font-size: 18px; margin: 0;}
.cta__email { grid-area: email; justify-self: start; margin: 0; align-self: center; }
.cta__email-icon { width: 60px; height: 60px; border-radius: var(--radius); background: var(--bg-secondary); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cta__email a { display: flex; align-items: center; gap: 16px; text-decoration: none; }
.cta__email a span:last-child { display: flex; flex-direction: column; }
.cta__email-icon svg { width: 30px; height: 30px; }
.cta__email b { display: block; font-size: 16px; color: var(--text); font-weight: 400; }
.cta__email em { font-style: normal; font-size: 18px; font-weight: 700; color: var(--blue); }
.cta__list { background: var(--bg-secondary); border-radius: var(--radius-lg); padding: 32px; grid-area: list; }
.cta__list h3 { font-size: 20px; margin-bottom: 16px; }
.cta__list li { display: flex; align-items: center; gap: 12px; font-size: 16px; padding: 10px 0; }
.cta__list li::before { content: "→"; color: var(--blue); font-weight: 700; flex-shrink: 0; }

.cta__right { background: var(--bg-secondary); border-radius: var(--radius-lg); padding: 40px; grid-area: demo;}
.cta__right h3 { font-size: 22px; margin-bottom: 12px; }
.cta__right p { font-size: 15px; color: var(--text); margin-bottom: 24px; }

/* ===== FOOTER ===== */
.footer { background: var(--bg-secondary); color: var(--text); padding: 64px var(--gutter) 32px; }
.footer__top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; padding-bottom: 40px; border-bottom: 1px solid var(--border); }
.footer__brand .topmenu__logo { margin-bottom: 16px; }
.footer__brand p { color: #5a5d70; font-size: 15px; max-width: 320px; }
.footer__col h4 { font-size: 15px; text-transform: uppercase; letter-spacing: .04em; color: #8b8ea3; margin-bottom: 16px; }
.footer__col a { display: block; margin-bottom: 12px; font-size: 15px; color: var(--text); }
.footer__col a:hover { color: var(--blue); }
.footer__social { display: flex; gap: 12px; margin-top: 20px; }
.footer__social a { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: #fff; border: 1px solid var(--border); color: var(--text); }
.footer__social a:hover { color: var(--blue); border-color: var(--blue); }
.footer__social img { display: block; }
.footer__bottom { padding-top: 24px; font-size: 14px; color: #8b8ea3; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
  :root {--gutter: 64px; }
  .hero { display: flex; align-items: stretch;}
  .hero__text { width: 50%; min-width: 0; margin-left: 0; padding: 80px var(--gutter); }
  .hero__stats { display: flex; justify-content: space-between; flex-wrap: nowrap; gap: 16px; }
  .hero__stat { flex: 1; text-align: center; }
  .hero__stat-big { white-space: nowrap; }
  .hero__stat-label { display: block; max-width: 100px; min-height: 36px; margin: 4px auto 0; line-height: 1.3; text-align: center; }
  .hero__media { width: 50%; height: auto; }
  .benefits__grid, .how__steps { grid-template-columns: 1fr 1fr; }
  .benefits__grid, .how__steps { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  body { padding-top: 80px; }
  .hero { display: flex; flex-direction: column; }
  .hero__text { width: 100%; min-width: 0 ; max-width: none ; flex: none ; margin: 0 ; padding: 40px 24px ; box-sizing: border-box; text-align: center; }
  .hero__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; text-align: center; }
  .hero__stat-big { white-space: nowrap; font-size: 20px; }
  .hero__stat-label { font-size: 12px; min-height: 32px; }
  .hero__media { width: 100%; order: 2; height: auto; }
  .topmenu { position: fixed; top: 0; left: 0; width: 100%; background: #fff; z-index: 9999; border-bottom: 1px solid #e5e5e5;}
  .topmenu__nav {display: none;}
  .topmenu__nav.is-open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; width: 100%;  background: #fff; padding: 24px; z-index: 1000; gap: 20px; box-sizing: border-box; border-top: 1px solid #e5e7eb; border-bottom: 1px solid #e5e7eb; }
  .topmenu__burger { display: flex; }
  .topmenu__nav a { padding: 12px; }
  .topmenu__divider { display: none; }
  .topmenu__burger { display: flex; }
  .hero__text h1 { font-size: 34px; }
  .breaker__content { padding: 80px 32px 32px; }
  .cta { display: flex; flex-direction: column; gap: 24px; }
  .cta__title { text-align: center; }
  .cta__description { width: 100%; }
  .cta__email { display: flex; align-items: center; gap: 16px; width: 100%; }
  .cta__email a { display: flex; align-items: center; gap: 16px; text-decoration: none; }
  .cta__list, .cta__right { width: 100%; box-sizing: border-box; }
  .why h2, .section-head h2, .stats h2, .breaker__content h2, .trust-intro h2 { font-size: 30px; }
  .why p { font-size: 18px; }
  .benefits__grid, .features__grid, .how__steps, .audience__grid, .trust-cards { grid-template-columns: 1fr; }
  .hero__stats { gap: 24px; }
  .stats__grid { gap: 40px; }
  .footer__top { grid-template-columns: 1fr; }
}

@media (min-width: 861px) {
  .cta__list,
  .cta__right {
    align-self: stretch;
  }
}

.footer__credit { display: block; margin-top: 8px; }
.footer__credit a { text-decoration: underline; text-underline-offset: 3px; }
