/* =========================
   TEAM PAGE
========================= */

html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  background: #24005f;
}

.team-page {
    min-height: 100vh;
  
    background: url("../../images/background.svg");
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
  
    color: #ffffff;
    font-family: "Sofia Sans", sans-serif;
  }

/* NAVBAR */

.team-page .site-header {
  top: 18px;
}

.team-page .nav-pill {
  width: min(1220px, 92%);
  padding: 16px 22px;
}

.team-page .brand-logo {
  height: 42px;
}

.team-page .nav-links {
  gap: 34px;
}

.team-page .nav-links a {
  font-size: 16px;
  font-weight: 500;
}

.team-page .nav-cta {
  padding: 12px 22px;
  font-size: 16px;
  font-weight: 600;
}

/* HERO */

.team-hero {
  min-height: 100vh;
  padding: 170px 0 90px;
}

.team-hero__container {
  width: min(1420px, calc(100% - 96px));
  margin: 0 auto;

  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 80px;
}

.team-back {
  display: inline-block;
  margin-bottom: 22px;

  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;

  font-size: 18px;
  font-weight: 400;
}

.team-title {
  margin: 0 0 24px;

  font-size: clamp(76px, 7vw, 132px);
  line-height: 0.9;
  font-weight: 800;
  letter-spacing: -0.055em;

  color: #ffffff;
}

.team-title span {
  color: #fe84fe;
}

.team-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;

  margin-bottom: 34px;
}

.team-tags span {
  display: inline-flex;
  align-items: center;

  padding: 10px 18px;
  border-radius: 999px;

  font-size: 18px;
  font-weight: 600;

  color: #ffffff;
  background: rgba(254, 132, 254, 0.15);
  border: 2px solid rgba(254, 132, 254, 0.75);
}

.team-description {
  max-width: 660px;
  margin-bottom: 34px;

  font-size: clamp(24px, 2vw, 34px);
  line-height: 1.28;
  font-weight: 300;
  letter-spacing: -0.035em;

  color: rgba(255, 255, 255, 0.95);
}

.team-tools {
  display: flex;
  gap: 14px;

  margin-bottom: 56px;
}

.team-tools img {
  width: 72px;
  height: 72px;
  object-fit: contain;

  padding: 16px;
  border-radius: 14px;

  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.team-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;

  width: min(430px, 100%);
  height: 70px;

  border-radius: 18px;

  background: #fe84fe;
  color: #ffffff;

  text-decoration: none;
  font-size: 20px;
  font-weight: 600;

  box-shadow: none;

  transition:
    transform 0.22s ease,
    background 0.22s ease;
}

.team-button:hover {
  background: #f46df6;
  transform: translateY(-2px);

  box-shadow: none;
}
  .team-button__icon {
    font-size: 24px;
    font-weight: 400;
    line-height: 1;
  }

.team-hero__image img {
  width: 100%;
  height: auto;
  display: block;

  filter: drop-shadow(0 28px 70px rgba(0, 0, 0, 0.28));
}
.team-back--mobile {
    display: none;
  }
  
  /* =========================
   PROBLEM SECTION
========================= */

