/* ============ База ============ */
:root {
  --bg: #0a1112;
  --bg-alt: #0d1719;
  --card: #101c1e;
  --card-border: #1d3134;
  --teal: #2dd4bf;
  --cyan: #22d3ee;
  --teal-dark: #0891b2;
  --gradient: linear-gradient(120deg, #2dd4bf, #0891b2);
  --text: #e9f2f1;
  --muted: #93a8a6;
  --radius: 18px;
  --header-h: 72px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Manrope", "Segoe UI", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

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

.container--narrow { max-width: 820px; }

.accent {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

section[id] { scroll-margin-top: var(--header-h); }

/* ============ Кнопки ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font: inherit;
  font-weight: 700;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
  white-space: nowrap;
}

.btn--sm { padding: 10px 18px; font-size: 15px; }
.btn--lg { padding: 16px 28px; font-size: 17px; }
.btn--block { width: 100%; padding: 14px 20px; }

.btn--primary {
  background: var(--gradient);
  color: #04211d;
  box-shadow: 0 8px 24px rgba(45, 212, 191, .25);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(45, 212, 191, .35); }

.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--card-border);
}
.btn--ghost:hover { border-color: var(--teal); color: var(--teal); transform: translateY(-2px); }

.btn--light {
  background: #06201d;
  color: #eafffb;
}
.btn--light:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(4, 33, 29, .45); }

.icon-tg { width: 20px; height: 20px; fill: currentColor; flex-shrink: 0; }

/* ============ Header ============ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(10, 17, 18, .6);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background .2s ease;
}

.header.scrolled {
  background: rgba(10, 17, 18, .9);
  border-bottom-color: var(--card-border);
}

.header__inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
  color: var(--text);
}

.logo__mark {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  filter: drop-shadow(0 4px 16px rgba(45, 212, 191, .3));
}

.logo__text {
  font-family: "Unbounded", "Manrope", sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: .3px;
  white-space: nowrap;
}

.logo__sub {
  display: block;
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.9px;
  text-transform: uppercase;
  color: var(--teal);
  margin-top: 4px;
  opacity: .9;
}

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

.nav__link {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: color .15s ease;
}
.nav__link:hover { color: var(--teal); }

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  background: transparent;
  border: 1px solid var(--card-border);
  border-radius: 10px;
  cursor: pointer;
  padding: 0 10px;
}
.burger span {
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============ Hero ============ */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 64px) 0 80px;
}

.hero__glow {
  position: absolute;
  top: -200px; right: -200px;
  width: 640px; height: 640px;
  background: radial-gradient(circle, rgba(45, 212, 191, .16), transparent 65%);
  pointer-events: none;
}

.header .container,
.hero .container { max-width: 1280px; }

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.12fr;
  gap: 40px;
  align-items: center;
}

.hero__eyebrow {
  display: inline-block;
  padding: 7px 16px;
  border: 1px solid var(--card-border);
  border-radius: 999px;
  color: var(--teal);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .8px;
  margin-bottom: 22px;
}

.hero__title {
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1.12;
  font-weight: 800;
  margin-bottom: 20px;
}

.hero__subtitle {
  font-size: 18px;
  color: var(--muted);
  max-width: 520px;
  margin-bottom: 32px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 44px;
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
}

