/*=====================================================
Index-4 Enhanced Styles - Modern UI/UX Improvements
===================================================*/

/* Enhanced Keyframe Animations */
@keyframes gradientShift {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.05);
  }
}

@keyframes orbitalRotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInFromRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes shimmer {
  to {
    background-position: 200% center;
  }
}

/* ===== GLOBAL GLASSMORPHISM & UTILITIES ===== */
.glass-panel {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
}

.glass-panel-dark {
  background: rgba(17, 25, 40, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.125);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

.hover-float {
  transition: transform 0.3s ease;
  &:hover {
    transform: translateY(-8px);
  }
}

.hover-glow {
  transition: box-shadow 0.3s ease;
  &:hover {
    box-shadow: 0 0 20px rgba(244, 25, 109, 0.4);
  }
}

.text-shimmer {
  background: linear-gradient(to right, var(--brand_color) 0%, #fff 50%, var(--brand_color) 100%);
  background-size: 200% auto;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 3s linear infinite;
}

/* Glass Header Override */
.navbar.glass-header {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
  
  &.navbar_fixed {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
  }
}

/* ===== ENHANCED HERO SECTION ===== */
.hero-area-four {
  position: relative;
  padding: 120px 0 100px;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;

  &--revamped {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;

    &::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: 
        radial-gradient(circle at 25% 25%, rgba(244, 25, 109, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(15, 228, 147, 0.1) 0%, transparent 50%);
      pointer-events: none;
    }
  }

  .hero-bg-layer {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    overflow: hidden;

    .gradient-overlay {
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: linear-gradient(
        45deg,
        rgba(102, 126, 234, 0.9),
        rgba(118, 75, 162, 0.9),
        rgba(244, 25, 109, 0.8)
      );
      background-size: 300% 300%;
      animation: gradientShift 10s ease infinite;
    }

    .noise-overlay {
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background-image: 
        radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
      background-size: 20px 20px;
      opacity: 0.3;
    }

    .orb {
      position: absolute;
      border-radius: 50%;
      filter: blur(2px);
      animation: float 6s ease-in-out infinite;

      &.orb-1 {
        width: 200px;
        height: 200px;
        background: radial-gradient(circle, rgba(244, 25, 109, 0.3), transparent);
        top: 10%;
        left: 10%;
        animation-delay: 0s;
      }

      &.orb-2 {
        width: 150px;
        height: 150px;
        background: radial-gradient(circle, rgba(15, 228, 147, 0.3), transparent);
        top: 60%;
        right: 15%;
        animation-delay: 2s;
      }

      &.orb-3 {
        width: 100px;
        height: 100px;
        background: radial-gradient(circle, rgba(102, 126, 234, 0.3), transparent);
        bottom: 20%;
        left: 30%;
        animation-delay: 4s;
      }
    }
  }

  .hero-content {
    position: relative;
    z-index: 2;

    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: rgba(255, 255, 255, 0.15);
      backdrop-filter: blur(10px);
      padding: 8px 16px;
      border-radius: var(--radius-full);
      border: 1px solid rgba(255, 255, 255, 0.2);
      color: white;
      font-size: var(--font-size-sm);
      font-weight: 500;
      text-transform: uppercase;
      letter-spacing: 0.5px;

      .pulse-dot {
        width: 8px;
        height: 8px;
        background: var(--secondery_color);
        border-radius: 50%;
        animation: pulse 2s infinite;
      }
    }

    .display-heading {
      font-size: clamp(2.5rem, 5vw, 4rem);
      font-weight: 700;
      line-height: 1.2;
      color: white;
      margin-bottom: 1.5rem;

      .text-gradient {
        background: linear-gradient(135deg, #ff7ea9, #0fe493);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
      }

      .outline {
        -webkit-text-stroke: 2px rgba(255, 255, 255, 0.3);
        -webkit-text-fill-color: transparent;
        color: transparent;
      }
    }

    .lead {
      color: rgba(255, 255, 255, 0.9);
      font-size: var(--font-size-lg);
      line-height: 1.6;
      max-width: 560px;
    }

    .hero-metrics {
      .metric-tile {
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.15);
        border-radius: var(--radius-lg);
        padding: 1.5rem 1rem;
        text-align: center;
        transition: var(--transition-base);
        position: relative;
        overflow: hidden;

        &::before {
          content: '';
          position: absolute;
          top: 0;
          left: -100%;
          width: 100%;
          height: 100%;
          background: linear-gradient(
            90deg,
            transparent,
            rgba(255, 255, 255, 0.2),
            transparent
          );
          transition: left 0.8s ease;
        }

        &:hover {
          transform: translateY(-5px);
          box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);

          &::before {
            left: 100%;
          }
        }

        .value {
          font-size: var(--font-size-2xl);
          font-weight: 700;
          color: white;
          display: block;
          margin-bottom: 0.5rem;
        }

        .label {
          font-size: var(--font-size-sm);
          color: rgba(255, 255, 255, 0.8);
          font-weight: 500;
        }
      }
    }

    .hero-actions {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 1rem;
      margin-bottom: 2rem;

      .theme-btn {
        background: linear-gradient(135deg, var(--brand_color), var(--brand_hover));
        border: none;
        padding: 14px 28px;
        border-radius: var(--radius-lg);
        color: white;
        font-weight: 600;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        transition: var(--transition-base);
        position: relative;
        overflow: hidden;

        &.btn-glow {
          box-shadow: 0 8px 32px rgba(244, 25, 109, 0.4);

          &:hover {
            transform: translateY(-2px);
            box-shadow: 0 12px 48px rgba(244, 25, 109, 0.6);
          }
        }
      }

      .theme-btn-outline {
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
        border: 2px solid rgba(255, 255, 255, 0.3);
        padding: 12px 24px;
        border-radius: var(--radius-lg);
        color: white;
        text-decoration: none;
        font-weight: 500;
        transition: var(--transition-base);

        &:hover {
          background: rgba(255, 255, 255, 0.2);
          border-color: rgba(255, 255, 255, 0.5);
          transform: translateY(-2px);
        }

        &.subtle {
          border-color: rgba(255, 255, 255, 0.2);
        }
      }

      .play-intro-btn {
        background: none;
        border: none;
        color: white;
        display: flex;
        align-items: center;
        gap: 12px;
        font-size: var(--font-size-base);
        cursor: pointer;
        transition: var(--transition-base);

        .icon {
          width: 48px;
          height: 48px;
          background: rgba(255, 255, 255, 0.2);
          border-radius: 50%;
          display: flex;
          align-items: center;
          justify-content: center;
          backdrop-filter: blur(10px);
          transition: var(--transition-base);

          i {
            margin-left: 2px;
          }
        }

        &:hover {
          .icon {
            background: rgba(255, 255, 255, 0.3);
            transform: scale(1.1);
          }
        }
      }
    }

    .trust-row {
      .avatar-stack {
        display: flex;
        align-items: center;
        margin-right: -8px;

        img {
          width: 40px;
          height: 40px;
          border-radius: 50%;
          border: 3px solid rgba(255, 255, 255, 0.3);
          margin-right: -8px;
          transition: var(--transition-base);

          &:hover {
            transform: translateY(-2px);
            z-index: 2;
          }
        }

        .more {
          width: 40px;
          height: 40px;
          background: rgba(255, 255, 255, 0.2);
          border-radius: 50%;
          display: flex;
          align-items: center;
          justify-content: center;
          font-size: var(--font-size-xs);
          font-weight: 600;
          color: white;
          border: 3px solid rgba(255, 255, 255, 0.3);
          backdrop-filter: blur(10px);
        }
      }

      .social-proof {
        color: rgba(255, 255, 255, 0.8);
        font-size: var(--font-size-sm);

        strong {
          color: white;
        }
      }
    }
  }

  .hero-visual-wrapper {
    position: relative;
    z-index: 2;

    .orbit-cluster {
      position: relative;
      width: 300px;
      height: 300px;
      margin: 0 auto 3rem;

      .core-heart {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 80px;
        height: 80px;
        background: linear-gradient(135deg, var(--brand_color), #ff7ea9);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 2rem;
        box-shadow: 0 8px 32px rgba(244, 25, 109, 0.4);
        animation: pulse 3s infinite;
        z-index: 3;
      }

      .orbit {
        position: absolute;
        border: 2px solid rgba(255, 255, 255, 0.2);
        border-radius: 50%;
        animation: orbitalRotation 20s linear infinite;

        &.orbit-a {
          width: 120px;
          height: 120px;
          top: 50%;
          left: 50%;
          transform: translate(-50%, -50%);
          border-color: rgba(244, 25, 109, 0.3);
        }

        &.orbit-b {
          width: 180px;
          height: 180px;
          top: 50%;
          left: 50%;
          transform: translate(-50%, -50%);
          border-color: rgba(15, 228, 147, 0.3);
          animation-duration: 25s;
        }

        &.orbit-c {
          width: 240px;
          height: 240px;
          top: 50%;
          left: 50%;
          transform: translate(-50%, -50%);
          border-color: rgba(102, 126, 234, 0.3);
          animation-duration: 30s;
        }
      }

      .particle {
        position: absolute;
        width: 8px;
        height: 8px;
        background: white;
        border-radius: 50%;
        opacity: 0.6;

        &.p1 {
          top: 20%;
          left: 80%;
          animation: float 4s ease-in-out infinite;
        }

        &.p2 {
          top: 80%;
          left: 20%;
          animation: float 3s ease-in-out infinite 1s;
        }

        &.p3 {
          top: 60%;
          right: 10%;
          animation: float 5s ease-in-out infinite 2s;
        }

        &.p4 {
          bottom: 70%;
          left: 10%;
          animation: float 3.5s ease-in-out infinite 0.5s;
        }
      }
    }

    .floating-card {
      position: absolute;
      background: rgba(255, 255, 255, 0.95);
      backdrop-filter: blur(20px);
      border: 1px solid rgba(255, 255, 255, 0.3);
      border-radius: var(--radius-xl);
      padding: 1.5rem;
      box-shadow: var(--bs_lg);
      transition: var(--transition-base);

      &:hover {
        transform: translateY(-5px);
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
      }

      &.smart-score {
        top: 10%;
        right: -10%;
        width: 220px;
        animation: slideInFromRight 1s ease-out 0.5s both;

        .title {
          font-size: var(--font-size-sm);
          color: var(--p_color);
          margin-bottom: 1rem;
          font-weight: 600;
        }

        .score {
          display: flex;
          align-items: baseline;
          margin-bottom: 1rem;

          .value {
            font-size: 3rem;
            font-weight: 700;
            color: var(--brand_color);
          }

          .unit {
            font-size: var(--font-size-lg);
            color: var(--black_400);
            margin-left: 4px;
          }
        }

        .graph-bar {
          height: 6px;
          background: var(--black_100);
          border-radius: 3px;
          overflow: hidden;
          margin-bottom: 1rem;

          span {
            display: block;
            height: 100%;
            background: linear-gradient(90deg, var(--brand_color), var(--secondery_color));
            border-radius: 3px;
            transition: width 2s ease-out 1s;
          }
        }

        .legend {
          color: var(--black_400);
          font-size: var(--font-size-xs);
        }
      }

      &.sentiment {
        bottom: 20%;
        left: -5%;
        width: 160px;
        text-align: center;
        animation: slideInFromRight 1s ease-out 1s both;

        .mini-label {
          font-size: var(--font-size-xs);
          color: var(--p_color);
          margin-bottom: 1rem;
          font-weight: 600;
          text-transform: uppercase;
          letter-spacing: 0.5px;
        }

        .chart-ring {
          position: relative;
          width: 80px;
          height: 80px;
          margin: 0 auto;

          .ring-fill {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            border: 6px solid var(--black_100);
            border-radius: 50%;
            border-top-color: var(--secondery_color);
            transform: rotate(-90deg);
            transition: border-top-color 1s ease-out 1.5s;
          }

          .center {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            font-size: var(--font-size-lg);
            font-weight: 700;
            color: var(--h_title);
          }
        }
      }
    }

    .quick-signup {
      position: absolute;
      bottom: -10%;
      right: 10%;
      width: 280px;
      background: rgba(255, 255, 255, 0.95);
      backdrop-filter: blur(20px);
      border: 1px solid rgba(255, 255, 255, 0.3);
      border-radius: var(--radius-xl);
      padding: 2rem;
      box-shadow: var(--bs_lg);
      animation: fadeInUp 1s ease-out 1.5s both;

      .qs-heading {
        font-size: var(--font-size-base);
        font-weight: 600;
        color: var(--h_title);
        margin-bottom: 1.5rem;
        text-align: center;
      }

      .form-control {
        border: 2px solid var(--black_100);
        border-radius: var(--radius-lg);
        padding: 12px 16px;
        font-size: var(--font-size-base);
        transition: var(--transition-base);

        &:focus {
          border-color: var(--brand_color);
          box-shadow: 0 0 0 0.2rem rgba(244, 25, 109, 0.25);
          outline: none;
        }
      }

      .theme-btn {
        background: linear-gradient(135deg, var(--brand_color), var(--brand_hover));
        border: none;
        border-radius: var(--radius-lg);
        padding: 12px 24px;
        color: white;
        font-weight: 600;
        transition: var(--transition-base);

        &:hover {
          transform: translateY(-2px);
          box-shadow: 0 8px 24px rgba(244, 25, 109, 0.3);
        }
      }

      .secure-note {
        text-align: center;
        color: var(--black_400);
        font-size: var(--font-size-xs);
        margin-top: 1rem;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;

        i {
          color: var(--secondery_color);
        }
      }
    }
  }
}

/* Responsive Design */
@media (max-width: 1199.98px) {
  .hero-area-four {
    .hero-visual-wrapper {
      .floating-card {
        position: static;
        margin-bottom: 2rem;
        width: 100%;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
      }

      .quick-signup {
        position: static;
        width: 100%;
        max-width: 400px;
        margin: 2rem auto 0;
      }

      .orbit-cluster {
        width: 250px;
        height: 250px;
      }
    }
  }
}

@media (max-width: 767.98px) {
  .hero-area-four {
    padding: 100px 0 80px;
    min-height: auto;

    .hero-content {
      .display-heading {
        font-size: 2.5rem;
      }

      .hero-actions {
        flex-direction: column;
        align-items: stretch;

        .theme-btn,
        .theme-btn-outline {
          width: 100%;
          text-align: center;
          justify-content: center;
        }

        .play-intro-btn {
          align-self: center;
        }
      }

      .hero-metrics {
        .metric-tile {
          padding: 1rem;

          .value {
            font-size: var(--font-size-xl);
          }
        }
      }

      .trust-row {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1rem;
      }
    }

    .hero-visual-wrapper {
      .orbit-cluster {
        width: 200px;
        height: 200px;
      }
    }
  }
}

/* ===== ENHANCED TESTIMONIALS SECTION ===== */
.testimonials-area-four {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  position: relative;
  overflow: hidden;
  
  &--revamped {
    &::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: 
        radial-gradient(circle at 20% 80%, rgba(244, 25, 109, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(15, 228, 147, 0.05) 0%, transparent 50%);
      pointer-events: none;
    }
  }

  .section-title {
    position: relative;
    z-index: 2;
    margin-bottom: 3rem;

    h2 {
      font-size: clamp(2rem, 4vw, 3rem);
      font-weight: 700;
      color: var(--h_title);
      margin-bottom: 1rem;
      position: relative;

      &::after {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
        width: 60px;
        height: 4px;
        background: linear-gradient(135deg, var(--brand_color), var(--secondery_color));
        border-radius: 2px;
      }
    }

    .subtitle {
      font-size: var(--font-size-lg);
      color: var(--p_color);
      max-width: 600px;
      margin: 0 auto;
      line-height: 1.6;
    }
  }

  .testimonial-slider-wrapper {
    position: relative;
    z-index: 2;
    padding: 0 2rem;
  }

  .testimonial-slide {
    padding: 1rem;
    outline: none;
  }

  .testimonial-card-modern {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--radius-xl);
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    position: relative;
    overflow: visible;
    min-height: 450px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;

    &::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 4px;
      height: 100%;
      background: linear-gradient(to bottom, var(--brand_color), var(--secondery_color));
      opacity: 0;
      transition: opacity 0.3s ease;
    }

    &:hover {
      transform: translateY(-5px);
      box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
      background: rgba(255, 255, 255, 0.95);

      &::before {
        opacity: 1;
      }

      .quote-icon {
        transform: scale(1.1) rotate(-10deg);
        color: var(--brand_color);
      }
    }

    .card-content {
      margin-bottom: 2rem;
      position: relative;

      .quote-icon {
        font-size: 3rem;
        color: var(--brand_color_200);
        margin-bottom: 1.5rem;
        transition: all 0.4s ease;
      }

      .quote-text {
        font-size: 1.25rem;
        line-height: 1.6;
        color: var(--h_title);
        font-style: italic;
        margin-bottom: 1.5rem;
      }

      .rating {
        color: #fbbf24;
        font-size: 1rem;
        display: flex;
        gap: 4px;
      }
    }

    .author-info {
      display: flex;
      align-items: center;
      gap: 1rem;
      padding-top: 1.5rem;
      border-top: 1px solid rgba(0, 0, 0, 0.05);

      .avatar-wrapper {
        position: relative;
        width: 60px;
        height: 60px;

        .author-img {
          width: 100%;
          height: 100%;
          border-radius: 50%;
          object-fit: cover;
          border: 2px solid white;
          box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        }

        .verified-badge {
          position: absolute;
          bottom: 0;
          right: 0;
          width: 20px;
          height: 20px;
          background: var(--secondery_color);
          color: white;
          border-radius: 50%;
          display: flex;
          align-items: center;
          justify-content: center;
          font-size: 10px;
          border: 2px solid white;
        }
      }

      .details {
        .name {
          font-size: 1.1rem;
          font-weight: 700;
          color: var(--h_title);
          margin-bottom: 2px;
        }

        .role {
          display: block;
          font-size: 0.9rem;
          color: var(--brand_color);
          font-weight: 500;
          margin-bottom: 2px;
        }

        .location {
          display: block;
          font-size: 0.8rem;
          color: var(--black_400);
          
          i {
            margin-right: 4px;
          }
        }
      }
    }
  }

  .slider-nav-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 3rem;

    button {
      width: 50px;
      height: 50px;
      border-radius: 50%;
      border: 1px solid rgba(0, 0, 0, 0.1);
      background: white;
      color: var(--h_title);
      font-size: 1.2rem;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: all 0.3s ease;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);

      &:hover {
        background: var(--brand_color);
        color: white;
        border-color: var(--brand_color);
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(244, 25, 109, 0.3);
      }
    }
  }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .testimonials-area-four {
    .testimonial-card-modern {
      padding: 2rem;
      
      .card-content {
        .quote-text {
          font-size: 1.1rem;
        }
      }
    }
    
    .slider-nav-controls {
      margin-top: 2rem;
    }
  }
}

