/* OBD platform page – extras on top of functions-list.css */

.obd-page {
    --c-obd: #22d3ee;
}

.obd-badges {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 0 0 14px;
}

.obd-new {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 999px;
    background: var(--fl-blue);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
}

.obd-hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 22px 0 6px;
}

.obd-ask {
    min-height: 44px;
    margin-top: 6px;
    font-size: 14px;
}

.obd-dot {
    background: var(--c-obd);
}

.obd-figure {
    margin: 26px 0 0;
    padding: 18px 10px 6px;
    overflow: hidden;
    border: 1px solid var(--fl-border);
    border-radius: 18px;
    background: radial-gradient(ellipse 70% 70% at 45% 55%, rgba(37, 99, 235, .22), transparent 70%), var(--fl-card);
}

.obd-figure img {
    display: block;
    width: 80%;
    height: auto;
    margin: 0 auto;
}

/* ---------- supported list ---------- */
.obd-search {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 16px;
    padding: 0 16px;
    border: 1px solid var(--fl-border);
    border-radius: 999px;
    background: var(--fl-card);
}

.obd-search i {
    color: var(--fl-muted);
    font-size: 14px;
}

.obd-search input {
    width: 100%;
    height: 46px;
    border: 0;
    outline: 0;
    background: transparent;
    color: #fff;
    font-size: 15px;
}

.obd-search input::placeholder {
    color: rgba(255, 255, 255, .45);
}

.obd-search:focus-within {
    border-color: rgba(34, 211, 238, .6);
}

.obd-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.obd-card {
    padding: 18px 20px 20px;
    border: 1px solid rgba(34, 211, 238, .3);
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(34, 211, 238, .08), rgba(255, 255, 255, .03));
}

.obd-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
}

.obd-card-brand {
    color: var(--c-obd);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.obd-card-brand small {
    margin-left: 4px;
    color: var(--fl-muted);
    font-size: 12px;
    font-weight: 700;
}

.obd-card-since {
    padding: 2px 9px;
    border: 1px solid var(--fl-border);
    border-radius: 999px;
    color: var(--fl-muted);
    font-size: 12px;
    white-space: nowrap;
}

.obd-card h3 {
    margin: 0 0 12px;
    color: #fff;
    font-size: 18px;
    line-height: 1.35;
}

.obd-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.obd-tags span {
    padding: 3px 10px;
    border: 1px solid rgba(34, 211, 238, .28);
    border-radius: 999px;
    background: rgba(34, 211, 238, .1);
    color: #a5f3fc;
    font-size: 12.5px;
    font-weight: 600;
}

.obd-empty {
    margin: 0;
    color: var(--fl-muted);
}

.obd-empty a,
.obd-faq a,
.obd-page .fl-intro p a {
    color: #60a5fa;
}

/* ---------- how it works ---------- */
.obd-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.obd-steps li {
    list-style: none;
    padding: 22px;
    border: 1px solid var(--fl-border);
    border-radius: 18px;
    background: var(--fl-card);
}

.obd-steps li > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin-bottom: 12px;
    border-radius: 50%;
    background: var(--fl-blue);
    color: #fff;
    font-weight: 800;
}

.obd-steps h3 {
    margin: 0 0 6px;
    color: #fff;
    font-size: 19px;
}

.obd-steps p {
    margin: 0;
    color: var(--fl-muted);
    font-size: 15px;
    line-height: 1.55;
}

.obd-steps li::marker {
    content: "";
}

/* ---------- FAQ ---------- */
.obd-faq details {
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.obd-faq summary {
    position: relative;
    padding: 16px 32px 16px 0;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    list-style: none;
    cursor: pointer;
}

.obd-faq summary::-webkit-details-marker {
    display: none;
}

.obd-faq summary::after {
    content: "+";
    position: absolute;
    right: 4px;
    top: 12px;
    color: #60a5fa;
    font-size: 22px;
    font-weight: 400;
}

.obd-faq details[open] summary::after {
    content: "\2212";
}

.obd-faq details p {
    margin: 0 0 16px;
    color: var(--fl-muted);
    line-height: 1.6;
}

@media (max-width: 767px) {
    .obd-grid,
    .obd-steps {
        grid-template-columns: 1fr;
    }

    .obd-hero-actions {
        flex-wrap: nowrap;
        gap: 8px;
        margin-top: 18px;
    }

    .obd-hero-actions .fl-btn {
        flex: 1 1 0;
        min-width: 0;
        min-height: 42px;
        padding: 0 12px;
        font-size: 14px;
        white-space: nowrap;
    }

    .obd-ask {
        width: 100%;
    }
}
