
.how-it-works-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden;
}

.how-it-works-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(16, 185, 129, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(52, 211, 153, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.how-it-works-hero .container {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.how-it-works-hero h1 {
    font-size: 42px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 16px 0;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.how-it-works-hero__subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    line-height: 1.6;
}

.how-it-works-steps {
    padding: 80px 0;
    background: #ffffff;
}

.steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    max-width: 900px;
    margin: 0 auto;
}

.step-card {
    position: relative;
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 24px;
    padding: 32px;
    background: #f8fafc;
    border-radius: 16px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.step-card:hover {
    background: #ffffff;
    border-color: rgba(16, 185, 129, 0.2);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

.step-card__left {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.step-number {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    color: white;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.step-icon {
    width: 64px;
    height: 64px;
    background: #f0fdf4;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.step-card:hover .step-icon {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.step-icon i {
    font-size: 28px;
    color: #10b981;
    transition: all 0.3s ease;
}

.step-card:hover .step-icon i {
    color: white;
    transform: scale(1.1);
}

.step-card__content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.step-card h2 {
    font-size: 22px;
    font-weight: 600;
    color: #0f172a;
    margin: 0;
    line-height: 1.3;
}

.step-card p {
    font-size: 15px;
    color: #64748b;
    line-height: 1.7;
    margin: 0;
}

.faq-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.faq-section h2 {
    font-size: 32px;
    font-weight: 700;
    color: #0f172a;
    text-align: center;
    margin: 0 0 48px 0;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.faq-item {
    background: #ffffff;
    padding: 28px;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(16, 185, 129, 0.3);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

.faq-item h3 {
    font-size: 17px;
    font-weight: 600;
    color: #0f172a;
    margin: 0 0 12px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.faq-item h3::before {
    content: '\f059';
    font-family: 'Font Awesome 6 Free';
    font-weight: 400;
    color: #10b981;
    font-size: 20px;
}

.faq-item p {
    font-size: 14px;
    color: #64748b;
    line-height: 1.7;
    margin: 0;
}

.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(16, 185, 129, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.cta-section .container {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-section h2 {
    font-size: 36px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 12px 0;
    line-height: 1.2;
}

.cta-section p {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 32px 0;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    font-size: 16px;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.5);
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
}

.btn-primary i {
    font-size: 18px;
}

@media (max-width: 768px) {
    .how-it-works-hero {
        padding: 60px 0 40px;
    }

    .how-it-works-hero h1 {
        font-size: 32px;
    }

    .how-it-works-hero__subtitle {
        font-size: 16px;
    }

    .how-it-works-steps {
        padding: 60px 0;
    }

    .steps-grid {
        gap: 32px;
    }

    .step-card {
        grid-template-columns: 1fr;
        padding: 24px;
        gap: 20px;
    }

    .step-card__left {
        flex-direction: row;
        justify-content: flex-start;
    }

    .step-number {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

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

    .step-icon i {
        font-size: 24px;
    }

    .step-card h2 {
        font-size: 19px;
    }

    .step-card p {
        font-size: 14px;
    }

    .faq-section {
        padding: 60px 0;
    }

    .faq-section h2 {
        font-size: 26px;
        margin-bottom: 32px;
    }

    .faq-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .faq-item {
        padding: 20px;
    }

    .faq-item h3 {
        font-size: 16px;
    }

    .faq-item p {
        font-size: 13px;
    }

    .cta-section {
        padding: 60px 0;
    }

    .cta-section h2 {
        font-size: 28px;
    }

    .cta-section p {
        font-size: 15px;
    }

    .btn-primary {
        padding: 14px 28px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .how-it-works-hero h1 {
        font-size: 28px;
    }

    .step-card {
        padding: 20px;
    }

    .faq-item {
        padding: 16px;
    }
}

@media (prefers-color-scheme: dark) {
    .how-it-works-steps {
        background: #0b1220;
    }

    .step-card {
        background: #1a1f2e;
        border-color: rgba(255, 255, 255, 0.05);
    }

    .step-card:hover {
        background: #1e293b;
        border-color: rgba(16, 185, 129, 0.3);
    }

    .step-card h2 {
        color: #f1f5f9;
    }

    .step-card p {
        color: #94a3b8;
    }

    .step-icon {
        background: rgba(16, 185, 129, 0.1);
    }

    .faq-section {
        background: linear-gradient(180deg, #0b1220 0%, #1a1f2e 100%);
    }

    .faq-section h2 {
        color: #f1f5f9;
    }

    .faq-item {
        background: #1e293b;
        border-color: rgba(255, 255, 255, 0.05);
    }

    .faq-item:hover {
        border-color: rgba(16, 185, 129, 0.3);
    }

    .faq-item h3 {
        color: #f1f5f9;
    }

    .faq-item p {
        color: #94a3b8;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.step-card {
    animation: fadeInUp 0.6s ease-out backwards;
}

.step-card:nth-child(1) { animation-delay: 0.1s; }
.step-card:nth-child(2) { animation-delay: 0.2s; }
.step-card:nth-child(3) { animation-delay: 0.3s; }
.step-card:nth-child(4) { animation-delay: 0.4s; }
.step-card:nth-child(5) { animation-delay: 0.5s; }

@media (prefers-reduced-motion: reduce) {
    .step-card,
    .step-icon i,
    .btn-primary {
        animation: none;
        transition: none;
    }

    .step-card:hover,
    .faq-item:hover,
    .btn-primary:hover {
        transform: none;
    }
}
