/*
  Web Data API landing page — same conventions as free-proxies.css/temp-sms.css:
  site tokens (--primary_color #009688, --secondary_color #F44336), star-bg hero,
  feature-card grid, numbered step cards, accordion FAQ, gradient CTA band.
*/

.wda-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .14);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .2px;
}

.wda-quickfacts {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.wda-quickfacts span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, .92);
    font-size: 14px;
    font-weight: 600;
}

.wda-quickfacts i {
    color: #fff;
}

.wda-hero-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 26px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .18);
    backdrop-filter: blur(6px);
}

.wda-hero-card__modes {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.wda-hero-card__modes span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .1);
    color: rgba(255, 255, 255, .75);
    font-size: 13px;
    font-weight: 600;
}

.wda-hero-card__modes span.is-active {
    background: #fff;
    color: var(--primary_color);
}

.wda-hero-card__url {
    padding: 12px 16px;
    border-radius: 10px;
    background: rgba(0, 0, 0, .18);
    color: rgba(255, 255, 255, .85);
    font-family: ui-monospace, 'SFMono-Regular', Consolas, monospace;
    font-size: 14px;
}

.wda-hero-card__out {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 16px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .92);
}

.wda-hero-card__line {
    display: block;
    height: 9px;
    border-radius: 5px;
    background: #e3e6e6;
}

.wda-hero-card__line.w-75 {
    width: 75%;
}

.wda-hero-card__line.w-50 {
    width: 50%;
}

.wda-feature-card {
    padding: 32px 26px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .05);
    transition: transform .2s ease, box-shadow .2s ease;
}

.wda-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, .08);
}

.wda-feature-card i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-bottom: 18px;
    border-radius: 12px;
    background: rgba(0, 150, 136, .1);
    color: var(--primary_color);
    font-size: 20px;
}

.wda-feature-card h3 {
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: 700;
    color: var(--text_color);
}

.wda-feature-card p {
    margin: 0;
    color: #6b7280;
    font-size: 14.5px;
    line-height: 1.6;
}

.wda-step-card {
    position: relative;
    padding: 36px 26px 26px;
    border-radius: 16px;
    background: #f9fafb;
    height: 100%;
}

.wda-step-card__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin-bottom: 16px;
    border-radius: 50%;
    background: var(--primary_color);
    color: #fff;
    font-weight: 800;
    font-size: 15px;
}

.wda-step-card h3 {
    margin-bottom: 8px;
    font-size: 17px;
    font-weight: 700;
    color: var(--text_color);
}

.wda-step-card p {
    margin: 0;
    color: #6b7280;
    font-size: 14.5px;
    line-height: 1.6;
}

.wda-faq .accordion-item {
    margin-bottom: 12px;
    border: 1px solid #eef0f0;
    border-radius: 12px !important;
    overflow: hidden;
}

.wda-faq .accordion-button {
    font-weight: 700;
    color: var(--text_color);
}

.wda-faq .accordion-button:not(.collapsed) {
    background: rgba(0, 150, 136, .06);
    color: var(--primary_color);
    box-shadow: none;
}

.wda-cta {
    padding: 56px 32px;
    border-radius: 24px;
    background: linear-gradient(135deg, var(--primary_color), #00695c);
    text-align: center;
}

.wda-cta .section-title,
.wda-cta .section-text {
    color: #fff;
}

.wda-cta .btn {
    margin-top: 10px;
}

/* Stats strip */
.wda-stats-section {
    padding-top: 40px;
    padding-bottom: 40px;
}

.wda-stats-label {
    margin-bottom: 24px;
    text-align: center;
    color: #9aa0a0;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .6px;
}

.wda-stats-section strong {
    display: block;
    font-size: 32px;
    font-weight: 800;
    color: var(--primary_color);
}

.wda-stats-section span {
    color: #6b7280;
    font-size: 13px;
}

.wda-stats-source {
    margin: 20px 0 0;
    text-align: center;
    color: #9aa0a0;
    font-size: 12.5px;
    font-style: italic;
}

/* Endpoint cards */
.wda-endpoint-card {
    padding: 28px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .05);
}

.wda-endpoint-card__head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.wda-endpoint-card__head i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(0, 150, 136, .1);
    color: var(--primary_color);
    font-size: 18px;
}

.wda-endpoint-card__head h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: var(--text_color);
}

.wda-endpoint-card p {
    margin: 0 0 12px;
    color: #6b7280;
    font-size: 14.5px;
    line-height: 1.6;
}

.wda-endpoint-card__limit {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 999px;
    background: #f1f3f3;
    color: #6b7280;
    font-size: 12px;
    font-weight: 600;
}

/* AI integration section */
.wda-ai-section {
    background: #f9fafb;
}

.wda-ai-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.wda-ai-badges span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .05);
    color: var(--text_color);
    font-size: 13.5px;
    font-weight: 600;
}

.wda-ai-badges i {
    color: var(--primary_color);
}

.wda-json-mock {
    margin: 0;
    padding: 24px;
    border-radius: 14px;
    background: #1b1f23;
    color: #9fd9b4;
    font-size: 13px;
    line-height: 1.7;
    overflow-x: auto;
}

/* Code box with tabs */
.wda-code-box {
    overflow: hidden;
    border-radius: 14px;
    background: #1b1f23;
}

.wda-code-box__tabs {
    display: flex;
    gap: 4px;
    padding: 10px 14px;
    background: #15181b;
}

.wda-code-tab {
    padding: 7px 16px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #8a9099;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.wda-code-tab.is-active {
    background: rgba(255, 255, 255, .08);
    color: #fff;
}

.wda-code-box__code {
    margin: 0;
    padding: 20px 22px;
    color: #d4d8dc;
    font-size: 13.5px;
    line-height: 1.7;
    overflow-x: auto;
}

/* Pricing card */
.wda-pricing-section {
    background: #f9fafb;
}

.wda-pricing-card {
    padding: 44px;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .05);
    text-align: center;
}

.wda-pricing-card__badge {
    display: inline-block;
    margin-bottom: 16px;
    padding: 6px 16px;
    border-radius: 999px;
    background: rgba(0, 150, 136, .1);
    color: var(--primary_color);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.wda-pricing-card__amount {
    margin-bottom: 14px;
    font-size: 42px;
    font-weight: 800;
    color: var(--text_color);
}

.wda-pricing-card__amount span {
    display: block;
    margin-top: 4px;
    font-size: 15px;
    font-weight: 600;
    color: #6b7280;
}

.wda-pricing-card p {
    max-width: 480px;
    margin: 0 auto 22px;
    color: #6b7280;
}

@media (max-width: 767.98px) {
    .wda-quickfacts {
        gap: 12px;
    }

    .wda-hero-card {
        padding: 18px;
    }

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

    .wda-stats-section strong {
        font-size: 24px;
    }

    .wda-code-box__tabs {
        overflow-x: auto;
        flex-wrap: nowrap;
    }

    .wda-code-box__code,
    .wda-json-mock {
        font-size: 12px;
        padding: 16px;
        white-space: pre-wrap;
        word-break: break-all;
        overflow-x: visible;
    }

    .wda-pricing-card {
        padding: 28px 20px;
    }

    .wda-pricing-card__amount {
        font-size: 32px;
    }
}
