/* ===================== RESET & BASE ===================== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Roboto Flex', sans-serif;
  font-variation-settings: "GRAD" 0, "XOPQ" 96, "XTRA" 468, "YOPQ" 79, "YTAS" 750, "YTDE" -203, "YTFI" 738, "YTLC" 514, "YTUC" 712, "wdth" 100;
  color: #fff;
  background: #000;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
ul, li { list-style: none; }
img { display: block; max-width: 100%; }

/* ===================== SECTION ICONS ===================== */
.section-icon { display: inline-block; flex-shrink: 0; }
.section-icon--reviews { width: 92px; height: 117px; }
.section-icon--team { width: 106px; height: 105px; }
.section-icon--lg { width: 113px; height: 113px; }

/* ===================== ZIGZAG ARROW ICONS (SVG) ===================== */
.arrow { display: inline-block; flex-shrink: 0; vertical-align: middle; }
.arrow--lg { width: 27px; height: 27px; }
.arrow--sm { width: 15px; height: 15px; }
.arrow--xs { width: 8px; height: 8px; }

/* ===================== HEADER ===================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  padding: 0 80px;
  background: rgba(0,0,0,0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: height 0.3s, background 0.3s, box-shadow 0.3s;
}
.header--scrolled {
  height: 60px;
  background: rgba(0,0,0,0.6);
  box-shadow: 0 1px 24px rgba(0,0,0,0.3);
}

.header__logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.header__logo-name {
  font-family: 'Voltaire', sans-serif;
  font-size: 36px;
  color: #fff;
  letter-spacing: 6px;
}
.header__logo-sub {
  font-family: 'Voltaire', sans-serif;
  font-size: 15px;
  color: #1f52ec;
  letter-spacing: 15.5px;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 40px;
}
.header__link {
  font-weight: 300;
  font-size: 23px;
  color: #fff;
  transition: color 0.2s;
}
.header__link:hover { text-decoration: underline; text-decoration-color: #f33; text-underline-offset: 4px; }

.header__cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  background: #2452d9;
  color: #fff;
  font-style: italic;
  font-weight: 300;
  font-size: 18px;
  padding: 0 10px;
  height: 27px;
  transition: opacity 0.2s;
}
.header__cta-btn:hover { background: #f33; }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.burger span {
  display: block;
  width: 28px;
  height: 2px;
  background: #fff;
  transition: 0.3s;
}

/* ===================== HERO ===================== */
.hero {
  position: relative;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 251px 43px 120px 43px;
  min-height: 800px;
  overflow: visible;
}
.hero__bg-text {
  position: absolute;
  top: 85px;
  left: 33px;
  font-family: 'Voltaire', sans-serif;
  font-size: 445px;
  color: #fff;
  opacity: 0.1;
  letter-spacing: 60px;
  width: 1440px;
  line-height: 1;
  pointer-events: none;
  z-index: 0;
}

