/* NMCA How It Works - Premium Design System */

:root {
    --bg-dark: #050506;
    --bg-card: rgba(255, 255, 255, 0.03);
    --border-color: rgba(255, 255, 255, 0.08);
    --primary-blue: #FF00CC;
    --brand-gradient: linear-gradient(to right, #FF00CC, #A020F0);
    --text-muted: rgba(255, 255, 255, 0.5);
    --text-main: #ffffff;
    --font-poppins: 'Poppins', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-poppins);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* ---------- Layout & Containers ---------- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-dark {
    background-color: var(--bg-dark);
}

.section-gap-top-lg {
    padding-top: 80px;
}

.section-gap-bottom-lg {
    padding-bottom: 80px;
}

.mt-10 {
    margin-top: 2.5rem;
}

.mb-10 {
    margin-bottom: 2.5rem;
}

/* ---------- Hero Section ---------- */
.hero-section {
    position: relative;
    padding-top: 180px;
    overflow: hidden;
}

.hero-inner {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.how-hero-title {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.04em;
    margin-bottom: 1.5rem;
    color: #FFFFFF;
}

.how-hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 3rem;
}

/* Step Selector Buttons */
.step-selector {
    display: flex;
    justify-content: center;
}

.step-buttons {
    display: inline-flex;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 6px;
    border-radius: 100px;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.step-btn {
    padding: 12px 32px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
}

.step-btn.active {
    background: var(--brand-gradient);
    color: white;
    box-shadow: 0 10px 20px rgba(255, 0, 204, 0.2);
}

.new-badge {
    background: var(--primary-blue);
    color: white;
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 20px;
    text-transform: uppercase;
}

/* ---------- Step Cards ---------- */
.step-section {
    position: relative;
}

.step-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.step-header {
    text-align: center;
    margin-bottom: 4rem;
}

.step-icon {
    width: 120px;
    margin-bottom: 1rem;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.5));
}

.step-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* Main Banner Component */
.step-banner {
    margin-top: 3rem;
    background: var(--primary-blue);
    border-radius: 40px;
    position: relative;
    overflow: visible;
    min-height: 300px;
    display: flex;
    align-items: center;
    background-image: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(0, 0, 0, 0.1) 100%);
    box-shadow: 0 40px 100px -20px rgba(7, 129, 254, 0.3);
}

.step-banner-content {
    display: flex;
    width: 100%;
    padding: 0 3rem;
}

.step-banner-text {
    width: 60%;
    padding: 3rem 0;
    z-index: 2;
}

.step-banner-text-inner {
    display: flex;
    gap: 1.5rem;
}

.step-banner-icon svg {
    width: 32px;
    height: 32px;
    fill: rgba(255, 255, 255, 0.4);
    flex-shrink: 0;
}

.step-banner-desc {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
}

.step-banner-desc b {
    color: #fff;
    font-weight: 700;
}

.step-banner-image {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 45%;
    height: 120%;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    pointer-events: none;
}

.step-banner-image img {
    height: 100%;
    width: auto;
    object-fit: contain;
    object-position: bottom;
    display: block;
    transition: var(--transition);
    border-radius: 0 0 40px 0;
    /* Match banner corner */
}

.step-banner-image-mobile {
    display: none;
}

/* ---------- Timeline Content ---------- */
.step-content-list {
    margin-top: 4rem;
    padding-left: 100px;
    position: relative;
}

.timeline-dots {
    position: absolute;
    left: 45px;
    top: 0;
    bottom: 0;
    width: 2px;
}

.dot-group {
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-blue), transparent);
    width: 2px;
    opacity: 0.3;
}

.content-row {
    display: flex;
    align-items: center;
    gap: 3rem;
    margin-bottom: 4rem;
}

