/* ==========================================================================
   NBN Flow Info Sections
   Trust Badges, Recommended Badge, What Happens Next, FAQ Accordion
   Matches troppo design system: #0f0e1e bg, #1a1a2e cards, #20d6b4 lagoon
   ========================================================================== */

/* --------------------------------------------------------------------------
   Trust Badges Bar
   -------------------------------------------------------------------------- */
.nbn-trust-badges {
    display: flex;
    justify-content: center;
    gap: 28px;
    flex-wrap: wrap;
    margin: 0 auto 30px;
    padding: 16px 24px;
    background: #1a1a2e;
    border: 1px solid rgba(32, 214, 180, 0.25);
    border-radius: 12px;
    max-width: 900px;
}

.nbn-trust-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
}

.nbn-trust-badge-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 22px;
    height: 22px;
}

.nbn-trust-badge-icon svg {
    display: block;
    width: 22px;
    height: 22px;
    min-width: 22px;
    min-height: 22px;
    fill: #20d6b4;
}

@media (max-width: 640px) {
    .nbn-trust-badges {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        padding: 14px 16px;
    }

    .nbn-trust-badge {
        font-size: 13px;
    }
}

/* --------------------------------------------------------------------------
   Recommended Plan Badge
   -------------------------------------------------------------------------- */
/* Recommended badge - lagoon colored, matches plans-display-unified.css */
.nbn-recommended-badge {
    background: var(--troppo-lagoon, #20d6b4);
    color: #fff;
    padding: 0.4rem 1rem;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    z-index: 2;
}

/* When both recommended and popular are present, stack them */
.nbn-plan-card .nbn-popular-badge + .nbn-recommended-badge {
    top: auto;
    bottom: -1px;
    border-radius: 10px 10px 0 0;
}

/* Recommended card border - subtle lagoon */
.nbn-plan-card.nbn-recommended {
    border: 2px solid rgba(32, 214, 180, 0.6);
    box-shadow: 0 4px 20px rgba(32, 214, 180, 0.12);
}

.nbn-plan-card.nbn-recommended:hover {
    box-shadow: 0 8px 30px rgba(32, 214, 180, 0.18);
}

@media (max-width: 640px) {
    .nbn-recommended-badge {
        font-size: 11px;
        padding: 4px 14px;
    }
}

/* --------------------------------------------------------------------------
   What Happens Next Section
   -------------------------------------------------------------------------- */
.nbn-what-happens-next {
    margin: 40px auto 0;
    max-width: 900px;
    padding: 0 20px;
}

.nbn-whn-title {
    text-align: center;
    font-size: 26px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 24px;
}

.nbn-whn-title .troppo-highlight {
    background: linear-gradient(135deg, #ff8e53 0%, #ffd93d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nbn-whn-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.nbn-whn-block {
    background: #1a1a2e;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 24px 20px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.nbn-whn-block:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    border-color: rgba(32, 214, 180, 0.3);
}

.nbn-whn-block-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.nbn-whn-block-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    min-width: 32px;
    background: linear-gradient(135deg, #20d6b4, #1ab398);
    color: #0f0e1e;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 700;
}

.nbn-whn-block-title {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
}

.nbn-whn-block-text {
    font-size: 13px;
    line-height: 1.6;
    color: #d0d0d0;
    margin: 0;
}

.nbn-whn-block-text strong {
    color: #fff;
}

@media (max-width: 768px) {
    .nbn-whn-grid {
        grid-template-columns: 1fr;
    }

    .nbn-whn-block {
        padding: 20px 16px;
    }

    .nbn-whn-title {
        font-size: 22px;
    }
}

/* --------------------------------------------------------------------------
   AVC ID Note (for transfers)
   -------------------------------------------------------------------------- */
.nbn-avcid-note {
    margin: 20px auto 0;
    max-width: 900px;
    padding: 16px 20px;
    background: #1a1a2e;
    border: 1px solid rgba(255, 142, 83, 0.25);
    border-radius: 10px;
    font-size: 13px;
    line-height: 1.6;
    color: #d0d0d0;
}

.nbn-avcid-note strong {
    color: #ff8e53;
}

/* --------------------------------------------------------------------------
   FAQ Accordion
   -------------------------------------------------------------------------- */
.nbn-faq-section {
    margin: 40px auto 0;
    max-width: 900px;
    padding: 0 20px;
}

.nbn-faq-title {
    text-align: center;
    font-size: 26px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
}

.nbn-faq-title .troppo-highlight {
    background: linear-gradient(135deg, #ff8e53 0%, #ffd93d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nbn-faq-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.nbn-faq-item {
    background: #1a1a2e;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    overflow: hidden;
    transition: border-color 0.2s ease;
}

.nbn-faq-item.active {
    border-color: rgba(32, 214, 180, 0.4);
}

.nbn-faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 16px 20px;
    background: none;
    border: none;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: color 0.2s ease;
    font-family: inherit;
}

.nbn-faq-question:hover {
    color: #20d6b4;
}

.nbn-faq-toggle {
    font-size: 18px;
    font-weight: 300;
    color: #20d6b4;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 12px;
}

.nbn-faq-item.active .nbn-faq-toggle {
    transform: rotate(45deg);
}

.nbn-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.nbn-faq-item.active .nbn-faq-answer {
    max-height: 500px;
}

.nbn-faq-answer-inner {
    padding: 0 20px 16px;
    font-size: 13px;
    line-height: 1.7;
    color: #d0d0d0;
}

.nbn-faq-answer-inner strong {
    color: #fff;
}

@media (max-width: 640px) {
    .nbn-faq-question {
        font-size: 13px;
        padding: 14px 16px;
    }

    .nbn-faq-answer-inner {
        padding: 0 16px 14px;
        font-size: 12px;
    }

    .nbn-faq-title {
        font-size: 22px;
    }
}
