﻿/* =========================
   Business Flow - Public UI
   ========================= */

:root {
    --bg0: #0b1220;
    --bg1: #0d172a;
    --glass: rgba(255,255,255,.08);
    --glass2: rgba(255,255,255,.12);
    --stroke: rgba(255,255,255,.18);
    --text: rgba(255,255,255,.92);
    --muted: rgba(255,255,255,.70);
    --muted2: rgba(255,255,255,.55);
    --brand: #33c6ff;
    --brand2: #2aa8ff;
    --ok: #22c55e;
    --warn: #f59e0b;
    --bad: #ef4444;
    --shadow: 0 18px 60px rgba(0,0,0,.45);
    --r: 18px;
}

* {
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    margin: 0;
    font-family: "Segoe UI", Tahoma, Arial, sans-serif;
    background: radial-gradient(1200px 600px at 75% 20%, rgba(51,198,255,.20), transparent 60%), radial-gradient(900px 500px at 20% 70%, rgba(90,120,255,.18), transparent 55%), linear-gradient(180deg, var(--bg0), var(--bg1));
    color: var(--text);
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1180px, 92%);
    margin-inline: auto;
}

/* ===== Topbar / Navbar ===== */
.topbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(14px);
    background: linear-gradient(180deg, rgba(12,18,32,.78), rgba(12,18,32,.52));
    border-bottom: 1px solid rgba(255,255,255,.10);
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    gap: 18px;
}

.brand .logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    letter-spacing: .3px;
}

    .brand .logo::before {
        content: "BF";
        display: inline-grid;
        place-items: center;
        width: 36px;
        height: 36px;
        border-radius: 12px;
        background: linear-gradient(135deg, rgba(51,198,255,.25), rgba(42,168,255,.12));
        border: 1px solid rgba(255,255,255,.14);
        box-shadow: 0 12px 30px rgba(0,0,0,.35);
    }

.nav {
    display: flex;
    align-items: center;
    gap: 18px;
    font-weight: 600;
}

    .nav a {
        opacity: .86;
        padding: 8px 10px;
        border-radius: 12px;
        transition: .18s ease;
    }

        .nav a:hover {
            opacity: 1;
            background: rgba(255,255,255,.08);
        }

.top-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 11px 14px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,.16);
    background: rgba(255,255,255,.06);
    color: var(--text);
    font-weight: 700;
    cursor: pointer;
    transition: transform .15s ease, background .15s ease, border-color .15s ease;
}

    .btn:hover {
        transform: translateY(-1px);
        background: rgba(255,255,255,.09);
        border-color: rgba(255,255,255,.22);
    }

    .btn:active {
        transform: translateY(0px) scale(.99);
    }

.btn-primary {
    background: linear-gradient(135deg, rgba(51,198,255,.28), rgba(42,168,255,.10));
    border-color: rgba(51,198,255,.35);
}

.btn-outline {
    background: rgba(255,255,255,.04);
}

.btn-sm {
    padding: 9px 12px;
    border-radius: 13px;
    font-size: 14px;
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,.16);
    background: rgba(255,255,255,.06);
    color: var(--text);
}

@media (max-width: 880px) {
    .nav {
        display: none;
    }

    .nav-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .top-actions {
        gap: 8px;
    }
}

.mobile-nav {
    display: none;
    border-top: 1px solid rgba(255,255,255,.10);
    padding: 12px 0 16px;
}

    .mobile-nav a {
        display: block;
        padding: 10px 12px;
        border-radius: 12px;
        opacity: .9;
    }

        .mobile-nav a:hover {
            background: rgba(255,255,255,.08);
            opacity: 1;
        }

    .mobile-nav.show {
        display: block;
    }

/* ===== Footer ===== */
.footer {
    margin-top: 80px;
    border-top: 1px solid rgba(255,255,255,.10);
    background: rgba(0,0,0,.18);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
    color: var(--muted2);
    font-weight: 600;
}

.footer-links {
    display: flex;
    gap: 14px;
}

    .footer-links a {
        opacity: .8;
    }

        .footer-links a:hover {
            opacity: 1;
        }

/* ===== Hero / Landing ===== */
.hero {
    position: relative;
    padding: 58px 0 28px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr .9fr;
    gap: 26px;
    align-items: center;
}

@media (max-width: 980px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }
}

.hero-card {
    border-radius: 26px;
    background: linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,.05));
    border: 1px solid rgba(255,255,255,.14);
    box-shadow: var(--shadow);
    padding: 26px;
    overflow: hidden;
    position: relative;
}

    .hero-card::before {
        content: "";
        position: absolute;
        inset: -2px;
        background: radial-gradient(400px 240px at 70% 10%, rgba(51,198,255,.25), transparent 60%), radial-gradient(320px 220px at 20% 90%, rgba(90,120,255,.22), transparent 58%);
        pointer-events: none;
        opacity: .9;
    }

.hero-title {
    position: relative;
    margin: 0 0 10px;
    font-size: 44px;
    line-height: 1.15;
}

.hero-sub {
    position: relative;
    margin: 0 0 18px;
    color: var(--muted);
    font-weight: 650;
    line-height: 1.85;
}

.hero-actions {
    position: relative;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-side {
    border-radius: 26px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.12);
    padding: 22px;
}

.kpis {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 10px;
}

.kpi {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 14px;
    border-radius: 16px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.10);
}

    .kpi span {
        color: var(--muted);
        font-weight: 700;
    }

    .kpi b {
        font-size: 18px;
    }

/* ===== Section titles ===== */
.section {
    padding: 46px 0 0;
}

    .section h2 {
        margin: 0 0 12px;
        font-size: 28px;
    }

    .section p.lead {
        margin: 0 0 18px;
        color: var(--muted);
        font-weight: 650;
        line-height: 1.85;
    }

/* ===== Services grid (small cards) ===== */
.cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

