/* Unified Style: Services Section (Light) */
.services-section {
    padding: 3rem 0;
    background: var(--bg-body); /* White */
    position: relative;
    border-bottom: 1px solid var(--surface-200);
}

.section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: var(--gradient-subtle);
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1.5rem;
    border: 1px solid rgba(37, 99, 235, 0.2);
}

.section-badge i {
    font-size: 0.875rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 900;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
    font-weight: 400;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Changed to 3-column */
    gap: 2rem;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.service-card {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border: 2px solid var(--surface-200);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.15), 0 0 0 1px rgba(37, 99, 235, 0.1);
    border-color: var(--primary-300);
}

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

.service-card-inner {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    height: 100%;
    gap: 1.5rem;
}

.service-header {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.service-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: var(--gradient-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    flex-shrink: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.35);
}

.service-title {
    font-size: 1.75rem;
    font-weight: 800;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
    letter-spacing: -0.02em;
}

.content-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.subtitle-text {
    font-size: 1.15rem;
    color: var(--text-main);
    line-height: 1.7;
    margin: 0 0 1rem 0;
    font-weight: 600;
}

.service-description {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0 0 1.5rem 0;
}

.tag-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: auto;
}

.type-tag {
    font-size: 0.9rem;
    padding: 0.6rem 1.25rem;
    background: white;
    color: var(--text-main);
    border-radius: 100px;
    border: 1.5px solid var(--surface-200);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    font-weight: 600;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
}

.type-tag i {
    font-size: 0.875rem;
    color: var(--primary-500);
}

.type-tag:hover {
    background: var(--primary-50);
    border-color: var(--primary-400);
    color: var(--primary);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
    transform: translateY(-2px);
}

.service-footer {
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid var(--surface-100);
}

.try-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.95rem;
    transition: gap 0.3s ease;
    text-decoration: none;
}

.try-button:hover {
    gap: 0.75rem;
    color: var(--primary);
}

@media (max-width: 768px) {
    .section-header {
        margin-bottom: 1.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1.1rem;
    }

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

@media (max-width: 1024px) and (min-width: 769px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-card-inner {
        padding: 2rem;
    }

    .service-icon {
        width: 56px;
        height: 56px;
        font-size: 1.5rem;
    }

    .service-title {
        font-size: 1.5rem;
    }

    .subtitle-text {
        font-size: 1.05rem;
    }
}
