/* Services Page Specific Styles */

.services-page {
    padding-top: 80px; /* Account for fixed header */
}

/* Page Header */
.page-header {
    padding: 4rem 0 3rem;
    text-align: center;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0.01) 100%);
    border-bottom: 1px solid var(--border);
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--foreground) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-subtitle {
    font-size: 1.25rem;
    color: var(--muted-foreground);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Services List */
.services-list {
    padding: 3rem 0;
}

.service-section {
    margin-bottom: 4rem;
    scroll-margin-top: 100px; /* For anchor link offset */
}

.service-content-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    padding: 2.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.service-content-card:hover {
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.service-heading {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--foreground);
}

.service-description {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

/* Service Details */
.service-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.detail-block {
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(51, 51, 51, 0.5);
}

.detail-block:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.detail-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.75rem;
}

.detail-block p {
    font-size: 1rem;
    color: var(--foreground);
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

/* Workflow Examples */
.workflow-example {
    margin-top: 1.5rem;
}

.workflow-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    color: var(--foreground);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

.workflow-toggle:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary);
}

.workflow-chevron {
    transition: transform 0.3s;
    color: var(--muted-foreground);
}

.workflow-toggle.active .workflow-chevron {
    transform: rotate(180deg);
}

.workflow-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.workflow-content.active {
    max-height: 800px;
    transition: max-height 0.5s ease-in;
}

.workflow-inner {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-top: none;
    border-radius: 0 0 0.5rem 0.5rem;
}

.workflow-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--foreground);
}

.workflow-desc {
    font-size: 1rem;
    color: var(--muted-foreground);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.workflow-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.stat-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    color: var(--foreground);
}

.workflow-steps {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.step {
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.03);
    border-left: 3px solid var(--primary);
    border-radius: 0.375rem;
    font-size: 0.9375rem;
    color: var(--foreground);
    line-height: 1.7;
}

/* CTA Section */
.cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--foreground);
}

.cta-description {
    font-size: 1.25rem;
    color: var(--muted-foreground);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--background);
    background: linear-gradient(135deg, var(--primary) 0%, hsl(0, 0%, 85%) 100%);
    border: none;
    border-radius: 0.75rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

/* Responsive */
@media (max-width: 768px) {
    .page-header {
        padding: 3rem 0 2rem;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .page-subtitle {
        font-size: 1rem;
    }
    
    .service-content-card {
        padding: 1.5rem;
    }
    
    .service-heading {
        font-size: 1.5rem;
    }
    
    .service-description {
        font-size: 1rem;
    }
    
    .cta-section {
        padding: 3rem 0;
    }
    
    .cta-title {
        font-size: 1.75rem;
    }
    
    .cta-description {
        font-size: 1rem;
    }
    
    .workflow-stats {
        flex-direction: column;
    }
}