/* ===== ENHANCED PRICING SECTION ===== */
.pricing-area-four {
  background: var(--h_title);
  position: relative;
  overflow: hidden;

  &::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
      radial-gradient(circle at 30% 20%, rgba(244, 25, 109, 0.1) 0%, transparent 50%),
      radial-gradient(circle at 70% 80%, rgba(15, 228, 147, 0.1) 0%, transparent 50%);
    pointer-events: none;
  }

  .section-title {
    position: relative;
    z-index: 2;

    h2 {
      color: white;
      font-size: clamp(2rem, 4vw, 3rem);
      font-weight: 700;
      margin-bottom: 1rem;
      position: relative;

      &::after {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
        width: 60px;
        height: 4px;
        background: linear-gradient(135deg, var(--brand_color), var(--secondery_color));
        border-radius: 2px;
      }
    }

    p {
      color: rgba(255, 255, 255, 0.8);
      font-size: var(--font-size-lg);
      max-width: 600px;
      margin: 0 auto;
      line-height: 1.6;
    }
  }

  .pricing-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    padding: 2.5rem 2rem;
    text-align: center;
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
    height: 100%;

    &::before {
      content: '';
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
      );
      transition: left 0.8s ease;
    }

    &:hover {
      transform: translateY(-10px);
      box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
      border-color: rgba(255, 255, 255, 0.2);

      &::before {
        left: 100%;
      }
    }

    &.featured {
      background: rgba(255, 255, 255, 0.1);
      border-color: var(--brand_color);
      transform: scale(1.05);
      position: relative;

      &::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(135deg, rgba(244, 25, 109, 0.1), rgba(15, 228, 147, 0.1));
        border-radius: var(--radius-xl);
        pointer-events: none;
      }

      &:hover {
        transform: scale(1.05) translateY(-10px);
      }

      .pricing-badge {
        position: absolute;
        top: -12px;
        left: 50%;
        transform: translateX(-50%);
        background: linear-gradient(135deg, var(--brand_color), var(--brand_hover));
        color: white;
        padding: 8px 24px;
        border-radius: var(--radius-full);
        font-size: var(--font-size-xs);
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        box-shadow: 0 4px 16px rgba(244, 25, 109, 0.4);
      }
    }

    .pricing-header {
      margin-bottom: 2rem;
      position: relative;
      z-index: 2;

      h4 {
        font-size: var(--font-size-xl);
        font-weight: 700;
        color: white;
        margin-bottom: 1rem;
        text-transform: uppercase;
        letter-spacing: 1px;
      }

      .price {
        font-size: 3.5rem;
        font-weight: 700;
        color: white;
        line-height: 1;
        margin-bottom: 0.5rem;
        position: relative;

        span {
          font-size: var(--font-size-base);
          font-weight: 500;
          color: rgba(255, 255, 255, 0.7);
          vertical-align: top;
        }
      }
    }

    .pricing-features {
      list-style: none;
      padding: 0;
      margin: 0 0 2.5rem 0;
      position: relative;
      z-index: 2;

      li {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 12px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        color: rgba(255, 255, 255, 0.9);
        font-size: var(--font-size-base);
        transition: var(--transition-base);

        &:last-child {
          border-bottom: none;
        }

        &:hover {
          color: white;
          transform: translateX(5px);
        }

        i {
          font-size: var(--font-size-sm);
          width: 16px;
          text-align: center;

          &.fa-check {
            color: var(--secondery_color);
          }

          &.fa-times {
            color: var(--black_400);
          }
        }
      }
    }

    .theme-btn,
    .theme-btn-outline {
      position: relative;
      z-index: 2;
      border-radius: var(--radius-lg);
      padding: 14px 28px;
      font-weight: 600;
      text-decoration: none;
      display: inline-block;
      transition: var(--transition-base);
      text-transform: uppercase;
      letter-spacing: 0.5px;
      font-size: var(--font-size-sm);

      &:hover {
        transform: translateY(-2px);
      }
    }

    .theme-btn {
      background: linear-gradient(135deg, var(--brand_color), var(--brand_hover));
      color: white;
      border: none;
      box-shadow: 0 8px 24px rgba(244, 25, 109, 0.3);

      &:hover {
        box-shadow: 0 12px 36px rgba(244, 25, 109, 0.5);
      }
    }

    .theme-btn-outline {
      background: transparent;
      border: 2px solid rgba(255, 255, 255, 0.3);
      color: white;

      &:hover {
        background: rgba(255, 255, 255, 0.1);
        border-color: rgba(255, 255, 255, 0.5);
        color: white;
      }
    }
  }
}

