/* =============================================
   SERVICES PAGE STYLES
   ============================================= */

/* --- Hero --- */
.services-hero {
    padding: 120px 0 80px;
    background: radial-gradient(circle at 50% 30%, rgba(108, 92, 231, 0.15), transparent 70%);
}

.hero-content.text-center {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.center-desc {
    margin: 0 auto 40px;
}

.center-actions {
    justify-content: center;
}

/* --- Services Grid --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(108, 92, 231, 0.4);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    background: rgba(255, 255, 255, 0.03);
    /* Lighten slightly on hover */
}

/* Light mode specific hover */
body.light-mode .service-card:hover {
    background: rgba(255, 255, 255, 0.8);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    background: var(--bg-glass);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-glass);
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 24px;
    flex-grow: 1;
}

.learn-more {
    color: var(--accent-secondary);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

.learn-more:hover {
    color: var(--accent-primary);
    transform: translateX(4px);
}

/* Featured Card */
.service-card.featured {
    border-color: var(--accent-primary);
    background: linear-gradient(145deg, var(--bg-glass), rgba(108, 92, 231, 0.05));
    /* grid-row: span 2; Removed to fix size */
}

.featured-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--accent-gradient);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: var(--radius-xl);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- Trust Section --- */
.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    margin-top: 50px;
}

.trust-item {
    text-align: center;
    padding: 24px;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid transparent;
    transition: var(--transition);
}

.trust-item:hover {
    border-color: var(--border-glass);
    transform: translateY(-4px);
}

.trust-icon {
    font-size: 2rem;
    margin-bottom: 16px;
}

.trust-item h4 {
    font-size: 1rem;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.trust-item p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* --- Process Timeline --- */
.process-timeline {
    display: flex;
    justify-content: space-between;
    margin-top: 60px;
    position: relative;
    overflow-x: auto;
    padding-bottom: 20px;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 24px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--border-glass);
    z-index: 0;
}

.process-step {
    position: relative;
    z-index: 1;
    text-align: center;
    flex: 1;
    min-width: 140px;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--bg-secondary);
    border: 2px solid var(--accent-primary);
    color: var(--accent-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
    margin: 0 auto 16px;
    transition: var(--transition);
}

.process-step:hover .step-number {
    background: var(--accent-primary);
    color: #fff;
    box-shadow: 0 0 20px rgba(108, 92, 231, 0.4);
}

.process-step h4 {
    font-size: 1rem;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.process-step p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* --- CTA Section --- */
.cta-card {
    background: var(--accent-gradient);
    border-radius: var(--radius-lg);
    padding: 60px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    color: #fff;
}

.cta-card h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.cta-card p {
    font-size: 1.1rem;
    margin-bottom: 32px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.cta-card .btn-primary {
    background: #fff;
    color: var(--accent-primary);
}

.cta-card .btn-secondary {
    border-color: rgba(255, 255, 255, 0.3);
    color: #fff;
}

.cta-card .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .services-hero {
        padding: 100px 0 40px;
    }

    .services-hero h1 {
        font-size: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        padding: 24px;
    }

    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .trust-item {
        padding: 16px;
    }

    .process-timeline {
        flex-direction: column;
        gap: 30px;
    }

    .process-timeline::before {
        width: 2px;
        height: 100%;
        left: 24px;
        top: 0;
    }

    .process-step {
        display: flex;
        text-align: left;
        gap: 20px;
        align-items: flex-start;
    }

    .step-number {
        margin: 0;
        min-width: 50px;
    }

    .cta-card {
        padding: 40px 24px;
    }

    .cta-card h2 {
        font-size: 1.8rem;
    }

    .cta-card p {
        font-size: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .center-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .center-actions .btn {
        text-align: center;
        justify-content: center;
    }

    /* --- Animations --- */
    .fade-up {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    }

    .visible {
        opacity: 1;
        transform: translateY(0);
    }

    .stagger-delay-1 {
        transition-delay: 0.1s;
    }

    .stagger-delay-2 {
        transition-delay: 0.2s;
    }

    .stagger-delay-3 {
        transition-delay: 0.3s;
    }
}

@media (max-width: 480px) {
    .services-hero {
        padding: 90px 0 30px;
    }

    .services-hero h1 {
        font-size: 1.7rem;
    }

    .service-card {
        padding: 20px;
    }

    .card-icon {
        font-size: 2rem;
        width: 50px;
        height: 50px;
        margin-bottom: 16px;
    }

    .service-card h3 {
        font-size: 1.1rem;
    }

    .trust-grid {
        grid-template-columns: 1fr;
    }

    .cta-card {
        padding: 30px 20px;
    }

    .cta-card h2 {
        font-size: 1.5rem;
    }

    .step-number {
        width: 40px;
        height: 40px;
        min-width: 40px;
        font-size: 1rem;
    }