.hero__title {
  font-weight: 500;
  font-size: 75px;
  line-height: 75px;
  color: #fff;
  position: relative;
  z-index: 1;
}
.hero__subtitle {
  font-weight: 400;
  font-size: 75px;
  line-height: 75px;
  color: #2452d9;
  position: relative;
  z-index: 1;
}
.hero__desc {
  font-style: italic;
  font-size: 25px;
  line-height: 25px;
  color: #8c8c8c;
  margin-top: 18px;
  max-width: 615px;
  position: relative;
  z-index: 1;
}
.hero__btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #2452d9;
  color: #fff;
  font-weight: 300;
  font-style: italic;
  font-size: 30px;
  line-height: 30px;
  height: 45px;
  padding: 0 14px;
  margin-top: 60px;
  position: relative;
  z-index: 1;
  transition: opacity 0.2s;
}
.hero__btn:hover { background: #f33; }

.hero__btn-note {
  font-size: 10px;
  line-height: 20px;
  color: #8c8c8c;
  margin-top: 2px;
  position: relative;
  z-index: 1;
}

.hero__logos {
  display: flex;
  gap: 29px;
  margin-top: 18px;
  position: relative;
  z-index: 1;
}
.hero__logo-box {
  width: 55px;
  height: 55px;
  background: #2351da;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.hero__logo-box:hover { background: #f33; }
.hero__logo-img {
  width: 31px;
  height: 31px;
  object-fit: contain;
}

/* Hero floating screens */
.hero__screens {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  pointer-events: none;
  overflow: visible;
}
.hero__screen {
  position: absolute;
  pointer-events: auto;
}
.hero__screen > img {
  width: 100%;
  height: auto;
}
.hero__screen--1 {
  top: 130px;
  left: 1011px;
  width: 347px;
  transform: rotate(-3.66deg);
}
.hero__screen--2 {
  top: 325px;
  left: 1051px;
  width: 368px;
  transform: rotate(5.26deg);
}
.hero__screen--3 {
  top: 545px;
  left: 1006px;
  width: 358px;
  transform: rotate(-2.55deg);
}
.hero__screen-badge {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  background: #2452d9;
  padding: 4px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  white-space: nowrap;
  text-decoration: none;
  z-index: 3;
  width: 28%;
  height: 7.5%;
}
.hero__screen--1 .hero__screen-badge { top: 40.5%; width: 30%; }
.hero__screen--2 .hero__screen-badge { top: 40%; width: 30%; }
.hero__screen--3 .hero__screen-badge { top: 39.5%; width: 30%; left: 50%; }
.hero__screen-badge:hover { background: #f33; }
.hero__screen-badge-text {
  font-weight: 300;
  font-style: italic;
  font-size: 10px;
  color: #fff;
  letter-spacing: 0.5px;
}

/* ===================== PIPELINE ===================== */
.pipeline {
  max-width: 1440px;
  margin: 0 auto;
  padding: 80px 112px;
}
.pipeline__header {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  margin-bottom: 60px;
}
.pipeline__title {
  font-weight: 400;
  font-size: 100px;
  line-height: 110px;
  letter-spacing: 5px;
  color: #fff;
  max-width: 1042px;
}

.pipeline__list {
  display: flex;
  flex-direction: column;
}
.pipeline__step {
  position: relative;
  display: grid;
  grid-template-columns: 280px 1fr;
  align-items: start;
  padding-bottom: 86px;
}
.pipeline__step::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 86px;
  height: 1px;
  background: #fff;
}
.pipeline__num-wrap {
  position: relative;
  height: 105px;
  overflow: hidden;
  align-self: end;
}
.pipeline__num {
  font-size: 200px;
  line-height: 1;
  letter-spacing: 4px;
  color: #fff;
  display: block;
}
.pipeline__desc {
  font-weight: 300;
  font-size: 40px;
  line-height: 40px;
  letter-spacing: 4px;
  color: #fff;
  max-width: 963px;
  align-self: end;
  margin-bottom: 6px;
}

/* ===================== PRICING ===================== */
.pricing {
  max-width: 1440px;
  margin: 0 auto;
  padding: 20px 73px 80px;
}
.pricing__header {
  display: flex;
  align-items: flex-start;
  gap: 90px;
  margin-bottom: 60px;
  padding-left: 40px;
}
.pricing__title {
  font-weight: 400;
  font-size: 80px;
  color: #fff;
}

.pricing__cards {
  display: flex;
  gap: 47px;
}
.pricing__card {
  width: 400px;
  min-height: 603px;
  padding: 19px 24px 28px;
  position: relative;
  display: flex;
  flex-direction: column;
}
.pricing__card--newbie { background: #fff; }
.pricing__card--advanced { background: #2351da; }
.pricing__card--bespoke { background: #fff; }

.pricing__card-name {
  font-weight: 400;
  font-size: 50px;
  color: #050505;
}
.pricing__card-name--white { color: #fff; }

.pricing__price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 4px;
}
.pricing__price {
  font-weight: 300;
  font-style: italic;
  font-size: 36px;
  color: #050505;
}
.pricing__price--white { color: #fff; }

.pricing__duration {
  font-weight: 200;
  font-style: italic;
  font-size: 15px;
  letter-spacing: 0.75px;
  color: #000;
}
.pricing__duration-bullet {
  margin-right: 4px;
}
.pricing__duration--white { color: #fff; }

.pricing__tagline {
  font-weight: 300;
  font-size: 12.5px;
  line-height: 12.5px;
  letter-spacing: 1.25px;
  color: #2452d9;
  margin-top: 6px;
  max-width: 280px;
}
.pricing__tagline--white { color: #fff; }
.pricing__tagline--dark { color: #000; }

.pricing__divider {
  width: 344px;
  height: 1px;
  background: #1f1f1f;
  margin: 20px 0 14px;
}
.pricing__divider--white { background: #fff; }
.pricing__divider--dark { background: #000; }

.pricing__section-title {
  font-weight: 400;
  font-size: 20px;
  letter-spacing: 1px;
  color: #000;
  margin-top: 8px;
  margin-bottom: 5px;
}
.pricing__section-title--white { color: #fff; }

.pricing__items { display: flex; flex-direction: column; padding-left: 10px; }

.pricing__item {
  font-weight: 200;
  font-style: italic;
  font-size: 10px;
  line-height: 20px;
  letter-spacing: 0.5px;
  color: #000;
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.pricing__item--white { color: #fff; }

.pricing__check {
  font-family: 'Inter', sans-serif;
  font-size: 12.5px;
  color: #fff;
  flex-shrink: 0;
  width: 14px;
  text-align: center;
}
.pricing__check--blue { color: #2351da; }
.pricing__check--dark { color: #000; }

.pricing__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-style: italic;
  font-size: 20px;
  letter-spacing: 0.4px;
  width: 344px;
  height: 52px;
  margin-top: auto;
  transition: opacity 0.2s;
}
.pricing__btn:hover { background: #f33; color: #fff; opacity: 1; }
.pricing__btn--white:hover .arrow { filter: brightness(0) invert(1); }
.pricing__btn--blue:hover { background: #f33; opacity: 1; }
.pricing__btn--blue { background: #2351da; color: #fff; }
.pricing__btn--white { background: #fff; color: #2452d9; }
.pricing__btn--dark { background: #000; color: #fff; }

/* ===================== REVIEWS ===================== */
.reviews {
  max-width: 1440px;
  margin: 0 auto;
  padding: 60px 80px 80px;
}
.reviews__header {
  display: flex;
  align-items: flex-start;
  gap: 90px;
  margin-bottom: 50px;
  padding-left: 35px;
}
.reviews__title {
  font-weight: 400;
  font-size: 80px;
  color: #fff;
}

.reviews__cards {
  display: flex;
  gap: 40px;
}
.reviews__card {
  width: 400px;
  background: #fff;
  display: flex;
  flex-direction: column;
}
.reviews__card-top { padding: 8px 18px 20px; }

.reviews__name {
  font-weight: 400;
  font-size: 40px;
  letter-spacing: 2px;
  color: #050505;
}
.reviews__tier {
  font-weight: 300;
  font-size: 15px;
  letter-spacing: 0.75px;
  color: #a3a3a3;
  margin-top: 4px;
}
.reviews__quote {
  font-weight: 200;
  font-style: italic;
  font-size: 12px;
  line-height: 1.3;
  letter-spacing: 0.6px;
  color: #a3a3a3;
  margin-top: 30px;
  min-height: 79px;
}

.reviews__video {
  display: block;
  height: 183px;
  margin: 0 18px 18px;
  overflow: hidden;
}
.reviews__video-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===================== TEAM ===================== */
.team {
  max-width: 1440px;
  margin: 0 auto;
  padding: 60px 112px 80px;
}
.team__header {
  display: flex;
  align-items: flex-start;
  gap: 90px;
  margin-bottom: 50px;
}
.team__title {
  font-weight: 400;
  font-size: 80px;
  letter-spacing: 4px;
  color: #fff;
}

.team__content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.team__list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.team__member {
  cursor: pointer;
  transition: color 0.2s;
}
.team__member:hover .team__name { color: #f33; }

.team__name {
  font-weight: 400;
  font-size: 50px;
  color: #fff;
}
.team__role {
  font-weight: 400;
  font-size: 15px;
  color: #666;
  margin-top: 2px;
}

.team__photo-wrap {
  position: relative;
  width: 484px;
  height: 484px;
  flex-shrink: 0;
}
.team__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.4s;
}
.team__photo--active { opacity: 1; }

.team__photo-overlay {
  position: absolute;
  inset: 0;
  background: rgba(36, 82, 217, 0.25);
  pointer-events: none;
}

/* ===================== FOOTER ===================== */
.footer {
  position: relative;
  background: #fff;
  border-radius: 90px 90px 0 0;
  overflow: hidden;
  padding: 60px 147px 40px;
  margin-top: 40px;
}

.footer__top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  position: relative;
  z-index: 1;
}

.footer__icon {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
}

.footer__email {
  font-weight: 500;
  font-size: 70px;
  color: #000;
  letter-spacing: 7px;
}

.footer__cols {
  display: flex;
  gap: 320px;
  margin-top: 80px;
  position: relative;
  z-index: 1;
  padding-left: 400px;
}
.footer__col { display: flex; flex-direction: column; gap: 4px; }
.footer__col-title {
  font-weight: 500;
  font-size: 20px;
  letter-spacing: 1px;
  color: #a3a3a3;
  margin-bottom: 16px;
}
.footer__link {
  font-weight: 300;
  font-size: 15px;
  letter-spacing: 0.75px;
  color: #000;
  transition: opacity 0.2s;
}
.footer__link:hover { opacity: 0.7; }
.footer__link--dim {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  opacity: 0.7;
}

.footer__bottom {
  margin-top: 80px;
  position: relative;
  z-index: 1;
}
.footer__divider {
  width: 100%;
  height: 1px;
  background: #000;
  opacity: 0.15;
}
.footer__legal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
}
.footer__copyright {
  font-size: 12px;
  color: #000;
  opacity: 0.4;
}
.footer__legal-links {
  display: flex;
  gap: 40px;
}
.footer__legal-link {
  font-size: 12px;
  color: #000;
  opacity: 0.4;
  transition: opacity 0.2s;
}
.footer__legal-link:hover { opacity: 0.7; }

/* ===================== VIDEO MODAL ===================== */
.video-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  z-index: 200;
  align-items: center;
  justify-content: center;
}
.video-modal.is-active { display: flex; }
.video-modal__close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: #fff;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 201;
}
.video-modal__wrap {
  width: 90%;
  max-width: 900px;
  aspect-ratio: 16 / 9;
}
.video-modal__wrap iframe {
  width: 100%;
  height: 100%;
}

/* ===================== SCROLL REVEAL ===================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1280px) {
  .hero__bg-text { font-size: 300px; letter-spacing: 30px; }
  .hero__title, .hero__subtitle { font-size: 56px; line-height: 60px; }
  .hero__btn { font-size: 24px; }
  .hero__screens { transform: scale(0.75); transform-origin: top right; }
  .hero__screen--1 { left: auto; right: 0; }
  .hero__screen--2 { left: auto; right: -30px; }
  .hero__screen--3 { left: auto; right: 10px; }
  .pipeline { padding: 60px 60px; }
  .pipeline__title { font-size: 70px; line-height: 80px; }
  .pipeline__step { grid-template-columns: 200px 1fr; padding-bottom: 60px; }
  .pipeline__step::after { bottom: 60px; }
  .pipeline__num { font-size: 140px; }
  .pipeline__num-wrap { height: 65px; }
  .pipeline__desc { font-size: 30px; line-height: 34px; }
  .pricing { padding: 60px 40px; }
  .pricing__cards { gap: 24px; }
  .pricing__card { width: 33.33%; }
  .pricing__btn { width: 100%; }
  .reviews { padding: 60px 40px; }
  .reviews__cards { gap: 24px; }
  .reviews__card { width: 33.33%; }
  .footer__email { font-size: 48px; }
  .footer__cols { gap: 150px; }
  .footer { padding: 60px 80px 40px; }
}

@media (max-width: 1024px) {
  .header { padding: 0 24px; }
  .header__nav { display: none; }
  .header--open .header__nav {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #111;
    padding: 20px 24px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
    gap: 16px;
  }
  .burger { display: flex; }

  .hero { padding: 200px 24px 80px; }
  .hero__bg-text { font-size: 180px; letter-spacing: 20px; top: 60px; }
  .hero__title, .hero__subtitle { font-size: 40px; line-height: 44px; }
  .hero__desc { font-size: 18px; line-height: 22px; }
  .hero__btn { font-size: 18px; padding: 0 24px; height: 40px; }
  .hero__screens { display: none; }
  .hero { overflow: hidden; }

  .pipeline { padding: 40px 24px; }
  .pipeline__title { font-size: 44px; line-height: 50px; letter-spacing: 2px; }
  .pipeline__step { grid-template-columns: 100px 1fr; padding-bottom: 40px; }
  .pipeline__step::after { bottom: 40px; }
  .pipeline__num { font-size: 80px; }
  .pipeline__num-wrap { height: 40px; }
  .pipeline__desc { font-size: 22px; line-height: 28px; letter-spacing: 1px; }

  .pricing { padding: 40px 24px; }
  .pricing__cards { flex-direction: column; align-items: center; }
  .pricing__card { width: 100%; max-width: 500px; }
  .pricing__btn { width: 100%; }

  .reviews { padding: 40px 24px; }
  .reviews__cards { flex-direction: column; align-items: center; }
  .reviews__card { width: 100%; max-width: 500px; }

  .team { padding: 40px 24px; }
  .team__content { flex-direction: column; gap: 40px; }
  .team__photo-wrap { width: 100%; max-width: 400px; height: 400px; }
  .team__name { font-size: 36px; }

  .footer { padding: 50px 24px 30px; border-radius: 60px 60px 0 0; }
  .footer__email { font-size: 28px; letter-spacing: 2px; }
  .footer__cols { flex-direction: column; gap: 30px; padding-left: 0; }
  .footer__legal { flex-direction: column; gap: 12px; text-align: center; }
  .footer__legal-links { flex-wrap: wrap; justify-content: center; gap: 16px; }
}

@media (max-width: 640px) {
  .hero__title, .hero__subtitle { font-size: 30px; line-height: 34px; }
  .hero__bg-text { font-size: 100px; letter-spacing: 10px; }
  .pipeline__title { font-size: 32px; line-height: 38px; }
  .pricing__title, .reviews__title, .team__title { font-size: 48px; }
  .footer__email { font-size: 18px; letter-spacing: 1px; }
  .footer__top { flex-direction: column; align-items: flex-start; }
}
