/* ============================================================
   BizPilot – Main Stylesheet
   RTL / Hebrew / Bootstrap 5 RTL base
   ============================================================ */

/* --- Root variables ---------------------------------------- */
:root {
    --bp-primary:       #1a56ff;
    --bp-primary-dark:  #1240d6;
    --bp-primary-light: #e8edff;
    --bp-secondary:     #6c757d;
    --bp-success:       #17b26a;
    --bp-warning:       #f79009;
    --bp-danger:        #f04438;
    --bp-purple:        #7c3aed;
    --bp-teal:          #0891b2;
    --bp-indigo:        #4f46e5;

    --bp-bg:            #ffffff;
    --bp-bg-soft:       #f8f9fc;
    --bp-bg-light:      #f1f3f9;
    --bp-border:        #e5e7eb;

    --bp-text:          #111827;
    --bp-text-muted:    #6b7280;
    --bp-text-light:    #9ca3af;

    --bp-radius:        12px;
    --bp-radius-sm:     8px;
    --bp-radius-lg:     20px;
    --bp-shadow:        0 4px 24px rgba(0,0,0,.07);
    --bp-shadow-lg:     0 8px 48px rgba(0,0,0,.12);

    --bp-font:          'Heebo', sans-serif;
}

/* --- Base --------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
    font-family: var(--bp-font);
    font-size: 1rem;
    color: var(--bp-text);
    background: var(--bp-bg);
    direction: rtl;
    -webkit-font-smoothing: antialiased;
}

.py-section   { padding-top: 80px; padding-bottom: 80px; }
.mb-section   { margin-bottom: 80px; }

/* Reusable section labels */
.bp-section-badge {
    display: inline-block;
    background: var(--bp-primary-light);
    color: var(--bp-primary);
    font-size: .8rem;
    font-weight: 600;
    padding: 4px 14px;
    border-radius: 100px;
    letter-spacing: .02em;
}

.bp-section-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--bp-text);
    line-height: 1.2;
}

.bp-section-subtitle {
    font-size: 1.05rem;
    color: var(--bp-text-muted);
    line-height: 1.7;
}

/* ============================================================
   HEADER
   ============================================================ */
.bp-header {
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--bp-border);
    z-index: 1000;
}

.bp-header .navbar { padding: 12px 0; }

.bp-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.bp-logo-icon {
    width: 36px; height: 36px;
    background: var(--bp-primary);
    border-radius: 9px;
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    font-size: 1.1rem;
}

.bp-logo-text {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--bp-text);
    letter-spacing: -.5px;
}

.bp-header .nav-link {
    font-size: .92rem;
    font-weight: 500;
    color: var(--bp-text-muted);
    padding: 6px 14px !important;
    border-radius: var(--bp-radius-sm);
    transition: color .2s, background .2s;
}

.bp-header .nav-link:hover,
.bp-header .nav-link.active {
    color: var(--bp-primary);
    background: var(--bp-primary-light);
}

.bp-btn-login {
    font-size: .88rem;
    font-weight: 600;
    border-radius: var(--bp-radius-sm);
    padding: 7px 18px;
}

.bp-btn-signup {
    font-size: .88rem;
    font-weight: 600;
    border-radius: var(--bp-radius-sm);
    padding: 7px 18px;
    background: var(--bp-primary);
    border-color: var(--bp-primary);
}

.bp-btn-signup:hover {
    background: var(--bp-primary-dark);
    border-color: var(--bp-primary-dark);
}

/* ============================================================
   HERO
   ============================================================ */
.bp-hero {
    background: linear-gradient(135deg, #0d1a3e 0%, #1a3a7a 50%, #1a56ff 100%);
    padding: 100px 0 0;
    position: relative;
    overflow: hidden;
    color: #fff;
}

.bp-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 50%, rgba(26,86,255,.25) 0%, transparent 60%);
    pointer-events: none;
}

.bp-hero-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.2);
    color: #fff;
    font-size: .82rem;
    font-weight: 600;
    padding: 5px 14px;
    border-radius: 100px;
    backdrop-filter: blur(6px);
}

.bp-hero-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    line-height: 1.15;
    color: #fff;
    margin-bottom: 1rem;
}

.bp-hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255,255,255,.8);
    line-height: 1.7;
}

.bp-hero-trial {
    font-size: .95rem;
    color: rgba(255,255,255,.75);
}

.bp-btn-hero-primary {
    background: #fff;
    color: var(--bp-primary);
    border: none;
    font-weight: 700;
    border-radius: var(--bp-radius-sm);
    padding: 13px 28px;
    box-shadow: 0 4px 16px rgba(0,0,0,.15);
    transition: transform .2s, box-shadow .2s;
}

.bp-btn-hero-primary:hover {
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,.2);
    color: var(--bp-primary-dark);
}

.bp-btn-hero-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,.4);
    font-weight: 600;
    border-radius: var(--bp-radius-sm);
    padding: 12px 28px;
    transition: border-color .2s, background .2s;
}

.bp-btn-hero-secondary:hover {
    border-color: #fff;
    background: rgba(255,255,255,.1);
    color: #fff;
}

/* Stats */
.bp-hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.bp-stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
}

.bp-stat-label {
    display: block;
    font-size: .8rem;
    color: rgba(255,255,255,.65);
}

.bp-stat-divider {
    width: 1px; height: 36px;
    background: rgba(255,255,255,.2);
}

/* Dashboard Mockup */
.bp-hero-visual {
    position: relative;
    padding: 20px 0 40px;
}

.bp-dashboard-mockup {
    background: #fff;
    border-radius: var(--bp-radius-lg);
    box-shadow: var(--bp-shadow-lg);
    overflow: hidden;
}

