/* ============================================================================
   HOW IT WORKS PAGE
   ============================================================================ */
.how-it-works-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px;
}

/* Intro Section */
.intro-section {
    text-align: center;
    margin-bottom: 60px;
}

/* Content Cards */
.content-card {
    position: relative;
    border: 3px solid #2d1b3d;
    border-radius: 15px;
    box-shadow: 3px 3px 0 rgba(2, 32, 63, 0.95);
    background: rgba(255, 255, 255, 0.95);
    padding: 0 40px 20px 40px;
    margin-bottom: 40px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.content-card h2 {
    text-align: left !important;
}

/* card-subsection */
.card-subsection {
    border: 2px solid #2d1b3d;
    border-radius: 10px;
    padding: 25px;
    margin: 40px 0;
    transition: all 0.3s ease;
    background: rgba(244, 231, 225, 0.1);
    box-shadow: 3px 3px 0 rgba(2, 32, 63, 0.95);
}

/* CTA Section */
.cta-section {
    text-align: center;
    padding: 60px 40px;
    margin-top: 40px;
}

/* ============================================================================
   Font effect
   ============================================================================ */
.highlight-with-triangle {
    color: #641b1b;
    font-weight: bold;
    position: relative;
    display: inline-block;
}

/* Triangle Style 1: Simple centered triangle */
.triangle-center::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 8px solid #641b1b;
}

.card-subsection.hint-nested {
    position: relative;
}

.card-subsection.hint-nested::before {
    content: 'They answered';
    position: absolute;
    top: -12px;
    left: 15px;
    background: #641b1b;
    color: white;
    padding: 2px 12px;
    border-radius: 4px;
    font-family: 'Poppins', sans-serif;
    font-size: 1.1em;
    font-weight: bold;
}

/* Responsive */
@media (max-width: 1024px) {
    .how-it-works-container {
        padding: 40px 30px;
    }

    .content-card {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .how-it-works-container {
        padding: 40px 20px;
    }

    .content-card {
        padding: 25px;
        margin-bottom: 30px;
    }

}

@media (max-width: 480px) {
    .how-it-works-container {
        padding: 30px 15px;
    }

    .intro-section {
        margin-bottom: 40px;
    }

    .content-card {
        padding: 20px;
    }

    .cta-section {
        padding: 40px 20px;
    }
}