.team-problem {
    padding: 110px 0 120px;
  
    background: #f6feff;
  }
  
  .team-problem__container {
    width: min(1640px, calc(100% - 120px));
    margin: 0 auto;
  }
  
  .team-problem__heading {
    margin-bottom: 64px;
  }
  
  .team-problem__heading h2 {
    position: relative;
  
    width: fit-content;
  
    margin-bottom: 34px;
  
    font-size: 82px;
    line-height: 0.9;
    font-weight: 800;
  
    color: #3d00b7;
  
    letter-spacing: -0.06em;
  }
  
  .team-problem__heading h2::after {
    content: "";
  
    position: absolute;
    left: 0;
    bottom: -10px;
  
    width: 138px;
    height: 6px;
  
    border-radius: 999px;
  
    background: #fe84fe;
  }
  
  .team-problem__heading p {
    max-width: 1480px;
  
    font-size: 28px;
    line-height: 1.42;
    font-weight: 400;
  
    color: #3d00b7;
  
    letter-spacing: -0.04em;
  }
  
  /* GRID */
  
  .problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
  
    margin-bottom: 90px;
  }
  
  /* CARD */
  
  .problem-card {
    position: relative;
  
    overflow: hidden;
  
    min-height: 310px;
  
    padding: 34px;
  
    border-radius: 26px;
  
    background: linear-gradient(
      180deg,
      #4d00d8 0%,
      #3900b3 100%
    );
  
    transition:
      transform 0.28s ease,
      box-shadow 0.28s ease;
  }
  
  /* pink hover border */
  
  .problem-card::before {
    content: "";
  
    position: absolute;
    inset: 0;
  
    border-radius: inherit;
  
    border-left: 6px solid #fe84fe;
  
    opacity: 0.95;
  }
  
  .problem-card:hover {
    transform: translateY(-6px);
  
    box-shadow:
      -10px 0 0 #fe84fe,
      0 24px 50px rgba(0, 0, 0, 0.18);
  }
  
  /* ICON */
  
  .problem-card__icon {
    width: 86px;
    height: 86px;
  
    display: flex;
    align-items: center;
    justify-content: center;
  
    margin-bottom: 26px;
  
    border-radius: 50%;
  
    background: #fe84fe;
  
    color: #ffffff;
  
    font-size: 48px;
    font-weight: 700;
  }
  .problem-card__icon .material-symbols-outlined {
    font-size: 48px;
    color: #ffffff;
    font-variation-settings:
      "FILL" 0,
      "wght" 400,
      "GRAD" 0,
      "opsz" 48;
  }
  
  /* CONTENT */
  
  .problem-card__content h3 {
    margin-bottom: 26px;
  
    font-size: 32px;
    line-height: 1.1;
    font-weight: 700;
  
    color: #ffffff;
  
    letter-spacing: -0.04em;
  }
  
  .problem-card__content p {
    font-size: 22px;
    line-height: 1.42;
    font-weight: 400;
  
    color: rgba(255, 255, 255, 0.94);
  
    letter-spacing: -0.03em;
  }
  
  /* DIVIDER */
  
  .team-problem__divider {
    width: 100%;
    height: 4px;
  
    border-radius: 999px;
  
    background:
      repeating-linear-gradient(
        to right,
        #fe84fe 0 10px,
        transparent 10px 18px
      );
  }
  
  /* =========================
   PROCESS SECTION
========================= */

.team-process {
    padding: 110px 0 120px;
    background: #f6feff;
  }
  
  .team-process__container {
    width: min(1640px, calc(100% - 120px));
    margin: 0 auto;
  }
  
  .team-process__heading h2 {
    position: relative;
  
    width: fit-content;
    margin-bottom: 88px;
  
    font-size: 82px;
    line-height: 0.9;
    font-weight: 800;
    letter-spacing: -0.06em;
  
    color: #3d00b7;
  }
  
  .team-process__heading h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -16px;
  
    width: 156px;
    height: 6px;
  
    border-radius: 999px;
    background: #fe84fe;
  }
  
  .process-steps {
    display: grid;
    grid-template-columns: 1fr 120px 1fr 120px 1fr 120px 1fr;
    align-items: start;
    gap: 0;
  
    margin-bottom: 120px;
  }
  
  .process-step {
    text-align: center;
    color: #26006f;
  }
  
  .process-step__icon {
    width: 110px;
    height: 110px;
  
    display: flex;
    align-items: center;
    justify-content: center;
  
    margin: 0 auto 22px;
  
    border-radius: 50%;
  
    background: #ffffff;
    border: 1px solid rgba(254, 132, 254, 0.5);
  
    box-shadow:
      0 0 0 1px rgba(254, 132, 254, 0.14),
      0 8px 20px rgba(254, 132, 254, 0.28);
  }
  
  .process-step__icon .material-symbols-outlined {
    font-size: 48px;
    color: #fe84fe;
    font-variation-settings:
      "FILL" 0,
      "wght" 400,
      "GRAD" 0,
      "opsz" 48;
  }
  
  .process-step h3 {
    margin-bottom: 24px;
  
    font-size: 25px;
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -0.035em;
  
    color: #26006f;
  }
  
  .process-step p {
    max-width: 260px;
    margin: 0 auto;
  
    font-size: 20px;
    line-height: 1.22;
    font-weight: 500;
    letter-spacing: -0.035em;
  
    color: #26006f;
  }
  
  .process-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
  
    padding-top: 34px;
    color: #fe84fe;
  }
  
  .process-arrow .material-symbols-outlined {
    font-size: 72px;
    font-variation-settings:
      "FILL" 0,
      "wght" 400,
      "GRAD" 0,
      "opsz" 48;
  }
  
  .team-process__divider {
    width: 100%;
    height: 4px;
  
    border-radius: 999px;
  
    background:
      repeating-linear-gradient(
        to right,
        #fe84fe 0 10px,
        transparent 10px 18px
      );
  }
  
  /* MOBILE */
  
  @media (max-width: 1024px) {
    .process-steps {
      grid-template-columns: 1fr;
      gap: 34px;
    }
  
    .process-arrow {
      padding-top: 0;
      transform: rotate(90deg);
    }
  }
  
  @media (max-width: 768px) {
    .team-process {
      padding: 80px 0;
    }
  
    .team-process__container {
      width: calc(100% - 36px);
    }
  
    .team-process__heading h2 {
      margin-bottom: 64px;
      font-size: 48px;
      line-height: 1;
    }
  
    .team-process__heading h2::after {
      width: 96px;
      bottom: -12px;
    }
  
    .process-step__icon {
      width: 88px;
      height: 88px;
    }
  
    .process-step__icon .material-symbols-outlined {
      font-size: 40px;
    }
  
    .process-step h3 {
      font-size: 24px;
      margin-bottom: 14px;
    }
  
    .process-step p {
      font-size: 18px;
      line-height: 1.3;
    }
  
    .process-arrow .material-symbols-outlined {
      font-size: 54px;
    }
  
    .process-steps {
      margin-bottom: 70px;
    }
  }

  /* =========================
   SOLUTION VISUALS
========================= */

