/* ===== Features Overlap Section ===== */
        .features-overlap-section {
            position: relative;
            padding: 6rem 0;
            overflow: hidden;
        }

        .features-overlap-white {
            background: #ffffff;
        }

        .features-overlap-gray {
            background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 50%, #e2e8f0 100%);
        }

        .dark .features-overlap-white {
            background: var(--color-bg-secondary);
        }

        .dark .features-overlap-gray {
            background: linear-gradient(135deg, var(--color-bg-secondary) 0%, var(--color-bg-primary) 50%, var(--color-bg-secondary) 100%);
        }

        /* ===== Background Waves ===== */
        .features-overlap-waves {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 150px;
            overflow: hidden;
            pointer-events: none;
        }

        .features-overlap-wave {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            fill: var(--color-primary-100);
            opacity: 0.3;
        }

        .dark .features-overlap-wave {
            fill: var(--color-primary-900);
            opacity: 0.2;
        }

        /* ===== Container ===== */
        .features-overlap-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
            gap: 2rem;
            margin-top: 2rem;
        }

        /* ===== Item ===== */
        .features-overlap-item {
            position: relative;
        }

        .features-overlap-card {
            position: relative;
            background: white;
            border-radius: 1.25rem;
            padding: 2rem 1.5rem;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            overflow: hidden;
        }

        .features-overlap-item:hover .features-overlap-card {
            transform: translateY(-10px) scale(1.02);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
        }

        .dark .features-overlap-card {
            background: var(--color-card-bg);
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
        }

        .dark .features-overlap-item:hover .features-overlap-card {
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
        }

        /* ===== Gradient Bar ===== */
        .features-overlap-bar {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(90deg, var(--color-primary-500), var(--color-secondary-500));
            transform: scaleX(0);
            transform-origin: left;
            transition: transform 0.4s ease;
        }

        .features-overlap-item:hover .features-overlap-bar {
            transform: scaleX(1);
        }

        /* ===== Badge ===== */
        .features-overlap-badge {
            display: inline-flex;
            margin-bottom: 1.5rem;
            position: relative;
        }

        .features-overlap-icon {
            width: 3rem;
            height: 3rem;
            display: flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient(135deg, var(--color-primary-500), var(--color-secondary-500));
            color: white;
            border-radius: 0.875rem;
            transition: all 0.4s ease;
            position: relative;
            z-index: 1;
        }

        .features-overlap-item:hover .features-overlap-icon {
            transform: rotate(360deg) scale(1.1);
        }

        .features-overlap-badge::before {
            content: '';
            position: absolute;
            inset: -4px;
            background: linear-gradient(135deg, var(--color-primary-500), var(--color-secondary-500));
            border-radius: 1rem;
            opacity: 0.2;
            transition: all 0.4s ease;
        }

        .features-overlap-item:hover .features-overlap-badge::before {
            inset: -8px;
            opacity: 0.3;
        }

        /* ===== Content ===== */
        .features-overlap-content {
            position: relative;
            z-index: 1;
        }

        .features-overlap-title {
            font-family: var(--font-heading);
            font-size: 1.25rem;
            font-weight: 700;
            color: var(--color-gray-900);
            margin-bottom: 0.5rem;
        }

        .dark .features-overlap-title {
            color: var(--color-text-primary);
        }

        .features-overlap-desc {
            font-size: 0.9375rem;
            color: var(--color-gray-600);
            line-height: 1.6;
        }

        .dark .features-overlap-desc {
            color: var(--color-text-tertiary);
        }

        /* ===== Decorative Circle ===== */
        .features-overlap-circle {
            position: absolute;
            bottom: -30px;
            right: -30px;
            width: 120px;
            height: 120px;
            background: linear-gradient(135deg, var(--color-primary-200), var(--color-secondary-200));
            border-radius: 50%;
            opacity: 0.2;
            transition: all 0.4s ease;
        }

        .features-overlap-item:hover .features-overlap-circle {
            transform: scale(1.5);
            opacity: 0.3;
        }

        .dark .features-overlap-circle {
            background: linear-gradient(135deg, var(--color-primary-900), var(--color-secondary-900));
            opacity: 0.15;
        }

        /* ===== RTL Support ===== */
        [dir="rtl"] .features-overlap-section {
            direction: rtl;
        }

        [dir="rtl"] .features-overlap-bar {
            transform-origin: right;
        }

        [dir="rtl"] .features-overlap-content {
            text-align: right;
        }

        [dir="rtl"] .features-overlap-circle {
            right: auto;
            left: -30px;
        }

        [dir="rtl"] .features-overlap-wave {
            transform: scaleX(-1);
        }

        [dir="rtl"] .features-overlap-item:hover .features-overlap-icon {
            transform: rotate(-360deg) scale(1.1);
        }

        /* ===== Responsive ===== */
        @media (max-width: 640px) {
            .features-overlap-section {
                padding: 4rem 0;
            }

            .features-overlap-container {
                grid-template-columns: 1fr;
                gap: 1.5rem;
            }

            .features-overlap-card {
                padding: 1.5rem 1.25rem;
            }

            .features-overlap-waves {
                height: 100px;
            }
        }