/* Process Section Styles */
.process-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.process-header {
    text-align: center;
    margin-bottom: 4rem;
    opacity: 0;
    transform: translateY(30px);
}

.process-tagline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #1E88E5;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

.accent-line {
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #1E88E5, #B93B8F);
    border-radius: 1px;
}

.process-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    opacity: 0;
    transform: translateY(20px);
}

.gradient-text {
    background: linear-gradient(135deg, #1E88E5, #B93B8F);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    background-position: 0% 50%;
    animation: gradientShift 4s ease-in-out infinite;
    opacity: 1;
    transform: translateY(0);
}

.process-description {
    font-size: 1.1rem;
    color: #B0B0B0;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    opacity: 0;
    transform: translateY(20px);
}

/* Horizontal Timeline Styles */
.process-timeline {
    position: relative;
    margin-bottom: 4rem;
    padding: 2rem 0;
    overflow-x: auto;
    overflow-y: hidden;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1E88E5, #B93B8F);
    transform: translateY(-50%);
    border-radius: 2px;
    opacity: 0.3;
}

.process-steps-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    min-width: 1000px;
    padding: 0 1rem;
}

.process-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    opacity: 0;
    transform: translateY(30px) scale(0.9);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.process-step.book-open {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Step Number */
.step-number {
    position: relative;
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    z-index: 2;
}

.step-number span {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #1E88E5, #B93B8F);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    color: white;
    position: relative;
    z-index: 2;
    box-shadow: 0 4px 20px rgba(30, 136, 229, 0.3);
    animation: pulse 2s infinite;
    transition: all 0.3s ease;
}

.process-step:hover .step-number span {
    transform: scale(1.15);
    box-shadow: 0 6px 30px rgba(30, 136, 229, 0.5);
}

/* Step Content */
.step-content {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(30, 136, 229, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    transform-origin: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.step-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(30, 136, 229, 0.1), transparent);
    transition: left 0.8s ease;
}

.step-content:hover::before {
    left: 100%;
}

.step-content:hover {
    transform: translateY(-8px) scale(1.05);
    border-color: rgba(30, 136, 229, 0.4);
    box-shadow: 0 20px 40px rgba(30, 136, 229, 0.25);
    z-index: 10;
}

.step-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(30, 136, 229, 0.1), rgba(185, 59, 143, 0.1));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.4rem;
    color: #1E88E5;
    border: 1px solid rgba(30, 136, 229, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.step-icon::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.step-content:hover .step-icon {
    transform: scale(1.1) rotate(8deg);
    background: linear-gradient(135deg, rgba(30, 136, 229, 0.2), rgba(185, 59, 143, 0.2));
    box-shadow: 0 8px 25px rgba(30, 136, 229, 0.3);
}

.step-content:hover .step-icon::after {
    opacity: 1;
    top: -100%;
    left: -100%;
}

.step-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #E0E0E0;
}

.step-description {
    color: #B0B0B0;
    line-height: 1.5;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.step-duration {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: #1E88E5;
    font-weight: 500;
    font-size: 0.85rem;
    margin-top: auto;
}

/* Process Stats */
.process-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 20px;
    border: 1px solid rgba(30, 136, 229, 0.15);
}

.process-stat {
    text-align: center;
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 16px;
    border: 1px solid rgba(30, 136, 229, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(30px) scale(0.95);
}

.process-stat:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(30, 136, 229, 0.4);
    box-shadow: 0 15px 35px rgba(30, 136, 229, 0.25);
}

.process-stat .stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #1E88E5, #B93B8F);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.process-stat .stat-label {
    color: #B0B0B0;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Animations */
@keyframes pulse {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(30, 136, 229, 0.3);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 6px 30px rgba(30, 136, 229, 0.6);
        transform: scale(1.05);
    }
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@keyframes fadeInScale {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes slideInFromTop {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsiveness */
@media (max-width: 1024px) {
    .process-container {
        padding: 2rem 1rem;
    }
    
    .process-steps-wrapper {
        min-width: 800px;
    }
    
    .step-content {
        min-height: 200px;
        padding: 1.25rem;
    }
    
    .step-title {
        font-size: 1rem;
    }
    
    .step-description {
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    .process-container {
        padding: 2rem 1rem;
    }
    
    .process-header {
        margin-bottom: 3rem;
    }
    
    .process-timeline {
        padding: 1rem 0;
    }
    
    .process-timeline::before {
        display: none;
    }
    
    .process-steps-wrapper {
        flex-direction: column;
        min-width: auto;
        gap: 2rem;
    }
    
    .process-step {
        width: 100%;
        max-width: 350px;
        margin: 0 auto;
    }
    
    .step-number {
        margin-bottom: 1rem;
    }
    
    .step-content {
        min-height: auto;
        padding: 1.5rem;
    }
    
    .step-icon {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
    
    .process-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 2rem;
        margin-top: 3rem;
    }
    
    .process-stat {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .process-title {
        font-size: 2rem;
    }
    
    .step-content {
        padding: 1.25rem;
    }
    
    .step-title {
        font-size: 0.95rem;
    }
    
    .step-description {
        font-size: 0.8rem;
    }
    
    .step-duration {
        font-size: 0.75rem;
    }
    
    .process-stat {
        padding: 1.5rem;
    }
}
