@layer page {
    .services-page {
        padding: 140px 0 80px;
        background: radial-gradient(circle at 50% -20%, rgba(59, 130, 246, 0.05) 0%, transparent 50%);
        background-color: #0a0f1c;
    }

    .services-intro {
        text-align: center;
        max-width: 800px;
        margin: 0 auto 4rem auto;
    }

    /* Green Badge */
    .badge {
        background: rgba(0, 209, 102, 0.1);
        color: #00d166;
        padding: 6px 16px;
        border-radius: 100px;
        font-size: 0.7rem;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 1.5px;
        border: 1px solid rgba(0, 209, 102, 0.2);
        display: inline-block;
        margin-bottom: 0.75rem;
    }

    h1 {
        font-size: clamp(2.2rem, 5vw, 3rem); /* Slightly smaller headline */
        line-height: 1.1;
        margin: 1rem 0;
        color: white;
        font-weight: 800;
    }

    /* THE OPTIMIZED GRID: Now allows up to 4 columns on large screens */
    .services-bento {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); 
        gap: 1.25rem; /* Tighter gap */
    }

    .service-card {
        background: rgba(30, 41, 59, 0.4);
        backdrop-filter: blur(12px);
        border: 1px solid rgba(255, 255, 255, 0.06);
        border-radius: 20px; /* Sharper, modern radius */
        padding: 1.8rem; /* Reduced from 2.5rem to make it less bulky */
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        transition: all 0.3s ease;
        min-height: 280px; /* Reduced from 320px */
    }

    .service-card:hover {
        transform: translateY(-5px);
        border-color: #00d166;
        background: rgba(30, 41, 59, 0.6);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    }

    .icon {
        font-size: 2rem; /* Reduced from 2.5rem */
        margin-bottom: 1.2rem;
        display: block;
    }

    .service-card h3 {
        font-size: 1.3rem; /* Reduced from 1.5rem */
        margin-bottom: 0.6rem;
        color: white;
        font-weight: 700;
    }

    .service-card p {
        color: #94a3b8;
        margin-bottom: 1.2rem;
        font-size: 0.9rem; /* Tighter text */
        line-height: 1.5;
    }

    .service-link {
        color: #00d166 !important;
        text-decoration: none;
        font-weight: 700;
        font-size: 0.8rem; /* Smaller call to action */
        text-transform: uppercase;
        letter-spacing: 0.5px;
        transition: 0.3s;
    }

    .service-link:hover {
        color: #00ff7c !important;
        padding-left: 5px;
    }

    /* CTA Banner */
    .cta-banner { margin-top: 5rem; margin-bottom: 4rem; }

    .cta-glass {
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(255, 255, 255, 0.08);
        padding: 4rem 2rem;
        border-radius: 32px;
        text-align: center;
    }

    .btn-main {
        display: inline-block;
        background: #00d166 !important;
        color: #0a0f1c !important;
        text-decoration: none;
        padding: 1rem 2.5rem;
        border-radius: 100px;
        font-weight: 800;
        transition: 0.3s ease;
    }

    @media (max-width: 768px) {
        .services-page { padding-top: 100px; }
        .services-bento { grid-template-columns: 1fr; } /* Back to 1 col on mobile */
        .service-card { min-height: auto; padding: 1.5rem; }
    }
}