.bp-mockup-topbar {
    background: #f1f3f9;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.bp-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    display: inline-block;
}
.bp-dot-red    { background: #ff5f57; }
.bp-dot-yellow { background: #febc2e; }
.bp-dot-green  { background: #28c840; }

.bp-mockup-title {
    font-size: .75rem;
    color: var(--bp-text-muted);
    margin-right: 8px;
    font-weight: 500;
}

.bp-mockup-body { padding: 16px; }

.bp-mockup-card {
    border-radius: var(--bp-radius-sm);
    padding: 14px;
    color: #fff;
}

.bp-mockup-card--blue   { background: linear-gradient(135deg, #1a56ff, #4478ff); }
.bp-mockup-card--green  { background: linear-gradient(135deg, #17b26a, #3fd89a); }
.bp-mockup-card--orange { background: linear-gradient(135deg, #f79009, #fbb544); }
.bp-mockup-card--purple { background: linear-gradient(135deg, #7c3aed, #a673f0); }

.bp-mockup-card-icon { font-size: 1.2rem; margin-bottom: 4px; opacity: .85; }
.bp-mockup-card-label { font-size: .7rem; opacity: .8; }
.bp-mockup-card-value { font-size: 1.1rem; font-weight: 700; margin-top: 2px; }

.bp-mockup-chart { background: var(--bp-bg-soft); border-radius: var(--bp-radius-sm); padding: 12px; }
.bp-chart-label { font-size: .72rem; color: var(--bp-text-muted); margin-bottom: 8px; }
.bp-chart-bars { display: flex; align-items: flex-end; gap: 6px; height: 60px; }
.bp-bar {
    flex: 1;
    background: #c7d6ff;
    border-radius: 4px 4px 0 0;
    position: relative;
    transition: background .2s;
}
.bp-bar--active { background: var(--bp-primary); }
.bp-bar span {
    position: absolute;
    bottom: -18px;
    right: 50%;
    transform: translateX(50%);
    font-size: .6rem;
    color: var(--bp-text-muted);
    white-space: nowrap;
}

/* Floating badges */
.bp-float-badge {
    position: absolute;
    background: #fff;
    border-radius: var(--bp-radius-sm);
    padding: 8px 14px;
    box-shadow: var(--bp-shadow);
    font-size: .82rem;
    font-weight: 600;
    color: var(--bp-text);
    white-space: nowrap;
    animation: bp-float 3s ease-in-out infinite;
}

.bp-float-badge--top   { top: 10px;  right: -20px; animation-delay: 0s; }
.bp-float-badge--bottom { bottom: 20px; left: -20px; animation-delay: 1.5s; }

@keyframes bp-float {
    0%,100% { transform: translateY(0); }
    50%      { transform: translateY(-8px); }
}

/* Wave */
.bp-hero-wave { line-height: 0; margin-top: 40px; }
.bp-hero-wave svg { display: block; width: 100%; }

/* ============================================================
   LOGOS STRIP
   ============================================================ */
.bp-logos-strip { background: var(--bp-bg-soft); border-bottom: 1px solid var(--bp-border); }

.bp-logos-label {
    font-size: .82rem;
    color: var(--bp-text-muted);
    font-weight: 500;
}

.bp-logos-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.bp-logo-chip {
    background: #fff;
    border: 1px solid var(--bp-border);
    border-radius: 100px;
    font-size: .82rem;
    font-weight: 500;
    color: var(--bp-text-muted);
    padding: 6px 16px;
    white-space: nowrap;
}

/* ============================================================
   FEATURES SECTION
   ============================================================ */
.bp-features-section { background: var(--bp-bg-soft); }

.bp-feature-card {
    background: #fff;
    border: 1px solid var(--bp-border);
    border-radius: var(--bp-radius);
    padding: 28px 24px;
    height: 100%;
    transition: transform .25s, box-shadow .25s;
}

.bp-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--bp-shadow);
}

.bp-feature-icon {
    width: 52px; height: 52px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 16px;
}

.bp-feature-icon--blue   { background: #e8edff; color: var(--bp-primary); }
.bp-feature-icon--green  { background: #e6f9f0; color: var(--bp-success); }
.bp-feature-icon--orange { background: #fff4e5; color: var(--bp-warning); }
.bp-feature-icon--purple { background: #f3eeff; color: var(--bp-purple); }

.bp-feature-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--bp-text);
}

.bp-feature-desc {
    font-size: .9rem;
    color: var(--bp-text-muted);
    line-height: 1.6;
    flex: 1;
}

.bp-feature-link {
    font-size: .85rem;
    font-weight: 600;
    color: var(--bp-primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 12px;
}

.bp-feature-link:hover { color: var(--bp-primary-dark); }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.bp-step-card {
    background: #fff;
    border: 1px solid var(--bp-border);
    border-radius: var(--bp-radius);
    padding: 36px 24px;
    position: relative;
    height: 100%;
    transition: box-shadow .25s;
}

.bp-step-card:hover { box-shadow: var(--bp-shadow); }

.bp-step-number {
    position: absolute;
    top: -16px;
    right: 50%;
    transform: translateX(50%);
    width: 36px; height: 36px;
    background: var(--bp-primary);
    color: #fff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: .9rem;
    font-weight: 800;
    box-shadow: 0 2px 8px rgba(26,86,255,.3);
}

.bp-step-icon {
    font-size: 2.2rem;
    color: var(--bp-primary);
    margin: 16px 0 12px;
}

.bp-step-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.bp-step-desc {
    font-size: .88rem;
    color: var(--bp-text-muted);
    line-height: 1.6;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.bp-testimonials { background: var(--bp-bg-soft); }

.bp-testimonial-card {
    background: #fff;
    border: 1px solid var(--bp-border);
    border-radius: var(--bp-radius);
    padding: 24px;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: box-shadow .25s;
}

.bp-testimonial-card:hover { box-shadow: var(--bp-shadow); }

.bp-testimonial-stars { color: #f79009; font-size: .9rem; margin-bottom: 14px; }

.bp-testimonial-text {
    font-size: .9rem;
    color: var(--bp-text);
    line-height: 1.7;
    flex: 1;
    font-style: italic;
}

.bp-testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--bp-border);
}

.bp-testimonial-avatar {
    width: 40px; height: 40px;
    background: var(--bp-primary);
    color: #fff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}

.bp-testimonial-name  { font-weight: 700; font-size: .9rem; }
.bp-testimonial-role  { font-size: .78rem; color: var(--bp-text-muted); }

/* ============================================================
   TRUST STRIP
   ============================================================ */
.bp-trust-strip { background: #fff; border-top: 1px solid var(--bp-border); border-bottom: 1px solid var(--bp-border); }

.bp-trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: var(--bp-text-muted);
    font-size: .82rem;
    font-weight: 500;
}

.bp-trust-item i { font-size: 1.4rem; color: var(--bp-primary); }

/* ============================================================
   CTA SECTION
   ============================================================ */
.bp-cta { background: var(--bp-bg-soft); }

.bp-cta-box {
    background: linear-gradient(135deg, #0d1a3e 0%, #1a3a7a 60%, #1a56ff 100%);
    border-radius: var(--bp-radius-lg);
    padding: 64px 32px;
    color: #fff;
}

.bp-cta-title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.25;
}

.bp-cta-subtitle {
    font-size: 1rem;
    color: rgba(255,255,255,.8);
    line-height: 1.7;
    margin-top: .75rem;
}

.bp-btn-cta-primary {
    background: #fff;
    color: var(--bp-primary);
    border: none;
    font-weight: 700;
    border-radius: var(--bp-radius-sm);
    padding: 13px 28px;
    transition: transform .2s, box-shadow .2s;
}

.bp-btn-cta-primary:hover {
    background: #fff;
    color: var(--bp-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,.2);
}

.bp-btn-cta-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,.4);
    font-weight: 600;
    border-radius: var(--bp-radius-sm);
    padding: 12px 28px;
    transition: border-color .2s, background .2s;
}

.bp-btn-cta-secondary:hover {
    border-color: #fff;
    background: rgba(255,255,255,.1);
    color: #fff;
}

.bp-cta-note {
    font-size: .82rem;
    color: rgba(255,255,255,.6);
}

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.bp-page-hero {
    background: linear-gradient(135deg, #f8f9fc 0%, #eef1ff 100%);
    padding: 64px 0 56px;
    border-bottom: 1px solid var(--bp-border);
}

.bp-page-hero-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 800;
    color: var(--bp-text);
    line-height: 1.2;
}

.bp-page-hero-subtitle {
    font-size: 1.05rem;
    color: var(--bp-text-muted);
    line-height: 1.7;
    margin-top: .75rem;
}

/* ============================================================
   FEATURES PAGE – Detailed sections
   ============================================================ */
.bp-feature-detail-visual {
    width: 100%;
    aspect-ratio: 4/3;
    border-radius: var(--bp-radius-lg);
    display: flex; align-items: center; justify-content: center;
    font-size: 7rem;
}

.bp-feature-detail-visual--blue   { background: linear-gradient(135deg, #e8edff, #c7d6ff); color: var(--bp-primary); }
.bp-feature-detail-visual--green  { background: linear-gradient(135deg, #e6f9f0, #b2f0d4); color: var(--bp-success); }
.bp-feature-detail-visual--orange { background: linear-gradient(135deg, #fff4e5, #fde6b5); color: var(--bp-warning); }
.bp-feature-detail-visual--teal   { background: linear-gradient(135deg, #e0f7fb, #b2ebf5); color: var(--bp-teal); }
.bp-feature-detail-visual--red    { background: linear-gradient(135deg, #fff0ef, #ffd5d2); color: var(--bp-danger); }
.bp-feature-detail-visual--purple { background: linear-gradient(135deg, #f3eeff, #ddd2ff); color: var(--bp-purple); }

.bp-feature-detail-title {
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--bp-text);
    line-height: 1.25;
}

.bp-feature-detail-desc {
    font-size: .95rem;
    color: var(--bp-text-muted);
    line-height: 1.75;
    margin: .75rem 0 1rem;
}

.bp-feature-checklist {
    list-style: none;
    padding: 0; margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bp-feature-checklist li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .9rem;
    color: var(--bp-text);
}

.bp-feature-checklist li i {
    color: var(--bp-success);
    font-size: 1rem;
    flex-shrink: 0;
}

/* ============================================================
   PRICING PAGE
   ============================================================ */
.bp-pricing-toggle { display: flex; align-items: center; justify-content: center; gap: 8px; }
.bp-toggle-label   { font-size: .92rem; font-weight: 500; color: var(--bp-text-muted); }

.bp-pricing-card {
    background: #fff;
    border: 2px solid var(--bp-border);
    border-radius: var(--bp-radius-lg);
    overflow: hidden;
    height: 100%;
    position: relative;
    transition: box-shadow .25s;
}

.bp-pricing-card:hover { box-shadow: var(--bp-shadow); }

.bp-pricing-card--featured {
    border-color: var(--bp-primary);
    box-shadow: 0 0 0 4px rgba(26,86,255,.08), var(--bp-shadow);
}

.bp-pricing-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--bp-primary);
    color: #fff;
    font-size: .72rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 100px;
}

.bp-pricing-header {
    padding: 28px 24px 20px;
    border-bottom: 1px solid var(--bp-border);
}

.bp-pricing-card--featured .bp-pricing-header {
    background: linear-gradient(135deg, #f0f4ff, #e8edff);
}

.bp-pricing-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--bp-text);
    margin-bottom: 8px;
}

.bp-pricing-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 6px;
}

.bp-price-amount {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--bp-text);
    line-height: 1;
}

.bp-price-currency { font-size: 1rem; font-weight: 600; color: var(--bp-text-muted); }
.bp-price-period   { font-size: .82rem; color: var(--bp-text-muted); margin-right: 4px; }
.bp-pricing-desc   { font-size: .82rem; color: var(--bp-text-muted); }

.bp-pricing-body { padding: 20px 24px; }

.bp-pricing-limit {
    font-size: .82rem;
    font-weight: 600;
    color: var(--bp-text);
    background: var(--bp-bg-soft);
    border-radius: var(--bp-radius-sm);
    padding: 7px 12px;
    margin-bottom: 16px;
}

.bp-pricing-features {
    list-style: none;
    padding: 0; margin: 0;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.bp-pricing-features li {
    font-size: .88rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.bp-pf-yes i { color: var(--bp-success); }
.bp-pf-no    { color: var(--bp-text-light) !important; text-decoration: line-through; }
.bp-pf-no i  { color: var(--bp-text-light); }

/* FAQ */
.bp-faq-accordion { border-radius: var(--bp-radius); overflow: hidden; }
.bp-faq-item { border: 1px solid var(--bp-border) !important; margin-bottom: 8px; border-radius: var(--bp-radius-sm) !important; }

.bp-faq-item .accordion-button {
    font-size: .95rem;
    font-weight: 600;
    color: var(--bp-text);
    background: #fff;
    box-shadow: none;
    padding: 18px 20px;
    border-radius: var(--bp-radius-sm) !important;
}

.bp-faq-item .accordion-button:not(.collapsed) {
    color: var(--bp-primary);
    background: var(--bp-primary-light);
}

.bp-faq-item .accordion-body {
    font-size: .9rem;
    color: var(--bp-text-muted);
    line-height: 1.7;
    padding: 16px 20px;
}

/* ============================================================
   INTEGRATIONS PAGE
   ============================================================ */
.bp-category-icon {
    width: 48px; height: 48px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.bp-category-icon--primary { background: var(--bp-primary-light); color: var(--bp-primary); }
.bp-category-icon--success { background: #e6f9f0; color: var(--bp-success); }
.bp-category-icon--warning { background: #fff4e5; color: var(--bp-warning); }
.bp-category-icon--info    { background: #e0f7fb; color: var(--bp-teal); }

.bp-integration-category-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--bp-text);
}

.bp-integration-card {
    background: #fff;
    border: 1px solid var(--bp-border);
    border-radius: var(--bp-radius);
    padding: 20px;
    height: 100%;
    transition: box-shadow .25s, border-color .25s;
}

.bp-integration-card:hover {
    box-shadow: var(--bp-shadow);
    border-color: #c7d6ff;
}

.bp-integration-logo {
    font-size: 2rem;
    color: var(--bp-primary);
    margin-bottom: 10px;
}

.bp-integration-name { font-weight: 700; font-size: 1rem; margin-bottom: 6px; }
.bp-integration-desc { font-size: .82rem; color: var(--bp-text-muted); line-height: 1.55; margin-bottom: 12px; }

.bp-integration-status {
    font-size: .72rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 100px;
}

.bp-status--available { background: #e6f9f0; color: var(--bp-success); }
.bp-status--soon      { background: #fff4e5; color: var(--bp-warning); }

/* ============================================================
   BLOG PAGE
   ============================================================ */
.bp-blog-featured { border-bottom: 1px solid var(--bp-border); padding-bottom: 40px; }

.bp-blog-img-placeholder {
    border-radius: var(--bp-radius-lg);
    display: flex; align-items: center; justify-content: center;
    font-size: 5rem;
    height: 260px;
}

.bp-blog-img--blue   { background: linear-gradient(135deg, #e8edff, #c7d6ff); color: var(--bp-primary); }
.bp-blog-img--green  { background: linear-gradient(135deg, #e6f9f0, #b2f0d4); color: var(--bp-success); }
.bp-blog-img--orange { background: linear-gradient(135deg, #fff4e5, #fde6b5); color: var(--bp-warning); }
.bp-blog-img--purple { background: linear-gradient(135deg, #f3eeff, #ddd2ff); color: var(--bp-purple); }
.bp-blog-img--teal   { background: linear-gradient(135deg, #e0f7fb, #b2ebf5); color: var(--bp-teal); }
.bp-blog-img--red    { background: linear-gradient(135deg, #fff0ef, #ffd5d2); color: var(--bp-danger); }
.bp-blog-img--indigo { background: linear-gradient(135deg, #eef2ff, #d0d9ff); color: var(--bp-indigo); }

.bp-blog-category {
    display: inline-block;
    background: var(--bp-primary-light);
    color: var(--bp-primary);
    font-size: .72rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 100px;
}

.bp-blog-featured-title {
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1.3;
    color: var(--bp-text);
}

.bp-blog-excerpt {
    font-size: .93rem;
    color: var(--bp-text-muted);
    line-height: 1.7;
    margin-top: .75rem;
}

.bp-blog-meta {
    display: flex;
    gap: 16px;
    font-size: .78rem;
    color: var(--bp-text-light);
    margin-top: 12px;
}

.bp-blog-card {
    background: #fff;
    border: 1px solid var(--bp-border);
    border-radius: var(--bp-radius);
    overflow: hidden;
    height: 100%;
    transition: box-shadow .25s;
}

.bp-blog-card:hover { box-shadow: var(--bp-shadow); }

.bp-blog-card .bp-blog-img-placeholder { border-radius: 0; height: 160px; font-size: 3.5rem; }

.bp-blog-card-body { padding: 20px; }

.bp-blog-card-title {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--bp-text);
}

.bp-blog-card-excerpt {
    font-size: .85rem;
    color: var(--bp-text-muted);
    line-height: 1.6;
    margin-top: 8px;
}

.bp-blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: .82rem;
    font-weight: 600;
    color: var(--bp-primary);
    text-decoration: none;
    margin-top: 12px;
}

.bp-blog-read-more:hover { color: var(--bp-primary-dark); }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.bp-contact-form-card {
    background: #fff;
    border: 1px solid var(--bp-border);
    border-radius: var(--bp-radius-lg);
    padding: 36px;
    box-shadow: var(--bp-shadow);
}

.bp-contact-form-title { font-size: 1.4rem; font-weight: 800; margin-bottom: 4px; }

.bp-form-input {
    border: 1.5px solid var(--bp-border);
    border-radius: var(--bp-radius-sm);
    padding: 11px 14px;
    font-size: .92rem;
    font-family: var(--bp-font);
    transition: border-color .2s, box-shadow .2s;
}

.bp-form-input:focus {
    border-color: var(--bp-primary);
    box-shadow: 0 0 0 3px rgba(26,86,255,.12);
    outline: none;
}

.bp-contact-info-title { font-size: 1.4rem; font-weight: 800; margin-bottom: 24px; }

.bp-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 20px;
}

.bp-contact-item-icon {
    width: 42px; height: 42px;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.bp-contact-icon--blue   { background: var(--bp-primary-light); color: var(--bp-primary); }
.bp-contact-icon--green  { background: #e6f9f0; color: var(--bp-success); }
.bp-contact-icon--orange { background: #fff4e5; color: var(--bp-warning); }
.bp-contact-icon--purple { background: #f3eeff; color: var(--bp-purple); }

.bp-contact-item-label { font-size: .75rem; color: var(--bp-text-muted); font-weight: 500; }
.bp-contact-item-value { font-size: .92rem; font-weight: 600; color: var(--bp-text); text-decoration: none; }
a.bp-contact-item-value:hover { color: var(--bp-primary); }

.bp-contact-cta-box {
    background: var(--bp-bg-soft);
    border: 1px solid var(--bp-border);
    border-radius: var(--bp-radius);
    padding: 24px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.bp-footer {
    background: #0d1a3e;
    color: rgba(255,255,255,.7);
    padding-top: 64px;
}

.bp-footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.bp-footer-logo .bp-logo-icon { background: var(--bp-primary); }
.bp-footer-logo .bp-logo-text { color: #fff; }

.bp-footer-tagline { font-size: .85rem; line-height: 1.6; color: rgba(255,255,255,.55); }

.bp-social-links { display: flex; gap: 10px; }

.bp-social-link {
    width: 34px; height: 34px;
    border-radius: 8px;
    background: rgba(255,255,255,.08);
    color: rgba(255,255,255,.6);
    display: flex; align-items: center; justify-content: center;
    font-size: .95rem;
    text-decoration: none;
    transition: background .2s, color .2s;
}

.bp-social-link:hover { background: var(--bp-primary); color: #fff; }

.bp-footer-heading {
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: rgba(255,255,255,.4);
    margin-bottom: 14px;
}

.bp-footer-links {
    list-style: none;
    padding: 0; margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.bp-footer-links li,
.bp-footer-links a {
    font-size: .85rem;
    color: rgba(255,255,255,.6);
    text-decoration: none;
    transition: color .2s;
}

.bp-footer-links a:hover { color: #fff; }

.bp-footer-inactive {
    font-size: .85rem;
    color: rgba(255,255,255,.3);
    cursor: default;
    display: flex;
    align-items: center;
    gap: 6px;
}

.bp-footer-soon {
    font-size: .6rem;
    font-weight: 600;
    background: rgba(255,255,255,.1);
    color: rgba(255,255,255,.45);
    padding: 1px 6px;
    border-radius: 20px;
    letter-spacing: .04em;
    vertical-align: middle;
}

.bp-footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    padding: 20px 0;
    margin-top: 8px;
    font-size: .82rem;
    color: rgba(255,255,255,.4);
}

.bp-footer-badge {
    font-size: .78rem;
    color: rgba(255,255,255,.4);
}

/* ============================================================
   Bootstrap overrides
   ============================================================ */
.btn { font-family: var(--bp-font); }

.btn-primary {
    background-color: var(--bp-primary);
    border-color: var(--bp-primary);
    font-weight: 600;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--bp-primary-dark);
    border-color: var(--bp-primary-dark);
}

.btn-outline-primary {
    color: var(--bp-primary);
    border-color: var(--bp-primary);
    font-weight: 600;
}

.btn-outline-primary:hover {
    background-color: var(--bp-primary);
    border-color: var(--bp-primary);
}

.form-check-input:checked {
    background-color: var(--bp-primary);
    border-color: var(--bp-primary);
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 991.98px) {
    .bp-hero { padding-top: 70px; }
    .bp-float-badge { display: none; }
    .py-section { padding-top: 56px; padding-bottom: 56px; }
    .mb-section  { margin-bottom: 56px; }
    .bp-cta-box  { padding: 40px 24px; }
}

@media (max-width: 767.98px) {
    .bp-section-title    { font-size: 1.6rem; }
    .bp-hero-title       { font-size: 1.9rem; }
    .bp-hero-stats       { gap: 16px; }
    .bp-contact-form-card { padding: 24px; }
}

/* ============================================================
   JS-driven animations
   ============================================================ */
.bp-header--scrolled {
    box-shadow: 0 2px 16px rgba(0,0,0,.08);
}

.bp-animate-ready {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .5s ease, transform .5s ease;
}

.bp-animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   HOME TABS SECTION
   ============================================================ */
.bp-tabs-section { background: #fff; }

.bp-tabs-section-title {
    font-size: clamp(1.7rem, 3vw, 2.2rem);
    font-weight: 900;
    color: var(--bp-text);
    line-height: 1.2;
}

/* Tab nav wrapper – horizontally scrollable on mobile */
.bp-tabs-nav-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-bottom: 40px;
}
.bp-tabs-nav-wrap::-webkit-scrollbar { display: none; }

.bp-tabs-nav {
    display: flex;
    flex-wrap: nowrap;
    gap: 4px;
    justify-content: center;
    border: none;
    background: var(--bp-bg-soft);
    border-radius: 14px;
    padding: 6px;
    width: max-content;
    min-width: 100%;
}

.bp-tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 22px;
    border: none;
    border-radius: 10px;
    background: transparent;
    color: var(--bp-text-muted);
    font-family: var(--bp-font);
    font-size: .9rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background .2s, color .2s, box-shadow .2s;
}

.bp-tab-btn i { font-size: 1rem; }

.bp-tab-btn:hover {
    background: #fff;
    color: var(--bp-primary);
}

.bp-tab-btn.active,
.bp-tab-btn[aria-selected="true"] {
    background: #fff;
    color: var(--bp-primary);
    box-shadow: 0 2px 12px rgba(26,86,255,.12);
}

/* Tab pane */
.bp-tab-content { min-height: 340px; }

.bp-tab-pane-title {
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--bp-text);
    line-height: 1.25;
    margin-bottom: .75rem;
}

.bp-tab-pane-desc {
    font-size: .97rem;
    color: var(--bp-text-muted);
    line-height: 1.75;
    margin-bottom: 1rem;
}

.bp-tab-pane-list {
    list-style: none;
    padding: 0; margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bp-tab-pane-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .92rem;
    color: var(--bp-text);
}

.bp-tab-pane-list li i { color: var(--bp-success); font-size: 1rem; flex-shrink: 0; }

.bp-tab-pane-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .92rem;
    font-weight: 700;
    color: var(--bp-primary);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    padding-bottom: 1px;
    transition: border-color .18s;
}

.bp-tab-pane-link:hover {
    color: var(--bp-primary-dark);
    border-bottom-color: var(--bp-primary);
}

/* Tab visual box */
.bp-tab-visual {
    border-radius: var(--bp-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 7rem;
    aspect-ratio: 4/3;
    position: relative;
    overflow: visible;
}

.bp-tab-visual--blue   { background: linear-gradient(135deg, #e8edff, #c7d6ff); color: var(--bp-primary); }
.bp-tab-visual--green  { background: linear-gradient(135deg, #e6f9f0, #b2f0d4); color: var(--bp-success); }
.bp-tab-visual--purple { background: linear-gradient(135deg, #f3eeff, #ddd2ff); color: var(--bp-purple); }
.bp-tab-visual--orange { background: linear-gradient(135deg, #fff4e5, #fde6b5); color: var(--bp-warning); }
.bp-tab-visual--teal   { background: linear-gradient(135deg, #e0f7fb, #b2ebf5); color: var(--bp-teal); }

.bp-tab-visual-badges {
    position: absolute;
    bottom: -16px;
    right: -12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-end;
}

.bp-tab-vbadge {
    background: #fff;
    border-radius: var(--bp-radius-sm);
    padding: 8px 14px;
    box-shadow: var(--bp-shadow);
    font-size: .82rem;
    font-weight: 600;
    color: var(--bp-text);
    white-space: nowrap;
}

.bp-tab-vbadge--sm { font-size: .75rem; padding: 6px 12px; }

/* Addons grid */
.bp-tab-addons-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.bp-tab-addon-chip {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: var(--bp-bg-soft);
    border: 1px solid var(--bp-border);
    border-radius: var(--bp-radius-sm);
    padding: 14px 8px;
    font-size: .78rem;
    font-weight: 600;
    color: var(--bp-text-muted);
    text-align: center;
    transition: background .18s, border-color .18s, color .18s;
}

.bp-tab-addon-chip i { font-size: 1.4rem; color: var(--bp-primary); }

.bp-tab-addon-chip:hover {
    background: var(--bp-primary-light);
    border-color: #c7d6ff;
    color: var(--bp-primary);
}

/* Store badges */
.bp-store-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--bp-text);
    color: #fff;
    border-radius: var(--bp-radius-sm);
    padding: 8px 16px;
    font-size: .82rem;
    font-weight: 600;
    text-decoration: none;
    transition: background .18s;
}

.bp-store-badge:hover { background: var(--bp-primary); color: #fff; }

/* Dark mode overrides */
[data-theme="dark"] .bp-tabs-section { background: var(--bp-bg); }
[data-theme="dark"] .bp-tabs-nav { background: var(--bp-bg-soft); }
[data-theme="dark"] .bp-tab-btn.active,
[data-theme="dark"] .bp-tab-btn[aria-selected="true"] { background: #0f172a; color: #818cf8; }
[data-theme="dark"] .bp-tab-btn:hover { background: #0f172a; color: #818cf8; }
[data-theme="dark"] .bp-tab-vbadge { background: #1e293b; color: #f1f5f9; }
[data-theme="dark"] .bp-tab-addon-chip { background: var(--bp-bg-soft); border-color: var(--bp-border); }
[data-theme="dark"] .bp-tab-addon-chip:hover { background: rgba(99,102,241,.15); border-color: #6366f1; color: #818cf8; }
[data-theme="dark"] .bp-store-badge { background: #1e293b; }
[data-theme="dark"] .bp-store-badge:hover { background: #6366f1; }

/* Responsive */
@media (max-width: 767.98px) {
    .bp-tab-addons-grid { grid-template-columns: repeat(3, 1fr); }
    .bp-tab-visual { font-size: 5rem; }
    .bp-tab-visual-badges { display: none; }
}

@media (max-width: 575.98px) {
    .bp-tab-addons-grid { grid-template-columns: repeat(2, 1fr); }
    .bp-tabs-nav { justify-content: flex-start; }
}

/* ============================================================
   FOOTER NEWSLETTER BANNER
   ============================================================ */
.bp-footer-newsletter {
    background: linear-gradient(135deg, rgba(26,86,255,.12), rgba(124,58,237,.1));
    border: 1px solid rgba(26,86,255,.2);
    border-radius: var(--bp-radius-lg);
    padding: 32px 36px;
    margin-bottom: 30px;
}

.bp-newsletter-icon {
    font-size: 1.6rem;
    color: var(--bp-primary);
    margin-bottom: 8px;
}

.bp-newsletter-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 6px;
}

.bp-newsletter-desc {
    font-size: .88rem;
    color: rgba(255,255,255,.65);
    line-height: 1.6;
    margin: 0;
}

.bp-newsletter-input-wrap {
    display: flex;
    gap: 8px;
}

.bp-newsletter-input {
    flex: 1;
    background: rgba(255,255,255,.1);
    border: 1.5px solid rgba(255,255,255,.2);
    border-radius: var(--bp-radius-sm);
    padding: 10px 14px;
    font-size: .9rem;
    font-family: var(--bp-font);
    color: #fff;
    outline: none;
    transition: border-color .2s, background .2s;
    direction: rtl;
}

.bp-newsletter-input::placeholder { color: rgba(255,255,255,.45); }

.bp-newsletter-input:focus {
    border-color: rgba(255,255,255,.5);
    background: rgba(255,255,255,.15);
}

.bp-newsletter-btn {
    background: #fff;
    color: var(--bp-primary);
    border: none;
    border-radius: var(--bp-radius-sm);
    padding: 10px 22px;
    font-size: .9rem;
    font-weight: 700;
    font-family: var(--bp-font);
    cursor: pointer;
    white-space: nowrap;
    transition: background .2s, transform .15s;
}

.bp-newsletter-btn:hover {
    background: #e8edff;
    transform: translateY(-1px);
}

.bp-newsletter-note {
    font-size: .73rem;
    color: rgba(255,255,255,.4);
    margin: 8px 0 0;
}

/* Dark mode */
[data-theme="dark"] .bp-footer-newsletter {
    background: linear-gradient(135deg, rgba(99,102,241,.15), rgba(124,58,237,.1));
    border-color: rgba(99,102,241,.3);
}

[data-theme="dark"] .bp-newsletter-title { color: #f1f5f9; }

/* Dark mode: feature icon backgrounds */
[data-theme="dark"] .bp-feature-icon--blue   { background: rgba(26,86,255,.18);  color: #818cf8; }
[data-theme="dark"] .bp-feature-icon--green  { background: rgba(23,178,106,.18); color: #4ade80; }
[data-theme="dark"] .bp-feature-icon--orange { background: rgba(247,144,9,.18);  color: #fbbf24; }
[data-theme="dark"] .bp-feature-icon--purple { background: rgba(124,58,237,.18); color: #c084fc; }

/* Dark mode: feature detail visuals */
[data-theme="dark"] .bp-feature-detail-visual--blue   { background: linear-gradient(135deg, rgba(26,86,255,.2),   rgba(99,102,241,.15)); color: #818cf8; }
[data-theme="dark"] .bp-feature-detail-visual--green  { background: linear-gradient(135deg, rgba(23,178,106,.2),  rgba(52,211,153,.15)); color: #4ade80; }
[data-theme="dark"] .bp-feature-detail-visual--orange { background: linear-gradient(135deg, rgba(247,144,9,.2),   rgba(251,181,68,.15)); color: #fbbf24; }
[data-theme="dark"] .bp-feature-detail-visual--teal   { background: linear-gradient(135deg, rgba(8,145,178,.2),   rgba(34,211,238,.15)); color: #67e8f9; }
[data-theme="dark"] .bp-feature-detail-visual--red    { background: linear-gradient(135deg, rgba(240,68,56,.2),   rgba(248,113,113,.15)); color: #fca5a5; }
[data-theme="dark"] .bp-feature-detail-visual--purple { background: linear-gradient(135deg, rgba(124,58,237,.2),  rgba(167,114,240,.15)); color: #c084fc; }

/* Dark mode: chart bars & float badges */
[data-theme="dark"] .bp-bar { background: #334155; }
[data-theme="dark"] .bp-float-badge { background: #1e293b; }

/* Dark mode: tab visuals */
[data-theme="dark"] .bp-tab-visual--blue   { background: linear-gradient(135deg, rgba(26,86,255,.2),   rgba(99,102,241,.15)); color: #818cf8; }
[data-theme="dark"] .bp-tab-visual--green  { background: linear-gradient(135deg, rgba(23,178,106,.2),  rgba(52,211,153,.15)); color: #4ade80; }
[data-theme="dark"] .bp-tab-visual--purple { background: linear-gradient(135deg, rgba(124,58,237,.2),  rgba(167,114,240,.15)); color: #c084fc; }
[data-theme="dark"] .bp-tab-visual--orange { background: linear-gradient(135deg, rgba(247,144,9,.2),   rgba(251,181,68,.15)); color: #fbbf24; }
[data-theme="dark"] .bp-tab-visual--teal   { background: linear-gradient(135deg, rgba(8,145,178,.2),   rgba(34,211,238,.15)); color: #67e8f9; }

/* Mobile: solution pages & pricing */
@media (max-width: 991.98px) {
    .bp-feature-detail-title { font-size: 1.5rem; }
}

@media (max-width: 767.98px) {
    .bp-feature-detail-title { font-size: 1.3rem; }
    .bp-invoices-subtitle    { font-size: 1rem; }
    .bp-prime-features-summary { font-size: .88rem; }
    .bp-inv-feature-card     { padding: 20px 16px; }
    .bp-period-toggle-wrap   { padding: 0 12px; }
}

@media (max-width: 575.98px) {
    .bp-period-toggle { border-radius: 100px; }
    .bp-period-btn    { padding: 8px 14px; font-size: .82rem; }
}

/* Dark mode: hero wave & footer background fill */
[data-theme="dark"] .bp-hero-wave path { fill: #0f172a; }
[data-theme="dark"] .bp-hero { background: linear-gradient(135deg, #020617 0%, #0f172a 60%, #1e3a8a 100%); }

/* Hero: mobile text centering */
@media (max-width: 991.98px) {
    .bp-hero .col-lg-6:first-child { text-align: center; }
    .bp-hero-stats   { justify-content: center; }
    .bp-hero-actions { justify-content: center; }
    .bp-hero-badge   { display: inline-flex; }
}

/* ============================================================
   BACK TO TOP
   ============================================================ */
.bp-back-to-top {
    position: fixed;
    bottom: 28px;
    left: 28px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bp-primary);
    color: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    z-index: 990;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity .25s, transform .25s, background .2s;
    box-shadow: 0 4px 16px rgba(26,86,255,.35);
}

.bp-back-to-top.bp-btt--visible {
    opacity: 1;
    transform: translateY(0);
}

.bp-back-to-top:hover { background: var(--bp-primary-dark); }

[data-theme="dark"] .bp-back-to-top { box-shadow: 0 4px 16px rgba(0,0,0,.5); }

/* ============================================================
   BLOG PAGE
   ============================================================ */

/* Search bar */
.bp-blog-search-wrap {
    position: relative;
}

.bp-blog-search-icon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    pointer-events: none;
    font-size: .95rem;
    z-index: 1;
}

.bp-blog-search-input {
    width: 100%;
    padding: 11px 44px 11px 16px;
    border-radius: 100px;
    border: 1.5px solid #e5e7eb;
    font-size: .95rem;
    font-family: var(--bp-font);
    color: var(--bp-text);
    background: #fff;
    outline: none;
    transition: border-color .15s, box-shadow .15s;
}

.bp-blog-search-input:focus {
    border-color: var(--bp-primary);
    box-shadow: 0 0 0 3px rgba(26,86,255,.1);
}

/* Tabs */
.bp-blog-tabs-wrap {
    overflow-x: auto;
    overflow-y: hidden;
    border-bottom: 2px solid #e5e7eb;
    padding-bottom: 0;
}

.bp-blog-tabs {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 0;
    white-space: nowrap;
    min-width: max-content;
}

.bp-blog-tabs li { display: contents; }

.bp-blog-tab {
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    padding: 10px 20px;
    font-size: .9rem;
    font-weight: 500;
    color: var(--bp-text-muted);
    cursor: pointer;
    transition: color .15s, border-color .15s;
    font-family: var(--bp-font);
    white-space: nowrap;
}

.bp-blog-tab:hover,
.bp-blog-tab.active {
    color: var(--bp-primary);
    border-bottom-color: var(--bp-primary);
}

/* Category section headers */
.bp-blog-cat-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--bp-text);
    margin: 0;
}

.bp-blog-more-link {
    font-size: .88rem;
    font-weight: 600;
    color: var(--bp-primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap .15s;
}

.bp-blog-more-link:hover {
    color: var(--bp-primary-dark);
    gap: 10px;
}

/* Guide cards */
.bp-guide-icon {
    width: 44px !important;
    height: 44px !important;
    border-radius: 10px !important;
    font-size: 1.15rem !important;
    flex-shrink: 0;
    margin-bottom: 0 !important;
}

.bp-guide-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #fff;
    border: 1.5px solid var(--bp-border);
    border-radius: var(--bp-radius-lg);
    padding: 20px 22px;
    text-decoration: none;
    color: inherit;
    transition: box-shadow .2s, border-color .2s, transform .2s;
    height: 100%;
}

.bp-guide-card:hover {
    box-shadow: var(--bp-shadow-lg);
    border-color: rgba(26,86,255,.3);
    transform: translateY(-2px);
    color: inherit;
}

.bp-guide-card-title {
    font-size: .92rem;
    font-weight: 700;
    color: var(--bp-text);
    margin-bottom: 4px;
}

.bp-guide-card-desc {
    font-size: .8rem;
    color: var(--bp-text-muted);
    line-height: 1.55;
    margin: 0;
}

.bp-guide-card-arrow {
    color: #d1d5db;
    font-size: .9rem;
    flex-shrink: 0;
    transition: color .15s;
}

.bp-guide-card:hover .bp-guide-card-arrow { color: var(--bp-primary); }

/* Dark mode */
[data-theme="dark"] .bp-blog-search-input {
    background: #1e293b;
    border-color: #334155;
    color: #f1f5f9;
}

[data-theme="dark"] .bp-blog-search-input:focus { border-color: #818cf8; }
[data-theme="dark"] .bp-blog-tabs-wrap { border-bottom-color: #334155; }
[data-theme="dark"] .bp-blog-cat-title { color: #f1f5f9; }
[data-theme="dark"] .bp-guide-card { background: #1e293b; border-color: #334155; }
[data-theme="dark"] .bp-guide-card:hover { border-color: rgba(129,140,248,.4); }
[data-theme="dark"] .bp-guide-card-title { color: #f1f5f9; }

/* ============================================================
   COMMUNITY PAGE
   ============================================================ */

.bp-community-lead {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--bp-text);
    margin-bottom: 1.5rem;
}

.bp-community-body {
    font-size: 1rem;
    line-height: 1.9;
    color: var(--bp-text);
    margin-bottom: 1.25rem;
}

.bp-community-divider {
    border-color: var(--bp-border);
    margin: 2.5rem 0;
}

.bp-community-section-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--bp-text);
    margin-bottom: 1.25rem;
    line-height: 1.4;
}

.bp-community-questions {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.bp-community-questions li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: var(--bp-bg-soft);
    border-radius: var(--bp-radius);
    padding: 14px 18px;
    font-size: .95rem;
    line-height: 1.65;
    color: var(--bp-text);
}

.bp-community-questions li i {
    color: var(--bp-primary);
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 3px;
}

/* CTA section */
.bp-community-cta-section {
    background: linear-gradient(135deg, #0d1a3e 0%, #1a3a7a 60%, #1a56ff 100%);
}

.bp-community-cta-icon {
    font-size: 3rem;
    color: rgba(255,255,255,.8);
    margin-bottom: 20px;
}

.bp-community-cta-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
}

.bp-community-cta-desc {
    font-size: 1rem;
    color: rgba(255,255,255,.8);
    line-height: 1.75;
    margin-bottom: 0;
}

/* Dark mode */
[data-theme="dark"] .bp-community-lead,
[data-theme="dark"] .bp-community-body { color: #cbd5e1; }
[data-theme="dark"] .bp-community-section-title { color: #f1f5f9; }
[data-theme="dark"] .bp-community-questions li { background: #1e293b; color: #cbd5e1; }
[data-theme="dark"] .bp-community-divider { border-color: #334155; }

/* Mobile hamburger / logo swap */
@media (max-width: 991.98px) {
    .navbar-brand   { order: 2; }
    .navbar-toggler {
        order: 1;
        margin-inline-start: 0 !important;
        margin-inline-end: auto !important;
    }
}

/* ═══════════════════════════════════════════════════════════
   API / Developers page
   ═══════════════════════════════════════════════════════════ */

.bp-api-wrapper {
    display: grid;
    grid-template-columns: 240px 1fr 380px;
    gap: 0;
    min-height: calc(100vh - 70px);
    direction: ltr;
    font-family: 'Inter', system-ui, sans-serif;
}

/* ── Sidebar ─────────────────────────────────────────────── */
.bp-api-sidebar {
    background: #0f172a;
    border-right: 1px solid #1e293b;
    padding: 24px 0;
    position: sticky;
    top: 70px;
    height: calc(100vh - 70px);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #334155 transparent;
}

.bp-api-sidebar::-webkit-scrollbar { width: 4px; }
.bp-api-sidebar::-webkit-scrollbar-track { background: transparent; }
.bp-api-sidebar::-webkit-scrollbar-thumb { background: #334155; border-radius: 2px; }

.bp-api-sidebar-logo {
    padding: 0 20px 20px;
    border-bottom: 1px solid #1e293b;
    margin-bottom: 16px;
}

.bp-api-sidebar-logo-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #f8fafc;
    display: flex;
    align-items: center;
    gap: 8px;
}

.bp-api-sidebar-logo-badge {
    font-size: 0.6rem;
    background: var(--bp-primary);
    color: #fff;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.bp-api-nav-group {
    margin-bottom: 4px;
}

.bp-api-nav-group-title {
    font-size: 0.65rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: .1em;
    padding: 8px 20px 4px;
}

.bp-api-nav-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 20px;
    font-size: 0.82rem;
    color: #94a3b8;
    cursor: pointer;
    border-left: 2px solid transparent;
    transition: background .15s, color .15s, border-color .15s;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bp-api-nav-item:hover {
    background: rgba(255,255,255,.04);
    color: #e2e8f0;
    text-decoration: none;
}

.bp-api-nav-item.active {
    background: rgba(59,130,246,.1);
    color: #60a5fa;
    border-left-color: #3b82f6;
    font-weight: 600;
}

.bp-api-nav-badge {
    font-size: 0.6rem;
    padding: 1px 5px;
    border-radius: 3px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    margin-left: auto;
    flex-shrink: 0;
}
.bp-api-nav-badge--get    { background: rgba(34,197,94,.15);  color: #4ade80; }
.bp-api-nav-badge--post   { background: rgba(251,146,60,.15); color: #fb923c; }
.bp-api-nav-badge--put    { background: rgba(168,85,247,.15); color: #c084fc; }
.bp-api-nav-badge--delete { background: rgba(239,68,68,.15);  color: #f87171; }

/* ── Center content ──────────────────────────────────────── */
.bp-api-content {
    padding: 48px 52px;
    background: #fff;
    overflow-y: auto;
    height: calc(100vh - 70px);
    position: sticky;
    top: 70px;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
}

.bp-api-content::-webkit-scrollbar { width: 5px; }
.bp-api-content::-webkit-scrollbar-track { background: transparent; }
.bp-api-content::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 3px; }

.bp-api-section {
    display: none;
    max-width: 680px;
    animation: bpApiFadeIn .2s ease;
}

.bp-api-section.active { display: block; }

@keyframes bpApiFadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}

.bp-api-h1 {
    font-size: 1.8rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 8px;
    line-height: 1.2;
}

.bp-api-h2 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
    margin: 28px 0 10px;
    padding-bottom: 6px;
    border-bottom: 1px solid #e2e8f0;
}

.bp-api-p {
    font-size: 0.9rem;
    color: #475569;
    line-height: 1.75;
    margin-bottom: 16px;
}

.bp-api-endpoint-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 8px 14px;
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    font-size: 0.82rem;
    color: #0f172a;
    margin-bottom: 20px;
}

.bp-api-badge {
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 4px;
    letter-spacing: .05em;
    text-transform: uppercase;
}
.bp-api-badge--get    { background: #dcfce7; color: #16a34a; }
.bp-api-badge--post   { background: #fff7ed; color: #c2410c; }
.bp-api-badge--put    { background: #f5f3ff; color: #7c3aed; }
.bp-api-badge--delete { background: #fef2f2; color: #dc2626; }
.bp-api-badge--patch  { background: #fefce8; color: #ca8a04; }

.bp-api-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.83rem;
    margin-bottom: 20px;
}

.bp-api-table th {
    background: #f8fafc;
    color: #64748b;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .06em;
    padding: 8px 12px;
    border-bottom: 1px solid #e2e8f0;
    text-align: left;
}

.bp-api-table td {
    padding: 9px 12px;
    border-bottom: 1px solid #f1f5f9;
    color: #374151;
    vertical-align: top;
}

.bp-api-table tr:last-child td { border-bottom: none; }

.bp-api-table code {
    background: #f1f5f9;
    padding: 1px 5px;
    border-radius: 3px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.78rem;
    color: #0f172a;
}

.bp-api-callout {
    background: #eff6ff;
    border-left: 3px solid #3b82f6;
    border-radius: 0 6px 6px 0;
    padding: 12px 16px;
    font-size: 0.85rem;
    color: #1e40af;
    margin-bottom: 20px;
    line-height: 1.6;
}

.bp-api-callout--warn {
    background: #fffbeb;
    border-color: #f59e0b;
    color: #92400e;
}

.bp-api-url-block {
    background: #0f172a;
    color: #7dd3fc;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.82rem;
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 20px;
    overflow-x: auto;
}

.bp-api-pre {
    background: #0f172a;
    color: #e2e8f0;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.78rem;
    padding: 16px;
    border-radius: 8px;
    overflow-x: auto;
    line-height: 1.65;
    margin-bottom: 20px;
}

/* ── Right console panel ─────────────────────────────────── */
.bp-api-console {
    background: #0f172a;
    border-left: 1px solid #1e293b;
    padding: 24px 20px;
    position: sticky;
    top: 70px;
    height: calc(100vh - 70px);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
    scrollbar-width: thin;
    scrollbar-color: #334155 transparent;
}

.bp-api-console::-webkit-scrollbar { width: 4px; }
.bp-api-console::-webkit-scrollbar-track { background: transparent; }
.bp-api-console::-webkit-scrollbar-thumb { background: #334155; border-radius: 2px; }

.bp-api-console-title {
    font-size: 0.7rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: .1em;
    margin-bottom: 0;
}

/* Request bar */
.bp-api-req-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 8px;
    padding: 6px 10px;
}

.bp-api-req-method {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    letter-spacing: .04em;
    text-transform: uppercase;
    flex-shrink: 0;
}
.bp-req-get    { background: rgba(34,197,94,.15);  color: #4ade80; }
.bp-req-post   { background: rgba(251,146,60,.15); color: #fb923c; }
.bp-req-put    { background: rgba(168,85,247,.15); color: #c084fc; }
.bp-req-delete { background: rgba(239,68,68,.15);  color: #f87171; }
.bp-req-patch  { background: rgba(234,179,8,.15);  color: #fbbf24; }

.bp-api-req-url {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    color: #94a3b8;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
}

/* Section labels inside console */
.bp-api-console-label {
    font-size: 0.68rem;
    font-weight: 600;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 6px;
}

/* Param rows */
.bp-api-param-row {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 6px;
    align-items: center;
    margin-bottom: 6px;
}

.bp-api-param-row input {
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 6px;
    padding: 6px 10px;
    font-size: 0.78rem;
    color: #e2e8f0;
    font-family: 'JetBrains Mono', monospace;
    outline: none;
    transition: border-color .15s;
}

.bp-api-param-row input:focus { border-color: #3b82f6; }
.bp-api-param-row input::placeholder { color: #475569; }

.bp-api-param-remove {
    background: none;
    border: none;
    color: #64748b;
    cursor: pointer;
    font-size: 0.9rem;
    padding: 4px;
    border-radius: 4px;
    transition: color .15s, background .15s;
    line-height: 1;
}

.bp-api-param-remove:hover { color: #f87171; background: rgba(239,68,68,.1); }

/* Path param row (2-col, no remove button) */
.bp-api-path-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    margin-bottom: 6px;
}

.bp-api-path-row input {
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 6px;
    padding: 6px 10px;
    font-size: 0.78rem;
    color: #e2e8f0;
    font-family: 'JetBrains Mono', monospace;
    outline: none;
    transition: border-color .15s;
}

.bp-api-path-row input:focus { border-color: #3b82f6; }
.bp-api-path-row input::placeholder { color: #475569; }
.bp-api-path-row input:first-child { color: #7dd3fc; }

/* Add param button */
.bp-api-add-param {
    background: none;
    border: 1px dashed #334155;
    border-radius: 6px;
    color: #475569;
    font-size: 0.78rem;
    padding: 6px 12px;
    cursor: pointer;
    transition: border-color .15s, color .15s;
    text-align: left;
}

.bp-api-add-param:hover { border-color: #3b82f6; color: #60a5fa; }

/* Body textarea */
.bp-api-body-textarea {
    width: 100%;
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 6px;
    color: #e2e8f0;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    padding: 10px 12px;
    min-height: 100px;
    resize: vertical;
    outline: none;
    line-height: 1.6;
    transition: border-color .15s;
}

.bp-api-body-textarea:focus { border-color: #3b82f6; }

/* Send button */
.bp-api-send-btn {
    background: var(--bp-primary);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: background .15s, transform .1s;
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
}

.bp-api-send-btn:hover { background: var(--bp-primary-dark, #1d4ed8); }
.bp-api-send-btn:active { transform: scale(.97); }

.bp-api-send-btn.loading {
    opacity: .7;
    pointer-events: none;
}

/* Response area */
.bp-api-response-wrap {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 0;
}

.bp-api-response-status {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 4px;
    display: none;
}

.bp-api-response-status.ok     { background: rgba(34,197,94,.15); color: #4ade80; display: block; }
.bp-api-response-status.error  { background: rgba(239,68,68,.15);  color: #f87171; display: block; }

.bp-api-response-body {
    background: #020617;
    border: 1px solid #1e293b;
    border-radius: 6px;
    padding: 14px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    color: #7dd3fc;
    line-height: 1.65;
    overflow-x: auto;
    overflow-y: auto;
    flex: 1;
    white-space: pre;
    min-height: 120px;
    max-height: 300px;
}

/* Divider inside console */
.bp-api-console-divider {
    border: none;
    border-top: 1px solid #1e293b;
    margin: 4px 0;
}

/* ── Dark mode overrides for center content ──────────────── */
[data-theme="dark"] .bp-api-content {
    background: #111827;
}

[data-theme="dark"] .bp-api-h1 { color: #f1f5f9; }
[data-theme="dark"] .bp-api-h2 { color: #e2e8f0; border-bottom-color: #1e293b; }
[data-theme="dark"] .bp-api-p  { color: #94a3b8; }

[data-theme="dark"] .bp-api-endpoint-tag {
    background: #1e293b;
    border-color: #334155;
    color: #e2e8f0;
}

[data-theme="dark"] .bp-api-table th  { background: #1e293b; color: #94a3b8; border-color: #334155; }
[data-theme="dark"] .bp-api-table td  { border-color: #1e293b; color: #cbd5e1; }
[data-theme="dark"] .bp-api-table code { background: #0f172a; color: #7dd3fc; }

[data-theme="dark"] .bp-api-callout      { background: #1e3a5f; color: #93c5fd; border-color: #3b82f6; }
[data-theme="dark"] .bp-api-callout--warn { background: #3b2700; color: #fcd34d; border-color: #f59e0b; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1199.98px) {
    .bp-api-wrapper {
        grid-template-columns: 200px 1fr 320px;
    }
}

@media (max-width: 991.98px) {
    .bp-api-wrapper {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .bp-api-sidebar {
        position: static;
        height: auto;
        max-height: 260px;
        display: flex;
        flex-wrap: wrap;
        padding: 12px;
        gap: 4px;
    }

    .bp-api-sidebar-logo { display: none; }
    .bp-api-nav-group { display: contents; }
    .bp-api-nav-group-title { display: none; }
    .bp-api-nav-item { border-left: none; border-radius: 6px; border-bottom: 2px solid transparent; padding: 5px 10px; }
    .bp-api-nav-item.active { border-bottom-color: #3b82f6; background: rgba(59,130,246,.15); }

    .bp-api-content {
        position: static;
        height: auto;
        padding: 28px 20px;
    }

    .bp-api-console {
        position: static;
        height: auto;
        border-left: none;
        border-top: 1px solid #1e293b;
    }
}