/* Pricing Animation Delays */
.pricing-card:nth-child(1) {
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.pricing-card:nth-child(2) {
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.pricing-card:nth-child(3) {
  animation: fadeInUp 0.8s ease-out 0.6s both;
}

/* ===== ENHANCED ABOUT SECTION ===== */
.about-area-four {
  position: relative;
  overflow: hidden;

  .about-image {
    position: relative;
    
    img {
      border-radius: var(--radius-xl);
      box-shadow: var(--bs_lg);
    }

    .about-stats {
      position: absolute;
      bottom: 30px;
      right: -20px;
      
      .stat-card {
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        padding: 1.5rem 2rem;
        border-radius: var(--radius-lg);
        box-shadow: var(--bs_lg);
        border: 1px solid rgba(255, 255, 255, 0.5);
        animation: float 4s ease-in-out infinite;

        h4 {
          color: var(--brand_color);
          font-size: 2rem;
          font-weight: 700;
          margin-bottom: 0;
        }

        p {
          margin-bottom: 0;
          font-weight: 600;
          color: var(--h_title);
        }
      }
    }
  }

  .about-content {
    padding-left: 3rem;

    .subtitle {
      color: var(--brand_color);
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 1px;
      margin-bottom: 1rem;
    }

    h2 {
      font-size: clamp(2rem, 3vw, 2.5rem);
      font-weight: 700;
      margin-bottom: 1.5rem;
      color: var(--h_title);
    }

    .feature-list {
      list-style: none;
      padding: 0;
      margin: 2rem 0;

      li {
        display: flex;
        align-items: center;
        gap: 12px;
        margin-bottom: 1rem;
        font-size: var(--font-size-lg);
        color: var(--p_color);

        i {
          font-size: 1.2rem;
        }
      }
    }
  }
}

/* ===== ENHANCED FEATURES SECTION ===== */
.features-area-four {
  background: var(--black_25);
  
  .feature-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: var(--radius-xl);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;

    &::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: linear-gradient(135deg, rgba(244, 25, 109, 0.05), rgba(15, 228, 147, 0.05));
      opacity: 0;
      transition: opacity 0.4s ease;
    }

    &:hover {
      transform: translateY(-10px) scale(1.02);
      box-shadow: var(--bs_lg);
      border-color: var(--brand_color_100);

      &::before {
        opacity: 1;
      }

      .feature-icon {
        transform: scale(1.1) rotate(10deg);
        background: var(--brand_color);
        color: white;
        box-shadow: 0 10px 20px rgba(244, 25, 109, 0.3);
      }
    }

    .feature-icon {
      width: 70px;
      height: 70px;
      background: var(--brand_color_50);
      color: var(--brand_color);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.75rem;
      margin: 0 auto 1.5rem;
      transition: var(--transition-base);
    }

    h4 {
      font-size: 1.25rem;
      font-weight: 700;
      margin-bottom: 1rem;
      color: var(--h_title);
    }

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

/* ===== ENHANCED HOW IT WORKS SECTION ===== */
.how-it-works-area-four {
  position: relative;

  .step-card {
    position: relative;
    padding: 2rem 1rem;
    transition: var(--transition-base);
    border-radius: var(--radius-lg);

    &:hover {
      background: rgba(255, 255, 255, 0.4);
      backdrop-filter: blur(5px);
      box-shadow: 0 10px 30px rgba(0,0,0,0.05);

      .step-icon {
        transform: translateY(-10px) rotate(360deg);
        box-shadow: 0 15px 30px rgba(244, 25, 109, 0.2);
      }
    }

    .step-number {
      font-size: 4rem;
      font-weight: 900;
      color: var(--black_50);
      position: absolute;
      top: 0;
      left: 50%;
      transform: translateX(-50%);
      z-index: -1;
      opacity: 0.5;
    }

    .step-icon {
      width: 80px;
      height: 80px;
      background: white;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 2rem;
      color: var(--brand_color);
      margin: 0 auto 1.5rem;
      box-shadow: var(--bs_md);
      transition: var(--transition-base);
      position: relative;
      z-index: 1;
    }

    h4 {
      font-weight: 700;
      margin-bottom: 0.5rem;
      color: var(--h_title);
    }
  }
}

/* ===== ENHANCED SUCCESS STORIES SECTION ===== */
.success-stories-area-four {
  &--revamped {
    background: linear-gradient(to bottom, #fff, var(--black_25));
  }

  .story-card {
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--bs_md);
    transition: var(--transition-base);
    height: 100%;

    &:hover {
      transform: translateY(-10px);
      box-shadow: var(--bs_lg);

      .media-wrapper img {
        transform: scale(1.05);
      }
    }

    .media-wrapper {
      position: relative;
      height: 240px;
      overflow: hidden;

      img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
      }

      .badge-pill {
        position: absolute;
        top: 1rem;
        right: 1rem;
        background: rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(5px);
        padding: 0.5rem 1rem;
        border-radius: var(--radius-full);
        font-weight: 600;
        color: var(--brand_color);
        font-size: var(--font-size-sm);
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
      }

      .compat-bar {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 4px;
        background: rgba(255, 255, 255, 0.3);

        span {
          display: block;
          height: 100%;
          width: var(--fill);
          background: var(--brand_color);
        }
      }
    }

    .story-content {
      padding: 1.5rem;

      .names {
        font-size: 1.25rem;
        font-weight: 700;
        margin-bottom: 0.25rem;
        color: var(--h_title);

        span {
          color: var(--brand_color);
        }
      }

      .meta {
        color: var(--black_400);
        font-size: var(--font-size-sm);
        margin-bottom: 1rem;
        display: block;
      }

      .quote {
        font-style: italic;
        color: var(--p_color);
        margin-bottom: 1.5rem;
        line-height: 1.6;
      }

      .tags {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;

        span {
          background: var(--black_50);
          padding: 4px 12px;
          border-radius: var(--radius-full);
          font-size: var(--font-size-xs);
          color: var(--black_600);
          font-weight: 500;
        }
      }
    }
  }
}

/* ===== ENHANCED COMMUNITY PREVIEW SECTION ===== */
.community-preview-area-four {
  .member-preview-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    text-align: center;
    border: 1px solid var(--black_100);
    transition: var(--transition-base);

    &:hover {
      border-color: var(--brand_color);
      box-shadow: var(--bs_lg);
      transform: translateY(-5px);

      .member-avatar img {
        transform: scale(1.1);
      }
    }

    .member-avatar {
      width: 100px;
      height: 100px;
      margin: 0 auto 1rem;
      position: relative;
      border-radius: 50%;
      overflow: hidden;

      img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: var(--transition-base);
      }

      .online-status {
        position: absolute;
        bottom: 10px;
        right: 10px;
        width: 12px;
        height: 12px;
        background: var(--secondery_color);
        border: 2px solid white;
        border-radius: 50%;
      }
    }

    .member-info {
      h5 {
        font-weight: 700;
        margin-bottom: 0.25rem;
        color: var(--h_title);
      }

      p {
        color: var(--black_400);
        font-size: var(--font-size-sm);
        margin-bottom: 1rem;
      }

      .member-interests {
        display: flex;
        justify-content: center;
        gap: 8px;
        flex-wrap: wrap;

        span {
          font-size: var(--font-size-xs);
          color: var(--brand_color);
          background: var(--brand_color_50);
          padding: 4px 10px;
          border-radius: 4px;
        }
      }
    }
  }
}

