/* ===== Services Floating Section ===== */
    .services-floating-section {
        position: relative;
        padding: 6rem 0;
        overflow: hidden;
    }

    .services-floating-white {
        background: #ffffff;
    }

    .services-floating-gray {
        background: #0f172a;
    }

    .dark .services-floating-white {
        background: var(--color-bg-secondary);
    }

    .dark .services-floating-gray {
        background: #0a0f1a;
    }

    /* ===== Background ===== */
    .services-floating-bg {
        position: absolute;
        inset: 0;
        pointer-events: none;
        overflow: hidden;
    }

    .services-floating-gradient {
        position: absolute;
        inset: 0;
        background: radial-gradient(ellipse at 50% 0%, var(--color-primary-900) 0%, transparent 50%);
        opacity: 0.5;
    }

    .services-floating-grid {
        position: absolute;
        inset: 0;
        background-image:
            linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
            linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
        background-size: 60px 60px;
    }

    .services-floating-glow {
        position: absolute;
        width: 500px;
        height: 500px;
        border-radius: 50%;
        filter: blur(100px);
        opacity: 0.3;
    }

    .services-floating-glow-1 {
        top: -200px;
        left: 10%;
        background: var(--color-primary-500);
        animation: services-floating-pulse 8s ease-in-out infinite;
    }

    .services-floating-glow-2 {
        bottom: -200px;
        right: 10%;
        background: var(--color-secondary-500);
        animation: services-floating-pulse 8s ease-in-out infinite reverse;
    }

    @keyframes services-floating-pulse {
        0%, 100% { opacity: 0.2; transform: scale(1); }
        50% { opacity: 0.4; transform: scale(1.1); }
    }

    /* ===== Header ===== */
    .services-floating-header {
        text-align: center;
        margin-bottom: 4rem;
    }

    .services-floating-badge {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        padding: 0.5rem 1.25rem;
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.1);
        color: white;
        font-size: 0.8125rem;
        font-weight: 600;
        border-radius: 9999px;
        margin-bottom: 1.5rem;
        position: relative;
        overflow: hidden;
    }

    .services-floating-badge-glow {
        position: absolute;
        inset: 0;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
        animation: services-floating-shine 3s linear infinite;
    }

    @keyframes services-floating-shine {
        0% { transform: translateX(-100%); }
        100% { transform: translateX(100%); }
    }

    .services-floating-title {
        font-family: var(--font-heading);
        font-size: 2.5rem;
        font-weight: 800;
        color: white;
        margin-bottom: 1rem;
    }

    .services-floating-subtitle {
        font-size: 1.125rem;
        color: rgba(255, 255, 255, 0.6);
        max-width: 600px;
        margin: 0 auto;
    }

    /* Light mode header */
    .services-floating-white .services-floating-badge {
        background: var(--color-primary-50);
        border-color: var(--color-primary-100);
        color: var(--color-primary-600);
    }

    .services-floating-white .services-floating-title {
        color: var(--color-gray-900);
    }

    .services-floating-white .services-floating-subtitle {
        color: var(--color-gray-600);
    }

    .services-floating-white .services-floating-gradient {
        background: radial-gradient(ellipse at 50% 0%, var(--color-primary-100) 0%, transparent 50%);
    }

    .services-floating-white .services-floating-grid {
        background-image:
            linear-gradient(var(--color-gray-100) 1px, transparent 1px),
            linear-gradient(90deg, var(--color-gray-100) 1px, transparent 1px);
    }

    /* ===== Grid ===== */
    .services-floating-grid-container {
        display: grid;
        gap: 1.5rem;
    }

    @media (min-width: 640px) {
        .services-floating-grid-container {
            grid-template-columns: repeat(2, 1fr);
        }
    }

    @media (min-width: 1024px) {
        .services-floating-grid-container {
            grid-template-columns: repeat(3, 1fr);
        }
    }

    /* ===== Card ===== */
    .services-floating-card {
        position: relative;
        border-radius: 1.5rem;
        padding: 2px;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
        transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        transform-style: preserve-3d;
        perspective: 1000px;
    }

    .services-floating-card:hover {
        transform: translateY(-10px) rotateX(5deg);
    }

    .services-floating-card-shine {
        position: absolute;
        inset: 0;
        border-radius: 1.5rem;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .services-floating-card:hover .services-floating-card-shine {
        opacity: 1;
    }

    .services-floating-card-inner {
        position: relative;
        background: rgba(15, 23, 42, 0.8);
        backdrop-filter: blur(20px);
        border-radius: calc(1.5rem - 2px);
        padding: 1.75rem;
        height: 100%;
        display: flex;
        flex-direction: column;
        border: 1px solid rgba(255, 255, 255, 0.05);
    }

    .services-floating-white .services-floating-card {
        background: linear-gradient(135deg, var(--color-primary-200), var(--color-secondary-200));
    }

    .services-floating-white .services-floating-card-inner {
        background: white;
        border-color: var(--color-gray-100);
    }

    .dark .services-floating-card-inner {
        background: var(--color-card-bg);
        border-color: var(--color-border);
    }

    /* ===== Card Header ===== */
    .services-floating-card-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 1.25rem;
    }

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

    .services-floating-icon-glow {
        position: absolute;
        inset: -5px;
        background: linear-gradient(135deg, var(--color-primary-500), var(--color-secondary-500));
        border-radius: 1.25rem;
        opacity: 0;
        filter: blur(10px);
        transition: opacity 0.3s ease;
    }

    .services-floating-card:hover .services-floating-icon-glow {
        opacity: 0.5;
    }

    .services-floating-card:hover .services-floating-icon {
        transform: rotate(-10deg) scale(1.1);
    }

    .services-floating-price {
        font-family: var(--font-heading);
        font-size: 0.8125rem;
        font-weight: 700;
        color: var(--color-primary-400);
        padding: 0.375rem 0.875rem;
        background: rgba(var(--color-primary-rgb, 37, 99, 235), 0.2);
        border-radius: 9999px;
    }

    .services-floating-white .services-floating-price {
        color: var(--color-primary-600);
        background: var(--color-primary-50);
    }

    /* ===== Content ===== */
    .services-floating-content {
        flex: 1;
        margin-bottom: 1.25rem;
    }

    .services-floating-card-title {
        font-family: var(--font-heading);
        font-size: 1.25rem;
        font-weight: 700;
        color: white;
        margin-bottom: 0.5rem;
    }

    .services-floating-white .services-floating-card-title {
        color: var(--color-gray-900);
    }

    .dark .services-floating-card-title {
        color: var(--color-text-primary);
    }

    .services-floating-desc {
        font-size: 0.9375rem;
        color: rgba(255, 255, 255, 0.6);
        line-height: 1.6;
    }

    .services-floating-white .services-floating-desc {
        color: var(--color-gray-600);
    }

    .dark .services-floating-desc {
        color: var(--color-text-tertiary);
    }

    /* ===== Features ===== */
    .services-floating-features {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        margin-bottom: 1.25rem;
    }

    .services-floating-feature {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        font-size: 0.875rem;
        color: rgba(255, 255, 255, 0.7);
    }

    .services-floating-white .services-floating-feature {
        color: var(--color-gray-600);
    }

    .dark .services-floating-feature {
        color: var(--color-text-tertiary);
    }

    .services-floating-feature-icon {
        width: 1.25rem;
        height: 1.25rem;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(var(--color-primary-rgb, 37, 99, 235), 0.3);
        border-radius: 50%;
        color: var(--color-primary-400);
        flex-shrink: 0;
    }

    .services-floating-white .services-floating-feature-icon {
        background: var(--color-primary-100);
        color: var(--color-primary-600);
    }

    /* ===== Button ===== */
    .services-floating-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        padding: 0.75rem 1.5rem;
        background: linear-gradient(135deg, var(--color-primary-500), var(--color-secondary-500));
        color: white;
        font-size: 0.875rem;
        font-weight: 600;
        border-radius: 0.75rem;
        transition: all 0.3s ease;
        margin-top: auto;
        position: relative;
        overflow: hidden;
    }

    .services-floating-btn::before {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg, var(--color-primary-400), var(--color-secondary-400));
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .services-floating-btn:hover::before {
        opacity: 1;
    }

    .services-floating-btn span,
    .services-floating-btn svg {
        position: relative;
        z-index: 1;
    }

    .services-floating-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 30px -10px rgba(var(--color-primary-rgb, 37, 99, 235), 0.5);
    }

    /* ===== Floating Elements ===== */
    .services-floating-element {
        position: absolute;
        border-radius: 50%;
        pointer-events: none;
    }

    .services-floating-element-1 {
        width: 60px;
        height: 60px;
        top: -10px;
        right: -10px;
        background: radial-gradient(circle, var(--color-primary-500) 0%, transparent 70%);
        opacity: 0.2;
        animation: services-floating-float 6s ease-in-out infinite;
    }

    .services-floating-element-2 {
        width: 40px;
        height: 40px;
        bottom: 20px;
        left: -5px;
        background: radial-gradient(circle, var(--color-secondary-500) 0%, transparent 70%);
        opacity: 0.2;
        animation: services-floating-float 6s ease-in-out infinite reverse;
    }

    @keyframes services-floating-float {
        0%, 100% { transform: translateY(0) rotate(0deg); }
        50% { transform: translateY(-10px) rotate(180deg); }
    }

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

    [dir="rtl"] .services-floating-badge {
        flex-direction: row-reverse;
    }

    [dir="rtl"] .services-floating-card-header {
        flex-direction: row-reverse;
    }

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

    [dir="rtl"] .services-floating-feature {
        flex-direction: row-reverse;
    }

    [dir="rtl"] .services-floating-btn {
        flex-direction: row-reverse;
    }

    [dir="rtl"] .services-floating-btn svg {
        transform: scaleX(-1);
    }

    [dir="rtl"] .services-floating-card:hover .services-floating-icon {
        transform: rotate(10deg) scale(1.1);
    }

    [dir="rtl"] .services-floating-element-1 {
        right: auto;
        left: -10px;
    }

    [dir="rtl"] .services-floating-element-2 {
        left: auto;
        right: -5px;
    }

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

        .services-floating-title {
            font-size: 2rem;
        }

        .services-floating-card-inner {
            padding: 1.5rem;
        }

        .services-floating-btn {
            width: 100%;
        }

        .services-floating-card:hover {
            transform: translateY(-5px);
        }
    }