@media (max-width: 1050px) {
    .cards {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 780px) {
    .cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 520px) {
    .cards {
        grid-template-columns: 1fr;
    }
}

.card {
    border-radius: 18px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.12);
    padding: 16px;
    position: relative;
    overflow: hidden;
    transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

    .card:hover {
        transform: translateY(-2px);
        border-color: rgba(51,198,255,.35);
        background: rgba(255,255,255,.08);
    }

    .card .tag {
        display: inline-flex;
        padding: 6px 10px;
        border-radius: 999px;
        font-weight: 800;
        font-size: 12px;
        color: rgba(255,255,255,.90);
        border: 1px solid rgba(255,255,255,.16);
        background: rgba(0,0,0,.18);
    }

    .card h3 {
        margin: 10px 0 8px;
        font-size: 16px;
    }

    .card p {
        margin: 0;
        color: var(--muted);
        font-weight: 650;
        line-height: 1.7;
    }

    .card .cta {
        margin-top: 12px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        color: rgba(255,255,255,.9);
        font-weight: 800;
    }

        .card .cta small {
            color: var(--muted2);
            font-weight: 700;
        }

/* ===== “Pricing” single big box (services showcase) ===== */
.pricing-big {
    border-radius: 26px;
    background: linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.06));
    border: 1px solid rgba(255,255,255,.14);
    box-shadow: var(--shadow);
    padding: 22px;
}

.pricing-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 12px;
}

    .pricing-head h3 {
        margin: 0;
        font-size: 20px;
    }

    .pricing-head p {
        margin: 0;
        color: var(--muted);
        font-weight: 650;
    }

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    margin-top: 14px;
}

@media (max-width: 1100px) {
    .pricing-grid {
        grid-template-columns: repeat(4,1fr);
    }
}

@media (max-width: 860px) {
    .pricing-grid {
        grid-template-columns: repeat(3,1fr);
    }
}

@media (max-width: 620px) {
    .pricing-grid {
        grid-template-columns: repeat(2,1fr);
    }
}

.mini {
    border-radius: 18px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.12);
    padding: 14px;
    min-height: 92px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

    .mini:hover {
        transform: translateY(-2px);
        border-color: rgba(51,198,255,.35);
        background: rgba(255,255,255,.08);
    }

    .mini b {
        font-size: 14px;
    }

    .mini span {
        color: var(--muted2);
        font-weight: 700;
        font-size: 12px;
    }

/* ===== Details page (Generic box) ===== */
.details-section {
    margin-top: 18px;
    border-radius: 26px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.12);
    padding: 22px;
    box-shadow: 0 14px 40px rgba(0,0,0,.30);
}

    .details-section h3 {
        margin: 0 0 8px;
    }

    .details-section p {
        margin: 0 0 12px;
        color: var(--muted);
        font-weight: 650;
        line-height: 1.85;
    }

.details-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* ===== Auth (Login/Register) ===== */
.auth-wrap {
    min-height: calc(100vh - 140px);
    display: grid;
    place-items: center;
    padding: 40px 0;
}

.auth-card {
    width: min(820px, 94vw);
    border-radius: 26px;
    background: linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.06));
    border: 1px solid rgba(255,255,255,.14);
    box-shadow: var(--shadow);
    padding: 22px;
    position: relative;
    overflow: hidden;
}

    .auth-card::before {
        content: "";
        position: absolute;
        inset: -2px;
        background: radial-gradient(520px 280px at 80% 10%, rgba(51,198,255,.22), transparent 60%), radial-gradient(380px 240px at 25% 90%, rgba(90,120,255,.18), transparent 60%);
        pointer-events: none;
        opacity: .9;
    }

.auth-head {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 10px;
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    font-weight: 900;
    font-size: 12px;
    border: 1px solid rgba(255,255,255,.16);
    background: rgba(0,0,0,.18);
}

.alert {
    position: relative;
    margin: 10px 0 14px;
    padding: 12px 14px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(255,255,255,.06);
    color: rgba(255,255,255,.92);
    font-weight: 800;
}

    .alert.bad {
        border-color: rgba(239,68,68,.45);
        background: rgba(239,68,68,.10);
    }

    .alert.ok {
        border-color: rgba(34,197,94,.45);
        background: rgba(34,197,94,.10);
    }

.form-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

@media (max-width: 760px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
}

.field label {
    display: block;
    margin: 0 0 7px;
    color: var(--muted);
    font-weight: 800;
}

.input, select.input {
    width: 100%;
    border-radius: 16px;
    padding: 12px 14px;
    border: 1px solid rgba(255,255,255,.16);
    background: rgba(0,0,0,.18);
    color: var(--text);
    outline: none;
}

    .input:focus {
        border-color: rgba(51,198,255,.45);
        box-shadow: 0 0 0 4px rgba(51,198,255,.12);
    }

.check {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--muted);
    font-weight: 800;
    margin-top: 8px;
}

    .check input {
        width: 18px;
        height: 18px;
        accent-color: #ff9f1c;
    }

.actions {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.link {
    color: rgba(51,198,255,.95);
    font-weight: 900;
}

    .link:hover {
        text-decoration: underline;
    }

/* ===== Wizard steps ===== */
.steps {
    position: relative;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 12px 0 14px;
}

.step-pill {
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.14);
    background: rgba(255,255,255,.06);
    color: rgba(255,255,255,.78);
    font-weight: 900;
    font-size: 13px;
}

    .step-pill.active {
        color: rgba(255,255,255,.95);
        border-color: rgba(51,198,255,.40);
        background: rgba(51,198,255,.12);
    }

.step-panel {
    display: none;
    position: relative;
}

    .step-panel.active {
        display: block;
    }

.pick-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

@media (max-width: 980px) {
    .pick-grid {
        grid-template-columns: repeat(3,1fr);
    }
}

@media (max-width: 700px) {
    .pick-grid {
        grid-template-columns: repeat(2,1fr);
    }
}

@media (max-width: 520px) {
    .pick-grid {
        grid-template-columns: 1fr;
    }
}

