/* .how-it-works-section {
        padding: 4rem 0;
    } */


.section-badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.125rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Steps Grid */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

/* Step Card */
.step-card {
    position: relative;
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(30px);
}

.step-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.step-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Step Number */
.step-number {
    position: relative;
    display: inline-flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.step-number span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    position: relative;
    z-index: 2;
}

/* Step Connector Line */
.step-connector {
    position: absolute;
    left: 100%;
    top: 50%;
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, #2563eb 0%, transparent 100%);
    transform: translateY(-50%);
    display: none;
}

@media (min-width: 768px) {
    .step-card:not(:last-child) .step-connector {
        display: block;
    }
}

/* Step Icon */
.step-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.step-card:hover .step-icon {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    transform: scale(1.1) rotate(5deg);
}

.step-icon svg {
    width: 40px;
    height: 40px;
    stroke: #2563eb;
    transition: all 0.3s ease;
}

.step-card:hover .step-icon svg {
    stroke: white;
}

/* Step Content */
.step-content {
    text-align: left;
}

.step-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.75rem;
}

.step-description {
    font-size: 1rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

/* Step Features */
.step-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.step-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #475569;
    margin-bottom: 0.5rem;
}

.step-features li svg {
    width: 16px;
    height: 16px;
    stroke: #10b981;
    flex-shrink: 0;
}

/* Bottom CTA */
.how-it-works-cta {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* .how-it-works-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
} */

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.cta-content-box {
    position: relative;
    z-index: 2;
}

.cta-content-box h3 {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.75rem;
}

.cta-content-box p {
    font-size: 1.125rem;
    color: #cbd5e1;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* CTA Buttons */
.cta-buttons-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary-cta,
.btn-secondary-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary-cta {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}

.btn-primary-cta:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.5);
    color: white;
}

.btn-secondary-cta {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.btn-secondary-cta:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    color: white;
}

.btn-primary-cta svg,
.btn-secondary-cta svg {
    width: 20px;
    height: 20px;
}

/* Background Decoration */
.how-it-works-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

.bg-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.05;
}

.bg-shape.shape-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    top: -100px;
    left: -100px;
    animation: float 20s ease-in-out infinite;
}

.bg-shape.shape-2 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    bottom: -50px;
    right: -50px;
    animation: float 15s ease-in-out infinite reverse;
}

.bg-shape.shape-3 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    top: 50%;
    right: 10%;
    animation: float 18s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(30px, -30px) rotate(120deg);
    }
    66% {
        transform: translate(-20px, 20px) rotate(240deg);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .step-connector {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .how-it-works-section {
        padding: 4rem 0;
    }

    .how-it-works-container {
        padding: 0 1.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .step-card {
        padding: 1.5rem;
    }

    .step-number span {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }

    .step-icon {
        width: 70px;
        height: 70px;
    }


    .step-icon svg {
        width: 35px;
        height: 35px;
    }

    .step-title {
        font-size: 1.25rem;
    }

    .step-description {
        font-size: 0.9375rem;
    }

    .how-it-works-cta {
        padding: 2rem 1.5rem;
        border-radius: 16px;
    }

    .cta-content-box h3 {
        font-size: 1.5rem;
    }

    .cta-content-box p {
        font-size: 1rem;
    }

    .cta-buttons-group {
        flex-direction: column;
    }

    .btn-primary-cta,
    .btn-secondary-cta {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .how-it-works-section {
        padding: 3rem 0;
    }

    .how-it-works-container {
        padding: 0 1rem;
    }

    .section-header {
        margin-bottom: 3rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .section-subtitle {
        font-size: 0.9375rem;
    }

    .steps-grid {
        margin-bottom: 3rem;
    }

    .step-card {
        padding: 1.25rem;
    }

    .step-number {
        margin-bottom: 1rem;
    }

    .step-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }

    .step-icon svg {
        width: 30px;
        height: 30px;
    }

    .step-title {
        font-size: 1.125rem;
    }

    .step-description {
        font-size: 0.875rem;
        margin-bottom: 1rem;
    }

    .step-features li {
        font-size: 0.8125rem;
    }

    .how-it-works-cta {
        padding: 1.5rem 1rem;
    }

    .cta-content-box h3 {
        font-size: 1.25rem;
    }

    .cta-content-box p {
        font-size: 0.9375rem;
        margin-bottom: 1.5rem;
    }

    .btn-primary-cta,
    .btn-secondary-cta {
        padding: 0.875rem 1.5rem;
        font-size: 0.9375rem;
    }
}

/* Animation delays for staggered effect */
.step-card:nth-child(1) {
    transition-delay: 0.1s;
}

.step-card:nth-child(2) {
    transition-delay: 0.2s;
}

.step-card:nth-child(3) {
    transition-delay: 0.3s;
}

.step-card:nth-child(4) {
    transition-delay: 0.4s;
}

/* Hover effect for step number */
.step-card:hover .step-number span {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.4);
}

/* Active state for buttons */
.btn-primary-cta:active,
.btn-secondary-cta:active {
    transform: translateY(0);
}

/* Focus states for accessibility */
.btn-primary-cta:focus,
.btn-secondary-cta:focus {
    outline: 3px solid rgba(37, 99, 235, 0.5);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .how-it-works-bg {
        display: none;
    }

    .step-card {
        box-shadow: none;
        border: 1px solid #e2e8f0;
    }

    .how-it-works-cta {
        background: #f8fafc;
        color: #1e293b;
    }

    .cta-content-box h3,
    .cta-content-box p {
        color: #1e293b;
    }
}