.feature-area-one {
  position: relative;
  z-index: 1;
  background: var(--gradient-bg);
  overflow: hidden;

  // Background shapes
  &::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -5%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba($brand_color, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    z-index: -1;
  }

  .text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
  }

  .badge-soft {
    display: inline-block;
    background: rgba($brand_color, 0.1);
    color: $brand_color;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
  }

  .feature-list {
    li {
      margin-bottom: 16px;
      display: flex;
      align-items: center;
      gap: 12px;
      font-weight: 500;
      color: $black_800;

      i {
        color: $brand_color;
        font-size: 1.2rem;
      }
    }
  }

  .user-stack {
    display: flex;
    align-items: center;

    .avatars {
      display: flex;
      margin-right: 12px;

      img {
        width: 45px;
        height: 45px;
        border-radius: 50%;
        border: 3px solid #fff;
        margin-left: -15px;
        object-fit: cover;

        &:first-child {
          margin-left: 0;
        }
      }
    }

    .stats-text {
      display: flex;
      flex-direction: column;
      line-height: 1.2;

      span.count {
        font-weight: 700;
        font-size: 18px;
        color: $black_900;
      }

      span.label {
        font-size: 12px;
        color: $black_500;
      }
    }
  }

  .feature-visual {
    position: relative;
    padding: 20px;

    .blob-shape {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      width: 120%;
      height: 120%;
      background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23F2F4F6' d='M44.7,-76.4C58.9,-69.2,71.8,-59.1,81.6,-46.6C91.4,-34.1,98.1,-19.2,95.8,-4.9C93.5,9.3,82.2,22.9,71.4,34.8C60.6,46.7,50.3,56.9,38.1,64.3C25.9,71.7,11.8,76.3,-1.9,79.6C-15.6,82.9,-29,84.9,-41.2,77.9C-53.4,70.9,-64.4,54.9,-71.4,38.3C-78.4,21.7,-81.4,4.5,-77.8,-11.2C-74.2,-26.9,-64,-41.1,-52.1,-51.7C-40.2,-62.3,-26.6,-69.3,-12.3,-71.2C2,-73.1,16.3,-69.9,30.5,-83.6L44.7,-76.4Z' transform='translate(100 100)' /%3E%3C/svg%3E");
      background-repeat: no-repeat;
      background-position: center;
      background-size: contain;
      z-index: -1;
      opacity: 0.8;
    }

    .main-img {
      border-radius: 24px;
      position: relative;
      z-index: 10;
      box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
      width: 100%;
    }

    .floating-card {
      position: absolute;
      padding: 15px 20px;
      display: flex;
      align-items: center;
      gap: 15px;
      z-index: 20;
      background: rgba(255, 255, 255, 0.9);
      backdrop-filter: blur(10px);
      border-radius: 16px;
      box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
      border: 1px solid rgba(255, 255, 255, 0.8);
      animation: float 6s ease-in-out infinite;

      .icon {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        background: rgba($brand_color, 0.1);
        color: $brand_color;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 24px;
      }

      h5 {
        font-size: 20px;
        font-weight: 700;
        margin: 0;
        color: $black_800;
      }

      small {
        color: $black_500;
        font-size: 13px;
      }

      &.card-1 {
        top: 40px;
        left: -40px;
        animation-delay: 0s;
      }

      &.card-2 {
        bottom: 60px;
        right: -30px;
        animation-delay: 2.5s;

        .badge {
          background: #0fe493;
          padding: 6px 10px;
          border-radius: 8px;
        }
      }

      &.card-3 {
        bottom: 30px;
        left: 0px;
        animation-delay: 1.5s;
        padding: 12px;

        .user-group {
          display: flex;

          img {
            width: 30px;
            height: 30px;
            border-radius: 50%;
            margin-left: -10px;
            border: 2px solid white;

            &:first-child {
              margin-left: 0;
            }
          }
        }
      }
    }
  }
}

.feature-area-two {
  .feature-img {
    position: relative;
    z-index: 1;
    display: flex;

    .shape {
      position: absolute;
      height: 500px;
      width: 540px;
      background-color: $brand_color;
      border-radius: 8px;
      transform: rotate(-4deg);
      z-index: -1;
      top: 110px;
      left: 17px;
    }

    .img-box {
      display: flex;
      flex-direction: column;
    }
  }

  .section-title {
    margin-bottom: 70px;
  }

  .list-item {
    display: flex;
    gap: 20px;
    align-items: start;
    margin-bottom: 40px;

    p {
      margin-bottom: 0;
      max-width: 450px
    }
  }
}