.content-row-image {
    width: 160px;
    height: 160px;
    object-fit: contain;
    border-radius: 24px;
    background: var(--bg-card);
    padding: 20px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.content-row:hover .content-row-image {
    transform: scale(1.05);
    border-color: var(--primary-blue);
}

.content-row-text {
    flex: 1;
}

.content-row-title {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.content-row-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
}

/* Buttons */
.btn-primary {
    background: var(--brand-gradient);
    color: white;
    padding: 14px 28px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 20px rgba(255, 0, 204, 0.2);
    transition: var(--transition);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(255, 0, 204, 0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: white;
    padding: 12px 24px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* ---------- FAQ Section New ---------- */
.faq-header-new {
    text-align: center;
    margin-bottom: 3rem;
}

.faq-title-new {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.faq-subtitle-new {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.faq-grid-new {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.faq-column-new {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item-new {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item-new:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.2);
}

.faq-btn-new {
    width: 100%;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    background: transparent;
    border: none;
    color: white;
    font-family: inherit;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
}

.faq-icon-wrap {
    color: var(--text-muted);
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.faq-btn-new:hover .faq-icon-wrap {
    color: white;
}

.faq-q-text {
    flex: 1;
}

.faq-ans-inner {
    padding: 0 1.5rem 1.5rem 4.25rem;
    /* Aligned with text after icon */
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

.faq-ans-inner p {
    margin-bottom: 1rem;
}

.faq-ans-inner strong {
    color: white;
    font-weight: 600;
}

.read-more-link {
    color: white;
    text-decoration: underline;
    font-weight: 500;
    font-size: 0.9rem;
    display: inline-block;
    margin-top: 0.5rem;
}

.faq-footer-new {
    text-align: center;
    margin-top: 3rem;
    color: var(--text-muted);
}

.faq-footer-new a {
    color: white;
    text-decoration: underline;
}

@media (max-width: 1024px) {
    .faq-grid-new {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .faq-title-new {
        font-size: 2rem;
    }

    .faq-ans-inner {
        padding-left: 1.5rem;
    }
}

/* ---------- Responsive Design ---------- */

/* Large screens cleanup */
@media (min-width: 1440px) {
    .container {
        max-width: 1300px;
    }
}

/* Medium screens (Tablets) */
@media (max-width: 1024px) {
    .step-banner-text {
        width: 70%;
    }

    .step-banner-image {
        width: 40%;
    }

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

/* Small screens (Mobile) */
@media (max-width: 768px) {
    .section-gap-top-lg {
        padding-top: 30px;
    }

    .section-gap-bottom-lg {
        padding-bottom: 30px;
    }

    .hero-section {
        padding-top: 140px;
    }

    .step-banner {
        flex-direction: column;
        border-radius: 30px;
        min-height: auto;
        padding-bottom: 0;
        overflow: hidden;
    }

    .step-banner-content {
        flex-direction: column;
        padding: 2.5rem 1.5rem;
        /* Restore padding since image is gone */
    }

    .step-banner-text {
        width: 100%;
        padding: 0 0 2rem;
    }

    .step-banner-image {
        display: none;
    }

    .step-banner-image-mobile {
        display: none !important;
    }

    .step-content-list {
        padding-left: 0;
    }

    .timeline-dots {
        display: none;
    }

    .content-row {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .content-row-image {
        width: 120px;
        height: 120px;
        margin: 0 auto;
    }

    /* Ensure mobile rows (legacy) still work or unify */
    .mobile-row {
        display: block;
    }

    /* We'll make content-row handle mobile layout natively */
}

@media (max-width: 480px) {
    .how-hero-title {
        font-size: 2.2rem;
    }

    .step-buttons {
        width: 100%;
        flex-direction: column;
        border-radius: 20px;
    }

    .step-btn {
        width: 100%;
        justify-content: center;
    }
}

.hidden {
    display: none;
}

/* ---------- Comparison Banner ---------- */
.cta-banner-bottom {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 2.5rem;
    margin: 4rem 0;
}

.cta-banner-inner {
    display: flex;
    align-items: center;
    gap: 2rem;
    justify-content: center;
}

.cta-banner-text {
    flex: 1;
}

.cta-banner-title {
    font-size: 1.5rem;
    font-weight: 700;
}

@media (max-width: 768px) {
    .cta-banner-inner {
        flex-direction: column;
        text-align: center;
    }

    .cta-banner-bottom {
        padding: 2rem 1.5rem;
    }
}

/* ---------- FAQ Enhancements ---------- */
.rotated {
    transform: rotate(180deg);
}

[x-cloak] {
    display: none !important;
}