/* Services Page Specific Styles */

/* Services Hero */
.services-hero {
    position: relative;
    padding: 120px 0 80px;
    overflow: hidden;
    background: var(--bg-primary);
}

.services-hero .hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.services-hero .hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.services-hero .hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin: 1rem 0 1.5rem;
    line-height: 1.1;
}

.services-hero .hero-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Services Section */
.services-section {
    padding: 80px 0;
    background: var(--bg-primary);
}

/* Service Cards */
.service-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 3rem;
    margin-bottom: 3rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: translateX(0);
}

.service-card:hover {
    border-color: var(--accent-primary-alpha);
    box-shadow: 0 10px 40px rgba(59, 130, 246, 0.1);
}

/* Service Header */
.service-header {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 2rem;
}

.service-icon {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 20px;
    position: relative;
}

.service-icon::after {
    content: '';
    position: absolute;
    inset: -10px;
    background: var(--gradient-primary);
    border-radius: 20px;
    opacity: 0.2;
    filter: blur(20px);
    z-index: -1;
}

.service-icon svg {
    color: white;
}

.service-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.service-tagline {
    font-size: 1.125rem;
    color: var(--text-secondary);
}

/* Service Content */
.service-content {
    margin-left: 112px; /* 80px icon + 32px gap */
}

.service-description {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

/* Service Features */
.service-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: var(--bg-secondary);
    border-radius: 10px;
    transition: all 0.2s ease;
}

.feature-item:hover {
    background: var(--accent-primary-alpha);
    transform: translateX(5px);
}

.feature-item svg {
    width: 20px;
    height: 20px;
    color: var(--accent-primary);
}

/* Service Benefits */
.service-benefits {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
}

.service-benefits h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.service-benefits ul {
    list-style: none;
    padding: 0;
}

.service-benefits li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.service-benefits li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-primary);
    font-weight: 600;
}

/* Service CTA */
.service-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: var(--gradient-primary);
    color: white;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.service-cta:hover::before {
    width: 300px;
    height: 300px;
}

.service-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.4);
}

.service-cta svg {
    transition: transform 0.3s ease;
}

.service-cta:hover svg {
    transform: translateX(5px);
}

/* Process Section */
.process-section {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: var(--gradient-primary);
    opacity: 0.3;
    z-index: 0;
}

.process-step {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 2rem;
    background: var(--card-bg);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.process-step:hover {
    transform: translateY(-10px);
    border-color: var(--accent-primary);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.1);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 50%;
    margin-bottom: 1.5rem;
    position: relative;
}

.step-number::after {
    content: '';
    position: absolute;
    inset: -10px;
    background: var(--gradient-primary);
    border-radius: 50%;
    opacity: 0.2;
    filter: blur(20px);
    z-index: -1;
}

.process-step h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.process-step p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Services CTA Section */
.services-cta-section {
    padding: 80px 0;
    background: var(--bg-primary);
}

.services-cta-section .cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.services-cta-section .cta-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 1rem;
}

.services-cta-section .cta-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .service-header {
        flex-direction: column;
        text-align: center;
    }
    
    .service-content {
        margin-left: 0;
    }
    
    .service-features {
        grid-template-columns: 1fr;
    }
    
    .process-timeline::before {
        display: none;
    }
    
    .process-timeline {
        grid-template-columns: 1fr;
    }
}

/* Dark Mode Adjustments */
[data-theme="dark"] .service-card {
    background: rgba(30, 41, 59, 0.5);
    border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .service-benefits {
    background: rgba(30, 41, 59, 0.5);
}

[data-theme="dark"] .process-step {
    background: rgba(30, 41, 59, 0.5);
    border-color: rgba(255, 255, 255, 0.1);
}