/* ===== ENHANCED INSIGHTS SECTION ===== */
.insights-area-four {
  background: var(--black_800);
  color: white;
  position: relative;
  overflow: hidden;

  &::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(244, 25, 109, 0.1), transparent 70%);
    pointer-events: none;
  }

  .section-title {
    h2 {
      color: white;
    }
    p {
      color: rgba(255, 255, 255, 0.7);
    }
  }

  .insight-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    transition: var(--transition-base);

    &:hover {
      background: rgba(255, 255, 255, 0.1);
      transform: translateY(-5px);
      
      .icon {
        transform: scale(1.2);
        color: var(--brand_color);
      }
    }

    .icon {
      font-size: 2rem;
      color: rgba(255, 255, 255, 0.5);
      margin-bottom: 1.5rem;
      transition: var(--transition-base);
    }

    .value {
      font-size: 3rem;
      font-weight: 700;
      color: white;
      margin-bottom: 0.5rem;
      background: linear-gradient(to right, white, rgba(255, 255, 255, 0.7));
      -webkit-background-clip: text;
      background-clip: text;
      -webkit-text-fill-color: transparent;
    }

    .label {
      font-size: 1.1rem;
      font-weight: 600;
      color: white;
      margin-bottom: 0.5rem;
    }

    .meta {
      color: rgba(255, 255, 255, 0.5);
      font-size: var(--font-size-sm);
    }
  }
}

/* ===== ENHANCED FINAL CTA SECTION ===== */
.final-cta-area-four {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--brand_color), #ff7ea9);
  position: relative;
  overflow: hidden;

  &::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 60%);
    animation: rotate 20s linear infinite;
  }

  .cta-wrapper {
    position: relative;
    z-index: 2;
    color: white;

    h2 {
      color: white;
      font-size: 2.5rem;
      font-weight: 700;
      margin-bottom: 1rem;
    }

    p {
      color: rgba(255, 255, 255, 0.9);
      font-size: 1.25rem;
    }

    .theme-btn {
      background: white;
      color: var(--brand_color);
      
      &:hover {
        background: var(--black_50);
        transform: translateY(-2px);
      }
    }

    .theme-btn-outline {
      border-color: white;
      color: white;

      &:hover {
        background: rgba(255, 255, 255, 0.1);
      }
    }
  }
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Responsive adjustments for new sections */
@media (max-width: 991.98px) {
  .about-area-four {
    .about-image {
      margin-bottom: 3rem;
    }
    .about-content {
      padding-left: 0;
    }
  }
  
  .how-it-works-area-four {
    .step-card {
      margin-bottom: 2rem;
    }
  }
}
