/* Services Section Styles */
.services {
    position: relative;
    /* padding: 4rem 0; */
    min-height: 100vh;
    /* background: var(--background); */
}

.services .container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Section Heading */
.section-heading {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
    max-width: 48rem;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--muted-foreground);
    padding: 0.375rem 0.75rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    width: fit-content;
}

.section-heading h2 {
    font-family: var(--font-sans);
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--foreground);
    letter-spacing: -0.02em;
    margin: 0;
}

.section-heading p {
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--muted-foreground);
    margin: 0;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 0.5rem;
}

/* Service Card */
.service-card {
    --card-glow-color-rgb: 245, 11, 102;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    padding: 1.5rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    will-change: transform;
    transform: translateZ(0);
}

.service-card::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: radial-gradient(circle at var(--pointer-x, 50%) var(--pointer-y, 50%),
            rgba(var(--card-glow-color-rgb, 245, 11, 102), 0.35),
            rgba(var(--card-glow-color-rgb, 245, 11, 102), 0.15) 35%,
            rgba(var(--card-glow-color-rgb, 245, 11, 102), 0) 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    mix-blend-mode: screen;
}

.service-card:hover {
    /* transform: translateY(-4px) translateZ(0); */
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.service-card:hover::after {
    opacity: 1;
}

/* Service Card Icon */
.service-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    background: var(--muted);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--primary);
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

.service-card:hover .service-card__icon {
    background: var(--primary);
    color: var(--primary-foreground);
    border-color: var(--primary);
    /* transform: scale(1.1) rotate(5deg); */
}

/* Service Card Content */
.service-card h3 {
    font-family: var(--font-sans);
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--foreground);
    margin: 0;
    letter-spacing: -0.01em;
}

.service-card > p {
    font-family: var(--font-sans);
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--muted-foreground);
    margin: 0;
}

/* Service Card List */
.service-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.service-card li {
    display: flex;
    align-items: center;
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    color: var(--foreground);
    position: relative;
    padding-left: 1.25rem;
}

.service-card li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 600;
    transition: transform 0.2s ease;
}

.service-card:hover li::before {
    transform: translateX(4px);
}

/* Service Card Meta */
.service-card__meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border);
    margin-top: auto;
}

.service-card__meta span {
    font-family: var(--font-sans);
    font-size: 0.6875rem;
    font-weight: 500;
    color: var(--muted-foreground);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.service-card__meta strong {
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--foreground);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .services {
        padding: 4rem 0;
    }

    .services .container {
        padding: 0 1rem;
    }

    .section-heading {
        margin-bottom: 3rem;
        gap: 1.5rem;
    }

    .section-heading h2 {
        font-size: clamp(1.75rem, 6vw, 2.5rem);
    }

    .section-heading p {
        font-size: 1rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-card {
        padding: 1.5rem;
        gap: 1.25rem;
    }

    .service-card__icon {
        width: 3rem;
        height: 3rem;
        font-size: 1.25rem;
    }

    .service-card h3 {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .services {
        padding: 3rem 0;
    }

    .section-heading {
        margin-bottom: 2rem;
        gap: 1rem;
    }

    .eyebrow {
        font-size: 0.75rem;
        padding: 0.375rem 0.75rem;
    }

    .section-heading h2 {
        font-size: 1.75rem;
    }

    .section-heading p {
        font-size: 0.9375rem;
    }

    .service-card {
        padding: 1.25rem;
        gap: 1rem;
    }

    .service-card__icon {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1.125rem;
    }

    .service-card h3 {
        font-size: 1.125rem;
    }

    .service-card > p {
        font-size: 0.875rem;
    }

    .service-card li {
        font-size: 0.8125rem;
    }
}