.pick {
    border-radius: 18px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.12);
    padding: 14px;
    cursor: pointer;
    transition: transform .18s ease, border-color .18s ease, background .18s ease;
    position: relative;
    min-height: 96px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

    .pick:hover {
        transform: translateY(-2px);
        border-color: rgba(51,198,255,.35);
        background: rgba(255,255,255,.08);
    }

    .pick b {
        font-size: 14px;
    }

    .pick small {
        color: var(--muted2);
        font-weight: 700;
    }

    /* ✅ hide checkbox visually (keep logic) */
    .pick input {
        position: absolute;
        inset: auto 12px 12px auto;
        width: 18px;
        height: 18px;
        opacity: 0;
        pointer-events: none;
    }

    /* ✅ selected state */
    .pick.selected {
        border-color: rgba(51,198,255,.55);
        background: rgba(51,198,255,.12);
    }

    /* ✅ Corner check mark */
    .pick::after {
        content: "✓";
        position: absolute;
        inset: 10px 10px auto auto;
        width: 26px;
        height: 26px;
        border-radius: 10px;
        display: grid;
        place-items: center;
        font-weight: 900;
        font-size: 14px;
        background: rgba(34,197,94,.18);
        border: 1px solid rgba(34,197,94,.35);
        color: rgba(255,255,255,.92);
        opacity: 0;
        transform: scale(.9);
        transition: .15s ease;
    }

    .pick.selected::after {
        opacity: 1;
        transform: scale(1);
    }

/* Selected list */
.selected-box {
    margin-top: 14px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(255,255,255,.05);
    padding: 12px 14px;
}

    .selected-box h4 {
        margin: 0 0 8px;
        font-size: 14px;
    }

.selected-list {
    margin: 0;
    padding: 0 18px 0 0;
    color: var(--muted);
    font-weight: 800;
    line-height: 1.9;
}

/* Loading overlay */
.overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.45);
    backdrop-filter: blur(8px);
    display: none;
    place-items: center;
    z-index: 2000;
}

    .overlay.show {
        display: grid;
    }

.overlay-card {
    width: min(520px, 92vw);
    border-radius: 22px;
    background: rgba(255,255,255,.10);
    border: 1px solid rgba(255,255,255,.18);
    box-shadow: var(--shadow);
    padding: 18px;
    text-align: center;
}

.spinner {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    border: 4px solid rgba(255,255,255,.22);
    border-top-color: rgba(51,198,255,.85);
    margin: 0 auto 12px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Scroll animation helper */
.reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity .6s ease, transform .6s ease;
}

    .reveal.show {
        opacity: 1;
        transform: translateY(0);
    }

/* ✅ Scoped form controls styling for Landing / Account pages only */
.public-page select,
.public-page input[type="text"],
.public-page input[type="email"],
.public-page input[type="password"],
.public-page input[type="tel"],
.public-page textarea {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.14);
    color: rgba(255,255,255,.92);
    border-radius: 12px;
    padding: 12px 14px;
    outline: none;
    transition: .15s ease;
}

    .public-page select:focus,
    .public-page input:focus,
    .public-page textarea:focus {
        border-color: rgba(51,198,255,.55);
        box-shadow: 0 0 0 4px rgba(51,198,255,.12);
    }

/* dropdown arrow + options readability */
.public-page select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, rgba(255,255,255,.8) 50%), linear-gradient(135deg, rgba(255,255,255,.8) 50%, transparent 50%);
    background-position: calc(100% - 18px) calc(50% - 2px), calc(100% - 12px) calc(50% - 2px);
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
    padding-right: 38px;
}

    .public-page select option {
        background: #0b1220;
        color: #fff;
    }

/* =========================
   Service Details (Pages/Details) - "service-details" layout
   (keep as-is)
   ========================= */
.service-details .sd-hero {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 22px;
    align-items: center;
    padding: 22px;
    border-radius: 22px;
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(255,255,255,.04);
}

.service-details .sd-breadcrumb {
    opacity: .75;
    font-size: 13px;
    margin-bottom: 10px;
}

.service-details .sd-title {
    font-size: 42px;
    line-height: 1.15;
    margin: 0 0 12px;
}

.service-details .sd-subtitle {
    opacity: .9;
    font-size: 16px;
    line-height: 1.8;
    margin: 0 0 16px;
}

.service-details .sd-cta-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.service-details .sd-hero-media {
    display: flex;
    justify-content: center;
}

.service-details .sd-mock {
    width: min(420px, 100%);
    border-radius: 22px;
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(0,0,0,.18);
    overflow: hidden;
}

.service-details .sd-mock-top {
    height: 38px;
    background: rgba(255,255,255,.06);
}

.service-details .sd-mock-body {
    padding: 16px;
}

.service-details .sd-mock-line {
    height: 10px;
    border-radius: 999px;
    background: rgba(255,255,255,.10);
    margin-bottom: 10px;
}

    .service-details .sd-mock-line.w80 {
        width: 80%;
    }

    .service-details .sd-mock-line.w60 {
        width: 60%;
    }

    .service-details .sd-mock-line.w90 {
        width: 90%;
    }

.service-details .sd-mock-card {
    height: 66px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(255,255,255,.04);
    margin-top: 12px;
}

.service-details .sd-wrap {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 18px;
    margin-top: 18px;
}

.service-details .sd-nav {
    position: sticky;
    top: 14px;
    align-self: start;
    padding: 14px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(255,255,255,.03);
    max-height: calc(100vh - 28px);
    overflow: auto;
}

.service-details .sd-nav-title {
    font-weight: 800;
    margin: 6px 0 10px;
    opacity: .95;
}

.service-details .sd-nav-empty {
    display: block;
    padding: 10px;
    opacity: .75;
    font-size: 13px;
}