.feature-area-three {
  position: relative;
  z-index: 1;

  .shapes {
    div {
      position: absolute;
      z-index: -1;
      border-radius: 50%;
      filter: blur(80px);
      opacity: 0.4;
      animation: float 10s ease-in-out infinite;

      &.shape-1 {
        width: 300px;
        height: 300px;
        background: radial-gradient(circle, rgba(244, 25, 109, 0.4) 0%, transparent 70%);
        top: -50px;
        left: -100px;
      }

      &.shape-2 {
        width: 250px;
        height: 250px;
        background: radial-gradient(circle, rgba(15, 228, 147, 0.3) 0%, transparent 70%);
        bottom: -50px;
        right: -50px;
        animation-delay: -2s;
      }

      &.shape-3 {
        width: 200px;
        height: 200px;
        background: radial-gradient(circle, rgba(244, 25, 109, 0.2) 0%, transparent 70%);
        top: 40%;
        left: 50%;
        transform: translate(-50%, -50%);
        animation-delay: -5s;
      }
    }
  }

  .step-wrapper {
    position: relative;
    z-index: 2;
  }

  .single-step-widget {
    @include glass-panel;
    padding: 40px 30px;
    text-align: center;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.5);
    position: relative;
    overflow: hidden;

    &::before {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 4px;
      background: var(--gradient-primary);
      transform: scaleX(0);
      transform-origin: left;
      transition: transform 0.4s ease;
    }

    &:hover {
      transform: translateY(-10px);
      background: rgba(255, 255, 255, 0.85);
      box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);

      &::before {
        transform: scaleX(1);
      }

      .icon-box {
        transform: scale(1.1) rotate(5deg);
        background: var(--brand_color_50);
      }

      .step-count {
        color: var(--brand_color);
        opacity: 0.15;
        transform: scale(1.2);
      }
    }

    .step-count {
      position: absolute;
      top: 10px;
      right: 20px;
      font-size: 80px;
      font-weight: 900;
      color: var(--black_900);
      opacity: 0.05;
      line-height: 1;
      transition: all 0.4s ease;
      z-index: -1;
      user-select: none;
    }

    .icon-box {
      width: 80px;
      height: 80px;
      margin: 0 auto 30px;
      display: flex;
      align-items: center;
      justify-content: center;
      background: white;
      border-radius: 24px;
      box-shadow: var(--bs_md);
      transition: all 0.4s ease;

      img {
        width: 40px;
        height: 40px;
      }
    }

    h4 {
      font-size: 22px;
      font-weight: 700;
      margin-bottom: 15px;
      color: var(--black_800);
    }

    p {
      margin-bottom: 0;
      color: var(--black_500);
      line-height: 1.6;
    }
  }
}

//----------  Home 02

.feature-area-four {
  position: relative;
  z-index: 1;

  .feature-item {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;

    .icon-box {
      flex-shrink: 0;
      width: 60px;
      height: 60px;
      border-radius: 50%;
      background: rgba($brand_color, 0.08);
      display: flex;
      align-items: center;
      justify-content: center;
      color: $brand_color;
      font-size: 24px;
      transition: all 0.3s ease;
    }

    &:hover {
      .icon-box {
        background: $brand_color;
        color: white;
        transform: rotateY(180deg);
      }
    }

    .content {
      h4 {
        font-size: 20px;
        font-weight: 700;
        color: $black_800;
        margin-bottom: 10px;
      }

      p {
        color: $black_600;
        line-height: 1.6;
        margin-bottom: 0;
      }
    }
  }

  .visual-content {
    position: relative;

    .main-img {
      border-radius: 20px;
      box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    }

    .stats-card {
      position: absolute;
      bottom: 40px;
      left: -40px;
      background: white;
      padding: 20px;
      border-radius: 16px;
      box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
      display: flex;
      align-items: center;
      gap: 15px;
      animation: float 5s ease-in-out infinite;

      .icon {
        width: 45px;
        height: 45px;
        border-radius: 12px;
        background: #0fe493;
        color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 20px;
      }

      .text {
        h6 {
          font-weight: 700;
          font-size: 18px;
          margin: 0;
          color: $black_800;
        }

        span {
          font-size: 13px;
          color: $black_500;
        }
      }
    }
  }
}

.feature-area-five {
  background: url(../img/body_bg_glow.png) repeat-y top center;
  background-size: 100% auto;

  .icon {
    margin-bottom: 16px;
    position: relative;
    z-index: 1;

    .circle {
      height: 37px;
      width: 37px;
      border-radius: 50%;
      position: absolute;
      z-index: -1;
      top: -8px;
      left: 13px;
      animation: blinker 2s linear infinite;
    }

    .green {
      background-color: #d4ffba;
    }

    .blue {
      background-color: #baccff;
      animation-delay: 2s;
    }

    .red {
      background-color: #ffbabb;
      animation-delay: 1s;
    }

    .violet {
      background-color: #ccbaff;
      animation-delay: 5s;
    }
  }

  h4 {
    color: $black_800;
    font-weight: 700;
    margin-bottom: 10px;
  }
}

