/* How We Work Section Styles */
.how-we-work {
    padding: var(--section-padding);
    position: relative;
    overflow: hidden;
    border-radius: 16px;
}

.how-we-work::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 200, 255, 0.15), transparent 70%);
    border-radius: 50%;
    z-index: 0;
    animation: float 15s infinite alternate ease-in-out;
    filter: blur(30px);
}

.how-we-work::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(110, 86, 207, 0.15), transparent 70%);
    border-radius: 50%;
    z-index: 0;
    animation: float 12s infinite alternate-reverse ease-in-out;
    filter: blur(30px);
}

@keyframes float {
    0% { transform: translateY(0) rotate(0deg); opacity: 0.3; }
    50% { transform: translateY(-30px) rotate(5deg); opacity: 0.7; }
    100% { transform: translateY(0) rotate(0deg); opacity: 0.3; }
}

.work-process {
    display: flex;
    justify-content: space-between;
    margin-top: 50px;
    position: relative;
    overflow: visible;
    z-index: 5;
}

.work-process::before {
    content: '';
    position: absolute;
    top: 50px;
    left: 5%;
    right: 5%;
    height: 4px;
    background: linear-gradient(90deg, rgba(0, 200, 255, 0.6), rgba(110, 86, 207, 0.8), rgba(0, 200, 255, 0.6));
    z-index: 1;
    border-radius: 4px;
    box-shadow: 0 0 15px rgba(0, 200, 255, 0.5);
    animation: shimmer 3s infinite linear;
    background-size: 200% 100%;
}

.process-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 15px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 2;
}

.process-step:hover {
    transform: translateY(-15px) scale(1.03);
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.8rem;
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    box-shadow: 0 0 25px rgba(0, 200, 255, 0.5);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.step-number::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 50%;
    z-index: -1;
    opacity: 0.3;
    filter: blur(10px);
    transition: all 0.4s ease;
}

.process-step:hover .step-number {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 0 35px rgba(0, 200, 255, 0.8);
}

.process-step:hover .step-number::before {
    opacity: 0.6;
    filter: blur(15px);
}

.step-content {
    background: rgba(30, 40, 50, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 25px 20px;
    width: 100%;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
    position: relative;
    margin-top: 35px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 200px;
}

.step-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 200, 255, 0.05), rgba(110, 86, 207, 0.05));
    z-index: -1;
}

.process-step:hover .step-content {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(5px);
}

.step-content h3 {
    font-size: 1.5rem;
    margin: 15px auto;
    color: var(--text-primary);
    font-weight: 600;
    text-align: center;
    width: 100%;
    padding: 0 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-content h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 3px;
    transition: width 0.3s ease;
}

.process-step:hover .step-content h3::after {
    width: 60px;
}

.step-content p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    margin-top: 15px;
}

/* Contact Form Styles */
.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: space-between;
    margin-top: 50px;
}

.contact-form {
    flex: 1 1 500px;
}

.contact-direct {
    flex: 1 1 300px;
    background: var(--bg-card);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.contact-direct h3 {
    margin-bottom: 25px;
    font-size: 1.4rem;
    color: var(--text-primary);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-primary);
}

input, textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-input);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background-color: rgba(20, 24, 39, 0.9);
    color: white;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 16px;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(var(--color-primary-rgb), 0.2);
}

textarea {
    resize: vertical;
    min-height: 120px;
}

.telegram-link {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.telegram-link:hover {
    color: var(--color-primary-dark);
    text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .work-process {
        flex-direction: column;
    }
    
    .process-step {
        margin-bottom: 20px;
    }
    
    .contact-container {
        flex-direction: column;
    }
    
    .contact-form, .contact-direct {
        width: 100%;
    }
}