.solution-visuals {
    padding: 110px 0 120px;
    background: #f6feff;
  }
  
  .solution-visuals__container {
    width: min(1640px, calc(100% - 120px));
    margin: 0 auto;
  }
  
  .solution-visuals__heading h2 {
    position: relative;
    width: fit-content;
    margin-bottom: 78px;
  
    font-size: 72px;
    line-height: 0.95;
    font-weight: 800;
    letter-spacing: -0.055em;
  
    color: #26006f;
  }
  
  .solution-visuals__heading h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -14px;
  
    width: 120px;
    height: 6px;
    border-radius: 999px;
    background: #fe84fe;
  }
  
  /* CAROUSEL */
  
  .solution-carousel {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
  
    padding: 8px 0 34px;
  
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  
  .solution-carousel::-webkit-scrollbar {
    height: 8px;
  }
  
  .solution-carousel::-webkit-scrollbar-track {
    background: rgba(55, 0, 175, 0.08);
    border-radius: 999px;
  }
  
  .solution-carousel::-webkit-scrollbar-thumb {
    background: #fe84fe;
    border-radius: 999px;
  }
  
  .solution-track {
    display: flex;
    gap: 72px;
    width: max-content;
  }
  
  .solution-slide {
    width: 360px;
    flex: 0 0 auto;
    text-align: center;
    scroll-snap-align: start;
  }
  
  .solution-slide img {
    width: 100%;
    height: auto;
    display: block;
  
    border-radius: 28px;
  
    filter: none;
  
    box-shadow:
      0 0 0 1px rgba(55, 0, 175, 0.08),
      0 2px 6px rgba(55, 0, 175, 0.05);
  }
  
  .solution-slide h3 {
    margin-top: 24px;
  
    font-size: 22px;
    line-height: 1.1;
    font-weight: 800;
  
    color: #26006f;
  }
  
  /* DIVIDER */
  
  .solution-visuals__divider {
    width: 100%;
    height: 4px;
    margin-top: 52px;
  
    border-radius: 999px;
  
    background:
      repeating-linear-gradient(
        to right,
        #fe84fe 0 10px,
        transparent 10px 18px
      );
  }
  
  /* MOBILE */
  
  @media (max-width: 768px) {
    .solution-visuals {
      padding: 80px 0;
    }
  
    .solution-visuals__container {
      width: calc(100% - 36px);
    }
  
    .solution-visuals__heading h2 {
      font-size: 42px;
      line-height: 1;
      margin-bottom: 52px;
    }
  
    .solution-visuals__heading h2::after {
      width: 90px;
      bottom: -12px;
    }
  
    .solution-track {
      gap: 28px;
    }
  
    .solution-slide {
      width: 265px;
    }
  
    .solution-slide h3 {
      font-size: 18px;
      margin-top: 18px;
    }
  }

  /* =========================
   HOW IT WORKS
========================= */

.how-works {
    padding: 110px 0 120px;
    background: #f6feff;
  }
  
  .how-works__container {
    width: min(1640px, calc(100% - 120px));
    margin: 0 auto;
  }
  
  .how-works__heading h2 {
    position: relative;
    width: fit-content;
  
    margin-bottom: 140px;
  
    font-size: 82px;
    line-height: 0.9;
    font-weight: 800;
    letter-spacing: -0.06em;
  
    color: #26006f;
  }
  
  .how-works__heading h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -18px;
  
    width: 156px;
    height: 6px;
  
    border-radius: 999px;
    background: #fe84fe;
  }
  
  .how-works__steps {
    display: grid;
    grid-template-columns: 1fr 130px 1fr 130px 1fr 130px 1fr;
    align-items: center;
    gap: 0;
  
    margin-bottom: 120px;
  }
  
  .work-step {
    position: relative;
  
    min-height: 220px;
  
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  
    padding: 28px 26px 26px;
  
    text-align: center;
  
    border: 2px solid #3700af;
    border-radius: 14px;
  
    color: #26006f;
    background: rgba(255, 255, 255, 0.18);
  }
  
  .work-step__number {
    position: absolute;
    top: 16px;
    left: 18px;
  
    font-size: 38px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -0.04em;
  
    color: #fe84fe;
  }
  
  .work-step__icon {
    margin-bottom: 12px;
  
    font-size: 46px;
    color: #26006f;
  
    font-variation-settings:
      "FILL" 0,
      "wght" 500,
      "GRAD" 0,
      "opsz" 48;
  }
  
  .work-step h3 {
    margin-bottom: 12px;
  
    font-size: 25px;
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -0.04em;
  
    color: #26006f;
  }
  
  .work-step p {
    max-width: 230px;
  
    font-size: 21px;
    line-height: 1.22;
    font-weight: 500;
    letter-spacing: -0.04em;
  
    color: #26006f;
  }
  
  .work-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
  
    color: #fe84fe;
  }
  
  .work-arrow .material-symbols-outlined {
    font-size: 74px;
    font-variation-settings:
      "FILL" 0,
      "wght" 400,
      "GRAD" 0,
      "opsz" 48;
  }
  
  .how-works__divider {
    width: 100%;
    height: 4px;
  
    border-radius: 999px;
  
    background:
      repeating-linear-gradient(
        to right,
        #fe84fe 0 10px,
        transparent 10px 18px
      );
  }
  
  /* MOBILE */
  
  @media (max-width: 1024px) {
    .how-works__steps {
      grid-template-columns: 1fr;
      gap: 26px;
    }
  
    .work-arrow {
      transform: rotate(90deg);
    }
  }
  
  @media (max-width: 768px) {
    .how-works {
      padding: 80px 0;
    }
  
    .how-works__container {
      width: calc(100% - 36px);
    }
  
    .how-works__heading h2 {
      margin-bottom: 72px;
  
      font-size: 48px;
      line-height: 1;
    }
  
    .how-works__heading h2::after {
      width: 96px;
      bottom: -12px;
    }
  
    .work-step {
      min-height: 200px;
    }
  
    .work-step__number {
      font-size: 34px;
    }
  
    .work-step h3 {
      font-size: 24px;
    }
  
    .work-step p {
      font-size: 18px;
    }
  
    .work-arrow .material-symbols-outlined {
      font-size: 54px;
    }
  
    .how-works__steps {
      margin-bottom: 70px;
    }
  }

  /* =========================
   USER BENEFITS
========================= */