.feature-area-six {
  background: url(../img/body_bg_glow.png) repeat-y top center;
  background-size: 100% auto;

  .feature-box {
    padding: 24px 24px 32px 24px;
    background-color: #fff;
    text-align: center;
    transition: all 0.3s ease-in-out;
    border-radius: 8px;

    &:hover {
      box-shadow: $long_shadow;
    }

    img {
      max-width: 100%;
      margin-bottom: 20px;
    }

    h4 {
      color: $black_800;
      font-weight: 700;
      margin-bottom: 8px;
    }

    p {
      color: $black_700;
      margin-bottom: 0;
    }
  }
}

.feature-area-seven {
  position: relative;
  z-index: 1;
  background-color: rgba($brand_color_rgb, 0.03);
  overflow: hidden;

  // Background decoration
  &::before {
    content: url('data:image/svg+xml;utf8,<svg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="%23f4196d" opacity="0.4"/></svg>');
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.5;
    z-index: -1;
  }

  .feature-card {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 16px;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba($brand_color_rgb, 0.1);
    height: 100%;
    position: relative;
    overflow: hidden;

    &::after {
      content: "";
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      height: 4px;
      background: $brand_color; // Brand color
      transform: scaleX(0);
      transform-origin: right;
      transition: transform 0.4s ease;
    }

    &:hover {
      transform: translateY(-8px);
      box-shadow: 0 15px 40px rgba($brand_color_rgb, 0.12);
      border-color: transparent;

      &::after {
        transform: scaleX(1);
        transform-origin: left;
      }

      .icon-wrapper {
        background-color: $brand_color;
        transform: scale(1.05);

        img {
          filter: brightness(0) invert(1);
          transform: scale(0.9);
        }
      }
    }

    .icon-wrapper {
      width: 80px;
      height: 80px;
      margin: 0 auto 28px;
      background-color: rgba($brand_color_rgb, 0.08);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);

      img {
        width: 42px;
        transition: all 0.3s ease;
      }
    }

    h4 {
      font-size: 22px;
      font-weight: 700;
      color: $black_800;
      margin-bottom: 12px;
    }

    p {
      color: $black_600;
      line-height: 1.6;
      margin-bottom: 0;
      font-size: 16px;
    }
  }
}

.feature-area-eight {
  position: relative;
  z-index: 1;

  .bg-shape {
    position: absolute;
    top: 46%;
    right: -70px;
    z-index: -1;
  }

  .video-player-widget {
    padding: 0;
    background-color: transparent;
    position: relative;
    box-shadow: 0 40px 80px 0 rgba(#000, 12%);

    .shape {
      img {
        position: absolute;
        z-index: 0;

        &:nth-child(1) {
          top: -5px;
          left: -129px;
        }

        &:nth-child(2) {
          bottom: -5px;
          right: -129px;
        }
      }
    }

    &:hover {
      &::before {
        opacity: 0;
      }
    }

    &::before {
      content: "";
      position: absolute;
      left: 0;
      top: 0;
      height: 100%;
      width: 100%;
      background-color: #000;
      opacity: 0.3;
      border-radius: 8px;
    }
  }
}

.feature-area-nine {
  position: relative;
  z-index: 1;

  .stat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;

    @media (max-width: 991px) {
      grid-template-columns: repeat(2, 1fr);
    }

    @media (max-width: 575px) {
      grid-template-columns: 1fr;
    }
  }

  .stat-card {
    background: #ffffff;
    padding: 35px 25px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0, 0, 0, 0.03);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;

    &::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 4px;
      background: var(--gradient-primary);
      transform: scaleX(0);
      transform-origin: left;
      transition: transform 0.4s ease;
    }

    &:hover {
      transform: translateY(-10px);
      box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);

      &::before {
        transform: scaleX(1);
      }

      .icon {
        background: var(--gradient-primary);
        color: white;
        transform: rotateY(180deg);
      }
    }

    .icon {
      width: 65px;
      height: 65px;
      margin: 0 auto 20px;
      background: rgba($brand_color, 0.08);
      color: $brand_color;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 26px;
      transition: all 0.4s ease;
    }

    h2 {
      font-size: 38px;
      font-weight: 800;
      margin-bottom: 5px;
      color: $black_800;

      .counter {
        display: inline-block;
      }
    }

    p {
      color: $black_500;
      font-weight: 600;
      text-transform: uppercase;
      font-size: 13px;
      letter-spacing: 1px;
      margin-bottom: 0;
    }
  }

  .content-side {
    p {
      font-size: 17px;
      line-height: 1.8;
      color: $black_600;
      margin-bottom: 30px;
    }
  }
}