.service-details .sd-nav-links {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

    .service-details .sd-nav-links a {
        text-decoration: none;
        padding: 10px 10px;
        border-radius: 12px;
        border: 1px solid transparent;
        color: rgba(255,255,255,.86);
        background: rgba(255,255,255,.02);
    }

        .service-details .sd-nav-links a:hover {
            border-color: rgba(51,198,255,.35);
            background: rgba(51,198,255,.10);
        }

        .service-details .sd-nav-links a.active {
            border-color: rgba(51,198,255,.55);
            background: rgba(51,198,255,.14);
            color: rgba(255,255,255,.95);
        }

.service-details .sd-nav-divider {
    height: 1px;
    background: rgba(255,255,255,.10);
    margin: 12px 0;
}

.service-details .sd-section {
    padding: 18px 18px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(255,255,255,.03);
    margin-bottom: 14px;
}

    .service-details .sd-section h2 {
        margin: 0 0 10px;
        font-size: 22px;
    }

    .service-details .sd-section p {
        margin: 0;
        line-height: 1.9;
        opacity: .92;
    }

.service-details .sd-body {
    line-height: 1.9;
    opacity: .92;
}

    .service-details .sd-body p {
        margin: 0 0 10px;
    }

@media (max-width: 980px) {
    .service-details .sd-hero {
        grid-template-columns: 1fr;
    }

    .service-details .sd-wrap {
        grid-template-columns: 1fr;
    }

    .service-details .sd-nav {
        position: relative;
        top: auto;
    }
}

/* =========================================================
   Legacy "details-wrap" styles
   ✅ Scoped to .details-wrap to avoid breaking other pages
   ========================================================= */
.details-wrap {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    direction: rtl;
}

.details-content {
    flex: 1;
    min-width: 0;
}

.details-wrap .details-hero {
    padding: 18px;
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 14px;
    margin-bottom: 18px;
    background: #fff;
}

    .details-wrap .details-hero h1 {
        margin: 0 0 6px 0;
        font-size: 28px;
        line-height: 1.2;
    }

    .details-wrap .details-hero p {
        margin: 0;
        opacity: .75;
    }

.details-wrap .details-section {
    padding: 18px;
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 14px;
    background: #fff;
    margin-bottom: 16px;
}

.details-wrap .details-section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

    .details-wrap .details-section-head h2 {
        margin: 0;
        font-size: 20px;
    }

    .details-wrap .details-section-head span {
        opacity: .6;
        font-size: 14px;
        white-space: nowrap;
    }

.details-wrap .details-section-desc {
    margin: 0 0 10px 0;
    opacity: .85;
}

.details-wrap .details-bullets {
    margin: 0;
    padding-right: 18px;
}

    .details-wrap .details-bullets li {
        margin: 6px 0;
    }

.details-sidebar {
    width: 280px;
    position: sticky;
    top: 90px;
}

.details-sidebar-card {
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 14px;
    background: #fff;
    padding: 14px;
}

.details-sidebar-title {
    font-weight: 700;
    margin-bottom: 10px;
}

.details-sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.quick-link {
    display: block;
    padding: 10px 10px;
    border-radius: 10px;
    text-decoration: none;
    border: 1px solid rgba(0,0,0,.06);
    color: inherit;
    opacity: .9;
}

    .quick-link:hover {
        opacity: 1;
    }

    .quick-link.active {
        opacity: 1;
        border-color: rgba(0,0,0,.16);
        font-weight: 700;
    }

@media (max-width: 992px) {
    .details-wrap {
        flex-direction: column;
    }

    .details-sidebar {
        width: 100%;
        position: static;
    }
}

/* =========================================================
   Stats + Partners Section (Index only)
   ✅ Safe: uses only .bf-proof*
   ========================================================= */
.bf-proof {
    margin: 22px 0;
}

.bf-proof-inner {
    border-radius: 18px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.10);
    box-shadow: 0 18px 45px rgba(0,0,0,.15);
    padding: 18px;
    backdrop-filter: blur(8px);
}

.bf-proof-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 12px;
}

    .bf-proof-head h2 {
        margin: 0;
        font-weight: 900;
        font-size: 22px;
        color: #fff;
    }

    .bf-proof-head p {
        margin: 0;
        opacity: .85;
        color: #fff;
        font-size: 13px;
    }

/* Counters */
.bf-counters {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 12px;
    margin-top: 12px;
}

.bf-counter {
    border-radius: 16px;
    background: rgba(0,0,0,.20);
    border: 1px solid rgba(255,255,255,.10);
    padding: 14px;
    text-align: right;
}

.bf-counter-num {
    font-size: 28px;
    font-weight: 900;
    color: #fff;
    line-height: 1.1;
}

.bf-counter-label {
    margin-top: 6px;
    color: rgba(255,255,255,.82);
    font-size: 13px;
}

/* Partners */
.bf-partners {
    margin-top: 14px;
    border-top: 1px solid rgba(255,255,255,.10);
    padding-top: 14px;
}

.bf-partners-title {
    font-weight: 900;
    color: #fff;
    margin-bottom: 10px;
}

.bf-partners-hint {
    margin-top: 8px;
    color: rgba(255,255,255,.65);
    font-size: 12px;
}

/* Marquee slider */
.bf-marquee {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(0,0,0,.18);
    padding: 12px 0;
}

.bf-track {
    display: flex;
    gap: 18px;
    align-items: center;
    width: max-content;
    animation: bf-scroll 22s linear infinite;
}

.bf-logo {
    height: 44px;
    width: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.08);
    padding: 8px 10px;
}

    .bf-logo img {
        max-height: 28px;
        max-width: 120px;
        width: auto;
        height: auto;
        filter: grayscale(100%);
        opacity: .92;
    }

        .bf-logo img:hover {
            filter: none;
            opacity: 1;
        }

