/* Process Hero Section */
.process-hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: var(--space-xl) 0;
    background: var(--bg-primary);
    overflow: hidden;
}

.process-hero .hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: var(--space-md);
    position: relative;
    z-index: 2;
}

.process-hero .hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
    max-width: 600px;
    position: relative;
    z-index: 2;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(15, 23, 42, 0.9) 100%);
}

.pattern-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.4;
    background-image: radial-gradient(var(--accent-primary) 1px, transparent 1px);
    background-size: 50px 50px;
}

.hero-stats {
    display: flex;
    gap: var(--space-lg);
    margin-top: var(--space-xl);
    position: relative;
    z-index: 2;
}

.hero-stats .stat-item {
    text-align: left;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s var(--transition-normal) forwards;
}

.hero-stats .stat-item:nth-child(2) {
    animation-delay: 0.2s;
}

.hero-stats .stat-item:nth-child(3) {
    animation-delay: 0.4s;
}

.hero-stats .stat-number {
    display: block;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--accent-primary);
    margin-bottom: var(--space-xs);
    font-family: 'Space Grotesk', sans-serif;
}

.hero-stats .stat-label {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* Process Timeline */
.process {
    padding: var(--space-xl) 0;
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.process-timeline {
    max-width: 1000px;
    margin: var(--space-xl) auto 0;
    position: relative;
    padding-left: var(--space-xl);
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background: linear-gradient(to bottom, var(--accent-primary), var(--accent-secondary));
    transform: scaleY(0);
    transform-origin: top;
    animation: scaleHeight 1.5s var(--transition-normal) forwards;
}

.timeline-item {
    position: relative;
    margin-bottom: var(--space-xl);
    opacity: 0;
    transform: translateX(-50px);
    transition: all var(--transition-normal);
}

.timeline-item.visible {
    opacity: 1;
    transform: translateX(0);
}

.timeline-content {
    background: rgba(30, 41, 59, 0.95);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    position: relative;
    border: 1px solid rgba(99, 102, 241, 0.2);
    transition: all var(--transition-normal);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.timeline-content:hover {
    transform: translateY(-5px);
    border-color: var(--accent-primary);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.1);
}

.timeline-icon {
    position: absolute;
    left: calc(-1 * var(--space-xl) - 25px);
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: var(--accent-primary);
    border: 3px solid rgba(99, 102, 241, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    z-index: 2;
    transition: all var(--transition-normal);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
}

.timeline-item.visible .timeline-icon {
    animation: pulseIcon 2s infinite;
}

.timeline-number {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    font-size: 4rem;
    font-weight: 700;
    color: rgba(99, 102, 241, 0.1);
    font-family: 'Space Grotesk', sans-serif;
    line-height: 1;
    transition: all var(--transition-normal);
}

.timeline-content:hover .timeline-number {
    color: rgba(99, 102, 241, 0.2);
    transform: scale(1.1);
}

.timeline-content h3 {
    font-size: 1.5rem;
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
}

.timeline-description {
    color: var(--text-primary);
    margin-bottom: var(--space-md);
    font-size: 1.1rem;
    line-height: 1.6;
    font-weight: 300;
}

.timeline-details {
    list-style: none;
    margin-bottom: var(--space-md);
}

.timeline-details li {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: rgba(248, 250, 252, 0.9);
    margin-bottom: var(--space-xs);
    font-size: 0.95rem;
    font-weight: 300;
}

.timeline-details li i {
    color: var(--accent-primary);
    font-size: 1rem;
    background: rgba(99, 102, 241, 0.1);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.timeline-progress {
    height: 4px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.timeline-progress .progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 1s var(--transition-normal);
}

.timeline-item.visible .progress-bar {
    transform: scaleX(1);
}

/* Process CTA Section */
.process-cta {
    padding: var(--space-xl) 0;
    position: relative;
    overflow: hidden;
    background: var(--bg-primary);
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: var(--space-md);
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cta-content p {
    color: var(--text-secondary);
    font-size: clamp(1rem, 2vw, 1.2rem);
    margin-bottom: var(--space-lg);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
}

.cta-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Animations */
@keyframes pulseIcon {
    0% {
        box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(99, 102, 241, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(99, 102, 241, 0);
    }
}

@keyframes scaleHeight {
    to { transform: scaleY(1); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .process-timeline {
        margin-top: var(--space-lg);
    }

    .timeline-content {
        padding: var(--space-md);
    }

    .timeline-number {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .hero-stats {
        flex-direction: column;
        gap: var(--space-md);
    }

    .process-timeline {
        padding-left: var(--space-lg);
    }

    .timeline-icon {
        left: calc(-1 * var(--space-lg) - 25px);
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .timeline-number {
        font-size: 2.5rem;
        top: var(--space-sm);
        right: var(--space-sm);
    }
}

@media (max-width: 480px) {
    .process-timeline {
        padding-left: var(--space-md);
    }

    .timeline-icon {
        left: calc(-1 * var(--space-md) - 20px);
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }

    .timeline-content {
        padding: var(--space-sm);
    }

    .timeline-number {
        font-size: 2rem;
    }

    .timeline-details li {
        font-size: 0.9rem;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .timeline-content {
        background: rgba(30, 41, 59, 0.95);
        border-color: rgba(99, 102, 241, 0.2);
    }
    
    .timeline-icon {
        background: var(--accent-primary);
        color: white;
    }
    
    .timeline-description,
    .timeline-details li {
        color: rgba(248, 250, 252, 0.9);
    }
}

/* Print Styles */
@media print {
    .process-hero {
        min-height: auto;
        padding: var(--space-lg) 0;
    }

    .timeline-content {
        break-inside: avoid;
        page-break-inside: avoid;
    }

    .timeline-progress,
    .pattern-overlay,
    .gradient-overlay {
        display: none;
    }

    .timeline-content {
        border: 1px solid #ddd;
        box-shadow: none;
    }
}