@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600&display=swap');

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

body {
  font-family: 'Montserrat', sans-serif;
  background: linear-gradient(90deg, #020121 0%, #00042E 100%);
  color: white;
  overflow-x: hidden;
}

.hero-container {
  max-width: 1720px;
  margin: 0 auto;
  padding: 5px;
}

.hero {
  padding: 120px 0 0 200px;
  position: relative;
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: nowrap;
  position: relative;
}

.hero-text {
  z-index: 2;
  flex: 0 1 55%;
  max-width: 900px;
  position: relative;
}

.logo {
  max-width: 430px;
  margin-bottom: 30px;
}

h1 {
  font-size: 73px;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 20px;
}

h1 .highlight {
  background: linear-gradient(90deg, #DAFFEB 0%, #BEC8FF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
  font-weight: 600;
}

h1 span.title-gradient {
  background: linear-gradient(90deg, #4601FA 0%, #7847FC 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
}

.subtitle {
  font-size: 35px;
  font-weight: 400;
  color: #ccc;
  margin-bottom: 30px;
}

.hero-button {
  display: inline-block;
  width: 623px;
  height: 128px;
  margin-top: 40px;
  line-height: 128px;
  text-align: center;
  font-size: 40px;
  font-weight: 600;
  background: linear-gradient(90deg, #4601FA 0%, #7847FC 100%);
  color: white;
  text-decoration: none;
  clip-path: polygon(0px 46px,
      46px 0%,
      100% 0%,
      100% 81px,
      556px 100%,
      0% 100%);
  transition: transform 0.2s ease;
}


.hero-image {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
}

.hero-image img {
  width: 1105px;
  height: auto;
  object-fit: contain;
  max-width: none;
}

@media (max-width: 768px) {
  .hero-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-text {
    max-width: 100%;
    flex: 1 1 100%;
    z-index: 2;
    width: 100%;
    padding-right: 0;
  }

  .logo {
    max-width: 280px;
    margin-bottom: 20px;
  }

  h1 {
    font-size: 38px;
    line-height: 1.2;
    margin-bottom: 15px;
  }

  .subtitle {
    font-size: 20px;
    margin-bottom: 25px;
  }

  .hero-button {
    font-size: 16px;
    /* padding: 12px 24px; */
  }

  .hero-image {
    position: static;
    transform: none;
    width: 100%;
    margin-top: 0px;
    text-align: center;
    z-index: 1;
  }

  .hero-image img {
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
  }

  .hero-container {
    padding: 30px 30px 0px 15px;
    border-bottom: 4px #6026fb solid;
  }

  body {
    text-align: left;
  }

  h1 .highlight {
    font-size: 24px;
  }
}

.hero-divider {
  /* width: 100vw; */
  height: 110px;
  background: none;
  margin-left: -200px;
  margin-top: 0;
  position: relative;
}

.hero-divider::before {
  content: '';
  position: absolute;
  left: -60px;
  top: 106px;
  width: 161px;
  height: 4px;
  background: linear-gradient(286deg, #4601FA, #7847FC);
  transform-origin: right center;
  transform: rotate(28deg);
}

.hero-divider::after {
  content: '';
  position: absolute;
  left: 100px;
  bottom: 0;
  width: calc(100% - 200px);
  height: 4px;
  background: linear-gradient(90deg, #4601FA, #7847FC);
}

.hero-divider .right-segment {
  position: absolute;
  right: -53px;
  top: 105.5px;
  width: 154px;
  height: 4px;
  background: linear-gradient(271deg, #4601FA, #7847FC);
  transform-origin: left center;
  transform: rotate(328deg);
}

/* ---------- WHY SECTION ---------- */
.why {
  padding: 120px 200px;
  position: relative;
}

.why-container {
  max-width: 1720px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: auto;
  gap: 47px 47px;
  /* row / column */
}

.why-intro h2 {
  font-size: 48px;
  font-weight: 600;
  line-height: 1.3;
  color: #7847FC;
  margin-bottom: 24px;
}

.why-lead {
  font-size: 36px;
  /* max-width: 580px; */
  color: white;
}

.why-card {
  position: relative;
  background: #0a0a23;
  border-radius: 16px;
  padding: 50px;
  max-width: 730px;
  clip-path: polygon(0 0, calc(100% - 50px) 0, 100% 50px, 100% 100%, 50px 100%, 0 calc(100% - 50px));
  background: #ffffff00;
}

.why-card::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 3px;
  background: linear-gradient(90deg, #4601FA 0%, #7847FC 100%);
  clip-path: inherit;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: -1;
}

.diagonal-top-right {
  position: absolute;
  top: 0;
  right: 0;
  width: 50px;
  height: 50px;
  z-index: 1;
}

.diagonal-top-right::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 141%;
  height: 4px;
  background: linear-gradient(90deg, #7543fc 0%, #7847FC 100%);
  transform: rotate(45deg);
  transform-origin: top left;
}

.diagonal-bottom-left {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 50px;
  z-index: 1;
}

.diagonal-bottom-left::before {
  content: "";
  position: absolute;
  bottom: 0;
  width: 283px;
  right: 0;
  width: 70px;
  height: 3px;
  background: linear-gradient(90deg, #4601fa 0%, #4905fb 100%);
  transform: rotate(45deg);
  transform-origin: bottom right;
}

.why-card h2,
.why-card h3 {
  background: linear-gradient(90deg, #CBFFE2 0%, #A0AFFF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-size: 36px;
  font-weight: lighter;
  margin-bottom: 20px;
}

.why-card p {
  font-size: 25px;
  color: white;
}

.why-card .small {
  font-size: 25px;
  /* margin-top: 22px; */
  color: #888;
}

.skills {
  list-style: none;
  margin: 0 0 16px 0;
  padding: 0;
}

.skills li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 8px;
}

.skills li::before {
  content: "♦";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 12px;
  line-height: 1.6;
  color: #DAFFEB;
}

@media (max-width: 1200px) {
  .why {
    padding: 90px 60px;
  }

  .why-container {
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .why {
    padding: 60px 20px;
  }

  .why-container {
    grid-template-columns: 1fr;
  }

  .why-intro h2 {
    font-size: 50px;
  }

  .why-lead {
    font-size: 18px;
  }

  .why-card {
    font-size: 18px;
    padding: 25px 30px 25px;
  }

  .why-card h3 {
    font-size: 24px;
  }
}

.mtop10 {
  margin-top: 10px;
}

.mtop20 {
  margin-top: 20px;
}

.mbot10 {
  margin-bottom: 10px;
}

.mbot20 {
  margin-bottom: 20px;
}

.main-nav .nav-list {
  list-style: none;
  display: flex;
  gap: 40px;
}

.main-nav .nav-list li a {
  text-decoration: none;
  font-size: 18px;
  font-weight: 100;
  color: #ffffff;
  position: relative;
  padding: 8px 0;
  transition: color 0.3s ease;
}

.main-nav .nav-list li a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, #4601FA 0%, #7847FC 100%);
  transition: width 0.3s ease;
}

.main-nav .nav-list li a:hover {
  color: #DAFFEB;
}

.main-nav .nav-list li a:hover::after {
  width: 100%;
}

/* Responsive */
@media (max-width: 768px) {
  .header-container {
    flex-direction: row !important; 
    justify-content: space-between;
    align-items: center;
  }

  .main-nav .nav-list {
    flex-direction: column;
    gap: 20px;
    padding-top: 20px;
  }
}

.skills {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
}

.skills li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 12px;
  font-size: 28px;
  line-height: 1.4;
}


.skills li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 10px;
  height: 10px;
  background: white;
  transform: translateY(-50%);
  -webkit-clip-path: polygon(50% 0%, 61% 39%,
      100% 50%, 61% 61%,
      50% 100%, 39% 61%,
      0% 50%, 39% 39%);
  clip-path: polygon(50% 0%, 61% 39%,
      100% 50%, 61% 61%,
      50% 100%, 39% 61%,
      0% 50%, 39% 39%);
  box-shadow: 0 0 4px #7847FC;
}

.why-card.mirror {
  clip-path: polygon(50px 0, 100% 0,
      100% calc(100% - 50px),
      calc(100% - 50px) 100%,
      0 100%, 0 50px);
}

.diagonal-top-left {
  position: absolute;
  top: 0;
  left: 0;
  width: 50px;
  height: 50px;
  z-index: 1;
}

.diagonal-top-left::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 141%;
  height: 4px;
  background: linear-gradient(90deg, #4601fa 0%, #4d0bfa 100%);
  transform: rotate(-45deg);
  transform-origin: top right;
}

.diagonal-bottom-right {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 50px;
  height: 50px;
  z-index: 1;
}

.diagonal-bottom-right::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 70px;
  height: 3px;
  background: linear-gradient(90deg, #4601FA 0%, #7847FC 100%);
  transform: rotate(-45deg);
  transform-origin: bottom left;
}

/* ---------- WHAT SECTION ---------- */
.what {
  padding: 60px 200px;
  position: relative;
}

.what-container {
  max-width: 1720px;
  margin: 0 auto;
  display: flex;
  gap: 120px;
  /* відстань між колонками */
  align-items: flex-start;
}

.what-col {
  flex: 1 1 50%;
  position: relative;
}

/* Заголовки */
.what h2,
.what h3 {
  font-weight: 600;
  line-height: 1.3;
  color: #7847FC;
  /* той самий фіолетовий, що й в інших секціях */
  margin-bottom: 24px;
}

.what h2 {
  font-size: 42px;
}

.what h3 {
  font-size: 38px;
}

.accent {
  color: #7847FC;
}

/* Списки з фіолетовими квадратиками-“glow” */
.list-square {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
}

.list-square li {
  position: relative;
  padding-left: 30px;
  /* під іконку */
  margin-bottom: 18px;
  font-size: 28px;
  line-height: 1.4;
}

.list-square li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  /* центрування по висоті рядка */
  width: 10px;
  height: 10px;
  background: #7847FC;
  border-radius: 2px;
  box-shadow: 0 0 4px #7847FC;
}

/* Пояснювальний дрібніший текст */
.note {
  font-size: 22px;
  color: #888;
}

.truck-top {
  width: 420px;
  display: block;
  margin: 0 auto 40px;
}

.truck-bottom {
  width: 420px;
  margin: 60px 0 0 100px;
}

@media(max-width: 768px) {
  .truck-top{
    display: none;
  }
}

@media(max-width:1200px) {
  .what {
    padding: 90px 60px;
  }

  .what-container {
    flex-direction: column;
    gap: 60px;
  }

  .truck-top,
  .truck-bottom {
    width: 100%;
    position: static;
    /* прибираємо absolute, щоб не накладалось */
    margin: 0px auto;
  }
}

@media(max-width:768px) {
  .what {
    padding: 30px 20px;
  }

  .what h2 {
    font-size: 32px;
  }

  .what h3 {
    font-size: 28px;
  }

  .list-square li {
    font-size: 18px;
  }

  .note {
    font-size: 16px;
  }
}

/* ---------- REVIEWS SECTION ---------- */
.reviews {
  padding: 60px 200px;
  position: relative;
}

.reviews-container {
  max-width: 1720px;
  margin: 0 auto;
}

/* заголовок і короткий підзаголовок */
.reviews h2 {
  font-size: 42px;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 24px;
}

.reviews-lead {
  font-size: 22px;
  color: #8ea1c5;
  max-width: 860px;
  margin-bottom: 60px;
}

/* лента карток */
.reviews-cards {
  display: flex;
  gap: 40px;
  align-items: stretch;
}

/* ---- картка відгуку з “зрізаними” кутами ---- */
.review-card {
  position: relative;
  flex: 1 1 33%;
  padding: 38px 38px 44px;
  color: #fff;
  --cut: 32px;
  /* розмір зрізу */
  --border-w: 3px;
  /* товщина лінії */
  clip-path: polygon(0 var(--cut), var(--cut) 0,
      100% 0, 100% calc(100% - var(--cut)),
      calc(100% - var(--cut)) 100%, 0 100%);
  z-index: 0;
}

/* градієнтна/суцільна рамка через псевдо-елемент */
.review-card::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: var(--border-w);
  clip-path: inherit;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  z-index: -1;
}

/* варіації рамки та фону -------------------------------- */
/* 1) фіолетова рамка + сірувате тло (дві праві картки) */
.purple-outline {
  --grad: #4601FA, #7847FC;
}

.purple-outline::before {
  background: linear-gradient(90deg, var(--grad));
}

.purple-outline {
  background: linear-gradient(135deg, #404558 0%, #575b6f 100%);
}

/* 2) біла рамка + глибокий фіолетовий фон (перша картка) */
.white-outline::before {
  background: #ffffff;
}

.white-outline {
  background: linear-gradient(135deg, #1e0c7d 0%, #14065c 100%);
}

/* цитата */
.review-card .quote {
  font-size: 24px;
  line-height: 1.45;
  margin-bottom: 32px;
}

/* автор блоку */
.review-author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.review-author img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
}

.author-info .name {
  font-size: 28px;
  font-weight: 600;
  line-height: 1.2;
}

.author-info .country {
  font-size: 24px;
  color: #B6DAF9;
}

/* ---------------- ADAPTIVE ---------------- */
@media(max-width:1200px) {
  .reviews {
    padding: 90px 60px;
  }

  .reviews-cards {
    flex-direction: column;
    gap: 60px;
  }

  .review-card {
    padding: 32px;
  }
}

@media(max-width:768px) {
  .reviews {
    padding: 60px 20px;
  }

  .reviews h2 {
    font-size: 32px;
  }

  .reviews-lead {
    font-size: 18px;
  }

  .review-card .quote {
    font-size: 18px;
  }

  .author-info .name {
    font-size: 22px;
  }

  .author-info .country {
    font-size: 18px;
  }
}

/* щоб псевдо-елементи діагоналей, які виходять за clip-path,
   не обрізалися */
.review-card {
  overflow: visible;
}

/* --- лівий верхній зріз --- */
.reviews .diagonal-top-left {
  position: absolute;
  top: 0;
  left: 0;
  width: 32px;
  height: 32px;
  /* той самий --cut у review-card */
  z-index: 1;
}

.reviews .diagonal-top-left::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 140%;
  height: 3px;
  transform: rotate(-45deg);
  transform-origin: top right;
}

/* --- правий нижній зріз --- */
.reviews .diagonal-bottom-right {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 32px;
  height: 32px;
  z-index: 1;
}

.reviews .diagonal-bottom-right::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 68px;
  height: 3px;
  transform: rotate(-45deg);
  transform-origin: bottom left;
}

/* ----- кольорові варіації ліній ----- */
.review-card.purple-outline .diagonal-top-left::before,
.review-card.purple-outline .diagonal-bottom-right::before {
  background: linear-gradient(90deg, #4601FA 0%, #7847FC 100%);
}

.review-card.white-outline .diagonal-top-left::before,
.review-card.white-outline .diagonal-bottom-right::before {
  background: #ffffff;
}

/* ---------- PROGRAM SECTION ---------- */
.program {
  padding: 120px 200px;
  position: relative;
}

.program-container {
  max-width: 1720px;
  margin: 0 auto;
}

.program h2 {
  font-size: 42px;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 40px;
}

.program-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.module {
  padding: 28px 0;
  display: grid;
  grid-template-columns: 40% 1fr;
  gap: 40px;
  border-top: 1px solid transparent;
  border-image: linear-gradient(90deg, #4601FA 0%, #7847FC 100%);
  border-image-slice: 1;
}

.module:last-child {
  border-bottom: linear-gradient(90deg, #4601FA 0%, #7847FC 100%);
}

.module-head {
  display: inline-flex;
  flex-direction: row;
  gap: 6px;
}

.index {
  margin-top: 2px;
  font-size: 39px;
  font-weight: 600;
  color: #7847FC;
  letter-spacing: 1px;
}

.title {
  font-size: 39px;
  font-weight: 600;
  line-height: 1.4;
}

/* опис */
.descr {
  font-size: 30px;
  line-height: 1.5;
  color: #c3c7e0;
}

@media(max-width:1200px) {
  .program {
    padding: 90px 60px;
  }

  .module {
    grid-template-columns: 1fr;
    padding: 24px 0;
  }
}

@media(max-width:768px) {
  .program {
    padding: 60px 20px;
  }

  .program h2 {
    font-size: 32px;
  }

  .index {
    font-size: 20px;
  }

  .title {
    font-size: 22px;
  }

  .descr {
    font-size: 16px;
  }
}

.income {
  padding: 60px 200px;
  background: #0a0a23;
}

.income-container {
  max-width: 1720px;
  margin: 0 auto;
}

.income h2 {
  font-size: 42px;
  font-weight: 600;
  line-height: 1.3;
  color: #7847FC;
  margin-bottom: 36px;
}

.income-bar {
  display: flex;
  /* overflow: hidden; */
  /* height: 200px; */
  position: relative;
}

.income-step {
  position: relative;
  color: #000;
  font-size: 22px;
  line-height: 1.45;
  display: flex;
  align-items: center;
}

.income-step .info {
  padding: 90px 109px;
  width: 100%;
}

.step-start {
  width: 602px;
  background: #ffffff;
  clip-path: polygon(0 0, 85% 0, 100% 50%, 85% 100%, 0 100%);
  margin-right: -90px;
}

.step-mid {
  width: 600px;
  background: linear-gradient(135deg, #CBFFE2 0%, #A0AFFF 100%);
  color: #000;
  clip-path: polygon(0 0, 85% 0, 100% 50%, 85% 100%, 0 100%, 15% 50%);
  /* margin-left: -16px; */
}

.step-end {
  width: 600px;
  background: linear-gradient(90deg, #4601FA 0%, #7847FC 100%);
  color: #fff;
  clip-path: polygon(0 0, 85% 0, 100% 50%, 85% 100%, 0 100%, 10% 50%);
  margin-left: -95px;
}

.income-step .profit {
  font-weight: 600;
  font-size: 28px;
  margin-top: 20px;
}

.income-note {
  font-size: 22px;
  color: #c3c7e0;
  margin-top: 40px;
}

@media(max-width: 1200px) {
  .income {
    padding: 90px 60px;
  }

  .income-step .info {
    padding: 30px 24px;
  }

  .income-step {
    font-size: 18px;
  }

  .income-step .profit {
    font-size: 24px;
  }

  .step-start {
    width: 250px;
  }

  .step-mid {
    width: 280px;
  }

  .step-end {
    width: 320px;
  }
}

@media(max-width: 768px) {
  .income {
    padding: 30px 20px;
  }

  .income h2 {
    font-size: 32px;
  }

  .income-bar {
    flex-direction: column;
    height: auto;
  }

  .income-step {
    clip-path: none;
    width: 100% !important;
    margin-left: 0 !important;
    margin-bottom: 20px;
  }

  .step-start {
    background: #ffffff;
  }

  .step-mid {
    background: linear-gradient(135deg, #a8e6cf 0%, #88d8f0 100%);
    color: #000;
  }

  .step-end {
    background: linear-gradient(90deg, #4601FA 0%, #7847FC 100%);
    color: #fff;
  }

  .income-note {
    font-size: 16px;
  }
}

/* ---------- FOUNDER SECTION ---------- */
.founder {
  position: relative;
  overflow: hidden;
}

.founder-wrapper {
  background: #dedede;
  margin-top: -60px;
  position: relative;
  clip-path: polygon(
      0 0, 50% 6%, 100% 0,        
      100% 100%, 50% 94%, 0 100% 
  );
}

.founder-container {
  margin: 0 auto;
  display: flex;
  gap: 126px;
  align-items: center;
}

.founder-photo {
  flex: 1 1 50%;
  min-width: 0;
}

.founder-photo img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.founder-info {
  flex: 1 1 50%;
  color: #2d2d2d;
}

.founder-info h2 {
  font-size: 42px;
  font-weight: 600;
  line-height: 1.3;
  color: #000000;
  margin-bottom: 28px;
}

.founder-info p {
  font-size: 22px;
  line-height: 1.45;
  margin-bottom: 18px;
  max-width: 550px;
  color: #555;
}

.founder-social {
  display: flex;
  gap: 28px;
  margin-top: 40px;
}

.soc-link {
  display: inline-flex;
  width: 42px;
  height: 42px;
  border: 2px solid #555;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.soc-link svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: #555;
  stroke-width: 1.8;
  transition: stroke 0.25s ease;
}

.soc-link:hover {
  border-color: #7847FC;
  transform: translateY(-2px);
}

.soc-link:hover svg {
  stroke: #7847FC;
}

@media (max-width: 1200px) {
  .founder-wrapper {
    padding: 90px 60px;
  }

  .founder-container {
    flex-direction: column;
    gap: 60px;
  }

  .founder-photo,
  .founder-info {
    flex: 1 1 100%;
  }
}

@media (max-width: 768px) {
  .founder-wrapper {
    padding: 60px 20px;
    clip-path: none;
  }

  .founder-wrapper::before,
  .founder-wrapper::after {
    display: none;
  }

  .founder-info h2 {
    font-size: 32px;
  }

  .founder-info p {
    font-size: 18px;
  }

  .soc-link {
    width: 36px;
    height: 36px;
  }

  .soc-link svg {
    width: 18px;
    height: 18px;
  }
}

.top-separator {
  width: 100%;
  height: 100px;
  background-color: #5415fb;
  clip-path: polygon(0% 0%, 50% 80%, 100% 0%, 100% 100%, 0% 100%);
}

.bottom-separator {
  width: 100%;
  height: 100px;
  background-color: #5415fb;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 20%, 0 100%);
}

.top-separator,
.bottom-separator {
  position: relative;
  z-index: 1;         
}

.founder-wrapper {
  position: relative;
  z-index: 2;
  margin-bottom: -60px;
  padding: 20px 20px;
}
/* ===== PACKAGES ===== */
.packages{
  padding: 60px 200px;
}

.packages-container{
  max-width:1720px;
  margin:0 auto;
  text-align:center;
}

.packages h2{
  font-size:48px;
  font-weight:600;
  color:#7847FC;
  margin-bottom:60px;
}

/* layout */
.packages-grid{
  display:flex;
  gap:60px;
  justify-content:center;
  position:relative;
}

.packages-grid::before,
.packages-grid::after{
  content:'';
  position:absolute;
  top:0; bottom:0;
  width:1px;
  background:#c6e8f7;          /* світла лінія-розділювач */
}
.packages-grid::before{left:33.33%;}
.packages-grid::after {left:66.66%;}

/* package cards */
.package-card{
  flex:1 1 33%;
  max-width:380px;
  text-align:left;
  padding:0 40px;
}

.package-card h3{
  font-size:32px;
  font-weight:600;
  margin-bottom:32px;
}

/* список можливостей */
.features{
  list-style:none;
  margin:0 0 50px;
  padding:0;
}
.features li{
  position:relative;
  padding-left:28px;
  margin-bottom:18px;
  font-size:20px;
  line-height:1.4;
  color:#fff;
}
.features li::before{
  content:'✔';
  position:absolute;
  left:0; top:0;
  font-size:18px;
}
.features li.checked::before{color:#7847FC;}
.features li.disabled{
  color:#3b3d59;
}
.features li.disabled::before{
  color:#3b3d59;
}
.features .highlight{
  font-weight:600;
}

.price{
  font-size: 68px;
  font-weight:600;
  background: linear-gradient(90deg, #4601FA 0%, #7847FC 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  margin-bottom:40px;
  line-height: 1.1;
  text-align: center;
}
.price .currency{
  font-size: 63px;
  vertical-align:top;
  margin-right: -1px;
}

.price .old {
    display: block;
    font-size: 28px;
    text-decoration: line-through;
    text-decoration-thickness: 1.5px; 
    text-decoration-color: #3b3d59; 
    color: #3b3d59;
    margin-top: 6px;
}

.btn{
  display:block;
  width:100%;
  text-align:center;
  font-size:18px;
  font-weight:600;
  padding:22px 0;
  border-radius:6px;
  text-decoration:none;
  margin-bottom:20px;
  transition:transform .2s ease;
}
.btn:hover{transform:translateY(-2px);}
.btn.primary{
  background:linear-gradient(90deg,#DAFFEB 0%,#BEC8FF 100%);
  color:#000;
}
.btn.secondary{
  background:none;
  border:2px solid #7847FC;
  color:#7847FC;
}
.btn.secondary:hover{
  background:#7847FC;
  color:#fff;
}

.package-card.personal{
  /* transform:translateY(-30px); */
}
.package-card.personal .price{font-size:60px;}

/* ---- adaptive ---- */
@media(max-width:1200px){
  .packages{padding:90px 60px;}
  .packages-grid{
    flex-direction:column;
    gap:60px;
  }
  .packages-grid::before,
  .packages-grid::after{display:none;}
  .package-card{max-width:100%;padding:0;}
}
@media(max-width:768px){
  .packages{padding: 30px 20px;}
  .packages h2{font-size:32px;}
  .package-card h3{font-size:28px;}
  .features li{font-size:18px;}
  .price{font-size:44px;}
}

/* ---------- FAQ SECTION ---------- */
.faq{
  padding: 60px 200px;
}

.faq-container{
  max-width:1720px;
  margin:0 auto;
}

.faq h2{
  font-size:42px;
  font-weight:600;
  line-height:1.3;
  margin-bottom:60px;
  color:#7847FC;
}

/* Сітка карток */
.faq-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(530px,1fr));
  gap:40px;
}

/* --- FAQ CARD з обрізаними кутами --- */
.faq-card{
  position:relative;
  /* ⬇ розмір зрізу та товщина рамки у змінних */
  --cut:46px;
  --border-w:3px;

  padding:46px 54px;
  clip-path:polygon(
      0 0,                        
      calc(100% - var(--cut)) 0,  
      100% var(--cut),          
      100% 100%,                 
      var(--cut) 100%,          
      0 calc(100% - var(--cut))  
  );
}

/* градієнтна рамка навколо clip-path */
.faq-card::before{
  content:"";
  position:absolute;
  inset:0;
  padding:var(--border-w);
  background:linear-gradient(90deg,#4601FA 0%,#7847FC 100%);
  clip-path:inherit;                          /* повторюємо контур */
  -webkit-mask:linear-gradient(#000 0 0) content-box,
              linear-gradient(#000 0 0);
  -webkit-mask-composite:xor;
          mask-composite:exclude;
  pointer-events:none;                         /* щоб не ловити курсор */
  z-index:-1;
}


.faq-card h3{
  font-size:28px;
  font-weight:600;
  margin-bottom:14px;
  color:#fff;
}

.faq-card p{
  font-size:22px;
  line-height:1.45;
  color:#c3c7e0;
}

/* ---------- Adaptive ---------- */
@media(max-width:1200px){
  .faq{padding:90px 60px;}
}

@media(max-width:768px){
  .faq{padding: 30px 20px;}
  .faq h2{font-size:32px;}
  .faq-card h3{font-size:22px;}
  .faq-card p{font-size:18px;}
}

/* ---------- CTA SECTION ---------- */
.cta{
  padding: 100px 180px;
  text-align:center;
  background:linear-gradient(90deg,#020121 0%,#00042E 100%);
}

.cta h2{
  font-size: 94px;
  font-weight: 100;
  line-height:1.05;
  margin-bottom:80px;
  background:linear-gradient(90deg,#C5E9FF 0%,#86BFFF 100%);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
}

/* кнопка */
.ask-btn{
  display:inline-block;
  width: 350px;
  /* padding: 26px; */
  font-size:28px;
  font-weight:600;
  border-radius:14px;
  background:linear-gradient(90deg,#5B1CFF 0%,#8044FF 100%);
  color:#fff;
  text-decoration:none;
  transition:transform .2s ease;
}
.ask-btn:hover{ transform:translateY(-3px); }

/* ---------- FOOTER ---------- */
.site-footer{
  background:linear-gradient(180deg,#e1edf7 0%,#d4e7f4 100%);
  padding:90px 200px 70px;
  position:relative;
}
.site-footer::after{              
  content:"";
  position:absolute;
  bottom:0; left:0; width:100%; height:8px;
  background:#02042E;
}

.footer-container{
  max-width:1720px;
  margin:0 auto;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:40px;
  flex-wrap:wrap;
}

/* колонки */
.footer-left p,
.footer-left a{
  font-size:18px;
  line-height:1.45;
  color:#000;
  text-decoration:none;
}
.footer-left a:hover{ text-decoration:underline; }

.footer-center img{
  max-width:260px;
  height:auto;
}

.footer-right{
  display:flex;
  gap:26px;
}
.footer-right .soc-link{
  width: 45px;
  height: 45px;
  border-radius:8px;
  background:#02042E;
}
.footer-right .soc-link img{
  width:24px;
  /* filter:invert(1); */
}

@media(max-width:1200px){
  .cta h2{font-size:110px;}
  .site-footer{padding:70px 60px;}
}

@media(max-width:768px){
  .cta{padding: 50px 20px;}
  .cta h2{font-size: 29px;margin-bottom:40px;}
  .ask-btn{padding:20px 42px; font-size:20px;}

  .footer-container{flex-direction:column; text-align:center;}
  .footer-left, .footer-center, .footer-right{width:100%;}
  .footer-right{justify-content:center; margin-top:30px;}
}

@media screen and (min-width:1280px) and (max-width:1600px){

  body{
    zoom:.8;                        
  }
  
}

/* ---------- 1. Пульсація градієнтного h1 ---------- */
@keyframes pulseText {
  0%,100% { text-shadow:0 0 0 rgba(218,255,235,.6), 0 0 0 rgba(190,200,255,.6); }
  50%     { text-shadow:0 0 8px rgba(218,255,235,.9), 0 0 12px rgba(190,200,255,.9); }
}
h1 { animation:pulseText 4s ease-in-out infinite; }


/* ---------- 2. Переливання градієнта на кнопках ---------- */
@keyframes gradientShift {
  0%   { background-position:0% 50%; }
  50%  { background-position:100% 50%; }
  100% { background-position:0% 50%; }
}
.hero-button,
.btn.primary,
.ask-btn {
  animation:gradientShift 6s linear infinite;
}

.review-card,
.why-card {
  transition:transform .35s ease, box-shadow .35s ease;
}
.review-card:hover,
.why-card:hover {
  transform:translateY(-6px) rotateX(1deg);
}

.reveal {  
  opacity:0;
  transform:translateY(40px);
  transition:opacity .8s ease, transform .8s ease;
}
.reveal.visible {
  opacity:1;
  transform:none;
}

@media(max-width:768px) {
  a.hero-button {
    display: flex; 
    align-items: center; 
    justify-content: center; 
    width: 100%;
    text-align: center;
    font-size: 18px;
    height: 59px;
    border-radius: 6px;
    margin-bottom: 20px;
    transition: transform .2s ease;
    clip-path: none;
    vertical-align: middle;
  }

  .hero {
    padding: 0;
  }

  .faq-card {
    width: 370px;
    display: block;
    padding: 20px 42px;
  }

  .hero-divider {
    display: none;
  }

  .top-separator, .bottom-separator {
    display: none;
  }
}

.site-header{
  position: relative;
  top:0;
  left:0;
  width: 100%;
  padding:22px 100px;
  background:linear-gradient(90deg,#020121 0%,#00042E 100%);
  box-shadow:0 4px 14px rgba(0,0,0,.65);
  z-index:1000;
}

.header-logo{
  height:58px;
  width:auto;
}

.header-container {
  max-width: 1500px;
  margin: 0 auto;
  display: flex;
  align-items: center; 
  justify-content: space-between; 
  height: 60px; 
}


/* NAV */
.nav-list{
  list-style:none;
  display:flex;
  gap:52px;          
}

.nav-list li a{
  position:relative;
  font-size:20px;
  font-weight:600;
  color:#FFFFFF;
  text-decoration:none;
  padding:6px 0;
  transition:color .25s ease;
}

.nav-list li a::after{
  content:'';
  position:absolute;
  left:0; right:0; bottom:-6px;
  height:2px;
  background:linear-gradient(90deg,#4601FA 0%,#7847FC 100%);
  transform:scaleX(0);
  transform-origin:left center;
  transition:transform .25s ease;
}
.nav-list li a:hover,
.nav-list li a:focus{
  color:#DAFFEB;
}
.nav-list li a:hover::after,
.nav-list li a:focus::after{
  transform:scaleX(1);
}

.header-underline{
  position:absolute;
  left:0; bottom:0;
  width:100%;
  height:2px;
  background:rgba(121,104,255,.25);
}

.burger{
  display:none;                
  flex-direction:column;
  gap:5px;
  background:none;
  border:0;
  cursor:pointer;
  z-index:1100;
}
.burger span{
  width:28px; height:3px;
  background:#fff;
  transition:.3s;
}

.mobile-menu{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.92); 
  display:none;
  align-items:center;
  justify-content:center;
  z-index:1050;
}
.mobile-menu.open{ display:flex; }  

.mobile-menu-inner{
  text-align:center;
}
.mobile-logo img{height:64px;margin-bottom:40px;}

.close-menu{
  position:absolute;
  top:24px; right:24px;
  font-size:38px;
  background:none;
  border:0;
  color:#fff;
  cursor:pointer;
}

.mobile-nav-list{
  list-style:none;
  display:flex;
  flex-direction:column;
  gap:28px;
}
.mobile-nav-list a{
  color:#fff;
  font-size:28px;
  font-weight: 100;
  text-decoration:none;
}

@media (max-width:768px){
  .main-nav{ display:none; }
  .burger{ display:flex; }
}

@media (max-width: 768px) {
  .site-header {
    padding: 0 16px;
    height: 60px;
  }

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

  .brand {
    display: flex;
    align-items: center;
  }

  .brand img.header-logo {
    height: 38px;
    width: auto;
  }

  .burger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    z-index: 1000;
  }
}

.ellipse{
  display:none;          
}

@media (min-width:1024px){
  .ellipse{
    display:block;
    position:absolute;
    background:#02074F;
    opacity: 0.7;
    border-radius:50%;
    filter: blur(32px);
    pointer-events:none;
    z-index:0;
  }

  .ellipse--hero-left{
    width:613px; height:179px;
    top:-87px; left:-188px;
    transform:rotate(-3deg);
  }
  .ellipse--hero-right{
    width:320px; height:179px;
    top:-87px; right:-188px;
    transform:rotate(-3deg);
  }
  .ellipse--hero-center{
    width:528px;
    height:437px;
    top:20px;
    right: 222px;
    transform:rotate(-85deg);
  }
  .ellipse--hero-subtitle{
    width:662px; height:126px;
    top:614px; left:169px;
    transform:rotate(-8deg);
  }
  .ellipse--hero-bottom{
    width: 965px;
    height: 906px;
    top: 308px;
    left: 977px;
    transform: rotate(-3deg);
  }
}

/* ===== MODAL ===== */

.modal-overlay{
  position:fixed; inset:0;
  background:rgba(2,2,33,.88);
  backdrop-filter:blur(4px);
  display:flex; align-items:center; justify-content:center;
  opacity:0; visibility:hidden; transition:.3s;
  z-index:2000;
}
.modal-overlay.open{opacity:1;visibility:visible;}

.modal{
  position:relative;
  width:100%; max-width:520px;
  padding:56px 60px 72px;
  background:#0a0a23;
  clip-path:polygon(0 0,calc(100% - 46px) 0,100% 46px,100% 100%,46px 100%,0 calc(100% - 46px));
}
.modal::before{
  content:""; position:absolute; inset:0; padding:3px;
  background:linear-gradient(90deg,#4601FA 0%,#7847FC 100%);
  clip-path:inherit;
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
  -webkit-mask-composite:xor; mask-composite:exclude;
  pointer-events:none; z-index:-1;
}

.modal h2{
  font-size:32px; font-weight:600; margin-bottom:32px;
  background:linear-gradient(90deg,#DAFFEB 0%,#BEC8FF 100%);
  -webkit-background-clip:text; -webkit-text-fill-color:transparent;
}
.modal-field{
  display:block; margin-bottom:28px; font-size:18px; color:#ccc;
}
.modal-field input{
  width:100%; margin-top:8px; padding:14px 18px; border-radius:8px;
  border:2px solid #3b3d59; background:#020121; color:#fff;
  font-size:18px; outline:none; transition:border .25s;
}
.modal-field input:focus{border-color:#7847FC;}
.modal-close{
  position:absolute;
  top:18px;
  right: 29px;
  background:none;
  border:0;
  font-size:34px;
  color:#ccc;
  cursor:pointer;
  transition:color .25s;
}
.modal-close:hover{color:#fff;}

.modal .diagonal-bottom-left{
  width: 46px;
  height: 46px;
}

.modal .diagonal-top-right {
  width: 46px;
  height: 46px;
}

.ellipse.ellipse--why-left {
    width: 613px;
    height: 179px;
    top: 586px;
    left: 44px;
    transform: rotate(-10deg);
}

.ellipse.ellipse--what-left {
    width: 770px;
    height: 328px;
    top: 575px;
    left: 154px;
    transform: rotate(-12deg);
}

.ellipse.ellipse--what-right {
    width: 770px;
    height: 328px;
    top: 10px;
    left: 954px;
    transform: rotate(-15deg);
}