.stat__value {
  font-size: 32px;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat__label {
  color: var(--muted);
  font-size: 14px;
  max-width: 150px;
}

.hero__photo {
  position: relative;
}

.hero__photo::before {
  content: "";
  position: absolute;
  inset: -12%;
  background: radial-gradient(circle at 55% 45%, rgba(45, 212, 191, .18), transparent 62%);
  pointer-events: none;
}

.hero__photo img {
  position: relative;
  width: 100%;
  height: auto;
  -webkit-mask-image:
    linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%),
    linear-gradient(180deg, transparent 0, #000 6%, #000 90%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%),
    linear-gradient(180deg, transparent 0, #000 6%, #000 90%, transparent 100%);
  mask-composite: intersect;
}

@media (min-width: 861px) {
  .hero__photo img {
    width: calc(100% + 64px);
    max-width: none;
    margin: 0 -32px;
  }
}

/* ============ Секции ============ */
.section { padding: 88px 0; }

.section--alt { background: var(--bg-alt); }

.section__title {
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 800;
  margin-bottom: 16px;
}

.section__subtitle {
  color: var(--muted);
  font-size: 17px;
  max-width: 640px;
  margin-bottom: 48px;
}

.section__title + .about,
.section__title + .timeline { margin-top: 48px; }

.section__cta {
  margin-top: 48px;
  text-align: center;
}

.card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 28px;
}

.chip {
  display: inline-block;
  padding: 8px 18px;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  color: var(--teal);
}

/* ============ Обо мне ============ */
.about {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}

.about__lead p {
  font-size: 18px;
  margin-bottom: 18px;
}

.about__lead strong { color: var(--teal); }

.about__companies {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.about__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.about-card__value {
  font-size: 26px;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 10px;
}

.about-card__text {
  color: var(--muted);
  font-size: 15px;
}

/* ============ Таймлайн ============ */
.timeline {
  list-style: none;
  position: relative;
  max-width: 720px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 23px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: linear-gradient(var(--teal), var(--teal-dark));
  opacity: .35;
}

.timeline__item {
  position: relative;
  display: flex;
  gap: 24px;
  padding-bottom: 36px;
}

.timeline__item:last-child { padding-bottom: 0; }

.timeline__num {
  position: relative;
  z-index: 1;
  width: 48px; height: 48px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: var(--card);
  border: 1px solid var(--teal);
  border-radius: 50%;
  color: var(--teal);
  font-weight: 800;
  font-size: 18px;
  box-shadow: 0 0 20px rgba(45, 212, 191, .15);
}

.timeline__body h3 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 6px;
  padding-top: 10px;
}

.timeline__body p { color: var(--muted); }

/* ============ Тарифы ============ */
.pricing {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 880px;
  margin: 0 auto;
}

.price-card {
  display: flex;
  flex-direction: column;
  padding: 36px 32px;
}

.price-card--featured {
  border-color: var(--teal);
  box-shadow: 0 0 48px rgba(45, 212, 191, .12);
}

.price-card__name {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 10px;
}

.price-card__desc {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 24px;
}

.price-card__price {
  font-size: 34px;
  font-weight: 800;
  line-height: 1.2;
}

.price-card__percent {
  font-size: 21px;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: 6px 0 24px;
}

.price-card__note {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  -webkit-background-clip: initial;
  background: none;
  margin-left: 4px;
}

.price-card__list {
  list-style: none;
  margin-bottom: 28px;
  flex-grow: 1;
}

.price-card__list li {
  position: relative;
  padding: 6px 0 6px 30px;
  color: var(--text);
  font-size: 15px;
}

.price-card__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 11px;
  width: 16px; height: 16px;
  background: var(--gradient);
  border-radius: 50%;
  mask: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path fill="black" d="M8 0a8 8 0 100 16A8 8 0 008 0zm3.7 6.2l-4.2 4.3a.9.9 0 01-1.3 0L4.3 8.6a.9.9 0 011.3-1.3l1.2 1.3 3.6-3.7a.9.9 0 011.3 1.3z"/></svg>') center / contain no-repeat;
  -webkit-mask: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path fill="black" d="M8 0a8 8 0 100 16A8 8 0 008 0zm3.7 6.2l-4.2 4.3a.9.9 0 01-1.3 0L4.3 8.6a.9.9 0 011.3-1.3l1.2 1.3 3.6-3.7a.9.9 0 011.3 1.3z"/></svg>') center / contain no-repeat;
}

/* ============ Отзывы ============ */
.reviews-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
}

.reviews-top .section__subtitle { margin-bottom: 0; }

.slider-nav {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.slider-nav__btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--card-border);
  background: var(--card);
  color: var(--teal);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: border-color .15s ease, transform .15s ease, opacity .15s ease;
}

.slider-nav__btn svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.slider-nav__btn:hover:not(:disabled) { border-color: var(--teal); transform: translateY(-2px); }
.slider-nav__btn:disabled { opacity: .35; cursor: default; }

.reviews {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.reviews::-webkit-scrollbar { display: none; }

.review {
  flex: 0 0 calc((100% - 40px) / 3);
  scroll-snap-align: start;
  padding: 24px;
}

.review__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 14px;
}

.review__author {
  font-weight: 800;
  color: var(--text);
  text-decoration: none;
  font-size: 15px;
}
.review__author:hover { color: var(--teal); }

.review__offer {
  padding: 5px 12px;
  background: rgba(45, 212, 191, .1);
  border: 1px solid rgba(45, 212, 191, .35);
  border-radius: 999px;
  color: var(--teal);
  font-weight: 700;
  font-size: 13px;
  white-space: nowrap;
}

