

/* Fix navbar background and body for AI services page */
body {
    background: #0a0f1c !important;
    margin: 0;
    padding: 0;
}

.navbar {
    background: rgba(26, 26, 26, 0.95) !important;
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1) !important;
}

.navbar.scrolled {
    background: rgba(26, 26, 26, 0.98) !important;
}

/* Main Process Section */
.ai-process-section {
    position: relative;
    padding: 40px 0;
    margin-top: -30px;
    background: linear-gradient(135deg, #0a0f1e 0%, #1a1f35 50%, #0f1419 100%);
    overflow: hidden;
}

/* Section Header */
.process-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    box-shadow: 0 8px 32px rgba(99, 102, 241, 0.3);
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
    line-height: 1.2;
}

.title-highlight {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-description {
    font-size: 1.2rem;
    color: #94a3b8;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Horizontal Process Container */
.horizontal-process {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation Buttons */
.process-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    z-index: 10;
    pointer-events: none;
}

.nav-btn {
    pointer-events: all;
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(99, 102, 241, 0.3);
    backdrop-filter: blur(10px);
}

.nav-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 40px rgba(99, 102, 241, 0.5);
}

.nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: scale(1);
}

.prev-btn {
    left: -70px;
}

.next-btn {
    right: -70px;
}

/* Process Track */
.process-track {
    position: relative;
    padding: 40px 0;
}

/* Progress Line */
.progress-line {
    position: absolute;
    top: 120px;
    left: 0;
    right: 0;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #6366f1, #8b5cf6);
    border-radius: 2px;
    width: 20%;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.5);
}

/* Process Cards Container */
.process-cards {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding: 20px 0;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.process-cards::-webkit-scrollbar {
    display: none;
}

/* Individual Process Cards */
.process-card {
    flex: 0 0 280px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px 24px;
    position: relative;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(20px);
    opacity: 0.7;
    transform: translateY(20px) scale(0.95);
    cursor: pointer;
}

.process-card.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 
        0 20px 60px rgba(99, 102, 241, 0.2),
        0 0 40px rgba(139, 92, 246, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.process-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 
        0 25px 80px rgba(99, 102, 241, 0.3),
        0 0 60px rgba(139, 92, 246, 0.2);
}

/* Card Header */
.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.step-number {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.step-icon {
    position: relative;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.4rem;
    transition: all 0.3s ease;
}

.icon-glow {
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
    filter: blur(8px);
}

.process-card.active .icon-glow {
    opacity: 0.6;
    animation: iconPulse 2s ease-in-out infinite;
}

/* Card Content */
.card-content {
    text-align: left;
}

.step-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: white;
    margin-bottom: 12px;
    line-height: 1.3;
}

.step-description {
    font-size: 0.95rem;
    color: #94a3b8;
    line-height: 1.5;
    margin-bottom: 20px;
}

/* Feature Tags */
.step-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.feature-tag {
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    color: #a5b4fc;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.process-card.active .feature-tag {
    background: rgba(99, 102, 241, 0.2);
    border-color: rgba(99, 102, 241, 0.4);
    color: #c7d2fe;
}

/* Card Connector */
.card-connector {
    position: absolute;
    right: -15px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.process-card.active .card-connector {
    opacity: 1;
}

.process-card:last-child .card-connector {
    display: none;
}

.connector-pulse {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, #6366f1, transparent);
    animation: pulse 2s ease-in-out infinite;
}

/* Step Indicators */
.step-indicators {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 40px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.indicator.active {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    transform: scale(1.2);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.5);
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
}

/* Process Stats */
.process-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 60px;
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item {
    text-align: center;
    padding: 24px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.stat-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 8px 32px rgba(99, 102, 241, 0.3);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 8px;
    line-height: 1;
}

.stat-label {
    font-size: 0.95rem;
    color: #94a3b8;
    font-weight: 500;
}

/* Background Elements */
.process-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.3;
}

.bg-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 20%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 60% 40%, rgba(99, 102, 241, 0.05) 0%, transparent 50%);
    animation: particleFloat 20s ease-in-out infinite;
}

.bg-grid {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(99, 102, 241, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.2;
}

.bg-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(10, 15, 28, 0.8) 100%);
}

/* Animations */
@keyframes iconPulse {
    0%, 100% { 
        opacity: 0.6;
        transform: scale(1);
    }
    50% { 
        opacity: 1;
        transform: scale(1.1);
    }
}

@keyframes pulse {
    0% { 
        transform: translateX(-100%);
        opacity: 0;
    }
    50% { 
        opacity: 1;
    }
    100% { 
        transform: translateX(100%);
        opacity: 0;
    }
}

@keyframes particleFloat {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg);
    }
    33% { 
        transform: translateY(-20px) rotate(120deg);
    }
    66% { 
        transform: translateY(10px) rotate(240deg);
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .prev-btn {
        left: -50px;
    }
    
    .next-btn {
        right: -50px;
    }
    
    .process-card {
        flex: 0 0 260px;
    }
}

@media (max-width: 768px) {
    .ai-process-section {
        padding: 30px 0;
        margin-top: -10px;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .horizontal-process {
        padding: 0 15px;
    }
    
    .prev-btn,
    .next-btn {
        display: none;
    }
    
    .process-cards {
        gap: 20px;
        padding: 20px 10px;
    }
    
    .process-card {
        flex: 0 0 240px;
        padding: 24px 20px;
    }
    
    .step-number {
        font-size: 1.6rem;
    }
    
    .step-icon {
        width: 44px;
        height: 44px;
        font-size: 1.2rem;
    }
    
    .step-title {
        font-size: 1.2rem;
    }
    
    .step-description {
        font-size: 0.9rem;
    }
    
    .process-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        margin-top: 40px;
    }
    
    .stat-item {
        padding: 20px;
    }
    
    .stat-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .progress-line {
        top: 100px;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-description {
        font-size: 1rem;
    }
    
    .process-card {
        flex: 0 0 220px;
        padding: 20px 16px;
    }
    
    .process-stats {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .stat-item {
        padding: 16px;
    }
}