/* How It Works Section - Consistent with Site Design */
.how-it-works-section {
    background: #f8f9fa;
    position: relative;
}

.how-it-works-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="%23e2e8f0" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.2;
}

.how-it-works-section .container {
    position: relative;
    z-index: 2;
}

/* Step Cards - Consistent with Site Design */
.step-card {
    background: white;
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--chy-pr-1), var(--chy-pr-2));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.step-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(146, 85, 206, 0.15);
}

.step-card:hover::before {
    opacity: 1;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--chy-pr-1), var(--chy-pr-2));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0 auto 25px;
    box-shadow: 0 8px 25px rgba(92, 0, 169, 0.3);
    transition: all 0.3s ease;
}

.step-card:hover .step-number {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(92, 0, 169, 0.4);
}

.step-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2rem;
    color: var(--chy-pr-1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.step-card:hover .step-icon {
    background: linear-gradient(135deg, var(--chy-pr-1), var(--chy-pr-2));
    color: white;
    transform: scale(1.05);
    border-color: var(--chy-pr-2);
}

.step-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--chy-h1-color);
    margin-bottom: 15px;
    font-family: var(--urbanist);
}

.step-description {
    font-size: 1rem;
    color: #5b5b5b;
    line-height: 1.66;
    margin: 0;
    font-family: var(--urbanist);
}

/* CTA Button - Consistent with Site Design */
.chy-pr-btn-1 {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--chy-gd-1);
    color: white;
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(92, 0, 169, 0.3);
    border: none;
    position: relative;
    overflow: hidden;
}

.chy-pr-btn-1::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.chy-pr-btn-1:hover::before {
    left: 100%;
}

.chy-pr-btn-1:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(92, 0, 169, 0.4);
    color: white;
    text-decoration: none;
}

.chy-pr-btn-1 .icon {
    transition: transform 0.3s ease;
}

.chy-pr-btn-1:hover .icon {
    transform: translateX(5px);
}

.sub-cta-text {
    font-size: 0.95rem;
    color: #5b5b5b;
    margin: 0;
    font-family: var(--urbanist);
}

/* Responsive Design */
@media (max-width: 768px) {
    .step-card {
        padding: 30px 20px;
        margin-bottom: 30px;
    }
    
    .step-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
    
    .step-title {
        font-size: 1.3rem;
    }
    
    .chy-pr-btn-1 {
        padding: 15px 30px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .step-card {
        padding: 25px 15px;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.1rem;
    }
    
    .step-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}