@keyframes bf-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@media (max-width: 992px) {
    .bf-proof-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .bf-counters {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   Daftra-like Details Page (df-page)
   ✅ This is your "marketing Details" look
   ✅ Fully scoped, DOES NOT affect other pages
   ========================================================= */

.df-page {
    direction: rtl;
    display: flex;
    gap: 22px;
    align-items: flex-start;
    margin-top: 14px;
    background: #f6f7fb;
    padding: 18px 0;
}

.df-side {
    width: 280px;
    position: sticky;
    top: 90px;
}

.df-sideCard {
    background: #fff;
    border: 1px solid rgba(17,17,17,.10);
    border-radius: 16px;
    padding: 14px;
    box-shadow: 0 14px 40px rgba(0,0,0,.06);
}

.df-sideTitle {
    font-weight: 800;
    margin-bottom: 10px;
    font-size: 14px;
    opacity: .85;
    color: #111;
}

.df-sideNav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.df-sideLink {
    text-decoration: none;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid rgba(17,17,17,.08);
    background: #f3f4f7;
    color: #111;
    opacity: .95;
    transition: .15s ease;
}

    .df-sideLink:hover {
        background: #fff;
        border-color: rgba(17,17,17,.14);
        transform: translateY(-1px);
    }

    .df-sideLink.active {
        background: #111;
        color: #fff;
        border-color: #111;
        font-weight: 900;
    }

.df-main {
    flex: 1;
    min-width: 0;
}

.df-hero {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 18px;
    align-items: center;
    padding: 18px;
    background: #fff;
    border: 1px solid rgba(17,17,17,.10);
    border-radius: 18px;
    box-shadow: 0 14px 40px rgba(0,0,0,.06);
}

.df-badge {
    display: inline-flex;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(17,17,17,.10);
    background: rgba(0,0,0,.03);
    font-weight: 800;
    font-size: 13px;
    margin-bottom: 12px;
    color: #111;
}

.df-title {
    margin: 0 0 10px 0;
    font-size: 30px;
    line-height: 1.2;
    font-weight: 900;
    color: #111;
}

.df-sub {
    margin: 0 0 14px 0;
    opacity: .78;
    line-height: 1.8;
    color: rgba(17,17,17,.72);
}

.df-heroBtns {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

/* Buttons – SaaS Style (Details Only) */
.df-page .df-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 12px;
    text-decoration: none;
    border: 1px solid rgba(17,17,17,.12);
    transition: .15s ease;
    font-weight: 900;
}

.df-page .df-btnPrimary {
    background: linear-gradient(135deg, #2563eb, #1e40af);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 8px 20px rgba(37,99,235,.25);
}

    .df-page .df-btnPrimary:hover {
        transform: translateY(-1px);
        box-shadow: 0 12px 26px rgba(37,99,235,.35);
    }

.df-page .df-btnGhost {
    background: #fff;
    border: 1px solid #dbe3ff;
    color: #1e40af;
}

    .df-page .df-btnGhost:hover {
        background: #f5f7ff;
        border-color: #c7d2fe;
        transform: translateY(-1px);
    }

.df-highlights {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 6px;
}

.df-hi {
    display: flex;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 14px;
    border: 1px solid rgba(17,17,17,.08);
    background: #f7f8fb;
}

.df-hiIcon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e8f7ef;
    border: 1px solid #bfe9d6;
    flex: 0 0 auto;
    font-size: 0; /* hide any old text */
}

    .df-hiIcon::before {
        content: "✓";
        font-size: 16px;
        font-weight: 900;
        color: #1f7a55;
    }

.df-hiTitle {
    font-weight: 900;
    margin-bottom: 2px;
    color: #111;
}

.df-hiText {
    opacity: .78;
    font-size: 13px;
    line-height: 1.5;
    color: rgba(17,17,17,.72);
}

.df-heroMedia .df-mediaFrame,
.df-altMedia .df-mediaFrame {
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(17,17,17,.10);
    background: #fff;
    box-shadow: 0 16px 40px rgba(0,0,0,.06);
}

.df-mediaFrame img {
    width: 100%;
    height: auto;
    display: block;
}

/* Hero image size + subtle float (Details only) */
.df-page .df-heroMedia img {
    max-width: 85%;
    height: auto;
    display: block;
    margin: 0 auto;
    animation: dfFloat 6s ease-in-out infinite;
    will-change: transform;
}

@keyframes dfFloat {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }

    100% {
        transform: translateY(0);
    }
}

.df-mediaHint {
    margin-top: 8px;
    font-size: 12px;
    opacity: .6;
    text-align: center;
    color: rgba(17,17,17,.65);
}

.df-section {
    margin-top: 18px;
    padding: 18px;
    background: #fff;
    border: 1px solid rgba(17,17,17,.10);
    border-radius: 18px;
    box-shadow: 0 14px 40px rgba(0,0,0,.06);
}

.df-sectionHead h2 {
    margin: 0 0 8px 0;
    font-weight: 900;
    font-size: 22px;
    color: #111;
}

.df-sectionHead p {
    margin: 0 0 14px 0;
    opacity: .78;
    line-height: 1.8;
    color: rgba(17,17,17,.72);
}

.df-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.df-card {
    padding: 14px;
    border-radius: 16px;
    border: 1px solid rgba(17,17,17,.08);
    background: #f7f8fb;
    transition: .15s ease;
}

    .df-card:hover {
        transform: translateY(-2px);
        background: #fff;
        border-color: rgba(17,17,17,.14);
    }

.df-cardTitle {
    font-weight: 900;
    margin-bottom: 6px;
    color: #111;
}

.df-cardText {
    opacity: .78;
    line-height: 1.7;
    font-size: 13px;
    color: rgba(17,17,17,.72);
}

.df-alt {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    align-items: center;
    padding: 14px;
    border-radius: 18px;
    border: 1px solid rgba(17,17,17,.08);
    background: #f7f8fb;
    margin-top: 12px;
}

.df-altText h3 {
    margin: 0 0 8px 0;
    font-weight: 900;
    color: #111;
}

.df-altText p {
    margin: 0 0 10px 0;
    opacity: .8;
    line-height: 1.8;
    color: rgba(17,17,17,.72);
}

.df-altText ul {
    margin: 0;
    padding-right: 18px;
    opacity: .9;
    color: rgba(17,17,17,.78);
}

.df-altText li {
    margin: 6px 0;
}

.df-steps {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.df-step {
    display: flex;
    gap: 12px;
    padding: 14px;
    border-radius: 18px;
    border: 1px solid rgba(17,17,17,.08);
    background: #f7f8fb;
}

.df-stepNo {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e8f7ef;
    border: 1px solid #bfe9d6;
    color: #1f7a55;
    font-weight: 900;
    flex: 0 0 auto;
}

.df-stepTitle {
    font-weight: 900;
    margin-bottom: 4px;
    color: #111;
}

.df-stepText {
    opacity: .78;
    line-height: 1.7;
    font-size: 13px;
    color: rgba(17,17,17,.72);
}

.df-shots {
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 10px;
}

.df-shot {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(17,17,17,.10);
    background: #fff;
}

    .df-shot img {
        width: 100%;
        height: auto;
        display: block;
    }

.df-faq {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.df-faqItem {
    border: 1px solid rgba(17,17,17,.08);
    border-radius: 16px;
    padding: 12px 14px;
    background: #f7f8fb;
}

    .df-faqItem summary {
        cursor: pointer;
        font-weight: 900;
        color: #111;
    }

.df-faqBody {
    margin-top: 10px;
    opacity: .78;
    line-height: 1.8;
    color: rgba(17,17,17,.72);
}

.df-cta {
    margin: 18px 0 8px;
    padding: 18px;
    border-radius: 18px;
    border: 1px solid rgba(17,17,17,.10);
    background: #111;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

    .df-cta h2 {
        margin: 0 0 6px 0;
        font-weight: 900;
        color: #fff;
    }

    .df-cta p {
        margin: 0;
        opacity: .85;
        color: #fff;
    }

.df-ctaBtns {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.df-cta .df-btnGhost {
    color: #fff;
    border-color: rgba(255,255,255,.25);
    background: transparent;
}

    .df-cta .df-btnGhost:hover {
        border-color: rgba(255,255,255,.45);
    }

@media (max-width: 1100px) {
    .df-grid {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }

    .df-shots {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }
}

@media (max-width: 992px) {
    .df-page {
        flex-direction: column;
    }

    .df-side {
        width: 100%;
        position: static;
    }

    .df-hero {
        grid-template-columns: 1fr;
    }

    .df-alt {
        grid-template-columns: 1fr;
    }

    .df-steps {
        grid-template-columns: 1fr;
    }
}
.bf-marquee:hover .bf-track {
    animation-play-state: paused;
}
/* Fix width of numbers section only */
#proof {
    max-width: 1200px; /* نفس عرض باقي الأقسام */
    margin: 0 auto 18px auto;
}
#finishBtn.disabled,
#finishBtn:disabled {
    opacity: .55;
    cursor: not-allowed;
}
/* =========================================================
   PRICING PAGE – Prestige Dark SaaS (Scoped)
   Add at END of public.css
========================================================= */

.bf-pricing {
    direction: rtl;
    padding: 18px 0 26px;
}

    .bf-pricing a {
        text-decoration: none;
    }

.bf-pricing-hero {
    max-width: 1200px;
    margin: 0 auto 16px;
    padding: 0 14px;
}

.bf-pricing-heroInner {
    border-radius: 22px;
    padding: 20px;
    border: 1px solid rgba(255,255,255,.10);
    background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(0,0,0,.12));
    box-shadow: 0 18px 55px rgba(0,0,0,.22);
    backdrop-filter: blur(10px);
}

.bf-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.14);
    background: rgba(0,0,0,.20);
    color: rgba(255,255,255,.92);
    font-weight: 800;
    font-size: 12.5px;
}