.review__text {
  color: var(--muted);
  font-size: 14.5px;
  display: -webkit-box;
  -webkit-line-clamp: 9;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.review.expanded .review__text {
  display: block;
  -webkit-line-clamp: unset;
}

.review__toggle {
  margin-top: 12px;
  background: none;
  border: none;
  color: var(--teal);
  font: inherit;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  padding: 0;
}
.review__toggle:hover { text-decoration: underline; }

/* ============ FAQ ============ */
.faq {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 48px;
}

.faq__item {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color .2s ease;
}

.faq__item[open] { border-color: var(--teal); }

.faq__question {
  list-style: none;
  cursor: pointer;
  padding: 20px 56px 20px 24px;
  font-weight: 700;
  font-size: 17px;
  position: relative;
  user-select: none;
}

.faq__question::-webkit-details-marker { display: none; }

.faq__question::after {
  content: "";
  position: absolute;
  right: 24px; top: 50%;
  width: 12px; height: 12px;
  border-right: 2px solid var(--teal);
  border-bottom: 2px solid var(--teal);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .2s ease;
}

.faq__item[open] .faq__question::after {
  transform: translateY(-30%) rotate(225deg);
}

.faq__answer {
  padding: 0 24px 22px;
  color: var(--muted);
}

/* ============ CTA-блок ============ */
.cta-block { padding: 40px 0 100px; }

.cta-block__card {
  background: var(--gradient);
  border-radius: 28px;
  padding: 64px 40px;
  text-align: center;
  color: #04211d;
  box-shadow: 0 24px 64px rgba(45, 212, 191, .2);
}

.cta-block__title {
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 800;
  margin-bottom: 14px;
}

.cta-block__text {
  font-size: 18px;
  font-weight: 600;
  max-width: 560px;
  margin: 0 auto 32px;
  opacity: .85;
}

/* ============ Footer ============ */
.footer {
  border-top: 1px solid var(--card-border);
  padding: 56px 0 32px;
  background: var(--bg-alt);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer__note {
  color: var(--muted);
  font-size: 14px;
  margin-top: 16px;
  max-width: 300px;
}

.footer__heading {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: var(--muted);
  margin-bottom: 16px;
}

.footer__link {
  display: block;
  color: var(--text);
  text-decoration: none;
  font-size: 15px;
  padding: 5px 0;
  transition: color .15s ease;
}
.footer__link:hover { color: var(--teal); }

.footer__bottom {
  border-top: 1px solid var(--card-border);
  padding-top: 24px;
  color: var(--muted);
  font-size: 13px;
}

/* ============ Анимации появления ============ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============ Адаптив ============ */
@media (max-width: 1080px) and (min-width: 861px) {
  .logo__text { font-size: 13px; }
  .logo__sub { display: none; }
  .nav { gap: 18px; }
  .nav__link { font-size: 14px; }
}

@media (max-width: 1020px) {
  .review { flex-basis: calc((100% - 20px) / 2); }
  .hero__inner { gap: 28px; }
}

@media (max-width: 860px) {
  .hero__inner {
    grid-template-columns: 1fr;
  }
  .hero__photo { order: -1; max-width: 460px; margin: 0 auto; }
  .about { grid-template-columns: 1fr; }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--card-border);
    padding: 16px 20px 24px;
    transform: translateY(-16px);
    opacity: 0;
    visibility: hidden;
    transition: transform .2s ease, opacity .2s ease, visibility .2s;
  }
  .nav.open {
    transform: none;
    opacity: 1;
    visibility: visible;
  }
  .nav__link { padding: 12px 4px; font-size: 17px; }
  .nav__cta { margin-top: 12px; }
  .burger { display: flex; }
}

@media (max-width: 680px) {
  .section { padding: 64px 0; }
  .review { flex-basis: 100%; }
  .reviews-top { flex-direction: column; align-items: flex-start; gap: 20px; }
  .pricing { grid-template-columns: 1fr; }
  .about__cards { grid-template-columns: 1fr; }
  .hero { padding-top: calc(var(--header-h) + 40px); }
  .hero__stats { gap: 24px; }
  .stat__value { font-size: 26px; }
  .header .logo__text { display: none; }
  .cta-block__card { padding: 48px 24px; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .btn { white-space: normal; }
  .btn--lg { width: 100%; padding-left: 16px; padding-right: 16px; }
}