.user-benefits {
    padding: 110px 0 130px;
    background: #f6feff;
  }
  
  .user-benefits__container {
    width: min(1640px, calc(100% - 120px));
    margin: 0 auto;
  }
  
  .user-benefits__heading h2 {
    position: relative;
    width: fit-content;
  
    margin-bottom: 88px;
  
    font-size: 82px;
    line-height: 0.9;
    font-weight: 800;
    letter-spacing: -0.06em;
  
    color: #26006f;
  }
  
  .user-benefits__heading h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -18px;
  
    width: 156px;
    height: 6px;
  
    border-radius: 999px;
    background: #fe84fe;
  }
  
  .benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
  }
  
  .benefit-card {
    min-height: 210px;
  
    display: grid;
    grid-template-columns: 96px 1fr;
    align-items: center;
    gap: 24px;
  
    padding: 28px;
  
    border: 2px solid #3700af;
    border-radius: 14px;
  
    color: #26006f;
    background: rgba(255, 255, 255, 0.18);
  }
  
  .benefit-card__icon {
    width: 86px;
    height: 86px;
  
    display: flex;
    align-items: center;
    justify-content: center;
  
    border-radius: 50%;
    background: #fe84fe;
  }
  
  .benefit-card__icon .material-symbols-outlined {
    font-size: 44px;
    color: #ffffff;
  
    font-variation-settings:
      "FILL" 0,
      "wght" 500,
      "GRAD" 0,
      "opsz" 48;
  }
  
  .benefit-card h3 {
    margin-bottom: 18px;
  
    font-size: 25px;
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -0.04em;
  
    color: #26006f;
  }
  
  .benefit-card p {
    font-size: 22px;
    line-height: 1.25;
    font-weight: 500;
    letter-spacing: -0.04em;
  
    color: #26006f;
  }
  
  /* MOBILE */
  
  @media (max-width: 1200px) {
    .benefits-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  
  @media (max-width: 768px) {
    .user-benefits {
      padding: 80px 0 96px;
    }
  
    .user-benefits__container {
      width: calc(100% - 36px);
    }
  
    .user-benefits__heading h2 {
      margin-bottom: 56px;
  
      font-size: 44px;
      line-height: 1;
    }
  
    .user-benefits__heading h2::after {
      width: 96px;
      bottom: -12px;
    }
  
    .benefits-grid {
      grid-template-columns: 1fr;
      gap: 18px;
    }
  
    .benefit-card {
      min-height: 170px;
      grid-template-columns: 76px 1fr;
      gap: 18px;
      padding: 22px;
    }
  
    .benefit-card__icon {
      width: 68px;
      height: 68px;
    }
  
    .benefit-card__icon .material-symbols-outlined {
      font-size: 34px;
    }
  
    .benefit-card h3 {
      font-size: 22px;
      margin-bottom: 10px;
    }
  
    .benefit-card p {
      font-size: 18px;
    }
  }
  /* =========================
     MOBILE
  ========================= */
  
  @media (max-width: 1024px) {
  
    .problem-grid {
      grid-template-columns: 1fr;
    }
  
    .team-problem__heading h2 {
      font-size: 58px;
    }
  
    .team-problem__heading p {
      font-size: 22px;
    }
  }
  
  @media (max-width: 768px) {
  
    .team-problem {
      padding: 80px 0;
    }
  
    .team-problem__container {
      width: calc(100% - 36px);
    }
  
    .team-problem__heading {
      margin-bottom: 42px;
    }
  
    .team-problem__heading h2 {
      font-size: 54px;
      margin-bottom: 28px;
    }
  
    .team-problem__heading h2::after {
      width: 94px;
    }
  
    .team-problem__heading p {
      font-size: 20px;
      line-height: 1.45;
    }
  
    .problem-grid {
      gap: 20px;
      margin-bottom: 64px;
    }
  
    .problem-card {
      min-height: unset;
      padding: 28px;
    }
  
    .problem-card__icon {
      width: 74px;
      height: 74px;
  
      font-size: 38px;
  
      margin-bottom: 20px;
    }
  
    .problem-card__content h3 {
      font-size: 26px;
      margin-bottom: 18px;
    }
  
    .problem-card__content p {
      font-size: 18px;
      line-height: 1.42;
    }
  }
  @media (max-width: 768px) {
    .team-back--desktop {
      display: none;
    }
  
    .team-back--mobile {
      display: inline-block;
      order: -2;
    }
  
    .team-hero__image {
      order: -1;
    }
  }

/* RESPONSIVE */
@media (max-width: 768px) {
    .team-hero {
      padding: 125px 0 70px;
    }
  
    .team-hero__container {
      width: calc(100% - 36px);
      grid-template-columns: 1fr;
      gap: 34px;
    }
  
    .team-hero__image {
      order: -1;
    }
  
    .team-back {
      order: -2;
      margin-bottom: 12px;
      font-size: 18px;
    }
  
    .team-title {
      font-size: 64px;
      line-height: 0.95;
      margin-bottom: 22px;
    }
  
    .team-tags {
      gap: 12px;
      margin-bottom: 28px;
    }
  
    .team-tags span {
      width: fit-content;
      font-size: 16px;
      padding: 10px 18px;
    }
  
    .team-description {
      font-size: 27px;
      line-height: 1.28;
      letter-spacing: -0.04em;
    }
  
    .team-tools {
      margin-top: 28px;
      margin-bottom: 42px;
    }
  
    .team-button {
      width: 100%;
      height: 64px;
      font-size: 17px;
    }
  }
  /* =========================
   MOVE SECTION CONTENT UP
========================= */

.team-process__heading,
.process-steps,
.solution-visuals__heading,
.solution-carousel,
.how-works__heading,
.how-works__steps,
.user-benefits__heading,
.benefits-grid {
  position: relative;
  top: -62px;
}

/* връщаме линиите да си останат на място */
.team-process__divider,
.solution-visuals__divider,
.how-works__divider {
  position: relative;
  top: 0;
}