.bf-pricing-title {
    margin: 12px 0 8px;
    color: #fff;
    font-weight: 950;
    font-size: 32px;
    letter-spacing: .2px;
}

.bf-pricing-sub {
    margin: 0 0 14px;
    color: rgba(255,255,255,.82);
    line-height: 1.9;
    max-width: 800px;
}

.bf-note {
    margin-top: 10px;
    color: rgba(255,255,255,.65);
    font-size: 12px;
}

/* Toggle */
.bf-toggleWrap {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.bf-toggle {
    border-radius: 14px;
    padding: 10px 14px;
    border: 1px solid rgba(255,255,255,.16);
    background: rgba(0,0,0,.18);
    color: rgba(255,255,255,.88);
    font-weight: 900;
    cursor: pointer;
    transition: .15s ease;
}

    .bf-toggle:hover {
        transform: translateY(-1px);
    }

    .bf-toggle.is-active {
        background: linear-gradient(135deg, #2d6cff, #1d3ea8);
        border-color: transparent;
        box-shadow: 0 12px 30px rgba(45,108,255,.25);
        color: #fff;
    }

.bf-badge {
    margin-inline-start: 8px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,.14);
    border: 1px solid rgba(255,255,255,.18);
    font-size: 12px;
}

/* Plans grid */
.bf-plans {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 14px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 14px;
}

.bf-plan {
    border-radius: 22px;
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(0,0,0,.18);
    box-shadow: 0 18px 55px rgba(0,0,0,.20);
    overflow: hidden;
    position: relative;
}

.bf-planTop {
    padding: 18px;
    background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(0,0,0,.12));
}

.bf-planName {
    color: #fff;
    font-weight: 950;
    font-size: 18px;
}

.bf-planDesc {
    margin-top: 6px;
    color: rgba(255,255,255,.78);
    font-size: 13px;
    line-height: 1.7;
}

.bf-price {
    margin-top: 14px;
    display: flex;
    align-items: baseline;
    gap: 8px;
    color: #fff;
}

.bf-priceNum {
    font-weight: 980;
    font-size: 34px;
    letter-spacing: .3px;
}

.bf-priceCur {
    opacity: .9;
    font-weight: 900;
}

.bf-pricePer {
    color: rgba(255,255,255,.72);
    font-size: 13px;
    margin-inline-start: 6px;
}

.bf-priceCustom .bf-priceNum {
    font-size: 22px;
}

.bf-priceCustom .bf-pricePer {
    margin: 0;
    opacity: .85;
}

.bf-planMeta {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

    .bf-planMeta span {
        padding: 6px 10px;
        border-radius: 999px;
        border: 1px solid rgba(255,255,255,.12);
        background: rgba(0,0,0,.14);
        color: rgba(255,255,255,.85);
        font-size: 12px;
        font-weight: 800;
    }

/* Buttons */
.bf-planBtn {
    margin-top: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 14px;
    border-radius: 14px;
    font-weight: 950;
    border: 1px solid rgba(255,255,255,.14);
    transition: .15s ease;
    width: 100%;
}

.bf-btnPrimary {
    background: linear-gradient(135deg, #2d6cff, #1d3ea8);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 14px 34px rgba(45,108,255,.24);
}

    .bf-btnPrimary:hover {
        transform: translateY(-1px);
        opacity: .98;
    }

.bf-btnGhost {
    background: rgba(255,255,255,.08);
    color: #fff;
}

    .bf-btnGhost:hover {
        transform: translateY(-1px);
        background: rgba(255,255,255,.11);
    }

.bf-planLink {
    display: block;
    text-align: center;
    margin-top: 10px;
    color: rgba(255,255,255,.75);
    font-weight: 800;
    font-size: 13px;
}

    .bf-planLink:hover {
        color: #fff;
    }

/* Features list */
.bf-features {
    list-style: none;
    margin: 0;
    padding: 16px 18px 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

    .bf-features li {
        display: flex;
        gap: 10px;
        align-items: flex-start;
        color: rgba(255,255,255,.84);
        font-size: 13px;
        line-height: 1.7;
        padding: 10px 12px;
        border-radius: 16px;
        border: 1px solid rgba(255,255,255,.08);
        background: rgba(0,0,0,.12);
    }

        .bf-features li::before {
            content: "✓";
            width: 26px;
            height: 26px;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: rgba(70, 220, 140, .15);
            border: 1px solid rgba(70, 220, 140, .25);
            color: rgba(180,255,220,.95);
            font-weight: 900;
            flex: 0 0 auto;
            margin-top: 1px;
        }

/* Featured plan */
.bf-planFeatured {
    border-color: rgba(45,108,255,.35);
    box-shadow: 0 24px 70px rgba(45,108,255,.14), 0 18px 55px rgba(0,0,0,.22);
}

.bf-planRibbon {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(45,108,255,.20);
    border: 1px solid rgba(45,108,255,.35);
    color: #fff;
    font-weight: 950;
    font-size: 12px;
}

/* Sections */
.bf-compare, .bf-faq, .bf-finalCta {
    max-width: 1200px;
    margin: 16px auto 0;
    padding: 0 14px;
}

.bf-sectionHead {
    margin: 10px 0 12px;
}

    .bf-sectionHead h2 {
        margin: 0 0 6px;
        color: #fff;
        font-weight: 950;
        font-size: 20px;
    }

    .bf-sectionHead p {
        margin: 0;
        color: rgba(255,255,255,.78);
        line-height: 1.8;
    }

/* Comparison table-like grid */
.bf-compareGrid {
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(0,0,0,.16);
}

.bf-compareRow {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
}

.bf-compareCell {
    padding: 12px 12px;
    border-bottom: 1px solid rgba(255,255,255,.08);
    border-left: 1px solid rgba(255,255,255,.08);
    color: rgba(255,255,255,.85);
    font-weight: 800;
    font-size: 13px;
}

.bf-compareRow:last-child .bf-compareCell {
    border-bottom: none;
}

.bf-compareCell:last-child {
    border-left: none;
}

.bf-compareHeader .bf-compareCell {
    background: rgba(255,255,255,.06);
    color: #fff;
    font-weight: 950;
}

.bf-compareFeature {
    color: #fff;
}

.bf-check {
    color: rgba(180,255,220,.95);
}

.bf-x {
    color: rgba(255,255,255,.45);
}

/* FAQ */
.bf-faqGrid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 12px;
}

.bf-faqItem {
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(0,0,0,.16);
    padding: 12px 14px;
}

    .bf-faqItem summary {
        cursor: pointer;
        color: #fff;
        font-weight: 950;
    }

.bf-faqBody {
    margin-top: 10px;
    color: rgba(255,255,255,.78);
    line-height: 1.8;
    font-size: 13px;
}

/* Final CTA */
.bf-finalCta {
    border-radius: 22px;
    border: 1px solid rgba(255,255,255,.10);
    background: linear-gradient(135deg, rgba(45,108,255,.20), rgba(0,0,0,.22));
    box-shadow: 0 18px 55px rgba(0,0,0,.22);
    padding: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

    .bf-finalCta h2 {
        margin: 0 0 6px;
        color: #fff;
        font-weight: 950;
    }

    .bf-finalCta p {
        margin: 0;
        color: rgba(255,255,255,.78);
    }

.bf-finalBtns {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

    .bf-finalBtns a {
        padding: 11px 14px;
        border-radius: 14px;
        font-weight: 950;
        border: 1px solid rgba(255,255,255,.14);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 160px;
    }

/* Responsive */
@media (max-width: 1100px) {
    .bf-plans {
        grid-template-columns: 1fr;
    }

    .bf-faqGrid {
        grid-template-columns: 1fr;
    }

    .bf-compareRow {
        grid-template-columns: 1.4fr 1fr 1fr 1fr;
    }

    .bf-finalCta {
        flex-direction: column;
        align-items: flex-start;
    }

    .bf-finalBtns a {
        width: 100%;
        min-width: 0;
    }
}
/* =========================================================
   Modular Pricing + Cart (Prestige)
   Scoped to .bf-modular
========================================================= */

.bf-modular {
    direction: rtl;
    padding: 18px 0 26px;
}

    .bf-modular * {
        box-sizing: border-box;
    }

.bf-mod-hero {
    max-width: 1200px;
    margin: 0 auto 14px;
    padding: 0 14px;
}

.bf-mod-heroInner {
    border-radius: 22px;
    padding: 20px;
    border: 1px solid rgba(255,255,255,.10);
    background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(0,0,0,.12));
    box-shadow: 0 18px 55px rgba(0,0,0,.22);
    backdrop-filter: blur(10px);
}

.bf-mod-pill {
    display: inline-flex;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.14);
    background: rgba(0,0,0,.20);
    color: rgba(255,255,255,.92);
    font-weight: 900;
    font-size: 12.5px;
}

.bf-mod-title {
    margin: 12px 0 8px;
    color: #fff;
    font-weight: 980;
    font-size: 32px;
}

.bf-mod-sub {
    margin: 0 0 12px;
    color: rgba(255,255,255,.82);
    line-height: 1.9;
    max-width: 820px;
}

.bf-mod-bullets {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.bf-mod-bullet {
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(0,0,0,.16);
    color: rgba(255,255,255,.86);
    font-weight: 900;
    font-size: 12.5px;
}

.bf-mod-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 14px;
    display: grid;
    grid-template-columns: 1.55fr .85fr;
    gap: 14px;
    align-items: start;
}

.bf-mod-services {
    min-width: 0;
}

.bf-mod-head {
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(0,0,0,.16);
    padding: 14px;
    box-shadow: 0 14px 40px rgba(0,0,0,.20);
}

    .bf-mod-head h2 {
        margin: 0 0 6px;
        color: #fff;
        font-weight: 950;
        font-size: 18px;
    }

    .bf-mod-head p {
        margin: 0;
        color: rgba(255,255,255,.78);
        line-height: 1.8;
        font-size: 13px;
    }

.bf-mod-cards {
    margin-top: 12px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 12px;
}

.bf-svc {
    border-radius: 22px;
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(0,0,0,.18);
    box-shadow: 0 18px 55px rgba(0,0,0,.18);
    overflow: hidden;
    padding: 14px;
    transition: .15s ease;
}

    .bf-svc:hover {
        transform: translateY(-2px);
        border-color: rgba(45,108,255,.26);
    }

.bf-svc-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.bf-svc-title {
    color: #fff;
    font-weight: 980;
    font-size: 16px;
}

.bf-svc-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    color: #fff;
    white-space: nowrap;
}

.bf-svc-num {
    font-weight: 980;
    font-size: 22px;
}

.bf-svc-cur {
    opacity: .9;
    font-weight: 900;
}

.bf-svc-per {
    opacity: .7;
    font-size: 12px;
}

.bf-svc-desc {
    margin-top: 10px;
    color: rgba(255,255,255,.78);
    line-height: 1.8;
    font-size: 13px;
    min-height: 46px;
}

.bf-svc-actions {
    margin-top: 12px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.bf-btn {
    border-radius: 14px;
    padding: 10px 12px;
    font-weight: 980;
    border: 1px solid rgba(255,255,255,.14);
    cursor: pointer;
    transition: .15s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 140px;
}

.bf-btnPrimary {
    background: linear-gradient(135deg, #2d6cff, #1d3ea8);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 14px 34px rgba(45,108,255,.20);
}

    .bf-btnPrimary:hover {
        transform: translateY(-1px);
        opacity: .98;
    }

    .bf-btnPrimary.is-added {
        background: rgba(70,220,140,.16);
        border: 1px solid rgba(70,220,140,.28);
        box-shadow: none;
    }

.bf-btnGhost {
    background: rgba(255,255,255,.08);
    color: #fff;
}

    .bf-btnGhost:hover {
        transform: translateY(-1px);
        background: rgba(255,255,255,.11);
    }

/* Cart */
.bf-mod-cart {
    position: sticky;
    top: 90px;
}

.bf-cart-card {
    border-radius: 22px;
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(0,0,0,.20);
    box-shadow: 0 18px 55px rgba(0,0,0,.22);
    overflow: hidden;
    padding: 14px;
}

.bf-cart-title {
    color: #fff;
    font-weight: 980;
    font-size: 18px;
    margin-bottom: 4px;
}

.bf-cart-sub {
    color: rgba(255,255,255,.76);
    font-size: 13px;
    margin-bottom: 10px;
    line-height: 1.7;
}

.bf-cart-items {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bf-cart-empty {
    padding: 14px;
    border-radius: 18px;
    border: 1px dashed rgba(255,255,255,.14);
    background: rgba(0,0,0,.12);
    color: rgba(255,255,255,.75);
    font-weight: 900;
    font-size: 13px;
}

.bf-cart-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    padding: 12px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(0,0,0,.12);
}

.bf-cart-rowTitle {
    color: #fff;
    font-weight: 980;
    font-size: 13.5px;
}

.bf-cart-rowMeta {
    margin-top: 6px;
    color: rgba(255,255,255,.70);
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.bf-dot {
    opacity: .7;
}

.bf-cart-rowActions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.bf-mini {
    width: 32px;
    height: 32px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,.14);
    background: rgba(255,255,255,.06);
    color: #fff;
    font-weight: 980;
    cursor: pointer;
}

    .bf-mini:hover {
        background: rgba(255,255,255,.10);
    }

.bf-qty {
    min-width: 22px;
    text-align: center;
    color: #fff;
    font-weight: 980;
}

.bf-remove {
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,.14);
    background: rgba(255,255,255,.06);
    color: rgba(255,255,255,.90);
    padding: 7px 10px;
    font-weight: 980;
    cursor: pointer;
}

    .bf-remove:hover {
        background: rgba(255,255,255,.10);
    }

.bf-cart-total {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(255,255,255,.10);
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: rgba(255,255,255,.85);
    font-weight: 950;
}

.bf-cart-sum {
    color: #fff;
    font-size: 18px;
}

.bf-cart-cta {
    width: 100%;
    margin-top: 12px;
}

.bf-cart-note {
    margin-top: 10px;
    color: rgba(255,255,255,.65);
    font-size: 12px;
    line-height: 1.7;
}

/* Responsive */
@media (max-width: 1100px) {
    .bf-mod-grid {
        grid-template-columns: 1fr;
    }

    .bf-mod-cart {
        position: static;
    }

    .bf-mod-cards {
        grid-template-columns: 1fr;
    }

    .bf-btn {
        width: 100%;
        min-width: 0;
    }
}
/* Add-ons for selects/notes in Modular Pricing */
.bf-svcSelect .bf-svc-selectRow {
    margin-top: 10px;
}

.bf-select {
    width: 100%;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,.14);
    background: rgba(0,0,0,.18);
    color: #fff;
    padding: 10px 12px;
    font-weight: 900;
    outline: none;
}

    .bf-select option {
        background: #0b0f1c;
        color: #fff;
    }

.bf-bonusNote {
    margin-top: 10px;
    padding: 10px 12px;
    border-radius: 16px;
    border: 1px solid rgba(70,220,140,.20);
    background: rgba(70,220,140,.10);
    color: rgba(220,255,240,.95);
    font-weight: 950;
    font-size: 12.5px;
    line-height: 1.6;
}

.bf-cart-hint {
    margin-top: 10px;
    padding: 10px 12px;
    border-radius: 16px;
    border: 1px solid rgba(70,220,140,.20);
    background: rgba(70,220,140,.10);
    color: rgba(220,255,240,.95);
    font-weight: 950;
    font-size: 12.5px;
    line-height: 1.6;
}

.bf-freeTag {
    padding: 7px 10px;
    border-radius: 12px;
    border: 1px solid rgba(70,220,140,.22);
    background: rgba(70,220,140,.12);
    color: rgba(220,255,240,.98);
    font-weight: 980;
}

.bf-one {
    padding: 7px 10px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(255,255,255,.06);
    color: rgba(255,255,255,.92);
    font-weight: 980;
}
/* ===== Cart FREE line prestige look (Pricing only) ===== */
.bf-modular .bf-cart-row.is-free {
    border-color: rgba(70,220,140,.22) !important;
    background: rgba(70,220,140,.10) !important;
}

.bf-modular .bf-freeTag {
    padding: 7px 10px;
    border-radius: 12px;
    border: 1px solid rgba(70,220,140,.22);
    background: rgba(70,220,140,.12);
    color: rgba(220,255,240,.98);
    font-weight: 980;
    letter-spacing: .4px;
}