/* ============================================================
   BV3 Elements Runtime — Styles for interactive building blocks
   Auto-referenced in HEAD when interactive elements are used.
   ============================================================ */

/* ── Shared ─────────────────────────────────────────────── */
[class*="bv3e-"] { box-sizing: border-box; }
[class*="bv3e-da-"] { font-family: var(--site-font, inherit); }
.bv3e-cover-img { width:100%; height:100%; object-fit:cover; object-position:center; display:block; }

/* ── 1. Accordion ────────────────────────────────────────── */
.bv3e-accordion { font-family: inherit; width: 100%; }
.bv3e-acc-panel { border-bottom: 1px solid var(--site-border, #e5e7eb); overflow: hidden; }
.bv3e-acc-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 20px; cursor: pointer; font-weight: 600; font-size: 15px;
    color: var(--site-text, #1a1a2e); background: transparent; transition: background 0.2s; user-select: none;
}
.bv3e-acc-header:hover { background: rgba(115,103,240,0.04); }
.bv3e-acc-chevron {
    width: 18px; height: 18px; flex-shrink: 0; margin-left: 12px;
    transition: transform 0.3s ease;
}
.bv3e-acc-chevron svg { width: 100%; height: 100%; stroke: var(--site-text-muted, #6e6e8a); }
.bv3e-acc-body {
    max-height: 0; overflow: hidden; padding: 0 20px;
    transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1), padding 0.3s ease;
}
.bv3e-acc-body p { margin: 0 0 12px; font-size: 14px; line-height: 1.7; color: #4a4a68; }
.bv3e-acc-panel.active .bv3e-acc-body { max-height: 600px; padding: 4px 20px 20px; }
.bv3e-acc-panel.active .bv3e-acc-chevron { transform: rotate(180deg); }
/* Accordion styles */
.bv3e-accordion[data-style="bordered"] { border: 1px solid var(--site-border, #e5e7eb); border-radius: 10px; overflow: hidden; }
.bv3e-accordion[data-style="bordered"] .bv3e-acc-panel:last-child { border-bottom: 0; }
.bv3e-accordion[data-style="shadow"] { border: none; }
.bv3e-accordion[data-style="shadow"] .bv3e-acc-panel {
    border: none; margin-bottom: 8px; border-radius: 10px;
    box-shadow: 0 1px 8px rgba(0,0,0,0.06); background: #fff;
}

/* ── 2. Tabs ─────────────────────────────────────────────── */
.bv3e-tabs { font-family: inherit; width: 100%; }
.bv3e-tabs-nav {
    display: flex; gap: 0; border-bottom: 2px solid var(--site-border, #e5e7eb);
    margin-bottom: 20px; overflow-x: auto;
}
.bv3e-tab-btn {
    padding: 10px 20px; font-size: 14px; font-weight: 600; cursor: pointer;
    border: none; background: none; color: var(--site-text-muted, #6e6e8a); white-space: nowrap;
    border-bottom: 2px solid transparent; margin-bottom: -2px; transition: all 0.2s;
}
.bv3e-tab-btn:hover { color: var(--site-accent, #7367F0); }
.bv3e-tab-btn.active { color: var(--site-accent, #7367F0); border-bottom-color: var(--site-accent, #7367F0); }
.bv3e-tab-pane { display: none; animation: bv3eFadeIn 0.3s ease; }
.bv3e-tab-pane.active { display: block; }
/* Tab styles */
.bv3e-tabs[data-style="pills"] .bv3e-tabs-nav { border-bottom: none; gap: 6px; }
.bv3e-tabs[data-style="pills"] .bv3e-tab-btn {
    border-radius: 8px; border-bottom: none; margin: 0;
    padding: 8px 18px; transition: all 0.2s;
}
.bv3e-tabs[data-style="pills"] .bv3e-tab-btn.active { background: var(--site-accent, #7367F0); color: #fff; }
.bv3e-tabs[data-style="boxed"] .bv3e-tabs-nav { border: 1px solid var(--site-border, #e5e7eb); border-radius: 10px; padding: 4px; gap: 4px; background: #f8f9fc; }
.bv3e-tabs[data-style="boxed"] .bv3e-tab-btn { border-radius: 8px; border-bottom: none; margin: 0; }
.bv3e-tabs[data-style="boxed"] .bv3e-tab-btn.active { background: #fff; color: var(--site-text, #1a1a2e); box-shadow: 0 1px 4px rgba(0,0,0,0.08); }
.bv3e-tabs[data-align="center"] .bv3e-tabs-nav { justify-content: center; }
.bv3e-tabs[data-align="right"] .bv3e-tabs-nav { justify-content: flex-end; }

/* ── 3. Carousel ─────────────────────────────────────────── */
.bv3e-carousel { position: relative; width: 100%; overflow: hidden; border-radius: 10px; }
.bv3e-carousel-track { position: relative; width: 100%; }
.bv3e-slide { display: none; width: 100%; }
.bv3e-slide.active { display: block; animation: bv3eFadeIn 0.5s ease; }
.bv3e-slide img { width: 100%; height: auto; display: block; }
.bv3e-carousel-nav { display: flex; justify-content: center; gap: 8px; padding: 12px 0; }
.bv3e-carousel-dot {
    width: 10px; height: 10px; border-radius: 50%; background: #d1d5db;
    border: none; cursor: pointer; padding: 0; transition: all 0.2s;
}
.bv3e-carousel-dot.active { background: var(--site-accent, #7367F0); transform: scale(1.2); }
.bv3e-carousel-arrow {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
    width: 40px; height: 40px; border-radius: 50%; border: none; cursor: pointer;
    background: rgba(255,255,255,0.9); color: var(--site-text, #1a1a2e); font-size: 18px;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15); transition: all 0.2s;
}
.bv3e-carousel-arrow:hover { background: #fff; box-shadow: 0 4px 16px rgba(0,0,0,0.2); }
.bv3e-carousel-prev { left: 12px; }
.bv3e-carousel-next { right: 12px; }

/* ── 4. Hero Section ─────────────────────────────────────── */
.bv3e-hero {
    position: relative; width: 100%; min-height: 500px;
    display: flex; align-items: center; justify-content: center;
    background-size: cover; background-position: center;
    overflow: hidden;
}
.bv3e-hero[data-height="sm"] { min-height: 320px; }
.bv3e-hero[data-height="lg"] { min-height: 700px; }
.bv3e-hero[data-height="full"] { min-height: 100vh; }
.bv3e-hero-overlay {
    position: absolute; inset: 0;
    background: rgba(0,0,0,0.5); transition: background 0.3s;
}
.bv3e-hero-content {
    position: relative; z-index: 1; text-align: center;
    max-width: 800px; padding: 40px 24px; color: #fff;
}
.bv3e-hero-content h1 { font-size: 48px; font-weight: 800; margin: 0 0 16px; line-height: 1.15; }
.bv3e-hero-content p { font-size: 18px; line-height: 1.6; margin: 0 0 28px; opacity: 0.9; }
.bv3e-hero[data-parallax="true"] { background-attachment: fixed; }

/* ── 5. Video Background ─────────────────────────────────── */
.bv3e-video-bg {
    position: relative; width: 100%; min-height: 500px;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden; background: #0a0a0a;
}
.bv3e-video-bg video, .bv3e-video-bg iframe {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover; pointer-events: none;
}
.bv3e-video-bg .bv3e-hero-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.5); }
.bv3e-video-bg .bv3e-hero-content { position: relative; z-index: 1; text-align: center; max-width: 800px; padding: 40px 24px; color: #fff; }

/* ── 6. CTA Banner ───────────────────────────────────────── */
.bv3e-cta {
    padding: 60px 40px; text-align: center; border-radius: 14px;
    background: linear-gradient(135deg, var(--site-accent, #7367F0) 0%, #9f8cfc 100%);
    color: #fff;
}
.bv3e-cta h2 { font-size: 32px; font-weight: 700; margin: 0 0 12px; }
.bv3e-cta p { font-size: 16px; margin: 0 0 28px; opacity: 0.9; }
.bv3e-cta a {
    display: inline-block; padding: 14px 32px; background: #fff; color: var(--site-accent, #7367F0);
    font-weight: 700; border-radius: 8px; text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}
.bv3e-cta a:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.2); }

/* ── 7. Pricing Table ────────────────────────────────────── */
.bv3e-pricing {
    border: 1px solid var(--site-border, #e5e7eb); border-radius: 14px; padding: 32px;
    text-align: center; background: #fff; max-width: 380px;
    transition: transform 0.2s, box-shadow 0.2s;
}
.bv3e-pricing:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.1); }
.bv3e-pricing[data-highlighted="true"] {
    border-color: var(--site-accent, #7367F0); box-shadow: 0 4px 20px rgba(115,103,240,0.2);
    position: relative;
}
.bv3e-pricing[data-highlighted="true"]::before {
    content: 'Popular'; position: absolute; top: -12px; left: 50%;
    transform: translateX(-50%); background: var(--site-accent, #7367F0); color: #fff;
    padding: 4px 16px; border-radius: 20px; font-size: 12px; font-weight: 700;
}
.bv3e-pricing-badge { font-size: 13px; font-weight: 600; color: var(--site-accent, #7367F0); text-transform: uppercase; letter-spacing: 1px; margin: 0 0 8px; }
.bv3e-pricing-name { font-size: 22px; font-weight: 700; color: var(--site-text, #1a1a2e); margin: 0 0 16px; }
.bv3e-pricing-price { margin: 0 0 24px; }
.bv3e-pricing-amount { font-size: 48px; font-weight: 800; color: var(--site-text, #1a1a2e); }
.bv3e-pricing-period { font-size: 15px; color: var(--site-text-muted, #6e6e8a); }
.bv3e-pricing-features { list-style: none; padding: 0; margin: 0 0 28px; text-align: left; }
.bv3e-pricing-features li { padding: 10px 0; border-bottom: 1px solid #f0f0f5; font-size: 14px; color: #4a4a68; display: flex; align-items: center; gap: 10px; }
.bv3e-pricing-features li::before { content: '\2713'; color: #22c55e; font-weight: 700; }
.bv3e-pricing .bv3e-pricing-cta {
    display: block; width: 100%; padding: 14px; border-radius: 10px;
    font-weight: 700; font-size: 15px; text-align: center; text-decoration: none;
    background: var(--site-accent, #7367F0); color: #fff; border: none; cursor: pointer;
    transition: background 0.2s;
}
.bv3e-pricing .bv3e-pricing-cta:hover { background: #5a4fd4; }

/* ── 8. Feature Cards ────────────────────────────────────── */
.bv3e-features { display: grid; gap: 24px; grid-template-columns: repeat(3, 1fr); }
.bv3e-features[data-cols="2"] { grid-template-columns: repeat(2, 1fr); }
.bv3e-features[data-cols="4"] { grid-template-columns: repeat(4, 1fr); }
.bv3e-feature-card { padding: 28px; border-radius: 12px; }
.bv3e-feature-icon {
    width: 52px; height: 52px; border-radius: 12px; background: rgba(115,103,240,0.1);
    display: flex; align-items: center; justify-content: center;
    font-size: 22px; color: var(--site-accent, #7367F0); margin-bottom: 16px;
}
.bv3e-feature-card h4 { font-size: 17px; font-weight: 700; color: var(--site-text, #1a1a2e); margin: 0 0 8px; }
.bv3e-feature-card p { font-size: 14px; line-height: 1.65; color: var(--site-text-muted, #6e6e8a); margin: 0; }
.bv3e-features[data-card-style="shadow"] .bv3e-feature-card { box-shadow: 0 2px 12px rgba(0,0,0,0.06); background: #fff; }
.bv3e-features[data-card-style="border"] .bv3e-feature-card { border: 1px solid var(--site-border, #e5e7eb); background: #fff; }

/* ── 9. Testimonials ─────────────────────────────────────── */
.bv3e-testimonials { position: relative; overflow: hidden; }
.bv3e-testimonial-item { display: none; text-align: center; padding: 40px 20px; }
.bv3e-testimonial-item.active { display: block; animation: bv3eFadeIn 0.5s ease; }
.bv3e-testimonial-quote { font-size: 18px; line-height: 1.7; color: #4a4a68; font-style: italic; margin: 0 auto 24px; max-width: 600px; }
.bv3e-testimonial-quote::before { content: '\201C'; font-size: 48px; color: var(--site-accent, #7367F0); display: block; line-height: 1; margin-bottom: 8px; }
.bv3e-testimonial-avatar {
    width: 56px; height: 56px; border-radius: 50%; object-fit: cover;
    margin: 0 auto 12px; display: block; background: var(--site-border, #e5e7eb);
}
.bv3e-testimonial-name { font-size: 16px; font-weight: 700; color: var(--site-text, #1a1a2e); margin: 0; }
.bv3e-testimonial-role { font-size: 13px; color: var(--site-text-muted, #6e6e8a); margin: 4px 0 0; }

/* ── 10. Before / After ──────────────────────────────────── */
.bv3e-before-after {
    position: relative; width: 100%; overflow: hidden;
    border-radius: 10px; cursor: col-resize; user-select: none;
}
.bv3e-ba-before, .bv3e-ba-after {
    display: block; width: 100%; height: 100%; object-fit: cover;
}
.bv3e-ba-before { position: absolute; inset: 0; clip-path: inset(0 50% 0 0); z-index: 1; }
.bv3e-ba-after { display: block; width: 100%; }
.bv3e-ba-handle {
    position: absolute; top: 0; bottom: 0; left: 50%; z-index: 2;
    width: 4px; background: #fff; transform: translateX(-50%);
    box-shadow: 0 0 8px rgba(0,0,0,0.3);
}
.bv3e-ba-handle::after {
    content: ''; position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%); width: 40px; height: 40px;
    border-radius: 50%; background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,0.25);
    border: 3px solid var(--site-accent, #7367F0);
}
.bv3e-ba-label {
    position: absolute; top: 12px; z-index: 3; padding: 4px 12px;
    border-radius: 6px; font-size: 12px; font-weight: 700; color: #fff;
    background: rgba(0,0,0,0.5); backdrop-filter: blur(4px);
}
.bv3e-ba-label-before { left: 12px; }
.bv3e-ba-label-after { right: 12px; }

/* ── 11. Counter ─────────────────────────────────────────── */
.bv3e-counters { display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; }
.bv3e-counter {
    text-align: center; padding: 28px 20px; flex: 1; min-width: 160px;
}
.bv3e-counter-icon { font-size: 28px; color: var(--site-accent, #7367F0); margin-bottom: 12px; }
.bv3e-counter-number { font-size: 42px; font-weight: 800; color: var(--site-text, #1a1a2e); line-height: 1; }
.bv3e-counter-prefix, .bv3e-counter-suffix { font-size: 28px; font-weight: 600; color: var(--site-accent, #7367F0); }
.bv3e-counter-label { font-size: 14px; color: var(--site-text-muted, #6e6e8a); margin-top: 6px; }

/* ── 12. Countdown ───────────────────────────────────────── */
.bv3e-countdown { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.bv3e-countdown-unit {
    text-align: center; padding: 20px 16px; min-width: 90px;
    background: #fff; border-radius: 12px; box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.bv3e-countdown-number { font-size: 40px; font-weight: 800; color: var(--site-text, #1a1a2e); line-height: 1; }
.bv3e-countdown-label { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: var(--site-text-muted, #6e6e8a); margin-top: 6px; }
.bv3e-countdown[data-style="cards"] .bv3e-countdown-unit { border: 1px solid var(--site-border, #e5e7eb); }
.bv3e-countdown[data-style="circles"] .bv3e-countdown-unit {
    border-radius: 50%; width: 100px; height: 100px; min-width: unset;
    display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 12px;
    border: 3px solid var(--site-accent, #7367F0);
}
.bv3e-countdown-expired { font-size: 18px; font-weight: 700; color: var(--site-accent, #7367F0); text-align: center; padding: 20px; }

/* ── 13. Progress Bars ───────────────────────────────────── */
.bv3e-progress-wrap { margin-bottom: 20px; }
.bv3e-progress-info { display: flex; justify-content: space-between; margin-bottom: 6px; }
.bv3e-progress-label { font-size: 14px; font-weight: 600; color: var(--site-text, #1a1a2e); }
.bv3e-progress-percent { font-size: 14px; font-weight: 600; color: var(--site-text-muted, #6e6e8a); }
.bv3e-progress-bar {
    width: 100%; height: 10px; background: var(--site-border, #e5e7eb); border-radius: 10px; overflow: hidden;
}
.bv3e-progress-fill {
    height: 100%; border-radius: 10px; width: 0;
    background: linear-gradient(90deg, var(--site-accent, #7367F0), #9f8cfc);
    transition: width 1.2s cubic-bezier(0.4,0,0.2,1);
}
.bv3e-progress-fill.animated { width: var(--bv3-progress-value, 0%); }

/* ── 14. Gallery ─────────────────────────────────────────── */
.bv3e-gallery { display: grid; gap: 8px; grid-template-columns: repeat(3, 1fr); }
.bv3e-gallery[data-cols="2"] { grid-template-columns: repeat(2, 1fr); }
.bv3e-gallery[data-cols="4"] { grid-template-columns: repeat(4, 1fr); }
.bv3e-gallery[data-cols="5"] { grid-template-columns: repeat(5, 1fr); }
.bv3e-gallery-item {
    position: relative; overflow: hidden; border-radius: 8px;
    cursor: pointer; aspect-ratio: 1;
}
.bv3e-gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.bv3e-gallery-item:hover img { transform: scale(1.08); }
.bv3e-gallery-item::after {
    content: ''; position: absolute; inset: 0;
    background: rgba(0,0,0,0); transition: background 0.3s;
}
.bv3e-gallery-item:hover::after { background: rgba(0,0,0,0.2); }
/* Lightbox */
.bv3e-lightbox {
    display: none; position: fixed; inset: 0; z-index: 9999;
    background: rgba(0,0,0,0.9); align-items: center; justify-content: center;
    animation: bv3eFadeIn 0.3s ease;
}
.bv3e-lightbox.active { display: flex; }
.bv3e-lightbox img { max-width: 90vw; max-height: 90vh; border-radius: 8px; object-fit: contain; }
.bv3e-lightbox-close {
    position: absolute; top: 20px; right: 20px; width: 40px; height: 40px;
    border-radius: 50%; border: none; background: rgba(255,255,255,0.15);
    color: #fff; font-size: 24px; cursor: pointer; transition: background 0.2s;
}
.bv3e-lightbox-close:hover { background: rgba(255,255,255,0.3); }

/* ── 15. Logo Marquee ────────────────────────────────────── */
.bv3e-marquee { overflow: hidden; padding: 20px 0; }
.bv3e-marquee-track {
    display: flex; gap: 48px; align-items: center; width: max-content;
    animation: bv3eMarquee var(--bv3-marquee-duration, 20s) linear infinite;
}
.bv3e-marquee[data-direction="right"] .bv3e-marquee-track { animation-direction: reverse; }
.bv3e-marquee[data-pause-hover="true"]:hover .bv3e-marquee-track { animation-play-state: paused; }
.bv3e-marquee-item {
    flex-shrink: 0; height: 40px; display: flex; align-items: center;
    opacity: 0.5; transition: opacity 0.3s; filter: grayscale(100%);
}
.bv3e-marquee-item:hover { opacity: 1; filter: none; }
.bv3e-marquee-item img { height: 100%; width: auto; }

/* ── 16. Timeline ────────────────────────────────────────── */
.bv3e-timeline { position: relative; padding: 20px 0; }
.bv3e-timeline::before {
    content: ''; position: absolute; left: 50%; top: 0; bottom: 0;
    width: 2px; background: var(--bv3-tl-line-color, var(--site-border, #e5e7eb)); transform: translateX(-50%);
}
.bv3e-timeline[data-style="left"]::before { left: 24px; }
.bv3e-timeline-item {
    position: relative; width: 50%; padding: 0 40px 40px;
}
.bv3e-timeline-item:nth-child(odd) { left: 0; text-align: right; padding-right: 40px; padding-left: 0; }
.bv3e-timeline-item:nth-child(even) { left: 50%; text-align: left; padding-left: 40px; padding-right: 0; }
.bv3e-timeline[data-style="left"] .bv3e-timeline-item { width: 100%; left: 0; text-align: left; padding-left: 56px; padding-right: 0; }
.bv3e-timeline-dot {
    position: absolute; width: 14px; height: 14px; border-radius: 50%;
    background: var(--bv3-tl-dot-color, var(--site-accent, #7367F0)); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--bv3-tl-line-color, var(--site-border, #e5e7eb));
    top: 4px; z-index: 1;
}
.bv3e-timeline-item:nth-child(odd) .bv3e-timeline-dot { right: -7px; }
.bv3e-timeline-item:nth-child(even) .bv3e-timeline-dot { left: -7px; }
.bv3e-timeline[data-style="left"] .bv3e-timeline-item .bv3e-timeline-dot { left: 17px; }
.bv3e-timeline-date { font-size: 13px; font-weight: 600; color: var(--bv3-tl-dot-color, var(--site-accent, #7367F0)); margin-bottom: 4px; }
.bv3e-timeline-item h4 { font-size: 16px; font-weight: 700; color: var(--site-text, #1a1a2e); margin: 0 0 6px; }
.bv3e-timeline-item p { font-size: 14px; line-height: 1.6; color: var(--site-text-muted, #6e6e8a); margin: 0; }

/* ── 17. Alert ───────────────────────────────────────────── */
.bv3e-alert {
    display: flex; align-items: flex-start; gap: 12px; padding: 16px 20px;
    border-radius: 10px; font-size: 14px; line-height: 1.6;
}
.bv3e-alert-icon { font-size: 20px; flex-shrink: 0; margin-top: 1px; }
.bv3e-alert-content { flex: 1; }
.bv3e-alert-content strong { display: block; margin-bottom: 2px; }
.bv3e-alert-close {
    flex-shrink: 0; border: none; background: none; cursor: pointer;
    font-size: 18px; opacity: 0.5; padding: 0; transition: opacity 0.2s;
}
.bv3e-alert-close:hover { opacity: 1; }
.bv3e-alert[data-type="info"] { background: #eff6ff; color: #1e40af; border: 1px solid #bfdbfe; }
.bv3e-alert[data-type="success"] { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }
.bv3e-alert[data-type="warning"] { background: #fffbeb; color: #92400e; border: 1px solid #fde68a; }
.bv3e-alert[data-type="danger"] { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }

/* ── 18. Modal ───────────────────────────────────────────── */
.bv3e-modal-trigger {
    display: inline-block; padding: 12px 28px; background: var(--site-accent, #7367F0);
    color: #fff; font-weight: 700; border-radius: 8px; cursor: pointer;
    border: none; font-size: 15px; transition: background 0.2s;
}
.bv3e-modal-trigger:hover { background: #5a4fd4; }
.bv3e-modal-overlay {
    display: none; position: fixed; inset: 0; z-index: 9998;
    background: rgba(0,0,0,0.5); backdrop-filter: blur(4px);
    align-items: center; justify-content: center;
    padding: 16px; overflow-y: auto; -webkit-overflow-scrolling: touch;
}
.bv3e-modal-overlay.active { display: flex; animation: bv3eFadeIn 0.2s ease; }
.bv3e-modal-dialog {
    background: #fff; border-radius: 14px; width: 90%; max-width: 560px;
    max-height: calc(100vh - 32px); display: flex; flex-direction: column;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2); overflow: hidden;
    animation: bv3eSlideUp 0.3s ease; margin: auto;
}
.bv3e-modal-overlay[data-size="sm"] .bv3e-modal-dialog { max-width: 400px; }
.bv3e-modal-overlay[data-size="lg"] .bv3e-modal-dialog { max-width: 800px; }
.bv3e-modal-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 20px 24px; border-bottom: 1px solid var(--site-border, #e5e7eb);
    flex-shrink: 0;
}
.bv3e-modal-header h3 { font-size: 18px; font-weight: 700; color: var(--site-text, #1a1a2e); margin: 0; }
.bv3e-modal-close {
    border: none; background: none; font-size: 22px; cursor: pointer;
    color: var(--site-text-muted, #6e6e8a); padding: 4px; transition: color 0.2s;
}
.bv3e-modal-close:hover { color: var(--site-text, #1a1a2e); }
.bv3e-modal-body { padding: 24px; overflow-y: auto; -webkit-overflow-scrolling: touch; flex: 1; min-height: 0; }
.bv3e-modal-body p { margin: 0; font-size: 14px; line-height: 1.7; color: #4a4a68; }

/* ── 19. Animated Heading ────────────────────────────────── */
.bv3e-anim-heading {
    font-size: 42px; font-weight: 800; color: var(--site-text, #1a1a2e);
    margin: 0;
}
/* ── Entrance animations — scoped to .bv3e-anim-ready (published page only) ── */
/* fade-up */
.bv3e-anim-ready .bv3e-anim-heading[data-animation="fade-up"] {
    opacity: 0; transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.bv3e-anim-ready .bv3e-anim-heading[data-animation="fade-up"].visible { opacity: 1; transform: none; }
/* slide-in left */
.bv3e-anim-ready .bv3e-anim-heading[data-animation="slide-in"] {
    opacity: 0; transform: translateX(-60px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.bv3e-anim-ready .bv3e-anim-heading[data-animation="slide-in"].visible { opacity: 1; transform: none; }
/* slide-in right */
.bv3e-anim-ready .bv3e-anim-heading[data-animation="slide-in-right"] {
    opacity: 0; transform: translateX(60px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.bv3e-anim-ready .bv3e-anim-heading[data-animation="slide-in-right"].visible { opacity: 1; transform: none; }
/* zoom-in */
.bv3e-anim-ready .bv3e-anim-heading[data-animation="zoom-in"] {
    opacity: 0; transform: scale(0.6);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.bv3e-anim-ready .bv3e-anim-heading[data-animation="zoom-in"].visible { opacity: 1; transform: none; }
/* bounce */
.bv3e-anim-ready .bv3e-anim-heading[data-animation="bounce"] {
    opacity: 0; transform: translateY(-50px);
    transition: opacity 0.6s ease, transform 0.8s cubic-bezier(0.34,1.56,0.64,1);
}
.bv3e-anim-ready .bv3e-anim-heading[data-animation="bounce"].visible { opacity: 1; transform: none; }
/* blur-in */
.bv3e-anim-ready .bv3e-anim-heading[data-animation="blur-in"] {
    opacity: 0; filter: blur(12px);
    transition: opacity 0.8s ease, filter 0.8s ease;
}
.bv3e-anim-ready .bv3e-anim-heading[data-animation="blur-in"].visible { opacity: 1; filter: none; }
/* rotate-in */
.bv3e-anim-ready .bv3e-anim-heading[data-animation="rotate-in"] {
    opacity: 0; transform: rotate(-8deg) scale(0.9);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.bv3e-anim-ready .bv3e-anim-heading[data-animation="rotate-in"].visible { opacity: 1; transform: none; }
/* flip */
.bv3e-anim-ready .bv3e-anim-heading[data-animation="flip"] {
    opacity: 0; transform: perspective(600px) rotateX(-80deg);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.bv3e-anim-ready .bv3e-anim-heading[data-animation="flip"].visible { opacity: 1; transform: none; }
/* ── Always-visible animations (no scoping needed) ── */
/* gradient flow */
.bv3e-anim-heading[data-animation="gradient"] {
    background: linear-gradient(var(--bv3-grad-dir, 90deg), var(--bv3-grad-c1, #7367F0), var(--bv3-grad-c2, #e44d9a), var(--bv3-grad-c3, #ff6b35), var(--bv3-grad-c1, #7367F0));
    background-size: 300% 100%;
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: bv3eGradientFlow 4s linear infinite;
}
/* typewriter */
.bv3e-anim-heading[data-animation="typewriter"] { font-family: monospace; }
.bv3e-anim-heading[data-animation="typewriter"] .bv3e-anim-text {
    display: inline; border-right: 3px solid var(--bv3-cursor-color, var(--site-accent, #7367F0));
}
.bv3e-anim-heading[data-animation="typewriter"].bv3e-typing .bv3e-anim-text {
    animation: bv3eBlink 0.7s infinite;
}
/* highlight reveal */
.bv3e-anim-heading[data-animation="highlight"] {
    background: linear-gradient(to right, var(--bv3-highlight-color, rgba(115,103,240,0.2)), var(--bv3-highlight-color, rgba(115,103,240,0.2)));
    background-repeat: no-repeat; background-size: 0% 100%;
    background-position: 0 0; transition: background-size 1s ease;
}
.bv3e-anim-heading[data-animation="highlight"].visible { background-size: 100% 100%; }
/* glow pulse */
.bv3e-anim-heading[data-animation="glow"] {
    animation: bv3eGlow 2s ease-in-out infinite alternate;
}
@keyframes bv3eGlow {
    from { text-shadow: 0 0 10px var(--bv3-glow-c1, rgba(115,103,240,0.3)), 0 0 30px var(--bv3-glow-c2, rgba(115,103,240,0.1)); }
    to { text-shadow: 0 0 20px var(--bv3-glow-c3, rgba(115,103,240,0.6)), 0 0 60px var(--bv3-glow-c4, rgba(115,103,240,0.2)); }
}
/* underline reveal */
.bv3e-anim-heading[data-animation="underline-reveal"] {
    display: inline-block;
    background: linear-gradient(to right, var(--bv3-highlight-color, var(--site-accent, #7367F0)), var(--bv3-highlight-color, var(--site-accent, #7367F0)));
    background-repeat: no-repeat; background-position: 0 100%;
    background-size: 0% 3px; transition: background-size 1s ease;
}
.bv3e-anim-heading[data-animation="underline-reveal"].visible { background-size: 100% 3px; }
/* speed modifiers — scoped to runtime */
.bv3e-anim-ready .bv3e-anim-heading[data-speed="slow"] { transition-duration: 1.4s !important; }
.bv3e-anim-ready .bv3e-anim-heading[data-speed="fast"] { transition-duration: 0.4s !important; }

/* ── 20. Callout Box ─────────────────────────────────────── */
.bv3e-callout {
    display: flex; gap: 14px; padding: 20px; border-radius: 10px;
    border-left: 4px solid; font-size: 14px; line-height: 1.65;
}
.bv3e-callout-icon { font-size: 20px; flex-shrink: 0; }
.bv3e-callout-content { flex: 1; }
.bv3e-callout-content strong { display: block; margin-bottom: 4px; font-size: 15px; }
.bv3e-callout[data-type="info"] { background: #eff6ff; border-color: #3b82f6; color: #1e40af; }
.bv3e-callout[data-type="tip"] { background: #f0fdf4; border-color: #22c55e; color: #166534; }
.bv3e-callout[data-type="warning"] { background: #fffbeb; border-color: #f59e0b; color: #92400e; }
.bv3e-callout[data-type="note"] { background: #faf5ff; border-color: #a855f7; color: #6b21a8; }

/* ── Keyframes ───────────────────────────────────────────── */
@keyframes bv3eFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes bv3eSlideUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes bv3eMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes bv3eGradientFlow { 0% { background-position: 0% 50%; } 100% { background-position: 300% 50%; } }
@keyframes bv3eTypewriter { from { width: 0; } to { width: 100%; } }
@keyframes bv3eBlink { 50% { border-color: transparent; } }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 768px) {
    .bv3e-hero-content h1 { font-size: 32px; }
    .bv3e-features { grid-template-columns: 1fr !important; }
    .bv3e-timeline::before { left: 24px; }
    .bv3e-timeline-item { width: 100% !important; left: 0 !important; text-align: left !important; padding-left: 56px !important; padding-right: 0 !important; }
    .bv3e-timeline-item .bv3e-timeline-dot { left: 17px !important; right: auto !important; }
    .bv3e-countdown-unit { min-width: 70px; }
    .bv3e-gallery { grid-template-columns: repeat(2, 1fr) !important; }
}

/* ── Countdown: borderless style ─────────────────────────── */
.bv3e-countdown[data-style="borderless"] .bv3e-countdown-unit {
    box-shadow: none; background: transparent; border: none; padding: 12px 8px;
}

/* ── Feature Cards: 5-8 columns ──────────────────────────── */
.bv3e-features[data-cols="5"] { grid-template-columns: repeat(5, 1fr); }
.bv3e-features[data-cols="6"] { grid-template-columns: repeat(6, 1fr); }
.bv3e-features[data-cols="7"] { grid-template-columns: repeat(7, 1fr); }
.bv3e-features[data-cols="8"] { grid-template-columns: repeat(8, 1fr); }

/* ── Gallery: 6 columns ──────────────────────────────────── */
.bv3e-gallery[data-cols="6"] { grid-template-columns: repeat(6, 1fr); }

/* ── Carousel: ensure non-active slides hidden even without JS ── */
.bv3e-carousel-track .bv3e-slide:not(.active),
.bv3e-testimonials .bv3e-testimonial-item:not(.active) {
    display: none;
}
.bv3e-carousel-track .bv3e-slide.active,
.bv3e-testimonials .bv3e-testimonial-item.active {
    display: block;
}

/* ── Marquee items with images ───────────────────────────── */
.bv3e-marquee-item img {
    height: 40px; width: auto; display: block; cursor: pointer;
}



/* ── Modal: style/backdrop/animation variants ────────────── */
.bv3e-modal-overlay[data-size="full"] .bv3e-modal-dialog {
    max-width: 100%; width: 100%; height: 100%; max-height: 100vh; border-radius: 0;
}
.bv3e-modal-overlay[data-size="full"] { padding: 0; }
.bv3e-modal-overlay[data-style="minimal"] .bv3e-modal-header { display: none; }
.bv3e-modal-overlay[data-backdrop="blur"] { background: rgba(0,0,0,0.3); backdrop-filter: blur(8px); }
.bv3e-modal-overlay[data-backdrop="dark"] { background: rgba(0,0,0,0.7); backdrop-filter: none; }
.bv3e-modal-overlay[data-backdrop="transparent"] { background: rgba(0,0,0,0.05); backdrop-filter: none; }
.bv3e-modal-overlay[data-backdrop="none"] { background: none; backdrop-filter: none; pointer-events: none; }
.bv3e-modal-overlay[data-backdrop="none"] .bv3e-modal-dialog { pointer-events: auto; }
.bv3e-modal-overlay[data-animation="fade"] .bv3e-modal-dialog { animation: bv3eFadeIn 0.3s ease; }
.bv3e-modal-overlay[data-animation="zoom"] .bv3e-modal-dialog { animation: bv3eZoomIn 0.3s ease; }
.bv3e-modal-overlay[data-animation="none"] .bv3e-modal-dialog { animation: none; }
@keyframes bv3eZoomIn { from { opacity: 0; transform: scale(0.8); } to { opacity: 1; transform: none; } }

/* ── Video Background: height variants ───────────────────── */
.bv3e-video-bg[data-height="sm"] { min-height: 320px; }
.bv3e-video-bg[data-height="lg"] { min-height: 700px; }
.bv3e-video-bg[data-height="full"] { min-height: 100vh; }

/* ── Pricing Table: multi-column container ───────────────── */
.bv3e-pricing-table {
    display: flex; gap: 24px; justify-content: center;
    align-items: stretch; flex-wrap: wrap; padding: 20px 0;
}
.bv3e-pricing-table .bv3e-pricing { flex: 1; min-width: 260px; max-width: 380px; }

/* ── Alert/Callout: feather icon sizing ──────────────────── */
.bv3e-alert-icon .feather, .bv3e-alert-icon i[class*="icon-"] { font-size: 20px; }
.bv3e-callout-icon .feather, .bv3e-callout-icon i[class*="icon-"] { font-size: 20px; }


/* ══════════════════════════════════════════════════════════════
   CSS CLASS PRESETS — Apply via class browser
   ══════════════════════════════════════════════════════════════ */

/* ── Button Effects ─────────────────────────────────────────── */

/* Glassmorphism button */
.bv3e-btn-glass {
    background: rgba(255,255,255,0.15) !important;
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.2) !important;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    transition: background 0.3s, box-shadow 0.3s;
}
.bv3e-btn-glass:hover {
    background: rgba(255,255,255,0.25) !important;
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
}

/* Shimmer sweep button */
.bv3e-btn-shimmer { position: relative; overflow: hidden; }
.bv3e-btn-shimmer::after {
    content: ''; position: absolute; top: 0; left: -100%; width: 50%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: bv3eShimmer 2.5s ease-in-out infinite;
}
@keyframes bv3eShimmer { 0% { left: -100%; } 50%,100% { left: 150%; } }

/* Icon slides in on hover */
.bv3e-btn-icon-slide { overflow: hidden; position: relative; }
.bv3e-btn-icon-slide i, .bv3e-btn-icon-slide svg {
    transition: transform 0.3s, opacity 0.3s;
    transform: translateX(-20px); opacity: 0;
}
.bv3e-btn-icon-slide:hover i, .bv3e-btn-icon-slide:hover svg {
    transform: translateX(0); opacity: 1;
}

/* Pulsing glow button */
.bv3e-btn-glow {
    --bv3e-glow-color: var(--site-accent, #7367F0);
    animation: bv3eBtnGlow 2s ease-in-out infinite alternate;
}
@keyframes bv3eBtnGlow {
    from { box-shadow: 0 0 8px color-mix(in srgb, var(--bv3e-glow-color) 40%, transparent), 0 0 24px color-mix(in srgb, var(--bv3e-glow-color) 10%, transparent); }
    to   { box-shadow: 0 0 16px color-mix(in srgb, var(--bv3e-glow-color) 60%, transparent), 0 0 48px color-mix(in srgb, var(--bv3e-glow-color) 20%, transparent); }
}

/* ── Hover Effects ──────────────────────────────────────────── */

/* Lift on hover */
.bv3e-hover-lift { transition: transform 0.3s ease, box-shadow 0.3s ease; }
.bv3e-hover-lift:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.12); }

/* Scale on hover */
.bv3e-hover-scale { transition: transform 0.3s ease; }
.bv3e-hover-scale:hover { transform: scale(1.05); }

/* Slight tilt on hover */
.bv3e-hover-tilt { transition: transform 0.3s ease; perspective: 600px; }
.bv3e-hover-tilt:hover { transform: perspective(600px) rotateX(3deg) rotateY(-3deg); }

/* Shine sweep on hover */
.bv3e-hover-shine { position: relative; overflow: hidden; }
.bv3e-hover-shine::before {
    content: ''; position: absolute; top: 0; left: -75%; width: 50%; height: 100%;
    background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.25) 50%, transparent 70%);
    transition: left 0.6s ease; z-index: 1;
}
.bv3e-hover-shine:hover::before { left: 125%; }

/* ── Text Effects ───────────────────────────────────────────── */

/* Glow on hover text */
.bv3e-text-glow-hover { --bv3e-glow-color: var(--site-accent, #7367F0); transition: text-shadow 0.3s ease; }
.bv3e-text-glow-hover:hover {
    text-shadow: 0 0 8px color-mix(in srgb, var(--bv3e-glow-color) 50%, transparent), 0 0 24px color-mix(in srgb, var(--bv3e-glow-color) 20%, transparent), 0 0 48px color-mix(in srgb, var(--bv3e-glow-color) 10%, transparent);
}

/* Image clipped behind text */
.bv3e-text-clip-image {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='200'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0%25' stop-color='%237367F0'/%3E%3Cstop offset='50%25' stop-color='%23e44d9a'/%3E%3Cstop offset='100%25' stop-color='%23ff6b35'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect fill='url(%23g)' width='400' height='200'/%3E%3C/svg%3E");
    background-size: cover; background-position: center;
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Static gradient text — edit --bv3e-grad-1/2/3 to change colors */
.bv3e-text-gradient {
    --bv3e-grad-1: var(--site-accent, #7367F0);
    --bv3e-grad-2: var(--site-accent-alt, #e44d9a);
    --bv3e-grad-3: #ff6b35;
    background: linear-gradient(135deg, var(--bv3e-grad-1), var(--bv3e-grad-2), var(--bv3e-grad-3));
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Reveal on scroll (works with IntersectionObserver) */
.bv3e-text-reveal-scroll {
    opacity: 0; transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.bv3e-text-reveal-scroll.bv3e-visible { opacity: 1; transform: none; }

/* ── Backgrounds ────────────────────────────────────────────── */

/* Animated gradient background — edit --bv3e-grad-1/2/3/4 to change colors */
.bv3e-bg-gradient-anim {
    --bv3e-grad-1: var(--site-accent, #7367F0);
    --bv3e-grad-2: var(--site-accent-alt, #e44d9a);
    --bv3e-grad-3: #ff6b35;
    --bv3e-grad-4: #22c55e;
    background: linear-gradient(-45deg, var(--bv3e-grad-1), var(--bv3e-grad-2), var(--bv3e-grad-3), var(--bv3e-grad-4)) !important;
    background-size: 400% 400% !important;
    animation: bv3eBgGradAnim 12s ease infinite;
}
@keyframes bv3eBgGradAnim {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Noise texture overlay */
.bv3e-bg-noise { position: relative; }
.bv3e-bg-noise::after {
    content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-repeat: repeat; background-size: 256px 256px;
}
.bv3e-bg-noise > * { position: relative; z-index: 1; }

/* Mesh gradient — edit --bv3e-mesh-1/2/3/4 to change colors */
.bv3e-bg-mesh {
    --bv3e-mesh-1: rgba(115,103,240,0.35);
    --bv3e-mesh-2: rgba(228,77,154,0.3);
    --bv3e-mesh-3: rgba(255,107,53,0.25);
    --bv3e-mesh-4: rgba(34,197,94,0.2);
    background:
        radial-gradient(at 20% 30%, var(--bv3e-mesh-1) 0%, transparent 60%),
        radial-gradient(at 80% 20%, var(--bv3e-mesh-2) 0%, transparent 50%),
        radial-gradient(at 50% 80%, var(--bv3e-mesh-3) 0%, transparent 55%),
        radial-gradient(at 90% 70%, var(--bv3e-mesh-4) 0%, transparent 50%) !important;
}

/* ── Scroll Animations ──────────────────────────────────────── */

/* Fade up on viewport entry */
.bv3e-scroll-fade-up {
    opacity: 0; transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.bv3e-scroll-fade-up.bv3e-visible { opacity: 1; transform: none; }

/* Fade from left */
.bv3e-scroll-fade-left {
    opacity: 0; transform: translateX(-40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.bv3e-scroll-fade-left.bv3e-visible { opacity: 1; transform: none; }

/* Zoom in */
.bv3e-scroll-zoom {
    opacity: 0; transform: scale(0.85);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.bv3e-scroll-zoom.bv3e-visible { opacity: 1; transform: none; }

/* ── Border Effects ─────────────────────────────────────────── */

/* Animated border glow */
.bv3e-border-glow {
    --bv3e-glow-color: var(--site-accent, #7367F0);
    animation: bv3eBorderGlow 2s ease-in-out infinite alternate;
}
@keyframes bv3eBorderGlow {
    from { box-shadow: 0 0 4px color-mix(in srgb, var(--bv3e-glow-color) 30%, transparent), 0 0 12px color-mix(in srgb, var(--bv3e-glow-color) 10%, transparent); }
    to   { box-shadow: 0 0 8px color-mix(in srgb, var(--bv3e-glow-color) 50%, transparent), 0 0 24px color-mix(in srgb, var(--bv3e-glow-color) 20%, transparent); }
}

/* Border radius changes on scroll */
.bv3e-border-radius-scroll {
    transition: border-radius 0.6s ease;
    border-radius: 0;
}
.bv3e-border-radius-scroll.bv3e-visible { border-radius: 24px; }


/* ══════════════════════════════════════════════════════════════
   NEW COMPONENT TYPES — Batch 2: Pure CSS Components
   ══════════════════════════════════════════════════════════════ */

/* ── Tooltip ────────────────────────────────────────────────── */
.bv3e-tooltip { position: relative; display: inline-block; }
.bv3e-tooltip::after {
    content: attr(data-tip); position: absolute; z-index: 100;
    padding: 6px 12px; border-radius: 6px;
    font-size: var(--bv3-tip-size, 12px); font-weight: 500;
    max-width: var(--bv3-tip-max-w, 200px); white-space: normal;
    pointer-events: none;
    opacity: 0; transform: translateY(4px);
    transition: opacity 0.2s, transform 0.2s;
}
.bv3e-tooltip:hover::after { opacity: 1; transform: none; }
/* Positions */
.bv3e-tooltip[data-position="top"]::after, .bv3e-tooltip::after {
    bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%) translateY(4px);
}
.bv3e-tooltip[data-position="top"]:hover::after, .bv3e-tooltip:hover::after {
    transform: translateX(-50%);
}
.bv3e-tooltip[data-position="bottom"]::after {
    top: calc(100% + 6px); bottom: auto; left: 50%; transform: translateX(-50%) translateY(-4px);
}
.bv3e-tooltip[data-position="bottom"]:hover::after { transform: translateX(-50%); }
.bv3e-tooltip[data-position="left"]::after {
    right: calc(100% + 6px); left: auto; top: 50%; bottom: auto;
    transform: translateY(-50%) translateX(4px);
}
.bv3e-tooltip[data-position="left"]:hover::after { transform: translateY(-50%); }
.bv3e-tooltip[data-position="right"]::after {
    left: calc(100% + 6px); top: 50%; bottom: auto;
    transform: translateY(-50%) translateX(-4px);
}
.bv3e-tooltip[data-position="right"]:hover::after { transform: translateY(-50%); }
/* Styles */
.bv3e-tooltip[data-tip-style="dark"]::after, .bv3e-tooltip::after {
    background: #1a1a2e; color: #fff;
}
.bv3e-tooltip[data-tip-style="light"]::after { background: #fff; color: var(--site-text, #1a1a2e); box-shadow: 0 2px 12px rgba(0,0,0,0.12); }
.bv3e-tooltip[data-tip-style="primary"]::after { background: var(--site-accent, #7367F0); color: #fff; }

/* ── Breadcrumbs ────────────────────────────────────────────── */
.bv3e-breadcrumbs { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 14px; }
.bv3e-breadcrumb-item { color: var(--bv3-bc-color, var(--site-text-muted, #6e6e8a)); text-decoration: none; transition: color 0.2s; }
a.bv3e-breadcrumb-item:hover { color: var(--site-accent, #7367F0); }
.bv3e-breadcrumb-item:last-child { color: var(--bv3-bc-active, var(--site-text, #1a1a2e)); font-weight: 600; }
.bv3e-breadcrumb-sep { color: #c0c0d0; font-size: 12px; user-select: none; }
/* Styles */
.bv3e-breadcrumbs[data-style="pills"] .bv3e-breadcrumb-item {
    padding: 4px 12px; background: #f0f0f5; border-radius: 20px;
}
.bv3e-breadcrumbs[data-style="pills"] .bv3e-breadcrumb-item:last-child { background: var(--site-accent, #7367F0); color: #fff; }
.bv3e-breadcrumbs[data-style="outlined"] .bv3e-breadcrumb-item {
    padding: 4px 12px; border: 1px solid var(--site-border, #e5e7eb); border-radius: 6px;
}
.bv3e-breadcrumbs[data-style="outlined"] .bv3e-breadcrumb-item:last-child { border-color: var(--site-accent, #7367F0); color: var(--site-accent, #7367F0); }

/* ── Tag Cloud ──────────────────────────────────────────────── */
.bv3e-tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.bv3e-tag {
    display: inline-block; padding: 5px 14px; font-size: 13px; font-weight: 500;
    border-radius: 20px; transition: all 0.2s; cursor: default;
}
.bv3e-tag-cloud[data-tag-style="pill"] .bv3e-tag, .bv3e-tag-cloud .bv3e-tag {
    background: #f0eeff; color: var(--site-accent, #7367F0);
}
.bv3e-tag-cloud[data-tag-style="outline"] .bv3e-tag {
    background: transparent; border: 1px solid #d1d5db; color: #4a4a68;
}
.bv3e-tag-cloud[data-tag-style="solid"] .bv3e-tag { background: var(--site-accent, #7367F0); color: #fff; }
.bv3e-tag-cloud[data-size="sm"] .bv3e-tag { padding: 3px 10px; font-size: 11px; }
.bv3e-tag-cloud[data-size="lg"] .bv3e-tag { padding: 8px 20px; font-size: 15px; }
/* Color schemes */
.bv3e-tag-cloud[data-colors="multi"] .bv3e-tag:nth-child(6n+1) { background: #f0eeff; color: var(--site-accent, #7367F0); }
.bv3e-tag-cloud[data-colors="multi"] .bv3e-tag:nth-child(6n+2) { background: #fce4ec; color: var(--site-accent-alt, #e44d9a); }
.bv3e-tag-cloud[data-colors="multi"] .bv3e-tag:nth-child(6n+3) { background: #fff3e0; color: #f59e0b; }
.bv3e-tag-cloud[data-colors="multi"] .bv3e-tag:nth-child(6n+4) { background: #e8f5e9; color: #22c55e; }
.bv3e-tag-cloud[data-colors="multi"] .bv3e-tag:nth-child(6n+5) { background: #e3f2fd; color: #3b82f6; }
.bv3e-tag-cloud[data-colors="multi"] .bv3e-tag:nth-child(6n+6) { background: #f3e5f5; color: #a855f7; }

/* ── Stat Card ──────────────────────────────────────────────── */
.bv3e-stat-card { padding: 24px; min-width: 200px; }
.bv3e-stat-card[data-card-style="bordered"] { border: 1px solid var(--site-border, #e5e7eb); border-radius: 12px; }
.bv3e-stat-card[data-card-style="shadow"] { border-radius: 12px; box-shadow: 0 2px 12px rgba(0,0,0,0.06); background: #fff; }
.bv3e-stat-card[data-card-style="flat"] { background: #f9fafb; border-radius: 12px; }
.bv3e-stat-label { font-size: 13px; color: var(--site-text-muted, #6e6e8a); margin: 0 0 4px; text-transform: uppercase; letter-spacing: 0.5px; }
.bv3e-stat-value { font-size: 36px; font-weight: 800; color: var(--site-text, #1a1a2e); margin: 0 0 8px; line-height: 1; }
.bv3e-stat-trend { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 600; }
.bv3e-stat-trend[data-trend="up"] { color: #22c55e; }
.bv3e-stat-trend[data-trend="down"] { color: #ef4444; }
.bv3e-stat-trend[data-trend="neutral"] { color: var(--site-text-muted, #6e6e8a); }
.bv3e-stat-trend::before { font-size: 16px; }
.bv3e-stat-trend[data-trend="up"]::before { content: '\2191'; }
.bv3e-stat-trend[data-trend="down"]::before { content: '\2193'; }
.bv3e-stat-trend[data-trend="neutral"]::before { content: '\2192'; }

/* ── Rating ─────────────────────────────────────────────────── */
.bv3e-rating { display: inline-flex; gap: 2px; align-items: center; }
.bv3e-rating-star {
    width: 24px; height: 24px; flex-shrink: 0;
}
.bv3e-rating[data-size="sm"] .bv3e-rating-star { width: 16px; height: 16px; }
.bv3e-rating[data-size="lg"] .bv3e-rating-star { width: 32px; height: 32px; }
.bv3e-rating[data-size="xl"] .bv3e-rating-star { width: 40px; height: 40px; }

/* ── Avatar Group ───────────────────────────────────────────── */
.bv3e-avatar-group { display: flex; align-items: center; }
.bv3e-avatar {
    width: 40px; height: 40px; border-radius: 50%; border: 2px solid #fff;
    object-fit: cover; background: var(--site-border, #e5e7eb); flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    font-size: 14px; font-weight: 600; color: var(--site-text-muted, #6e6e8a);
}
.bv3e-avatar + .bv3e-avatar { margin-left: var(--bv3-avatar-overlap, -12px); }
.bv3e-avatar-group[data-size="sm"] .bv3e-avatar { width: 32px; height: 32px; font-size: 11px; }
.bv3e-avatar-group[data-size="lg"] .bv3e-avatar { width: 52px; height: 52px; font-size: 18px; }
.bv3e-avatar-group[data-size="xl"] .bv3e-avatar { width: 64px; height: 64px; font-size: 20px; }
.bv3e-avatar-overflow {
    width: 40px; height: 40px; border-radius: 50%; border: 2px solid #fff;
    background: #f0eeff; color: var(--site-accent, #7367F0); font-size: 12px; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    margin-left: var(--bv3-avatar-overlap, -12px);
}

/* ── Toggle Switch ──────────────────────────────────────────── */
.bv3e-toggle { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; }
.bv3e-toggle input[type="checkbox"] { display: none; }
.bv3e-toggle-slider {
    position: relative; width: 44px; height: 24px; border-radius: 24px;
    background: #d1d5db; transition: background 0.3s; flex-shrink: 0;
}
.bv3e-toggle-slider::after {
    content: ''; position: absolute; top: 2px; left: 2px;
    width: 20px; height: 20px; border-radius: 50%; background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.15); transition: transform 0.3s;
}
.bv3e-toggle input:checked + .bv3e-toggle-slider { background: var(--bv3-toggle-color, var(--site-accent, #7367F0)); }
.bv3e-toggle input:checked + .bv3e-toggle-slider::after { transform: translateX(20px); }
.bv3e-toggle-label { font-size: 14px; color: #4a4a68; user-select: none; }
.bv3e-toggle[data-size="sm"] .bv3e-toggle-slider { width: 36px; height: 20px; }
.bv3e-toggle[data-size="sm"] .bv3e-toggle-slider::after { width: 16px; height: 16px; }
.bv3e-toggle[data-size="sm"] input:checked + .bv3e-toggle-slider::after { transform: translateX(16px); }
.bv3e-toggle[data-size="lg"] .bv3e-toggle-slider { width: 56px; height: 30px; }
.bv3e-toggle[data-size="lg"] .bv3e-toggle-slider::after { width: 26px; height: 26px; }
.bv3e-toggle[data-size="lg"] input:checked + .bv3e-toggle-slider::after { transform: translateX(26px); }

/* ── Floating Label Input ───────────────────────────────────── */
.bv3e-float-input { position: relative; margin: 8px 0; }
.bv3e-fi-field {
    width: 100%; padding: 16px 14px 6px; font-size: 15px; border: 1px solid #d1d5db;
    border-radius: 8px; outline: none; background: #fff; color: var(--site-text, #1a1a2e);
    transition: border-color 0.2s; box-sizing: border-box;
}
.bv3e-fi-field:focus { border-color: var(--bv3-fi-accent, var(--site-accent, #7367F0)); }
.bv3e-fi-label {
    position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
    font-size: 15px; color: #9ca3af; pointer-events: none;
    transition: all 0.2s ease;
}
.bv3e-fi-field:focus + .bv3e-fi-label,
.bv3e-fi-field:not(:placeholder-shown) + .bv3e-fi-label {
    top: 6px; transform: none; font-size: 11px; color: var(--bv3-fi-accent, var(--site-accent, #7367F0));
}

/* ── Conic Border Animation ─────────────────────────────────── */
.bv3e-conic-border {
    position: relative; padding: 24px; overflow: hidden;
    border-radius: var(--bv3-cb-radius, 12px);
}
.bv3e-conic-border::before {
    content: ''; position: absolute; inset: 0; z-index: -2;
    background: conic-gradient(
        var(--bv3-cb-c1, #7367F0),
        var(--bv3-cb-c2, #e44d9a),
        var(--bv3-cb-c1, #7367F0)
    );
    animation: bv3eConicSpin var(--bv3-cb-speed, 3s) linear infinite;
    border-radius: inherit;
}
.bv3e-conic-border::after {
    content: ''; position: absolute;
    inset: var(--bv3-cb-width, 2px); z-index: -1;
    background: var(--bv3-cb-bg, #fff); border-radius: inherit;
}
@keyframes bv3eConicSpin { to { transform: rotate(360deg); } }


/* ══════════════════════════════════════════════════════════════
   NEW COMPONENT TYPES — Batch 3: Simple Runtime Components
   ══════════════════════════════════════════════════════════════ */

/* ── Animated Gradient Background ───────────────────────────── */
.bv3e-grad-bg {
    background: linear-gradient(
        var(--bv3-gbg-dir, 135deg),
        var(--bv3-gbg-c1, #7367F0),
        var(--bv3-gbg-c2, #e44d9a),
        var(--bv3-gbg-c3, #ff6b35),
        var(--bv3-gbg-c4, #22c55e)
    );
    background-size: 400% 400%;
    animation: bv3eGradBg var(--bv3-gbg-speed, 8s) ease infinite;
    min-height: 200px; padding: 40px;
}
@keyframes bv3eGradBg {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ── Code Block ─────────────────────────────────────────────── */
.bv3e-code-block { border-radius: 10px; overflow: hidden; font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace; }
.bv3e-code-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 10px 16px; font-size: 12px; font-weight: 600;
}
.bv3e-code-block[data-theme="dark"] .bv3e-code-header { background: #1e1e2e; color: #a0a0c0; }
.bv3e-code-block[data-theme="light"] .bv3e-code-header { background: #f0f0f5; color: var(--site-text-muted, #6e6e8a); }
.bv3e-code-header-dots { display: flex; gap: 6px; }
.bv3e-code-header-dots span { width: 10px; height: 10px; border-radius: 50%; }
.bv3e-code-header-dots span:nth-child(1) { background: #ff5f57; }
.bv3e-code-header-dots span:nth-child(2) { background: #febc2e; }
.bv3e-code-header-dots span:nth-child(3) { background: #28c840; }
.bv3e-code-copy {
    border: none; background: rgba(255,255,255,0.1); color: inherit;
    padding: 4px 10px; border-radius: 4px; font-size: 11px; cursor: pointer;
    transition: background 0.2s;
}
.bv3e-code-copy:hover { background: rgba(255,255,255,0.2); }
.bv3e-code-body { padding: 16px 20px; font-size: 13px; line-height: 1.7; overflow-x: auto; white-space: pre-wrap; word-break: break-word; }
.bv3e-code-block[data-theme="dark"] .bv3e-code-body { background: #282a36; color: #f8f8f2; }
.bv3e-code-block[data-theme="light"] .bv3e-code-body { background: #fafafa; color: #383a42; }
.bv3e-code-body .bv3e-line-num {
    display: inline-block; width: 32px; text-align: right; margin-right: 16px;
    opacity: 0.3; user-select: none;
}

/* ── Back To Top ────────────────────────────────────────────── */
.bv3e-back-to-top {
    position: fixed; z-index: 9990; width: 44px; height: 44px;
    border-radius: 50%; border: none; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    background: var(--bv3-btt-color, var(--site-accent, #7367F0)); color: #fff; font-size: 20px;
    box-shadow: 0 4px 16px rgba(115,103,240,0.3);
    opacity: 0; transform: translateY(16px); pointer-events: none;
    transition: opacity 0.3s, transform 0.3s, background 0.2s;
}
.bv3e-back-to-top.bv3e-visible { opacity: 1; transform: none; pointer-events: auto; }
.bv3e-back-to-top:hover { filter: brightness(0.85); }
.bv3e-back-to-top[data-position="bottom-right"] { bottom: 24px; right: 24px; }
.bv3e-back-to-top[data-position="bottom-left"] { bottom: 24px; left: 24px; }
.bv3e-back-to-top[data-position="bottom-center"] { bottom: 24px; left: 50%; margin-left: -22px; }
.bv3e-back-to-top[data-size="sm"] { width: 36px; height: 36px; font-size: 16px; }
.bv3e-back-to-top[data-size="lg"] { width: 52px; height: 52px; font-size: 24px; }

/* ── Cookie Banner ──────────────────────────────────────────── */
.bv3e-cookie-banner {
    position: fixed; left: 0; right: 0; z-index: 9995; padding: 16px 24px;
    display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
    font-size: 14px; transition: transform 0.4s ease;
}
.bv3e-cookie-banner[data-position="bottom"] { bottom: 0; }
.bv3e-cookie-banner[data-position="top"] { top: 0; }
.bv3e-cookie-banner.bv3e-hidden { transform: translateY(100%); }
.bv3e-cookie-banner[data-position="top"].bv3e-hidden { transform: translateY(-100%); }
.bv3e-cookie-banner[data-cb-style="dark"] { background: #1a1a2e; color: #e0e0e0; }
.bv3e-cookie-banner[data-cb-style="light"] { background: #fff; color: #333; box-shadow: 0 -2px 12px rgba(0,0,0,0.08); }
.bv3e-cookie-banner[data-cb-style="primary"] { background: var(--site-accent, #7367F0); color: #fff; }
.bv3e-cookie-text { flex: 1; min-width: 200px; }
.bv3e-cookie-text a { color: inherit; text-decoration: underline; }
.bv3e-cookie-actions { display: flex; gap: 8px; flex-shrink: 0; }
.bv3e-cookie-accept, .bv3e-cookie-decline {
    padding: 8px 20px; border-radius: 6px; font-size: 13px; font-weight: 600;
    border: none; cursor: pointer; transition: opacity 0.2s;
}
.bv3e-cookie-accept { background: #fff; color: var(--site-text, #1a1a2e); }
.bv3e-cookie-banner[data-cb-style="light"] .bv3e-cookie-accept { background: var(--site-accent, #7367F0); color: #fff; }
.bv3e-cookie-decline { background: transparent; color: inherit; border: 1px solid rgba(255,255,255,0.3); }
.bv3e-cookie-banner[data-cb-style="light"] .bv3e-cookie-decline { border-color: #d1d5db; color: var(--site-text-muted, #6e6e8a); }

/* ── Scroll Progress Bar ────────────────────────────────────── */
.bv3e-scroll-progress {
    position: fixed; left: 0; right: 0; z-index: 9990; height: var(--bv3-sp-height, 3px);
}
.bv3e-scroll-progress[data-position="top"] { top: 0; }
.bv3e-scroll-progress[data-position="bottom"] { bottom: 0; }
.bv3e-scroll-progress-bar {
    height: 100%; width: 0; background: var(--bv3-sp-color, var(--site-accent, #7367F0));
    transition: width 0.1s linear;
}

/* ── Circular Progress ──────────────────────────────────────── */
.bv3e-circular-progress {
    display: inline-flex; flex-direction: column; align-items: center; gap: 8px;
}
.bv3e-circular-progress-ring { position: relative; }
.bv3e-circular-progress-ring svg { transform: rotate(-90deg); }
.bv3e-circular-progress-ring .bv3e-cp-track {
    fill: none; stroke: var(--bv3-cp-track, var(--site-border, #e5e7eb));
}
.bv3e-circular-progress-ring .bv3e-cp-fill {
    fill: none; stroke: var(--bv3-cp-fill, var(--site-accent, #7367F0));
    stroke-linecap: round;
    transition: stroke-dashoffset 1.2s cubic-bezier(0.4,0,0.2,1);
}
.bv3e-circular-progress-value {
    position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
    font-weight: 800; color: var(--site-text, #1a1a2e);
}
.bv3e-circular-progress[data-size="sm"] .bv3e-circular-progress-value { font-size: 14px; }
.bv3e-circular-progress[data-size="md"] .bv3e-circular-progress-value { font-size: 20px; }
.bv3e-circular-progress[data-size="lg"] .bv3e-circular-progress-value { font-size: 28px; }
.bv3e-circular-progress-label { font-size: 13px; color: var(--site-text-muted, #6e6e8a); }

/* ── Range Slider Display ───────────────────────────────────── */
.bv3e-range-display { padding: 12px 0; }
.bv3e-range-display input[type="range"] {
    width: 100%; height: 6px; -webkit-appearance: none; appearance: none;
    background: var(--site-border, #e5e7eb); border-radius: 6px; outline: none;
}
.bv3e-range-display input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%;
    background: var(--bv3-range-color, var(--site-accent, #7367F0)); cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
.bv3e-range-display input[type="range"]::-moz-range-thumb {
    width: 20px; height: 20px; border-radius: 50%;
    background: var(--bv3-range-color, var(--site-accent, #7367F0)); cursor: pointer; border: none;
}
.bv3e-range-value {
    text-align: center; font-size: 28px; font-weight: 800; color: var(--site-text, #1a1a2e);
    margin-top: 8px;
}


/* ══════════════════════════════════════════════════════════════
   NEW COMPONENT TYPES — Batch 4: Complex Interactive
   ══════════════════════════════════════════════════════════════ */

/* ── Tilt Card ──────────────────────────────────────────────── */
.bv3e-tilt-card {
    perspective: 800px; padding: 32px; border-radius: 14px;
    background: #fff; border: 1px solid var(--site-border, #e5e7eb);
    transition: transform 0.15s ease-out, box-shadow 0.3s;
    transform-style: preserve-3d; will-change: transform;
}
.bv3e-tilt-card[data-glow="true"]:hover {
    box-shadow: 0 0 30px var(--bv3-tilt-glow, rgba(115,103,240,0.25));
}
.bv3e-tilt-card[data-scale="true"]:hover { transform: scale(1.02); }

/* ── Horizontal Scroller ────────────────────────────────────── */
.bv3e-h-scroll { position: relative; }
.bv3e-h-scroll-track {
    display: flex; overflow-x: auto; gap: var(--bv3-hs-gap, 16px);
    scroll-behavior: smooth; -webkit-overflow-scrolling: touch;
    scrollbar-width: thin; scrollbar-color: #d1d5db transparent;
    padding: 8px 0;
}
.bv3e-h-scroll[data-snap="true"] .bv3e-h-scroll-track { scroll-snap-type: x mandatory; }
.bv3e-h-scroll-track > * { flex-shrink: 0; scroll-snap-align: start; }
.bv3e-h-scroll-track::-webkit-scrollbar { height: 6px; }
.bv3e-h-scroll-track::-webkit-scrollbar-track { background: transparent; }
.bv3e-h-scroll-track::-webkit-scrollbar-thumb { background: #d1d5db; border-radius: 6px; }
.bv3e-h-scroll[data-scrollbar="false"] .bv3e-h-scroll-track { scrollbar-width: none; }
.bv3e-h-scroll[data-scrollbar="false"] .bv3e-h-scroll-track::-webkit-scrollbar { display: none; }
.bv3e-h-scroll-arrow {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
    width: 36px; height: 36px; border-radius: 50%; border: none; cursor: pointer;
    background: rgba(255,255,255,0.95); color: var(--site-text, #1a1a2e);
    box-shadow: 0 2px 8px rgba(0,0,0,0.12); font-size: 16px;
    display: flex; align-items: center; justify-content: center;
    transition: box-shadow 0.2s;
}
.bv3e-h-scroll-arrow:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.18); }
.bv3e-h-scroll-prev { left: 8px; }
.bv3e-h-scroll-next { right: 8px; }

/* ── AmbiLight Video ────────────────────────────────────────── */
.bv3e-ambilight { position: relative; display: inline-block; }
.bv3e-ambilight-glow {
    position: absolute; inset: 0; z-index: -1;
    filter: blur(var(--bv3-al-spread, 40px));
    opacity: var(--bv3-al-intensity, 0.6);
    border-radius: inherit;
}
.bv3e-ambilight-glow video, .bv3e-ambilight-glow iframe {
    width: 100%; height: 100%; object-fit: cover; border-radius: inherit;
}
.bv3e-ambilight > video, .bv3e-ambilight > iframe {
    position: relative; z-index: 1; display: block;
    border-radius: var(--bv3-al-radius, 12px);
}

/* ── Magnetic Button ────────────────────────────────────────── */
.bv3e-magnetic-btn {
    display: inline-block; position: relative; padding: 20px;
}
.bv3e-magnetic-btn-inner {
    display: inline-block; padding: 14px 32px; font-size: 15px; font-weight: 700;
    border-radius: 8px; text-decoration: none; text-align: center;
    transition: transform 0.2s cubic-bezier(0.23,1,0.32,1);
    will-change: transform;
}
.bv3e-magnetic-btn-inner[data-mag-style="solid"] { background: var(--site-accent, #7367F0); color: #fff; }
.bv3e-magnetic-btn-inner[data-mag-style="outline"] {
    background: transparent; color: var(--site-accent, #7367F0); border: 2px solid var(--site-accent, #7367F0);
}
.bv3e-magnetic-btn-inner[data-mag-style="ghost"] {
    background: transparent; color: var(--site-text, #1a1a2e); border: none;
}

/* ── Smooth Tabs ────────────────────────────────────────────── */
.bv3e-smooth-tabs { font-family: inherit; width: 100%; }
.bv3e-smooth-tabs-nav {
    display: flex; position: relative; gap: 0; margin-bottom: 20px;
}
.bv3e-smooth-tab-btn {
    padding: 10px 20px; font-size: var(--bv3-st-tab-size, 14px); font-weight: 600; cursor: pointer;
    border: none; background: none; color: var(--bv3-st-tab-color, var(--site-text-muted, #6e6e8a)); white-space: nowrap;
    transition: color 0.2s; position: relative; z-index: 1;
}
.bv3e-smooth-tab-btn.active { color: var(--bv3-st-active-color, var(--site-accent, #7367F0)); }
.bv3e-smooth-tab-indicator {
    position: absolute; bottom: 0; height: 3px; border-radius: 3px;
    background: var(--bv3-st-color, var(--site-accent, #7367F0));
    transition: left 0.35s cubic-bezier(0.4,0,0.2,1), width 0.35s cubic-bezier(0.4,0,0.2,1);
}
.bv3e-smooth-tabs[data-indicator="pill"] .bv3e-smooth-tab-indicator {
    height: 100%; border-radius: 8px; bottom: auto; top: 0;
    background: rgba(115,103,240,0.1);
}
.bv3e-smooth-tabs[data-indicator="highlight"] .bv3e-smooth-tab-indicator {
    height: 100%; border-radius: 8px; bottom: auto; top: 0;
    background: var(--site-accent, #7367F0); z-index: 0;
}
.bv3e-smooth-tabs[data-indicator="highlight"] .bv3e-smooth-tab-btn.active { color: #fff; }
.bv3e-smooth-tab-pane { display: none; animation: bv3eFadeIn 0.3s ease; }
.bv3e-smooth-tab-pane.active { display: block; }


/* ══════════════════════════════════════════════════════════════
   NEW COMPONENT TYPES — Batch 5: Advanced Carousels/Sliders
   ══════════════════════════════════════════════════════════════ */

/* ── Stacked Slider ─────────────────────────────────────────── */
.bv3e-stacked-slider { position: relative; perspective: 1000px; min-height: 300px; }
.bv3e-stacked-slide {
    position: absolute; inset: 0; border-radius: 14px; overflow: hidden;
    transition: transform 0.6s cubic-bezier(0.4,0,0.2,1), opacity 0.6s;
    backface-visibility: hidden;
}
.bv3e-stacked-slide img { width: 100%; height: 100%; object-fit: cover; }
.bv3e-stacked-slide[data-depth="0"] { z-index: 3; transform: scale(1); opacity: 1; }
.bv3e-stacked-slide[data-depth="1"] { z-index: 2; transform: scale(0.92) translateY(16px); opacity: 0.7; }
.bv3e-stacked-slide[data-depth="2"] { z-index: 1; transform: scale(0.84) translateY(32px); opacity: 0.4; }
.bv3e-stacked-slider-nav {
    position: absolute; bottom: -40px; left: 50%; transform: translateX(-50%);
    display: flex; gap: 8px; z-index: 5;
}
.bv3e-stacked-slider-dot {
    width: 10px; height: 10px; border-radius: 50%; border: none; cursor: pointer;
    background: #d1d5db; padding: 0; transition: all 0.2s;
}
.bv3e-stacked-slider-dot.active { background: var(--site-accent, #7367F0); transform: scale(1.2); }

/* ── Bento Gallery ──────────────────────────────────────────── */
.bv3e-bento-grid {
    display: grid; gap: var(--bv3-bento-gap, 8px);
}
.bv3e-bento-grid[data-pattern="2-1-1"] {
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 1fr 1fr;
}
.bv3e-bento-grid[data-pattern="2-1-1"] .bv3e-bento-item:first-child { grid-row: 1 / 3; }
.bv3e-bento-grid[data-pattern="1-2-1"] {
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
}
.bv3e-bento-grid[data-pattern="1-2-1"] .bv3e-bento-item:nth-child(2) { grid-row: 1 / 3; }
.bv3e-bento-grid[data-pattern="featured-left"] {
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 1fr 1fr;
}
.bv3e-bento-grid[data-pattern="featured-left"] .bv3e-bento-item:first-child { grid-row: 1 / 3; }
.bv3e-bento-grid[data-pattern="featured-right"] {
    grid-template-columns: 1fr 2fr;
    grid-template-rows: 1fr 1fr;
}
.bv3e-bento-grid[data-pattern="featured-right"] .bv3e-bento-item:last-child { grid-row: 1 / 3; }
.bv3e-bento-item {
    overflow: hidden; border-radius: var(--bv3-bento-radius, 10px);
    min-height: 150px;
}
.bv3e-bento-item img {
    width: 100%; height: 100%; object-fit: cover; display: block;
    transition: transform 0.3s;
}
.bv3e-bento-item:hover img { transform: scale(1.05); }

/* ── Carousel 3D ────────────────────────────────────────────── */
.bv3e-carousel-3d {
    perspective: var(--bv3-c3d-perspective, 1000px);
    position: relative; width: 100%; height: 400px; overflow: hidden;
}
.bv3e-carousel-3d-track {
    width: 100%; height: 100%; position: relative;
    transform-style: preserve-3d;
    transition: transform 0.6s cubic-bezier(0.4,0,0.2,1);
}
.bv3e-carousel-3d-item {
    position: absolute; top: 50%; left: 50%;
    width: var(--bv3-c3d-item-w, 300px);
    transform: translate(-50%, -50%);
    border-radius: 14px; overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
    transition: transform 0.6s, opacity 0.6s;
    backface-visibility: hidden;
}
.bv3e-carousel-3d-item img { width: 100%; height: auto; display: block; }
.bv3e-carousel-3d-nav {
    position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%);
    display: flex; gap: 8px; z-index: 5;
}
.bv3e-carousel-3d-prev, .bv3e-carousel-3d-next {
    width: 40px; height: 40px; border-radius: 50%; border: none; cursor: pointer;
    background: rgba(255,255,255,0.9); color: var(--site-text, #1a1a2e); font-size: 18px;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15); transition: all 0.2s;
}
.bv3e-carousel-3d-prev:hover, .bv3e-carousel-3d-next:hover {
    background: #fff; box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

/* ── Range Slider Display ── */
.bv3e-range-display { padding: 12px 0; }
.bv3e-range-display input[type="range"] {
    width: 100%; height: 8px; cursor: pointer;
    -webkit-appearance: none; appearance: none;
    background: var(--site-border, #e5e7eb); border-radius: 4px; outline: none;
    accent-color: var(--bv3-range-color, var(--site-accent, #7367F0));
}
.bv3e-range-display input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none; appearance: none;
    width: 20px; height: 20px; border-radius: 50%;
    background: var(--bv3-range-color, var(--site-accent, #7367F0));
    cursor: pointer; border: 2px solid #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}
.bv3e-range-display input[type="range"]::-moz-range-thumb {
    width: 20px; height: 20px; border-radius: 50%;
    background: var(--bv3-range-color, var(--site-accent, #7367F0));
    cursor: pointer; border: 2px solid #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}
.bv3e-range-value {
    text-align: center; font-size: 28px; font-weight: 800;
    color: var(--bv3-range-color, var(--site-accent, #7367F0)); margin-top: 8px;
}

/* ══════════════════════════════════════════════
   Layout Components (Batch 3)
   ══════════════════════════════════════════════ */

/* ── Announcement Bar ── */
.bv3e-announce-bar {
    display: flex; align-items: center; justify-content: center;
    gap: 12px; padding: 12px 24px; font-size: 14px;
    font-weight: 500; line-height: 1.5; width: 100%;
}
.bv3e-announce-bar a { color: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.bv3e-announce-bar[data-bar-style="info"] { background: #e8f4fd; color: #0369a1; }
.bv3e-announce-bar[data-bar-style="success"] { background: #ecfdf5; color: #15803d; }
.bv3e-announce-bar[data-bar-style="warning"] { background: #fffbeb; color: #92400e; }
.bv3e-announce-bar[data-bar-style="danger"] { background: #fef2f2; color: #991b1b; }
.bv3e-announce-bar[data-bar-style="dark"] { background: #1a1a2e; color: #fff; }
.bv3e-announce-bar[data-bar-style="gradient"] { background: linear-gradient(135deg, var(--site-accent, #7367F0), #9f8cfc); color: #fff; }
.bv3e-announce-bar-icon { flex-shrink: 0; width: 18px; height: 18px; }
.bv3e-announce-bar-icon svg { width: 100%; height: 100%; stroke: currentColor; fill: none; }

/* ── Testimonial Cards ── */
.bv3e-testimonial-cards {
    display: grid; gap: 24px;
    grid-template-columns: repeat(var(--bv3-tc-cols, 3), 1fr);
}
.bv3e-testimonial-cards[data-tc-cols="1"] { grid-template-columns: 1fr; }
.bv3e-testimonial-cards[data-tc-cols="2"] { grid-template-columns: repeat(2, 1fr); }
.bv3e-testimonial-cards[data-tc-cols="3"] { grid-template-columns: repeat(3, 1fr); }
.bv3e-testimonial-cards[data-tc-cols="4"] { grid-template-columns: repeat(4, 1fr); }
.bv3e-tc-item { padding: 32px; border-radius: 14px; background: #fff; }
.bv3e-testimonial-cards[data-tc-style="shadow"] .bv3e-tc-item { box-shadow: 0 4px 24px rgba(0,0,0,0.08); }
.bv3e-testimonial-cards[data-tc-style="bordered"] .bv3e-tc-item { border: 1px solid var(--site-border, #e5e7eb); }
.bv3e-testimonial-cards[data-tc-style="filled"] .bv3e-tc-item { background: #f8f9fc; }
.bv3e-tc-stars { display: flex; gap: 2px; margin-bottom: 16px; }
.bv3e-tc-star { width: 18px; height: 18px; color: #f59e0b; }
.bv3e-tc-star svg { width: 100%; height: 100%; fill: currentColor; }
.bv3e-tc-star.empty svg { fill: none; stroke: #d1d5db; stroke-width: 2; }
.bv3e-tc-quote {
    font-size: 16px; line-height: 1.7; color: #374151;
    margin: 0 0 24px; font-style: italic;
}
.bv3e-tc-quote::before {
    content: "\201C"; font-size: 28px; font-weight: 700;
    color: var(--bv3-tc-accent, var(--site-accent, #7367F0)); line-height: 0;
    vertical-align: -8px; margin-right: 4px;
}
.bv3e-tc-author { display: flex; align-items: center; gap: 12px; }
.bv3e-tc-avatar {
    width: 48px; height: 48px; border-radius: 50%;
    object-fit: cover; background: var(--site-border, #e5e7eb); flex-shrink: 0;
}
.bv3e-tc-name { font-size: 15px; font-weight: 700; color: var(--site-text, #1a1a2e); margin: 0; }
.bv3e-tc-role { font-size: 13px; color: var(--site-text-muted, #6e6e8a); margin: 2px 0 0; }

/* ── Project Cards ── */
.bv3e-project-cards { display: grid; gap: 24px; }
.bv3e-project-cards[data-pc-cols="2"] { grid-template-columns: repeat(2, 1fr); }
.bv3e-project-cards[data-pc-cols="3"] { grid-template-columns: repeat(3, 1fr); }
.bv3e-project-cards[data-pc-cols="4"] { grid-template-columns: repeat(4, 1fr); }
.bv3e-pc-item {
    border-radius: 14px; overflow: hidden; background: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.bv3e-pc-item:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.1); }
.bv3e-project-cards[data-pc-style="shadow"] .bv3e-pc-item { box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
.bv3e-project-cards[data-pc-style="bordered"] .bv3e-pc-item { border: 1px solid var(--site-border, #e5e7eb); }
.bv3e-project-cards[data-pc-style="flat"] .bv3e-pc-item { box-shadow: none; }
.bv3e-pc-image { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; background: var(--site-border, #e5e7eb); }
.bv3e-pc-body { padding: 20px; }
.bv3e-pc-tag {
    display: inline-block; padding: 4px 10px; border-radius: 6px;
    font-size: 12px; font-weight: 600;
    background: rgba(115,103,240,0.1); color: var(--bv3-pc-tag-color, var(--site-accent, #7367F0));
    margin-bottom: 12px;
}
.bv3e-pc-title { font-size: 18px; font-weight: 700; color: var(--site-text, #1a1a2e); margin: 0 0 8px; }
.bv3e-pc-desc { font-size: 14px; line-height: 1.6; color: var(--site-text-muted, #6e6e8a); margin: 0; }

/* ── Logo Cloud ── */
.bv3e-logo-cloud {
    display: grid; gap: var(--bv3-lc-gap, 24px);
    align-items: center; justify-items: center; padding: 40px 20px;
}
.bv3e-logo-cloud[data-lc-cols="3"] { grid-template-columns: repeat(3, 1fr); }
.bv3e-logo-cloud[data-lc-cols="4"] { grid-template-columns: repeat(4, 1fr); }
.bv3e-logo-cloud[data-lc-cols="5"] { grid-template-columns: repeat(5, 1fr); }
.bv3e-logo-cloud[data-lc-cols="6"] { grid-template-columns: repeat(6, 1fr); }
.bv3e-logo-cloud-label {
    grid-column: 1 / -1; text-align: center; font-size: 13px;
    font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px;
    color: var(--site-text-muted, #6e6e8a); margin-bottom: 8px;
}
.bv3e-lc-item { padding: 16px; display: flex; align-items: center; justify-content: center; }
.bv3e-lc-item img {
    max-height: 40px; width: auto; max-width: 120px;
    object-fit: contain; transition: opacity 0.3s, filter 0.3s;
}
.bv3e-logo-cloud[data-grayscale="true"] .bv3e-lc-item img { filter: grayscale(100%); opacity: 0.5; }
.bv3e-logo-cloud[data-grayscale="true"] .bv3e-lc-item img:hover { filter: none; opacity: 1; }

/* ── Masonry Grid ── */
.bv3e-masonry { column-gap: var(--bv3-masonry-gap, 16px); }
.bv3e-masonry[data-masonry-cols="2"] { column-count: 2; }
.bv3e-masonry[data-masonry-cols="3"] { column-count: 3; }
.bv3e-masonry[data-masonry-cols="4"] { column-count: 4; }
.bv3e-masonry[data-masonry-cols="5"] { column-count: 5; }
.bv3e-masonry[data-masonry-cols="6"] { column-count: 6; }
.bv3e-masonry[data-masonry-cols="7"] { column-count: 7; }
.bv3e-masonry[data-masonry-cols="8"] { column-count: 8; }
.bv3e-masonry > * { break-inside: avoid; margin-bottom: var(--bv3-masonry-gap, 16px); }
.bv3e-masonry-item { break-inside: avoid; margin-bottom: var(--bv3-masonry-gap, 16px); }

/* ── Grid Lines Background ── */
.bv3e-grid-lines { position: relative; min-height: 200px; }
.bv3e-grid-lines::before {
    content: ""; position: absolute; inset: 0;
    pointer-events: none; z-index: 0;
    background-image:
        repeating-linear-gradient(0deg,
            transparent, transparent calc(var(--bv3-gl-spacing, 60px) - 1px),
            var(--bv3-gl-color, rgba(0,0,0,0.06)) calc(var(--bv3-gl-spacing, 60px) - 1px),
            var(--bv3-gl-color, rgba(0,0,0,0.06)) var(--bv3-gl-spacing, 60px)),
        repeating-linear-gradient(90deg,
            transparent, transparent calc(var(--bv3-gl-spacing, 60px) - 1px),
            var(--bv3-gl-color, rgba(0,0,0,0.06)) calc(var(--bv3-gl-spacing, 60px) - 1px),
            var(--bv3-gl-color, rgba(0,0,0,0.06)) var(--bv3-gl-spacing, 60px));
}
.bv3e-grid-lines > *:not(style) { position: relative; z-index: 1; }

/* ── Dot Pattern Background ── */
.bv3e-dot-pattern { position: relative; min-height: 200px; }
.bv3e-dot-pattern::before {
    content: ""; position: absolute; inset: 0;
    pointer-events: none; z-index: 0;
    background-image: radial-gradient(circle,
        var(--bv3-dp-color, rgba(0,0,0,0.15)) var(--bv3-dp-size, 1px),
        transparent var(--bv3-dp-size, 1px));
    background-size: var(--bv3-dp-spacing, 24px) var(--bv3-dp-spacing, 24px);
}
.bv3e-dot-pattern > *:not(style) { position: relative; z-index: 1; }

/* ── Comparison Table ── */
.bv3e-comparison { width: 100%; border-collapse: collapse; font-size: 14px; }
.bv3e-comparison thead th {
    padding: 16px 20px; font-weight: 700; font-size: 15px;
    color: var(--site-text, #1a1a2e); text-align: center; background: #f8f9fc;
    border-bottom: 2px solid var(--site-border, #e5e7eb);
}
.bv3e-comparison thead th:first-child { text-align: left; }
.bv3e-comparison tbody td { padding: 14px 20px; border-bottom: 1px solid #f0f0f5; color: #4a4a68; }
.bv3e-comparison tbody td:first-child { font-weight: 600; color: var(--site-text, #1a1a2e); }
.bv3e-comparison tbody td:not(:first-child) { text-align: center; }
.bv3e-comparison tbody tr:last-child td { border-bottom: none; }
.bv3e-comparison tbody tr:hover { background: rgba(115,103,240,0.03); }
.bv3e-comparison .bv3e-cmp-check { color: #22c55e; font-size: 18px; }
.bv3e-comparison .bv3e-cmp-check .fa { font-size: 18px; }
.bv3e-comparison .bv3e-cmp-x { color: #d1d5db; font-size: 16px; }
.bv3e-comparison .bv3e-cmp-x .fa { font-size: 16px; }
.bv3e-comparison .bv3e-cmp-highlight { background: rgba(115,103,240,0.04); }
.bv3e-comparison[data-cmp-style="bordered"] { border: 1px solid var(--site-border, #e5e7eb); border-radius: 12px; overflow: hidden; }
.bv3e-comparison[data-cmp-style="striped"] tbody tr:nth-child(even) { background: #fafbfc; }
.bv3e-comparison[data-cmp-style="minimal"] thead th { background: transparent; border-bottom: 1px solid var(--site-border, #e5e7eb); }

/* ── Radius on Scroll ── */
.bv3e-radius-scroll {
    position: relative;
    overflow: hidden;
    transition: border-radius 0.05s linear, padding 0.05s linear;
    will-change: border-radius, padding;
}
.bv3e-radius-scroll img,
.bv3e-radius-scroll video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.bv3e-radius-scroll-content {
    position: relative;
    z-index: 1;
}

/* ── FAQ Accordion ── */
.bv3e-faq {
    width: 100%;
    font-family: inherit;
}
.bv3e-faq-item {
    overflow: hidden;
}
.bv3e-faq[data-faq-style="separated"] .bv3e-faq-item {
    margin-bottom: 12px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.08);
}
.bv3e-faq[data-faq-style="bordered"] .bv3e-faq-item {
    border-bottom: 1px solid rgba(0,0,0,0.1);
}
.bv3e-faq[data-faq-style="minimal"] .bv3e-faq-item {
    border-bottom: 1px solid rgba(0,0,0,0.06);
}
.bv3e-faq[data-faq-theme="dark"] .bv3e-faq-item {
    border-color: rgba(255,255,255,0.1);
}
.bv3e-faq[data-faq-theme="dark"][data-faq-style="separated"] .bv3e-faq-item {
    background: rgba(255,255,255,0.03);
}
.bv3e-faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    cursor: pointer;
    user-select: none;
    gap: 16px;
    transition: background 0.2s;
}
.bv3e-faq-question:hover {
    background: rgba(115,103,240,0.04);
}
.bv3e-faq[data-faq-theme="dark"] .bv3e-faq-question:hover {
    background: rgba(255,255,255,0.04);
}
.bv3e-faq-num {
    font-size: 14px;
    font-weight: 700;
    color: var(--site-accent, #7367F0);
    min-width: 28px;
    flex-shrink: 0;
}
.bv3e-faq-q-text {
    flex: 1;
    font-weight: 600;
    font-size: 16px;
    color: var(--site-text, #1a1a2e);
    line-height: 1.4;
}
.bv3e-faq[data-faq-theme="dark"] .bv3e-faq-q-text {
    color: #ffffff;
}
.bv3e-faq-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
    color: var(--site-text-muted, #6e6e8a);
}
.bv3e-faq[data-faq-theme="dark"] .bv3e-faq-icon {
    color: rgba(255,255,255,0.5);
}
.bv3e-faq-icon svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
    fill: none;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.bv3e-faq-item.active .bv3e-faq-icon {
    transform: rotate(180deg);
    color: var(--site-accent, #7367F0);
}
.bv3e-faq-item.active .bv3e-faq-icon[data-icon="plus"] {
    transform: rotate(45deg);
}
.bv3e-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1), padding 0.3s ease;
    padding: 0 24px;
}
.bv3e-faq-answer-inner {
    font-size: 15px;
    line-height: 1.7;
    color: #4a4a68;
    padding-bottom: 20px;
}
.bv3e-faq[data-faq-theme="dark"] .bv3e-faq-answer-inner {
    color: rgba(255,255,255,0.7);
}
.bv3e-faq-item.active .bv3e-faq-answer {
    max-height: 600px;
    padding: 0 24px;
}
.bv3e-faq[data-show-numbers="false"] .bv3e-faq-num {
    display: none;
}

/* ── Progress Cards ── */
.bv3e-progress-cards {
    display: flex;
    gap: 16px;
    width: 100%;
}
.bv3e-progress-cards .bv3e-pc-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: flex 0.6s cubic-bezier(0.4,0,0.2,1);
    flex: 0.5;
    min-width: 0;
    background: #f8f9fc;
    border: 1px solid var(--site-border, #e5e7eb);
}
.bv3e-progress-cards .bv3e-pc-card.active {
    flex: 2;
}
.bv3e-progress-cards .bv3e-pc-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--site-accent, #7367F0);
    width: 0;
    transition: none;
    z-index: 2;
}
.bv3e-progress-cards .bv3e-pc-card.active .bv3e-pc-progress {
    transition: width linear;
}
.bv3e-progress-cards .bv3e-pc-header {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.bv3e-progress-cards .bv3e-pc-step {
    font-size: 13px;
    font-weight: 700;
    color: var(--site-accent, #7367F0);
    letter-spacing: 1px;
    text-transform: uppercase;
}
.bv3e-progress-cards .bv3e-pc-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--site-text, #1a1a2e);
    margin: 0;
}
.bv3e-progress-cards .bv3e-pc-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4,0,0.2,1), opacity 0.3s ease;
    opacity: 0;
}
.bv3e-progress-cards .bv3e-pc-card.active .bv3e-pc-body {
    max-height: 500px;
    opacity: 1;
}
.bv3e-progress-cards .bv3e-pc-desc {
    padding: 0 24px;
    font-size: 14px;
    line-height: 1.7;
    color: var(--site-text-muted, #6e6e8a);
    margin: 0;
}
.bv3e-progress-cards .bv3e-pc-tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(115,103,240,0.1);
    color: var(--site-accent, #7367F0);
    font-size: 12px;
    font-weight: 600;
    border-radius: 20px;
    margin: 12px 24px 0;
}
.bv3e-progress-cards .bv3e-pc-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    margin-top: 16px;
    opacity: 0;
    transition: opacity 0.4s ease 0.2s;
}
.bv3e-progress-cards .bv3e-pc-card.active .bv3e-pc-image {
    opacity: 1;
}
@media (max-width: 768px) {
    .bv3e-progress-cards { flex-direction: column; }
    .bv3e-progress-cards .bv3e-pc-card { flex: unset !important; }
    .bv3e-progress-cards .bv3e-pc-body { max-height: 500px !important; opacity: 1 !important; }
    .bv3e-progress-cards .bv3e-pc-image { opacity: 1 !important; }
    .bv3e-progress-cards .bv3e-pc-progress { display: none; }
}

/* ── FlowStack ── */
.bv3e-flowstack {
    display: flex;
    gap: 10px;
    width: 100%;
    min-height: 400px;
}
.bv3e-flowstack-card {
    flex: 1;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: flex 0.5s cubic-bezier(0.4,0,0.2,1);
    cursor: pointer;
    background: #1a1a2e;
    color: #fff;
    min-width: 0;
}
.bv3e-flowstack:hover .bv3e-flowstack-card {
    flex: 0.6;
}
.bv3e-flowstack .bv3e-flowstack-card:hover {
    flex: 3;
}
.bv3e-flowstack-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 16px;
    flex-shrink: 0;
}
.bv3e-flowstack-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.bv3e-flowstack-card:hover .bv3e-flowstack-title {
    white-space: normal;
}
.bv3e-flowstack-desc {
    font-size: 14px;
    line-height: 1.6;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.3s ease 0.15s, max-height 0.4s ease;
    color: rgba(255,255,255,0.7);
    margin: 0;
}
.bv3e-flowstack-card:hover .bv3e-flowstack-desc {
    opacity: 1;
    max-height: 200px;
}
.bv3e-flowstack-cta {
    display: inline-block;
    margin-top: auto;
    padding-top: 16px;
    font-size: 14px;
    font-weight: 600;
    color: var(--site-accent, #7367F0);
    text-decoration: none;
    opacity: 0;
    transition: opacity 0.3s ease 0.2s;
}
.bv3e-flowstack-card:hover .bv3e-flowstack-cta {
    opacity: 1;
}
.bv3e-flowstack[data-fs-style="light"] .bv3e-flowstack-card {
    background: #ffffff;
    color: var(--site-text, #1a1a2e);
    border: 1px solid var(--site-border, #e5e7eb);
}
.bv3e-flowstack[data-fs-style="light"] .bv3e-flowstack-icon {
    background: rgba(115,103,240,0.1);
    color: var(--site-accent, #7367F0);
}
.bv3e-flowstack[data-fs-style="light"] .bv3e-flowstack-desc {
    color: var(--site-text-muted, #6e6e8a);
}
.bv3e-flowstack[data-fs-style="gradient"] .bv3e-flowstack-card:nth-child(1) { background: linear-gradient(135deg, #1a1a2e, #2d2b55); }
.bv3e-flowstack[data-fs-style="gradient"] .bv3e-flowstack-card:nth-child(2) { background: linear-gradient(135deg, #0f172a, #1e3a5f); }
.bv3e-flowstack[data-fs-style="gradient"] .bv3e-flowstack-card:nth-child(3) { background: linear-gradient(135deg, #1a0a2e, #3b1d6e); }
.bv3e-flowstack[data-fs-style="gradient"] .bv3e-flowstack-card:nth-child(4) { background: linear-gradient(135deg, #0a2e1a, #1d6e3b); }
@media (max-width: 768px) {
    .bv3e-flowstack { flex-direction: column; }
    .bv3e-flowstack-card { flex: unset !important; min-height: auto; padding: 24px 20px; }
    .bv3e-flowstack-desc { opacity: 1; max-height: 200px; }
    .bv3e-flowstack-cta { opacity: 1; }
    .bv3e-flowstack-title { white-space: normal; }
}

/* ── Water Ripple ── */
.bv3e-ripple { position: relative; overflow: hidden; display: block; width: 100%; }
.bv3e-ripple img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: inherit; }
.bv3e-ripple canvas.bv3e-ripple-canvas {
    position: absolute; inset: 0; width: 100% !important; height: 100% !important;
    border-radius: inherit; z-index: 1;
}

/* ── Showcase Cards ── */
.bv3e-showcase-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; width: 100%; }
.bv3e-showcase-card { border-radius: 16px; overflow: hidden; background: #fff; border: 1px solid var(--site-border, #e5e7eb); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.bv3e-showcase-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.1); }
.bv3e-sc-image { width: 100%; height: 240px; object-fit: cover; display: block; }
.bv3e-sc-body { padding: 24px; }
.bv3e-sc-category { display: inline-block; font-size: 12px; font-weight: 600; color: var(--site-accent, #7367F0); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }
.bv3e-sc-title { font-size: 20px; font-weight: 700; color: var(--site-text, #1a1a2e); margin: 0 0 8px; line-height: 1.3; }
.bv3e-sc-desc { font-size: 14px; line-height: 1.7; color: var(--site-text-muted, #6e6e8a); margin: 0 0 16px; }
.bv3e-sc-meta { display: flex; flex-wrap: wrap; gap: 16px; font-size: 13px; color: #8e8ea0; margin-bottom: 16px; }
.bv3e-sc-meta-item { display: flex; align-items: center; gap: 6px; }
.bv3e-sc-meta-item i { font-size: 14px; color: var(--site-accent, #7367F0); }
.bv3e-sc-link { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--site-accent, #7367F0); text-decoration: none; transition: gap 0.2s ease; }
.bv3e-sc-link:hover { gap: 10px; }
.bv3e-showcase-cards[data-sc-style="shadow"] .bv3e-showcase-card { border: none; box-shadow: 0 4px 16px rgba(0,0,0,0.06); }
.bv3e-showcase-cards[data-sc-style="flat"] .bv3e-showcase-card { border: none; box-shadow: none; background: #f8f9fc; }
.bv3e-showcase-cards[data-sc-style="flat"] .bv3e-showcase-card:hover { box-shadow: none; transform: none; }

@media (max-width: 768px) {
    .bv3e-showcase-cards { grid-template-columns: 1fr !important; }
}

/* ── Location Cards ── */
.bv3e-locations { width: 100%; font-family: inherit; }
.bv3e-loc-search {
    width: 100%; padding: 14px 20px 14px 44px; border: 1px solid var(--site-border, #e5e7eb); border-radius: 12px;
    font-size: 15px; outline: none; margin-bottom: 24px; transition: border-color 0.2s;
    background: #f8f9fc url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%236e6e8a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E") 16px center no-repeat;
}
.bv3e-loc-search:focus { border-color: var(--site-accent, #7367F0); background-color: #fff; }
.bv3e-loc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.bv3e-loc-card { border-radius: 12px; overflow: hidden; background: #fff; border: 1px solid var(--site-border, #e5e7eb); transition: transform 0.2s, box-shadow 0.2s; }
.bv3e-loc-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.bv3e-loc-card[data-loc-hidden="true"] { display: none; }
.bv3e-loc-image { width: 100%; height: 160px; object-fit: cover; display: block; }
.bv3e-loc-body { padding: 20px; }
.bv3e-loc-name { font-size: 17px; font-weight: 700; color: var(--site-text, #1a1a2e); margin: 0 0 8px; }
.bv3e-loc-row { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; color: var(--site-text-muted, #6e6e8a); margin-bottom: 6px; line-height: 1.5; }
.bv3e-loc-row i { color: var(--site-accent, #7367F0); margin-top: 3px; flex-shrink: 0; font-size: 14px; }
.bv3e-loc-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 14px; font-weight: 600; color: var(--site-accent, #7367F0); text-decoration: none; }
.bv3e-loc-link:hover { text-decoration: underline; }
.bv3e-loc-map { width: 100%; border: none; border-radius: 12px; margin-bottom: 24px; min-height: 300px; }
.bv3e-locations[data-loc-style="shadow"] .bv3e-loc-card { border: none; box-shadow: 0 4px 16px rgba(0,0,0,0.06); }
.bv3e-locations[data-loc-style="flat"] .bv3e-loc-card { border: none; background: #f8f9fc; }

@media (max-width: 768px) {
    .bv3e-loc-grid { grid-template-columns: 1fr !important; }
}

/* ── Hover Gallery ── */
.bv3e-hover-gallery { display: flex; gap: 40px; width: 100%; min-height: 400px; align-items: stretch; }
.bv3e-hg-list { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.bv3e-hg-item { padding: 20px 0; cursor: pointer; border-bottom: 1px solid rgba(0,0,0,0.08); transition: opacity 0.3s ease; position: relative; }
.bv3e-hg-item:last-child { border-bottom: none; }
.bv3e-hover-gallery:hover .bv3e-hg-item { opacity: 0.4; }
.bv3e-hover-gallery .bv3e-hg-item:hover { opacity: 1; }
.bv3e-hg-label { font-size: 28px; font-weight: 700; color: var(--site-text, #1a1a2e); margin: 0; transition: color 0.3s ease; line-height: 1.3; }
.bv3e-hg-item:hover .bv3e-hg-label { color: var(--site-accent, #7367F0); }
.bv3e-hg-subtitle { font-size: 14px; color: var(--site-text-muted, #6e6e8a); margin: 4px 0 0; }
.bv3e-hg-number { font-size: 13px; font-weight: 700; color: var(--site-accent, #7367F0); margin-bottom: 4px; display: block; }
.bv3e-hg-preview { flex: 1; position: relative; border-radius: 16px; overflow: hidden; min-height: 300px; background: #f8f9fc; }
.bv3e-hg-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.4s ease; }
.bv3e-hg-image.active { opacity: 1; }
.bv3e-hg-overlay { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 0.4s ease; pointer-events: none; z-index: 1; }
.bv3e-hg-image.active + .bv3e-hg-overlay { opacity: 1; }
/* Dark style */
.bv3e-hover-gallery[data-hg-style="dark"] { background: #1a1a2e; padding: 40px; border-radius: 16px; }
.bv3e-hover-gallery[data-hg-style="dark"] .bv3e-hg-label { color: #ffffff; }
.bv3e-hover-gallery[data-hg-style="dark"] .bv3e-hg-subtitle { color: rgba(255,255,255,0.5); }
.bv3e-hover-gallery[data-hg-style="dark"] .bv3e-hg-item { border-color: rgba(255,255,255,0.1); }
.bv3e-hover-gallery[data-hg-style="dark"] .bv3e-hg-item:hover .bv3e-hg-label { color: var(--site-accent, #7367F0); }
.bv3e-hover-gallery[data-hg-style="dark"] .bv3e-hg-number { color: #a78bfa; }
/* Minimal style */
.bv3e-hover-gallery[data-hg-style="minimal"] .bv3e-hg-item { border-bottom: none; padding: 12px 0; }
/* Image position left */
.bv3e-hover-gallery[data-hg-pos="left"] { flex-direction: row-reverse; }
/* Show numbers toggle */
.bv3e-hover-gallery[data-hg-show-numbers="false"] .bv3e-hg-number { display: none; }

@media (max-width: 768px) {
    .bv3e-hover-gallery { flex-direction: column !important; }
    .bv3e-hg-preview { min-height: 250px; order: -1; }
    .bv3e-hg-label { font-size: 20px !important; }
}

/* ── Layout Components Responsive ── */
@media (max-width: 768px) {
    .bv3e-testimonial-cards { grid-template-columns: 1fr !important; }
    .bv3e-project-cards { grid-template-columns: 1fr !important; }
    .bv3e-logo-cloud { grid-template-columns: repeat(2, 1fr) !important; }
    .bv3e-masonry { column-count: 1 !important; }
}

/* ══════════════════════════════════════════════════════════
   Popup / Modal Components
   ══════════════════════════════════════════════════════════ */

/* ── Shared Popup Styles ── */
.bv3e-popup { position: relative; display: inline-block; }
.bv3e-popup-trigger {
    display: inline-block; padding: 12px 28px; background: var(--site-accent, #7367F0); color: #fff;
    font-weight: 700; border-radius: 8px; cursor: pointer; border: none; font-size: 15px;
    transition: background 0.2s;
}
.bv3e-popup-trigger:hover { background: #5a4fd4; }
.bv3e-popup-trigger-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 28px; background: var(--site-accent, #7367F0); color: #fff;
    font-weight: 700; border-radius: 8px; cursor: pointer; border: none; font-size: 15px;
    transition: background 0.2s;
}
.bv3e-popup-trigger-btn:hover { background: #5a4fd4; }
.bv3e-popup-trigger-btn i { font-size: 16px; }

.bv3e-popup-overlay {
    display: none; position: fixed; inset: 0; z-index: 99998;
    align-items: center; justify-content: center;
    padding: 16px; overflow-y: auto; -webkit-overflow-scrolling: touch;
}
.bv3e-popup-overlay.bv3e-popup-active { display: flex; }
.bv3e-popup-overlay[data-popup-backdrop="dark"] { background: rgba(0,0,0,0.6); }
.bv3e-popup-overlay[data-popup-backdrop="blur"] { background: rgba(0,0,0,0.3); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.bv3e-popup-overlay[data-popup-backdrop="light"] { background: rgba(255,255,255,0.8); backdrop-filter: blur(8px); }

.bv3e-popup-close {
    position: absolute; top: 16px; right: 16px; width: 32px; height: 32px;
    border-radius: 50%; border: none; background: rgba(0,0,0,0.08); color: var(--site-text-muted, #6e6e8a);
    font-size: 18px; cursor: pointer; display: flex; align-items: center;
    justify-content: center; transition: all 0.2s; z-index: 2; line-height: 1;
}
.bv3e-popup-close:hover { background: rgba(0,0,0,0.15); color: var(--site-text, #1a1a2e); }

@keyframes bv3ePopupFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes bv3ePopupSlideUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
@keyframes bv3ePopupZoomIn { from { opacity: 0; transform: scale(0.85); } to { opacity: 1; transform: none; } }
@keyframes bv3ePopupBounceIn {
    0% { opacity: 0; transform: scale(0.3); }
    50% { transform: scale(1.05); }
    70% { transform: scale(0.95); }
    100% { opacity: 1; transform: none; }
}
.bv3e-popup-overlay[data-popup-animation="fade"] > * { animation: bv3ePopupFadeIn 0.35s ease; }
.bv3e-popup-overlay[data-popup-animation="slide-up"] > * { animation: bv3ePopupSlideUp 0.4s cubic-bezier(0.16,1,0.3,1); }
.bv3e-popup-overlay[data-popup-animation="zoom"] > * { animation: bv3ePopupZoomIn 0.35s cubic-bezier(0.16,1,0.3,1); }
.bv3e-popup-overlay[data-popup-animation="bounce"] > * { animation: bv3ePopupBounceIn 0.6s cubic-bezier(0.36,0.07,0.19,0.97); }

/* ── Offer Popup ── */
.bv3e-popup-offer-card {
    --offer-accent: var(--site-accent, #7367F0);
    --offer-border: conic-gradient(from 0deg, var(--site-accent, #7367F0), var(--site-accent-alt, #e44d9a), #ff6b35, #22c55e, var(--site-accent, #7367F0));
    position: relative; width: 90%; max-width: 480px; border-radius: 20px;
    overflow-y: auto; background: #fff; box-shadow: 0 25px 80px rgba(0,0,0,0.2);
    max-height: calc(100vh - 32px); margin: auto;
}
.bv3e-popup-offer-card::before {
    content: ""; position: absolute; inset: -2px; z-index: -1; border-radius: 22px;
    background: var(--offer-border);
    animation: bv3eConicSpin 4s linear infinite;
}
@keyframes bv3eConicSpin { to { transform: rotate(360deg); } }
.bv3e-popup-offer-glow {
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(115,103,240,0.15) 0%, transparent 70%);
    pointer-events: none;
}
.bv3e-popup-offer-body { position: relative; padding: 48px 40px 40px; text-align: center; }
.bv3e-popup-offer-icon { font-size: 48px; margin-bottom: 16px; line-height: 1; color: var(--offer-accent); }
.bv3e-popup-offer-icon i { font-size: inherit; color: inherit; }
.bv3e-popup-offer-title { font-size: 28px; font-weight: 800; color: var(--site-text, #1a1a2e); margin: 0 0 8px; line-height: 1.2; }
.bv3e-popup-offer-desc { font-size: 15px; line-height: 1.6; color: var(--site-text-muted, #6e6e8a); margin: 0 0 24px; }
.bv3e-popup-offer-form { display: flex; gap: 8px; margin-bottom: 16px; }
.bv3e-popup-offer-input {
    flex: 1; padding: 14px 16px; border: 2px solid var(--site-border, #e5e7eb); border-radius: 10px;
    font-size: 14px; outline: none; transition: border-color 0.2s;
}
.bv3e-popup-offer-input:focus { border-color: var(--offer-accent); }
.bv3e-popup-offer-cta {
    padding: 14px 28px; background: linear-gradient(135deg, var(--offer-accent), var(--offer-accent));
    color: #fff; font-weight: 700; font-size: 14px; border: none; border-radius: 10px;
    cursor: pointer; white-space: nowrap; transition: transform 0.2s, box-shadow 0.2s;
}
.bv3e-popup-offer-cta:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(115,103,240,0.35); }
.bv3e-popup-offer-skip {
    display: block; font-size: 13px; color: #9ca3af; cursor: pointer;
    text-decoration: underline; text-underline-offset: 2px; transition: color 0.2s;
    border: none; background: none; margin: 0 auto;
}
.bv3e-popup-offer-skip:hover { color: var(--site-text-muted, #6e6e8a); }

/* Offer dark theme */
.bv3e-popup-offer-card[data-offer-style="dark"] { background: #1a1a2e; }
.bv3e-popup-offer-card[data-offer-style="dark"] .bv3e-popup-offer-title { color: #fff; }
.bv3e-popup-offer-card[data-offer-style="dark"] .bv3e-popup-offer-desc { color: rgba(255,255,255,0.6); }
.bv3e-popup-offer-card[data-offer-style="dark"] .bv3e-popup-offer-input {
    background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.15); color: #fff;
}
.bv3e-popup-offer-card[data-offer-style="dark"] .bv3e-popup-offer-skip { color: rgba(255,255,255,0.4); }
.bv3e-popup-offer-card[data-offer-style="dark"] .bv3e-popup-close { background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.6); }
.bv3e-popup-offer-card[data-offer-style="dark"] .bv3e-popup-close:hover { background: rgba(255,255,255,0.2); color: #fff; }

/* Offer gradient theme */
.bv3e-popup-offer-card[data-offer-style="gradient"] { background: linear-gradient(135deg, #1a1a2e 0%, #2d1b69 100%); }
.bv3e-popup-offer-card[data-offer-style="gradient"] .bv3e-popup-offer-title { color: #fff; }
.bv3e-popup-offer-card[data-offer-style="gradient"] .bv3e-popup-offer-desc { color: rgba(255,255,255,0.7); }
.bv3e-popup-offer-card[data-offer-style="gradient"] .bv3e-popup-offer-input {
    background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.2); color: #fff;
}
.bv3e-popup-offer-card[data-offer-style="gradient"] .bv3e-popup-offer-skip { color: rgba(255,255,255,0.4); }
.bv3e-popup-offer-card[data-offer-style="gradient"] .bv3e-popup-close { background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.6); }

@media (max-width: 560px) {
    .bv3e-popup-offer-form { flex-direction: column; }
    .bv3e-popup-offer-body { padding: 40px 24px 32px; }
}

/* ── Video Popup ── */
.bv3e-popup-video-card { position: relative; width: 90%; max-width: 800px; }
.bv3e-popup-video-title {
    font-size: 18px; font-weight: 700; color: #fff; text-align: center;
    margin: 0 0 16px; text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}
.bv3e-popup-video-player {
    position: relative; border-radius: 16px; overflow: hidden; background: #000;
    aspect-ratio: 16/9; box-shadow: 0 20px 80px rgba(0,0,0,0.5);
}
.bv3e-popup-video-player video,
.bv3e-popup-video-player iframe { width: 100%; height: 100%; object-fit: cover; border: 0; display: block; }
.bv3e-popup-video-glow {
    position: absolute; inset: -40px; z-index: -1; border-radius: 40px;
    filter: blur(60px); opacity: 0.5; pointer-events: none;
}
.bv3e-popup-video-cta {
    display: inline-block; text-align: center; margin: 20px auto 0; padding: 12px 32px;
    background: #fff; color: var(--site-text, #1a1a2e); font-weight: 700; font-size: 14px;
    border-radius: 8px; text-decoration: none; transition: transform 0.2s, box-shadow 0.2s;
}
.bv3e-popup-video-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(255,255,255,0.2); }
.bv3e-popup-video-card .bv3e-popup-close { top: -44px; right: 0; background: rgba(255,255,255,0.15); color: #fff; }
.bv3e-popup-video-card .bv3e-popup-close:hover { background: rgba(255,255,255,0.3); }
@media (max-width: 640px) { .bv3e-popup-video-card { width: 95%; } }

/* ── Split Popup ── */
.bv3e-popup-split-card {
    --split-accent: var(--site-accent, #7367F0);
    --split-check-color: #22c55e;
    position: relative; width: 90%; max-width: 820px; border-radius: 20px;
    overflow: hidden; background: #fff; box-shadow: 0 25px 80px rgba(0,0,0,0.2);
    display: flex; min-height: 0; max-height: calc(100vh - 32px); margin: auto;
}
.bv3e-popup-split-image { flex: 1; min-width: 0; position: relative; overflow: hidden; }
.bv3e-popup-split-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bv3e-popup-split-content {
    flex: 1; min-width: 0; padding: 48px 40px; display: flex;
    flex-direction: column; justify-content: center; position: relative;
    overflow-y: auto; -webkit-overflow-scrolling: touch;
}
.bv3e-popup-split-badge {
    display: inline-block; padding: 5px 14px; border-radius: 20px; font-size: 11px;
    font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px;
    background: rgba(115,103,240,0.1); color: var(--split-accent, #7367F0); margin-bottom: 16px; align-self: flex-start;
}
.bv3e-popup-split-title { font-size: 26px; font-weight: 800; color: var(--site-text, #1a1a2e); margin: 0 0 12px; line-height: 1.2; }
.bv3e-popup-split-desc { font-size: 15px; line-height: 1.7; color: var(--site-text-muted, #6e6e8a); margin: 0 0 24px; }
.bv3e-popup-split-features { list-style: none; padding: 0; margin: 0 0 24px; }
.bv3e-popup-split-features li {
    padding: 6px 0; font-size: 14px; color: #4a4a68;
    display: flex; align-items: center; gap: 10px;
}
.bv3e-popup-split-features li i { color: var(--split-check-color, #22c55e); font-size: 16px; flex-shrink: 0; }
.bv3e-popup-split-cta {
    display: inline-block; padding: 14px 32px; background: linear-gradient(135deg, var(--split-accent, #7367F0), var(--split-accent, #7367F0));
    color: #fff; font-weight: 700; font-size: 15px; border-radius: 10px;
    text-decoration: none; text-align: center; transition: transform 0.2s, box-shadow 0.2s; align-self: flex-start;
}
.bv3e-popup-split-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(115,103,240,0.35); }
.bv3e-popup-split-card[data-split-pos="right"] { flex-direction: row-reverse; }

/* Split dark theme */
.bv3e-popup-split-card[data-split-style="dark"] { background: #1a1a2e; }
.bv3e-popup-split-card[data-split-style="dark"] .bv3e-popup-split-title { color: #fff; }
.bv3e-popup-split-card[data-split-style="dark"] .bv3e-popup-split-desc { color: rgba(255,255,255,0.6); }
.bv3e-popup-split-card[data-split-style="dark"] .bv3e-popup-split-features li { color: rgba(255,255,255,0.7); }
.bv3e-popup-split-card[data-split-style="dark"] .bv3e-popup-close { background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.6); }

@media (max-width: 640px) {
    .bv3e-popup-split-card { flex-direction: column !important; max-width: 100%; width: 100% !important; max-height: calc(100vh - 32px); }
    .bv3e-popup-split-image { max-height: 180px; flex-shrink: 0; }
    .bv3e-popup-split-content { padding: 24px 20px; overflow-y: auto; flex: 1; min-height: 0; }
}

/* ── Toast Popup ── */
.bv3e-popup-toast { --toast-accent: var(--site-accent, #7367F0); position: fixed; z-index: 99999; max-width: 380px; width: 90%; pointer-events: auto; }
.bv3e-popup-toast[data-toast-pos="bottom-right"] { bottom: 24px; right: 24px; }
.bv3e-popup-toast[data-toast-pos="bottom-left"] { bottom: 24px; left: 24px; }
.bv3e-popup-toast[data-toast-pos="top-right"] { top: 24px; right: 24px; }
.bv3e-popup-toast[data-toast-pos="top-left"] { top: 24px; left: 24px; }
.bv3e-popup-toast-card {
    position: relative; border-radius: 16px; overflow: hidden; background: #fff;
    box-shadow: 0 12px 40px rgba(0,0,0,0.12), 0 0 0 1px rgba(0,0,0,0.04);
    padding: 20px; display: flex; gap: 14px; align-items: flex-start;
}
.bv3e-popup-toast-icon {
    width: 44px; height: 44px; border-radius: 12px; display: flex;
    align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0;
    background: rgba(115,103,240,0.1); color: var(--toast-accent);
}
.bv3e-popup-toast-icon i { font-size: inherit; color: inherit; }
.bv3e-popup-toast-body { flex: 1; min-width: 0; }
.bv3e-popup-toast-title { font-size: 15px; font-weight: 700; color: var(--site-text, #1a1a2e); margin: 0 0 4px; line-height: 1.3; }
.bv3e-popup-toast-msg { font-size: 13px; line-height: 1.5; color: var(--site-text-muted, #6e6e8a); margin: 0 0 12px; }
.bv3e-popup-toast-action {
    display: inline-block; padding: 7px 18px; background: var(--toast-accent); color: #fff;
    font-size: 12px; font-weight: 700; border-radius: 6px; text-decoration: none; transition: background 0.2s;
}
.bv3e-popup-toast-action:hover { background: #5a4fd4; }
.bv3e-popup-toast-progress {
    position: absolute; bottom: 0; left: 0; height: 3px;
    background: linear-gradient(90deg, var(--toast-accent), var(--toast-accent)); border-radius: 0 0 16px 16px;
    transition: width linear;
}
.bv3e-popup-toast-card .bv3e-popup-close { top: 8px; right: 8px; width: 24px; height: 24px; font-size: 14px; background: transparent; }

/* Toast dark theme */
.bv3e-popup-toast[data-toast-style="dark"] .bv3e-popup-toast-card { background: #1a1a2e; box-shadow: 0 12px 40px rgba(0,0,0,0.3); }
.bv3e-popup-toast[data-toast-style="dark"] .bv3e-popup-toast-title { color: #fff; }
.bv3e-popup-toast[data-toast-style="dark"] .bv3e-popup-toast-msg { color: rgba(255,255,255,0.6); }
.bv3e-popup-toast[data-toast-style="dark"] .bv3e-popup-close { color: rgba(255,255,255,0.4); }

/* Toast accent theme */
.bv3e-popup-toast[data-toast-style="accent"] .bv3e-popup-toast-card { background: linear-gradient(135deg, var(--toast-accent), var(--toast-accent)); }
.bv3e-popup-toast[data-toast-style="accent"] .bv3e-popup-toast-title { color: #fff; }
.bv3e-popup-toast[data-toast-style="accent"] .bv3e-popup-toast-msg { color: rgba(255,255,255,0.85); }
.bv3e-popup-toast[data-toast-style="accent"] .bv3e-popup-toast-icon { background: rgba(255,255,255,0.2); color: #fff; }
.bv3e-popup-toast[data-toast-style="accent"] .bv3e-popup-toast-action { background: #fff; color: var(--site-accent, #7367F0); }
.bv3e-popup-toast[data-toast-style="accent"] .bv3e-popup-close { color: rgba(255,255,255,0.6); }
.bv3e-popup-toast[data-toast-style="accent"] .bv3e-popup-toast-progress { background: rgba(255,255,255,0.4); }

/* Toast slide-in animations */
@keyframes bv3eToastSlideRight { from { opacity: 0; transform: translateX(100px); } to { opacity: 1; transform: none; } }
@keyframes bv3eToastSlideLeft { from { opacity: 0; transform: translateX(-100px); } to { opacity: 1; transform: none; } }
@keyframes bv3eToastSlideUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
@keyframes bv3eToastSlideDown { from { opacity: 0; transform: translateY(-40px); } to { opacity: 1; transform: none; } }
.bv3e-popup-toast[data-toast-pos="bottom-right"] .bv3e-popup-toast-card { animation: bv3eToastSlideRight 0.4s cubic-bezier(0.16,1,0.3,1); }
.bv3e-popup-toast[data-toast-pos="bottom-left"] .bv3e-popup-toast-card { animation: bv3eToastSlideLeft 0.4s cubic-bezier(0.16,1,0.3,1); }
.bv3e-popup-toast[data-toast-pos="top-right"] .bv3e-popup-toast-card { animation: bv3eToastSlideRight 0.4s cubic-bezier(0.16,1,0.3,1); }
.bv3e-popup-toast[data-toast-pos="top-left"] .bv3e-popup-toast-card { animation: bv3eToastSlideLeft 0.4s cubic-bezier(0.16,1,0.3,1); }

/* ══════════════════════════════════════
   5. Countdown Popup
   ══════════════════════════════════════ */
.bv3e-popup-countdown-card {
    --cd-accent: var(--site-accent, #7367F0);
    position: relative; background: #0f0f1a; border-radius: 20px;
    padding: 48px 40px 40px; text-align: center;
    max-width: 480px; width: 90%; overflow-y: auto;
    max-height: calc(100vh - 32px); margin: auto;
}
.bv3e-popup-countdown-card::before {
    content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
    background: var(--cd-gradient, linear-gradient(90deg, var(--cd-accent), #e44d9a, var(--cd-accent)));
}
.bv3e-popup-countdown-badge {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 16px; border-radius: 100px;
    background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08);
    font-size: 12px; font-weight: 600; color: var(--cd-accent);
    text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 20px;
}
.bv3e-popup-countdown-badge i { font-size: 14px; }
.bv3e-popup-countdown-title { font-size: 28px; font-weight: 800; color: #fff; margin: 0 0 8px; line-height: 1.2; }
.bv3e-popup-countdown-subtitle { font-size: 15px; color: rgba(255,255,255,0.5); margin: 0 0 32px; line-height: 1.5; }
.bv3e-popup-countdown-timer { display: flex; justify-content: center; gap: 12px; margin-bottom: 32px; }
.bv3e-popup-countdown-unit {
    background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px; padding: 16px 8px; min-width: 72px;
}
.bv3e-popup-countdown-num {
    font-size: 36px; font-weight: 800; color: #fff; line-height: 1;
    font-variant-numeric: tabular-nums;
}
.bv3e-popup-countdown-label {
    font-size: 11px; color: rgba(255,255,255,0.35);
    text-transform: uppercase; letter-spacing: 1px; margin-top: 6px;
}
.bv3e-popup-countdown-cta {
    display: inline-block; padding: 14px 36px;
    background: var(--cd-accent); color: #fff;
    font-size: 15px; font-weight: 700; border-radius: 12px;
    text-decoration: none; transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 24px rgba(115,103,240,0.3);
}
.bv3e-popup-countdown-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(115,103,240,0.4); }
.bv3e-popup-countdown-skip {
    display: block; margin: 16px auto 0; font-size: 13px;
    color: rgba(255,255,255,0.3); cursor: pointer; background: none; border: none;
}
.bv3e-popup-countdown-card .bv3e-popup-close { top: 12px; right: 12px; color: rgba(255,255,255,0.3); }

/* Countdown glass theme */
.bv3e-popup-countdown-card[data-cd-theme="glass"] {
    background: rgba(15,15,26,0.85); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.08);
}
.bv3e-popup-countdown-card[data-cd-theme="glass"] .bv3e-popup-countdown-unit {
    background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.1);
}

/* Countdown light theme */
.bv3e-popup-countdown-card[data-cd-theme="light"] { background: #fff; }
.bv3e-popup-countdown-card[data-cd-theme="light"] .bv3e-popup-countdown-title { color: var(--site-text, #1a1a2e); }
.bv3e-popup-countdown-card[data-cd-theme="light"] .bv3e-popup-countdown-subtitle { color: var(--site-text-muted, #6e6e8a); }
.bv3e-popup-countdown-card[data-cd-theme="light"] .bv3e-popup-countdown-unit { background: #f8f8fc; border-color: var(--site-border, #e5e7eb); }
.bv3e-popup-countdown-card[data-cd-theme="light"] .bv3e-popup-countdown-num { color: var(--site-text, #1a1a2e); }
.bv3e-popup-countdown-card[data-cd-theme="light"] .bv3e-popup-countdown-label { color: #8e8ea0; }
.bv3e-popup-countdown-card[data-cd-theme="light"] .bv3e-popup-countdown-badge { background: rgba(115,103,240,0.08); border-color: rgba(115,103,240,0.15); }
.bv3e-popup-countdown-card[data-cd-theme="light"] .bv3e-popup-countdown-skip { color: #8e8ea0; }
.bv3e-popup-countdown-card[data-cd-theme="light"] .bv3e-popup-close { color: #8e8ea0; }

/* ══════════════════════════════════════
   6. Social Proof Popup
   ══════════════════════════════════════ */
.bv3e-popup-social {
    --sp-accent: var(--site-accent, #7367F0);
    position: fixed; z-index: 99999; max-width: 360px; width: 90%;
    pointer-events: auto;
}
.bv3e-popup-social[data-sp-pos="bottom-left"] { bottom: 24px; left: 24px; }
.bv3e-popup-social[data-sp-pos="bottom-right"] { bottom: 24px; right: 24px; }
.bv3e-popup-social[data-sp-pos="top-left"] { top: 24px; left: 24px; }
.bv3e-popup-social[data-sp-pos="top-right"] { top: 24px; right: 24px; }
.bv3e-popup-social-item { display: none; }
.bv3e-popup-social-card {
    position: relative; border-radius: 16px; overflow: hidden;
    background: #fff; box-shadow: 0 12px 40px rgba(0,0,0,0.1), 0 0 0 1px rgba(0,0,0,0.04);
    padding: 16px 18px; display: flex; gap: 14px; align-items: center;
}
.bv3e-popup-social-avatar-placeholder {
    width: 48px; height: 48px; border-radius: 50%; flex-shrink: 0;
    background: linear-gradient(135deg, var(--sp-accent), var(--sp-accent2, #e44d9a));
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 18px; font-weight: 700;
}
.bv3e-popup-social-body { flex: 1; min-width: 0; }
.bv3e-popup-social-name {
    font-size: 14px; font-weight: 700; color: var(--site-text, #1a1a2e);
    display: flex; align-items: center; gap: 6px;
}
.bv3e-popup-social-verified {
    width: 16px; height: 16px; border-radius: 50%;
    background: var(--sp-accent); display: inline-flex;
    align-items: center; justify-content: center;
}
.bv3e-popup-social-verified svg { width: 10px; height: 10px; stroke: #fff; stroke-width: 3; fill: none; }
.bv3e-popup-social-text { font-size: 13px; color: var(--site-text-muted, #6e6e8a); margin: 2px 0 0; line-height: 1.4; }
.bv3e-popup-social-meta { display: flex; align-items: center; gap: 8px; margin-top: 4px; }
.bv3e-popup-social-time { font-size: 11px; color: #aaa; }
.bv3e-popup-social-location { font-size: 11px; color: #aaa; display: flex; align-items: center; gap: 3px; }
.bv3e-popup-social-location i { font-size: 10px; }
.bv3e-popup-social-card .bv3e-popup-close { top: 6px; right: 8px; width: 22px; height: 22px; font-size: 12px; background: transparent; color: #bbb; }

/* Social proof dark theme */
.bv3e-popup-social[data-sp-theme="dark"] .bv3e-popup-social-card { background: #1a1a2e; box-shadow: 0 12px 40px rgba(0,0,0,0.3); }
.bv3e-popup-social[data-sp-theme="dark"] .bv3e-popup-social-name { color: #fff; }
.bv3e-popup-social[data-sp-theme="dark"] .bv3e-popup-social-text { color: rgba(255,255,255,0.6); }
.bv3e-popup-social[data-sp-theme="dark"] .bv3e-popup-social-time,
.bv3e-popup-social[data-sp-theme="dark"] .bv3e-popup-social-location { color: rgba(255,255,255,0.3); }
.bv3e-popup-social[data-sp-theme="dark"] .bv3e-popup-close { color: rgba(255,255,255,0.3); }

/* Social proof animations */
@keyframes bv3eSocialSlideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes bv3eSocialSlideDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: none; } }
.bv3e-popup-social[data-sp-pos*="bottom"] .bv3e-popup-social-card { animation: bv3eSocialSlideUp 0.35s cubic-bezier(0.16,1,0.3,1); }
.bv3e-popup-social[data-sp-pos*="top"] .bv3e-popup-social-card { animation: bv3eSocialSlideDown 0.35s cubic-bezier(0.16,1,0.3,1); }

/* ══════════════════════════════════════
   7. Survey Popup
   ══════════════════════════════════════ */
.bv3e-popup-survey-card {
    --sv-accent: var(--site-accent, #7367F0);
    position: relative; background: #fff; border-radius: 20px;
    padding: 40px; max-width: 440px; width: 90%;
    text-align: center; overflow-y: auto;
    max-height: calc(100vh - 32px); margin: auto;
}
.bv3e-popup-survey-card::before {
    content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--sv-accent), var(--site-accent-alt, #e44d9a));
}
.bv3e-popup-survey-emoji { font-size: 40px; margin-bottom: 16px; }
.bv3e-popup-survey-title { font-size: 22px; font-weight: 800; color: var(--site-text, #1a1a2e); margin: 0 0 6px; }
.bv3e-popup-survey-subtitle { font-size: 14px; color: var(--site-text-muted, #6e6e8a); margin: 0 0 28px; }
.bv3e-popup-survey-options { display: flex; justify-content: center; gap: 8px; margin-bottom: 24px; flex-wrap: wrap; }

/* Emoji style */
.bv3e-popup-survey-options[data-sv-style="emoji"] .bv3e-popup-survey-opt {
    font-size: 32px; width: 56px; height: 56px; border-radius: 14px;
    border: 2px solid var(--site-border, #e5e7eb); background: #fafafa;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: all 0.2s;
}
.bv3e-popup-survey-options[data-sv-style="emoji"] .bv3e-popup-survey-opt:hover {
    border-color: var(--sv-accent); background: rgba(115,103,240,0.06); transform: translateY(-2px);
}
.bv3e-popup-survey-options[data-sv-style="emoji"] .bv3e-popup-survey-opt.active {
    border-color: var(--sv-accent); background: rgba(115,103,240,0.1); transform: scale(1.1);
}

/* Stars style */
.bv3e-popup-survey-options[data-sv-style="stars"] .bv3e-popup-survey-opt {
    font-size: 32px; cursor: pointer; transition: transform 0.15s; color: #d1d5db; line-height: 1;
}
.bv3e-popup-survey-options[data-sv-style="stars"] .bv3e-popup-survey-opt:hover,
.bv3e-popup-survey-options[data-sv-style="stars"] .bv3e-popup-survey-opt.active { color: #fbbf24; transform: scale(1.15); }

/* Thumbs style */
.bv3e-popup-survey-options[data-sv-style="thumbs"] .bv3e-popup-survey-opt {
    width: 64px; height: 64px; border-radius: 16px;
    border: 2px solid var(--site-border, #e5e7eb); background: #fafafa;
    display: flex; align-items: center; justify-content: center;
    font-size: 28px; cursor: pointer; transition: all 0.2s;
}
.bv3e-popup-survey-options[data-sv-style="thumbs"] .bv3e-popup-survey-opt:hover { transform: translateY(-3px); }
.bv3e-popup-survey-options[data-sv-style="thumbs"] .bv3e-popup-survey-opt[data-val="up"]:hover,
.bv3e-popup-survey-options[data-sv-style="thumbs"] .bv3e-popup-survey-opt[data-val="up"].active { border-color: #22c55e; background: rgba(34,197,94,0.08); }
.bv3e-popup-survey-options[data-sv-style="thumbs"] .bv3e-popup-survey-opt[data-val="down"]:hover,
.bv3e-popup-survey-options[data-sv-style="thumbs"] .bv3e-popup-survey-opt[data-val="down"].active { border-color: #ef4444; background: rgba(239,68,68,0.08); }

/* Scale style */
.bv3e-popup-survey-options[data-sv-style="scale"] { gap: 4px; }
.bv3e-popup-survey-options[data-sv-style="scale"] .bv3e-popup-survey-opt {
    width: 36px; height: 36px; border-radius: 8px;
    border: 1px solid var(--site-border, #e5e7eb); background: #fafafa;
    display: flex; align-items: center; justify-content: center;
    font-size: 14px; font-weight: 700; color: var(--site-text-muted, #6e6e8a);
    cursor: pointer; transition: all 0.15s;
}
.bv3e-popup-survey-options[data-sv-style="scale"] .bv3e-popup-survey-opt:hover { border-color: var(--sv-accent); color: var(--sv-accent); }
.bv3e-popup-survey-options[data-sv-style="scale"] .bv3e-popup-survey-opt.active { background: var(--sv-accent); color: #fff; border-color: var(--sv-accent); }

.bv3e-popup-survey-scale-labels { display: flex; justify-content: space-between; font-size: 11px; color: #aaa; margin-top: -16px; margin-bottom: 20px; padding: 0 2px; }
.bv3e-popup-survey-submit {
    display: inline-block; padding: 12px 32px;
    background: var(--sv-accent); color: #fff;
    font-size: 14px; font-weight: 700; border-radius: 10px;
    border: none; cursor: pointer; transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 16px rgba(115,103,240,0.25);
}
.bv3e-popup-survey-submit:hover { transform: translateY(-1px); }
.bv3e-popup-survey-submit:disabled { opacity: 0.4; cursor: not-allowed; transform: none; }
.bv3e-popup-survey-thankyou { display: none; text-align: center; padding: 20px 0; }
.bv3e-popup-survey-thankyou-icon { font-size: 48px; margin-bottom: 12px; }
.bv3e-popup-survey-thankyou h4 { font-size: 20px; font-weight: 700; color: var(--site-text, #1a1a2e); margin: 0 0 6px; }
.bv3e-popup-survey-thankyou p { font-size: 14px; color: var(--site-text-muted, #6e6e8a); margin: 0; }
.bv3e-popup-survey-card .bv3e-popup-close { top: 12px; right: 12px; color: #bbb; }

/* Survey dark theme */
.bv3e-popup-survey-card[data-sv-theme="dark"] { background: #1a1a2e; }
.bv3e-popup-survey-card[data-sv-theme="dark"] .bv3e-popup-survey-title { color: #fff; }
.bv3e-popup-survey-card[data-sv-theme="dark"] .bv3e-popup-survey-subtitle { color: rgba(255,255,255,0.5); }
.bv3e-popup-survey-card[data-sv-theme="dark"] .bv3e-popup-survey-options[data-sv-style="emoji"] .bv3e-popup-survey-opt { border-color: rgba(255,255,255,0.1); background: rgba(255,255,255,0.04); }
.bv3e-popup-survey-card[data-sv-theme="dark"] .bv3e-popup-survey-options[data-sv-style="scale"] .bv3e-popup-survey-opt { border-color: rgba(255,255,255,0.1); background: rgba(255,255,255,0.04); color: rgba(255,255,255,0.5); }
.bv3e-popup-survey-card[data-sv-theme="dark"] .bv3e-popup-survey-options[data-sv-style="thumbs"] .bv3e-popup-survey-opt { border-color: rgba(255,255,255,0.1); background: rgba(255,255,255,0.04); }
.bv3e-popup-survey-card[data-sv-theme="dark"] .bv3e-popup-survey-options[data-sv-style="stars"] .bv3e-popup-survey-opt { color: rgba(255,255,255,0.2); }
.bv3e-popup-survey-card[data-sv-theme="dark"] .bv3e-popup-survey-scale-labels { color: rgba(255,255,255,0.3); }
.bv3e-popup-survey-card[data-sv-theme="dark"] .bv3e-popup-survey-thankyou h4 { color: #fff; }
.bv3e-popup-survey-card[data-sv-theme="dark"] .bv3e-popup-survey-thankyou p { color: rgba(255,255,255,0.5); }
.bv3e-popup-survey-card[data-sv-theme="dark"] .bv3e-popup-close { color: rgba(255,255,255,0.3); }

/* ══════════════════════════════════════
   8. Bottom Sheet Popup
   ══════════════════════════════════════ */
.bv3e-popup-sheet-card {
    --sh-accent: var(--site-accent, #7367F0);
    position: relative; background: #fff;
    border-radius: 20px 20px 0 0; padding: 0;
    max-width: 520px; width: 100%; overflow: hidden;
    max-height: calc(100vh - 16px); display: flex; flex-direction: column;
}
.bv3e-popup-sheet-handle { width: 40px; height: 5px; border-radius: 100px; background: #d1d5db; margin: 12px auto 0; flex-shrink: 0; }
.bv3e-popup-sheet-body { padding: 24px 28px 28px; text-align: center; overflow-y: auto; flex: 1; min-height: 0; -webkit-overflow-scrolling: touch; }
.bv3e-popup-sheet-icon {
    width: 56px; height: 56px; border-radius: 16px;
    background: rgba(115,103,240,0.1); color: var(--sh-accent);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 24px; margin-bottom: 16px;
}
.bv3e-popup-sheet-icon i { font-size: inherit; color: inherit; }
.bv3e-popup-sheet-title { font-size: 22px; font-weight: 800; color: var(--site-text, #1a1a2e); margin: 0 0 8px; }
.bv3e-popup-sheet-msg { font-size: 14px; color: var(--site-text-muted, #6e6e8a); margin: 0 0 24px; line-height: 1.6; }
.bv3e-popup-sheet-features { list-style: none; padding: 0; margin: 0 0 24px; text-align: left; }
.bv3e-popup-sheet-features li {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 0; border-bottom: 1px solid #f1f1f4;
    font-size: 14px; color: #4a4a68;
}
.bv3e-popup-sheet-features li:last-child { border-bottom: none; }
.bv3e-popup-sheet-features li i { font-size: 16px; color: var(--sh-accent); flex-shrink: 0; }
.bv3e-popup-sheet-cta {
    display: block; width: 100%; padding: 14px;
    background: var(--sh-accent); color: #fff;
    font-size: 15px; font-weight: 700; border-radius: 12px;
    border: none; cursor: pointer; text-align: center; text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 16px rgba(115,103,240,0.25);
}
.bv3e-popup-sheet-cta:hover { transform: translateY(-1px); }
.bv3e-popup-sheet-secondary {
    display: block; width: 100%; padding: 12px;
    background: transparent; color: var(--site-text-muted, #6e6e8a);
    font-size: 14px; font-weight: 600; border: none;
    cursor: pointer; margin-top: 8px; text-align: center; text-decoration: none;
}
.bv3e-popup-sheet-secondary:hover { color: var(--site-text, #1a1a2e); }
.bv3e-popup-sheet-card .bv3e-popup-close { top: 12px; right: 12px; color: #bbb; }

/* Bottom sheet dark theme */
.bv3e-popup-sheet-card[data-sh-theme="dark"] { background: #1a1a2e; }
.bv3e-popup-sheet-card[data-sh-theme="dark"] .bv3e-popup-sheet-handle { background: rgba(255,255,255,0.15); }
.bv3e-popup-sheet-card[data-sh-theme="dark"] .bv3e-popup-sheet-title { color: #fff; }
.bv3e-popup-sheet-card[data-sh-theme="dark"] .bv3e-popup-sheet-msg { color: rgba(255,255,255,0.5); }
.bv3e-popup-sheet-card[data-sh-theme="dark"] .bv3e-popup-sheet-features li { color: rgba(255,255,255,0.7); border-color: rgba(255,255,255,0.06); }
.bv3e-popup-sheet-card[data-sh-theme="dark"] .bv3e-popup-sheet-secondary { color: rgba(255,255,255,0.4); }
.bv3e-popup-sheet-card[data-sh-theme="dark"] .bv3e-popup-sheet-secondary:hover { color: #fff; }
.bv3e-popup-sheet-card[data-sh-theme="dark"] .bv3e-popup-close { color: rgba(255,255,255,0.3); }

/* Bottom sheet slide-up animation */
@keyframes bv3eSheetSlideUp { from { transform: translateY(100%); } to { transform: none; } }


/* ═══════════════════════════════════════════════════════════
   COMPREHENSIVE MOBILE RESPONSIVE — Tablet (max-width: 768px)
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {

    /* ── Layout columns: stack vertically ── */
    .bv3e-columns[data-stack="true"] {
        flex-direction: column !important;
    }
    .bv3e-columns[data-stack="true"] > div {
        flex: none !important;
        width: 100% !important;
    }

    /* ── Grid layouts: collapse to 1 column ── */
    .bv3e-grid {
        grid-template-columns: 1fr !important;
    }

    /* ── H Stack: wrap on mobile ── */
    .bv3e-hstack {
        flex-wrap: wrap !important;
    }

    /* ── Hero section ── */
    .bv3e-hero {
        min-height: auto !important;
        padding: 40px 20px !important;
    }
    .bv3e-hero-content h1 {
        font-size: 28px !important;
    }
    .bv3e-hero-content p {
        font-size: 15px !important;
    }

    /* ── Video Background ── */
    .bv3e-video-bg {
        min-height: auto !important;
        padding: 40px 20px !important;
    }

    /* ── CTA Banner ── */
    .bv3e-cta {
        padding: 32px 20px !important;
    }
    .bv3e-cta h2 {
        font-size: 24px !important;
    }

    /* ── Pricing Table ── */
    .bv3e-pricing {
        flex-direction: column !important;
        gap: 16px !important;
    }
    .bv3e-pricing-card {
        min-width: auto !important;
        width: 100% !important;
    }
    .bv3e-pricing-card--featured {
        transform: none !important;
    }

    /* ── Feature Cards ── */
    .bv3e-features {
        grid-template-columns: 1fr !important;
    }

    /* ── Testimonials ── */
    .bv3e-testimonials-slider {
        padding: 0 10px !important;
    }

    /* ── Counter Stats ── */
    .bv3e-counter {
        flex-wrap: wrap !important;
        gap: 16px !important;
    }
    .bv3e-counter-item {
        flex: 1 1 45% !important;
        min-width: 120px !important;
    }
    .bv3e-counter-value {
        font-size: 32px !important;
    }

    /* ── Countdown ── */
    .bv3e-countdown-units {
        gap: 8px !important;
    }
    .bv3e-countdown-unit {
        min-width: 60px !important;
        padding: 12px 8px !important;
    }
    .bv3e-countdown-unit .bv3e-cd-num {
        font-size: 24px !important;
    }

    /* ── Gallery ── */
    .bv3e-gallery {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
    }

    /* ── Timeline ── */
    .bv3e-timeline::before {
        left: 24px !important;
    }
    .bv3e-timeline-item {
        width: 100% !important;
        left: 0 !important;
        text-align: left !important;
        padding-left: 56px !important;
        padding-right: 0 !important;
    }
    .bv3e-timeline-item .bv3e-timeline-dot {
        left: 17px !important;
        right: auto !important;
    }

    /* ── Before/After Slider ── */
    .bv3e-before-after {
        max-width: 100% !important;
    }

    /* ── Video embed ── */
    .bv3e-video-wrapper {
        max-width: 100% !important;
    }

    /* ── Accordion ── */
    .bv3e-accordion-content {
        padding: 12px 16px !important;
    }

    /* ── Tabs ── */
    .bv3e-tabs-nav {
        flex-wrap: wrap !important;
        gap: 4px !important;
    }
    .bv3e-tab-btn {
        flex: 1 1 auto !important;
        min-width: 0 !important;
        font-size: 13px !important;
        padding: 8px 12px !important;
    }

    /* ── Smooth Tabs ── */
    .bv3e-smooth-tabs-nav {
        flex-wrap: wrap !important;
        gap: 4px !important;
    }
    .bv3e-smooth-tab-btn {
        flex: 1 1 auto !important;
        font-size: 13px !important;
        padding: 8px 12px !important;
    }

    /* ── Bento Grid ── */
    .bv3e-bento-grid {
        grid-template-columns: 1fr !important;
        grid-template-rows: auto !important;
    }
    .bv3e-bento-item {
        grid-column: span 1 !important;
        grid-row: span 1 !important;
        min-height: 200px !important;
    }

    /* ── 3D Carousel ── */
    .bv3e-carousel-3d {
        perspective: 600px !important;
    }

    /* ── Horizontal Scroller ── */
    .bv3e-h-scroll-track {
        gap: 12px !important;
    }
    .bv3e-h-scroll-card {
        min-width: 260px !important;
    }

    /* ── Masonry Grid ── */
    .bv3e-masonry {
        columns: 1 !important;
    }

    /* ── Comparison Table ── */
    .bv3e-comparison {
        overflow-x: auto !important;
    }
    .bv3e-comparison table {
        min-width: 500px;
    }

    /* ── Stat Card ── */
    .bv3e-stat-card {
        padding: 20px !important;
    }

    /* ── Locations ── */
    .bv3e-loc-grid {
        grid-template-columns: 1fr !important;
    }

    /* ── Hover Gallery ── */
    .bv3e-hover-gallery {
        flex-direction: column !important;
        gap: 16px !important;
    }
    .bv3e-hg-preview {
        min-height: 250px !important;
        order: -1 !important;
    }
    .bv3e-hg-list {
        min-height: auto !important;
    }
    .bv3e-hg-label {
        font-size: 20px !important;
    }

    /* ── Stacked Slider ── */
    .bv3e-stacked-slider {
        max-width: 100% !important;
    }
    .bv3e-stacked-card {
        padding: 24px 20px !important;
    }

    /* ── FAQ Section ── */
    .bv3e-faq {
        padding: 24px 16px !important;
    }

    /* ── Progress Cards ── */
    .bv3e-progress-cards {
        flex-direction: column !important;
    }
    .bv3e-progress-cards .bv3e-pc-card {
        flex: unset !important;
    }
    .bv3e-progress-cards .bv3e-pc-body {
        max-height: 500px !important;
        opacity: 1 !important;
    }

    /* ── Flowstack / Hover Cards ── */
    .bv3e-flowstack {
        flex-direction: column !important;
    }
    .bv3e-flowstack-card {
        flex: unset !important;
        min-height: auto !important;
        padding: 24px 20px !important;
    }
    .bv3e-flowstack-desc {
        opacity: 1 !important;
        max-height: 200px !important;
    }

    /* ── Showcase Cards ── */
    .bv3e-showcase-cards {
        grid-template-columns: 1fr !important;
    }

    /* ── Testimonial Cards / Project Cards ── */
    .bv3e-testimonial-cards {
        grid-template-columns: 1fr !important;
    }
    .bv3e-project-cards {
        grid-template-columns: 1fr !important;
    }

    /* ── Logo Cloud ── */
    .bv3e-logo-cloud {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    /* ── Popups — universal mobile sizing ── */
    .bv3e-popup-offer-card,
    .bv3e-popup-countdown-card {
        max-width: 95% !important;
        padding: 32px 20px !important;
    }

    .bv3e-popup-countdown-title {
        font-size: 22px !important;
    }
    .bv3e-popup-countdown-timer {
        gap: 8px !important;
    }
    .bv3e-popup-countdown-digit {
        min-width: 56px !important;
        padding: 12px 8px !important;
    }
    .bv3e-popup-countdown-num {
        font-size: 28px !important;
    }

    /* ── Social Proof Popup ── */
    .bv3e-popup-social {
        max-width: 90% !important;
        bottom: 16px !important;
        left: 16px !important;
        right: auto !important;
    }

    /* ── Bottom Sheet ── */
    .bv3e-popup-sheet-card {
        max-width: 100% !important;
        border-radius: 20px 20px 0 0 !important;
        padding: 24px 20px 28px !important;
    }

    /* ── Announce Bar ── */
    .bv3e-announce-bar {
        font-size: 13px !important;
        padding: 10px 16px !important;
    }

    /* ── Modal / Dialog ── */
    .bv3e-modal-overlay { padding: 8px !important; }
    .bv3e-modal-dialog {
        width: 100% !important;
        max-width: 100% !important;
        max-height: calc(100vh - 16px) !important;
        margin: auto !important;
        border-radius: 10px !important;
    }
    .bv3e-modal-header { padding: 14px 16px !important; }
    .bv3e-modal-header h3 { font-size: 16px !important; }
    .bv3e-modal-body { padding: 16px !important; }
    .bv3e-modal-overlay[data-size="full"] .bv3e-modal-dialog {
        max-height: 100vh !important;
        border-radius: 0 !important;
    }
    .bv3e-modal-overlay[data-size="full"] { padding: 0 !important; }

    /* ── Popup Overlay (all popup types) ── */
    .bv3e-popup-overlay { padding: 8px !important; }

    /* ── Offer Popup ── */
    .bv3e-popup-offer-card {
        width: 100% !important;
        max-width: 100% !important;
        max-height: calc(100vh - 16px) !important;
        border-radius: 14px !important;
    }
    .bv3e-popup-offer-body { padding: 32px 20px 24px !important; }

    /* ── Split Popup ── */
    .bv3e-popup-split-card {
        flex-direction: column !important;
        width: 100% !important;
        max-width: 100% !important;
        max-height: calc(100vh - 16px) !important;
        border-radius: 14px !important;
    }
    .bv3e-popup-split-image { max-height: 180px !important; flex-shrink: 0 !important; }
    .bv3e-popup-split-content {
        padding: 24px 20px !important;
        overflow-y: auto !important;
        flex: 1 !important;
        min-height: 0 !important;
    }

    /* ── Countdown Popup ── */
    .bv3e-popup-countdown-card {
        width: 100% !important;
        max-width: 100% !important;
        max-height: calc(100vh - 16px) !important;
        padding: 32px 20px 28px !important;
        border-radius: 14px !important;
    }
    .bv3e-popup-countdown-timer { gap: 8px !important; }
    .bv3e-popup-countdown-unit { min-width: 56px !important; padding: 12px 6px !important; }
    .bv3e-popup-countdown-num { font-size: 28px !important; }

    /* ── Survey Popup ── */
    .bv3e-popup-survey-card {
        width: 100% !important;
        max-width: 100% !important;
        max-height: calc(100vh - 16px) !important;
        padding: 28px 20px !important;
        border-radius: 14px !important;
    }

    /* ── Bottom Sheet Popup ── */
    .bv3e-popup-sheet-card {
        max-height: calc(100vh - 16px) !important;
    }
    .bv3e-popup-sheet-body { padding: 20px 16px 20px !important; }

    /* ── Video Popup ── */
    .bv3e-popup-video-card { width: 100% !important; }

    /* ── Icon Box / Image Box ── */
    .bv3e-icon-box {
        padding: 20px 16px !important;
    }
    .bv3e-image-box {
        max-width: 100% !important;
    }

    /* ── Code Block ── */
    .bv3e-code-block pre {
        font-size: 12px !important;
        padding: 16px !important;
    }

    /* ── Table overflow ── */
    .bv3e-table {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
    }
    .bv3e-table table {
        min-width: 500px;
    }

    /* ── Animated Heading ── */
    .bv3e-animated-heading h2 {
        font-size: 28px !important;
    }

    /* ── Callout ── */
    .bv3e-callout {
        padding: 20px 16px !important;
    }

    /* ── Alert ── */
    .bv3e-alert {
        padding: 14px 16px !important;
        font-size: 14px !important;
    }

    /* ── Cookie Banner ── */
    .bv3e-cookie-banner {
        flex-direction: column !important;
        gap: 12px !important;
        padding: 16px !important;
        max-width: 95% !important;
    }
    .bv3e-cookie-banner .bv3e-cookie-actions {
        flex-direction: column !important;
        width: 100% !important;
    }
    .bv3e-cookie-banner .bv3e-cookie-actions button {
        width: 100% !important;
    }

    /* ── Back To Top: slightly smaller ── */
    .bv3e-back-to-top {
        width: 40px !important;
        height: 40px !important;
        font-size: 18px !important;
    }

    /* ── Tilt Card ── */
    .bv3e-tilt-card {
        padding: 24px 20px !important;
    }
}


/* ── Navigation Components ─────────────────────────────── */

/* Shared nav hamburger toggle */
.bv3e-dropdown-nav-toggle,
.bv3e-mega-nav-toggle {
    display: none;
    width: 40px; height: 40px;
    border: none; background: none; cursor: pointer;
    padding: 8px; border-radius: 8px;
    flex-direction: column; align-items: center; justify-content: center;
    transition: background 0.2s;
}
.bv3e-dropdown-nav-toggle:hover,
.bv3e-mega-nav-toggle:hover { background: rgba(0,0,0,0.05); }
.bv3e-dropdown-nav-toggle span,
.bv3e-mega-nav-toggle span {
    display: block; width: 24px; height: 2px;
    background: #1a1a2e; border-radius: 2px; transition: all 0.3s;
}
.bv3e-dropdown-nav-toggle span + span,
.bv3e-mega-nav-toggle span + span { margin-top: 6px; }
.bv3e-dropdown-nav-toggle.active span:nth-child(1),
.bv3e-mega-nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(4px,4px); }
.bv3e-dropdown-nav-toggle.active span:nth-child(2),
.bv3e-mega-nav-toggle.active span:nth-child(2) { opacity: 0; }
.bv3e-dropdown-nav-toggle.active span:nth-child(3),
.bv3e-mega-nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(6px,-6px); }

/* Dropdown Nav */
.bv3e-dropdown-nav { width: 100%; font-family: inherit; position: relative; z-index: 100; }
.bv3e-dropdown-nav-inner {
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 24px; max-width: 1200px; margin: 0 auto; min-height: 64px;
}
.bv3e-dropdown-nav-logo {
    font-size: 20px; font-weight: 800; color: var(--site-text, #1a1a2e);
    text-decoration: none; display: flex; align-items: center; gap: 10px; flex-shrink: 0;
}
.bv3e-dropdown-nav-logo img { height: 36px; width: auto; display: block; }
.bv3e-dropdown-nav-menu {
    display: flex; align-items: center; gap: 4px;
    list-style: none; margin: 0; padding: 0;
}
.bv3e-dropdown-nav-item { position: relative; }
.bv3e-dropdown-nav-link {
    display: flex; align-items: center; gap: 6px;
    padding: 10px 16px; font-size: 14px; font-weight: 500; color: #4a4a68;
    text-decoration: none; border-radius: 8px; transition: all 0.2s; white-space: nowrap; cursor: pointer;
}
.bv3e-dropdown-nav-link:hover { color: var(--site-accent, #7367F0); background: rgba(115,103,240,0.06); }
.bv3e-nav-chevron { width: 14px; height: 14px; transition: transform 0.2s; display: inline-flex; }
.bv3e-nav-chevron svg { width: 100%; height: 100%; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.bv3e-dropdown-nav-item:hover > .bv3e-dropdown-nav-link .bv3e-nav-chevron,
.bv3e-dropdown-nav-item.bv3e-nav-dd-open > .bv3e-dropdown-nav-link .bv3e-nav-chevron { transform: rotate(180deg); }
.bv3e-dropdown-nav-dropdown {
    position: absolute; top: 100%; left: 0; min-width: 220px; padding: 8px;
    background: #fff; border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.12), 0 0 0 1px rgba(0,0,0,0.04);
    opacity: 0; visibility: hidden; transform: translateY(8px);
    transition: all 0.25s cubic-bezier(0.16,1,0.3,1); z-index: 110;
}
.bv3e-dropdown-nav-item:hover > .bv3e-dropdown-nav-dropdown,
.bv3e-dropdown-nav-item.bv3e-nav-dd-open > .bv3e-dropdown-nav-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.bv3e-dropdown-nav-dropdown a {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 14px; font-size: 14px; color: #4a4a68;
    text-decoration: none; border-radius: 8px; transition: all 0.15s;
}
.bv3e-dropdown-nav-dropdown a:hover { background: rgba(115,103,240,0.06); color: var(--site-accent, #7367F0); }
.bv3e-nav-dd-icon {
    width: 32px; height: 32px; border-radius: 8px;
    background: rgba(115,103,240,0.08); display: flex; align-items: center; justify-content: center;
    font-size: 15px; color: var(--site-accent, #7367F0); flex-shrink: 0;
}
.bv3e-nav-dd-desc { font-size: 12px; color: #8e8ea0; margin-top: 2px; }
.bv3e-dropdown-nav-cta { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.bv3e-dropdown-nav-cta a,
.bv3e-mega-nav-cta a {
    display: inline-block; padding: 10px 22px; font-size: 14px; font-weight: 600;
    border-radius: 8px; text-decoration: none; transition: all 0.2s;
}
.bv3e-nav-cta-ghost { color: #4a4a68; }
.bv3e-nav-cta-ghost:hover { color: var(--site-accent, #7367F0); }
.bv3e-nav-cta-solid { background: var(--site-accent, #7367F0); color: #fff; }
.bv3e-nav-cta-solid:hover { filter: brightness(0.85); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(115,103,240,0.3); }

/* Dropdown Nav theme variants */
.bv3e-dropdown-nav[data-nav-theme="dark"] { background: var(--bv3-nav-bg, #1a1a2e); }
.bv3e-dropdown-nav[data-nav-theme="dark"] .bv3e-dropdown-nav-logo { color: #fff; }
.bv3e-dropdown-nav[data-nav-theme="dark"] .bv3e-dropdown-nav-link { color: rgba(255,255,255,0.7); }
.bv3e-dropdown-nav[data-nav-theme="dark"] .bv3e-dropdown-nav-link:hover { color: #fff; background: rgba(255,255,255,0.08); }
.bv3e-dropdown-nav[data-nav-theme="dark"] .bv3e-dropdown-nav-toggle span,
.bv3e-dropdown-nav[data-nav-theme="dark"] .bv3e-mega-nav-toggle span { background: #fff; }
.bv3e-dropdown-nav[data-nav-theme="dark"] .bv3e-nav-cta-ghost { color: rgba(255,255,255,0.7); }
.bv3e-dropdown-nav[data-nav-theme="dark"] .bv3e-nav-cta-ghost:hover { color: #fff; }
.bv3e-dropdown-nav[data-nav-theme="glass"] { background: var(--bv3-nav-bg, rgba(255,255,255,0.8)); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-bottom: 1px solid rgba(0,0,0,0.06); }
.bv3e-dropdown-nav[data-nav-theme="bordered"] { background: var(--bv3-nav-bg, #fff); border-bottom: 1px solid var(--site-border, #e5e7eb); }
.bv3e-dropdown-nav[data-nav-theme="shadow"] { background: var(--bv3-nav-bg, #fff); box-shadow: 0 2px 16px rgba(0,0,0,0.06); }
/* When a sticky nav is inside a global block wrapper, make the wrapper transparent to layout */
[data-global-block]:has([data-nav-sticky="true"]) { display: contents; }
.bv3e-dropdown-nav[data-nav-sticky="true"] { position: sticky; top: 0; z-index: 1000; }
/* Dropdown Nav drop shadow levels */
.bv3e-dropdown-nav[data-nav-shadow="none"] { box-shadow: none !important; }
.bv3e-dropdown-nav[data-nav-shadow="subtle"] { box-shadow: 0 1px 4px rgba(0,0,0,0.04) !important; }
.bv3e-dropdown-nav[data-nav-shadow="medium"] { box-shadow: 0 2px 16px rgba(0,0,0,0.06) !important; }
.bv3e-dropdown-nav[data-nav-shadow="strong"] { box-shadow: 0 4px 24px rgba(0,0,0,0.12) !important; }

/* Mega Menu Nav */
.bv3e-mega-nav { width: 100%; font-family: inherit; position: relative; z-index: 100; }
.bv3e-mega-nav-inner {
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 24px; max-width: 1200px; margin: 0 auto; min-height: 64px;
}
.bv3e-mega-nav-logo {
    font-size: 20px; font-weight: 800; color: var(--site-text, #1a1a2e);
    text-decoration: none; display: flex; align-items: center; gap: 10px; flex-shrink: 0;
}
.bv3e-mega-nav-logo img { height: 36px; width: auto; display: block; }
.bv3e-mega-nav-menu { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.bv3e-mega-nav-item { position: static; }
.bv3e-mega-nav-link {
    display: flex; align-items: center; gap: 6px;
    padding: 10px 16px; font-size: 14px; font-weight: 500; color: #4a4a68;
    text-decoration: none; border-radius: 8px; transition: all 0.2s; white-space: nowrap; cursor: pointer;
}
.bv3e-mega-nav-link:hover { color: var(--site-accent, #7367F0); background: rgba(115,103,240,0.06); }
.bv3e-mega-nav-item:hover > .bv3e-mega-nav-link .bv3e-nav-chevron { transform: rotate(180deg); }
.bv3e-mega-nav-panel {
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; border-radius: 0 0 16px 16px;
    box-shadow: 0 16px 48px rgba(0,0,0,0.12), 0 0 0 1px rgba(0,0,0,0.04);
    opacity: 0; visibility: hidden; transform: translateY(8px);
    transition: all 0.3s cubic-bezier(0.16,1,0.3,1); z-index: 110; padding: 32px; overflow: hidden;
}
.bv3e-mega-nav-item:hover > .bv3e-mega-nav-panel { opacity: 1; visibility: visible; transform: translateY(0); }
.bv3e-mega-nav-panel-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; max-width: 1200px; margin: 0 auto; }
.bv3e-mega-nav-col { display: flex; flex-direction: column; }
.bv3e-mega-nav-col-title {
    font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
    color: #8e8ea0; margin: 0 0 12px; padding: 0 10px;
}
.bv3e-mega-nav-col a {
    display: flex; align-items: flex-start; gap: 12px; padding: 10px;
    border-radius: 10px; text-decoration: none; transition: all 0.15s;
}
.bv3e-mega-nav-col a:hover { background: rgba(115,103,240,0.06); }
.bv3e-mega-icon {
    width: 40px; height: 40px; border-radius: 10px; background: rgba(115,103,240,0.08);
    display: flex; align-items: center; justify-content: center; font-size: 18px; color: var(--site-accent, #7367F0); flex-shrink: 0;
}
.bv3e-mega-text { display: flex; flex-direction: column; }
.bv3e-mega-label { font-size: 14px; font-weight: 600; color: var(--site-text, #1a1a2e); }
.bv3e-mega-desc { font-size: 12px; color: #8e8ea0; margin-top: 2px; line-height: 1.4; }
.bv3e-mega-nav-col a:hover .bv3e-mega-label { color: var(--site-accent, #7367F0); }
.bv3e-mega-nav-featured {
    grid-column: span 1; background: linear-gradient(135deg, #f0eeff, #e8f4fd);
    border-radius: 12px; padding: 24px; display: flex; flex-direction: column; justify-content: center;
}
.bv3e-mega-nav-featured h4 { font-size: 16px; font-weight: 700; color: var(--site-text, #1a1a2e); margin: 0 0 8px; }
.bv3e-mega-nav-featured p { font-size: 13px; color: var(--site-text-muted, #6e6e8a); margin: 0 0 16px; line-height: 1.5; }
.bv3e-mega-nav-featured a {
    display: inline-block; padding: 8px 20px; background: var(--site-accent, #7367F0); color: #fff;
    font-size: 13px; font-weight: 600; border-radius: 8px; text-decoration: none; transition: all 0.2s; align-self: flex-start;
}
.bv3e-mega-nav-featured a:hover { background: #5a4fd4; transform: translateY(-1px); }
.bv3e-mega-nav-cta { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

/* Mega Nav theme variants */
.bv3e-mega-nav[data-nav-theme="dark"] { background: var(--bv3-nav-bg, #1a1a2e); }
.bv3e-mega-nav[data-nav-theme="dark"] .bv3e-mega-nav-logo { color: #fff; }
.bv3e-mega-nav[data-nav-theme="dark"] .bv3e-mega-nav-link { color: rgba(255,255,255,0.7); }
.bv3e-mega-nav[data-nav-theme="dark"] .bv3e-mega-nav-link:hover { color: #fff; background: rgba(255,255,255,0.08); }
.bv3e-mega-nav[data-nav-theme="dark"] .bv3e-mega-nav-panel { background: #1a1a2e; border: 1px solid rgba(255,255,255,0.08); }
.bv3e-mega-nav[data-nav-theme="dark"] .bv3e-mega-nav-col a:hover { background: rgba(255,255,255,0.06); }
.bv3e-mega-nav[data-nav-theme="dark"] .bv3e-mega-label { color: #fff; }
.bv3e-mega-nav[data-nav-theme="dark"] .bv3e-mega-desc { color: rgba(255,255,255,0.4); }
.bv3e-mega-nav[data-nav-theme="dark"] .bv3e-mega-nav-col-title { color: rgba(255,255,255,0.3); }
.bv3e-mega-nav[data-nav-theme="dark"] .bv3e-mega-nav-toggle span { background: #fff; }
.bv3e-mega-nav[data-nav-theme="dark"] .bv3e-nav-cta-ghost { color: rgba(255,255,255,0.7); }
.bv3e-mega-nav[data-nav-theme="dark"] .bv3e-nav-cta-ghost:hover { color: #fff; }
.bv3e-mega-nav[data-nav-theme="dark"] .bv3e-mega-nav-featured { background: linear-gradient(135deg, rgba(115,103,240,0.15), rgba(0,207,232,0.1)); }
.bv3e-mega-nav[data-nav-theme="dark"] .bv3e-mega-nav-featured h4 { color: #fff; }
.bv3e-mega-nav[data-nav-theme="dark"] .bv3e-mega-nav-featured p { color: rgba(255,255,255,0.5); }
.bv3e-mega-nav[data-nav-theme="glass"] { background: var(--bv3-nav-bg, rgba(255,255,255,0.8)); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-bottom: 1px solid rgba(0,0,0,0.06); }
.bv3e-mega-nav[data-nav-theme="bordered"] { background: var(--bv3-nav-bg, #fff); border-bottom: 1px solid var(--site-border, #e5e7eb); }
.bv3e-mega-nav[data-nav-theme="shadow"] { background: var(--bv3-nav-bg, #fff); box-shadow: 0 2px 16px rgba(0,0,0,0.06); }
.bv3e-mega-nav[data-nav-sticky="true"] { position: sticky; top: 0; z-index: 1000; }
/* Mega Nav drop shadow levels */
.bv3e-mega-nav[data-nav-shadow="none"] { box-shadow: none !important; }
.bv3e-mega-nav[data-nav-shadow="subtle"] { box-shadow: 0 1px 4px rgba(0,0,0,0.04) !important; }
.bv3e-mega-nav[data-nav-shadow="medium"] { box-shadow: 0 2px 16px rgba(0,0,0,0.06) !important; }
.bv3e-mega-nav[data-nav-shadow="strong"] { box-shadow: 0 4px 24px rgba(0,0,0,0.12) !important; }

/* Nav mobile responsive */
@media (max-width: 768px) {
    .bv3e-dropdown-nav-menu,
    .bv3e-dropdown-nav-cta,
    .bv3e-mega-nav-menu,
    .bv3e-mega-nav-cta { display: none; }

    .bv3e-dropdown-nav-toggle,
    .bv3e-mega-nav-toggle { display: flex; }

    .bv3e-dropdown-nav.bv3e-nav-mobile-open .bv3e-dropdown-nav-menu,
    .bv3e-mega-nav.bv3e-nav-mobile-open .bv3e-mega-nav-menu {
        display: flex; flex-direction: column;
        position: absolute; top: 100%; left: 0; right: 0;
        background: inherit; padding: 16px;
        box-shadow: 0 12px 40px rgba(0,0,0,0.12); border-radius: 0 0 12px 12px;
        z-index: 110;
    }

    .bv3e-dropdown-nav.bv3e-nav-mobile-open .bv3e-dropdown-nav-cta,
    .bv3e-mega-nav.bv3e-nav-mobile-open .bv3e-mega-nav-cta {
        display: flex; flex-direction: column;
        padding: 0 16px 16px;
    }

    .bv3e-dropdown-nav-dropdown {
        position: static; box-shadow: none; opacity: 1; visibility: visible;
        transform: none; padding: 0 0 0 16px; background: transparent;
        display: none;
    }
    .bv3e-dropdown-nav-item.bv3e-nav-dd-open > .bv3e-dropdown-nav-dropdown { display: block; }

    .bv3e-mega-nav-panel {
        position: static; box-shadow: none; opacity: 1; visibility: visible;
        transform: none; padding: 16px 0; border-radius: 0;
        display: none;
    }
    .bv3e-mega-nav-item.bv3e-nav-dd-open > .bv3e-mega-nav-panel { display: block; }
    .bv3e-mega-nav-panel-grid { grid-template-columns: 1fr; gap: 16px; }
    .bv3e-mega-nav-featured { grid-column: span 1; }
}


/* ═══════════════════════════════════════════════════════════
   MOBILE RESPONSIVE — Small phone (max-width: 480px)
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 480px) {

    /* ── Hero / CTA further reduction ── */
    .bv3e-hero-content h1 {
        font-size: 24px !important;
    }
    .bv3e-cta h2 {
        font-size: 20px !important;
    }

    /* ── Gallery collapse to 1 column ── */
    .bv3e-gallery {
        grid-template-columns: 1fr !important;
    }

    /* ── Counter: full width items ── */
    .bv3e-counter-item {
        flex: 1 1 100% !important;
    }
    .bv3e-counter-value {
        font-size: 28px !important;
    }

    /* ── Logo Cloud: 1 column on very small ── */
    .bv3e-logo-cloud {
        grid-template-columns: 1fr !important;
    }

    /* ── Pricing card ── */
    .bv3e-pricing-card {
        padding: 20px 16px !important;
    }
    .bv3e-pricing-card .bv3e-price {
        font-size: 32px !important;
    }

    /* ── Horizontal scroller: smaller cards ── */
    .bv3e-h-scroll-card {
        min-width: 220px !important;
    }

    /* ── Popup tighter padding ── */
    .bv3e-popup-offer-card,
    .bv3e-popup-countdown-card,
    .bv3e-popup-split-card {
        padding: 24px 16px !important;
    }

    /* ── Animated Heading ── */
    .bv3e-animated-heading h2 {
        font-size: 22px !important;
    }

    /* ── Breadcrumbs ── */
    .bv3e-breadcrumbs {
        font-size: 12px !important;
    }

    /* ── Directory Grid ── */
    .bv3e-dir-grid {
        grid-template-columns: 1fr !important;
    }
    .bv3e-dir-detail-header {
        flex-direction: column !important;
    }
    .bv3e-dir-detail-photo {
        width: 100% !important;
    }
    .bv3e-dir-gallery {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    .bv3e-dir-search-form {
        flex-direction: column !important;
    }
}


/* ════════════════════════════════════════════════════════════
   Directory — Live site styles
   ════════════════════════════════════════════════════════════ */

/* ── Listings Grid ── */
.bv3e-dir-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding: 20px; }
.bv3e-dir-card { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,.08), 0 4px 12px rgba(0,0,0,.04); transition: transform .2s, box-shadow .2s; }
.bv3e-dir-card:hover { transform: translateY(-2px); box-shadow: 0 4px 16px rgba(0,0,0,.1); }
.bv3e-dir-card--bordered { box-shadow: none; border: 1px solid var(--site-border, #e5e7eb); }
.bv3e-dir-card--bordered:hover { box-shadow: 0 4px 16px rgba(0,0,0,.06); }
.bv3e-dir-card--flat { box-shadow: none; background: var(--site-surface, #f9fafb); }
.bv3e-dir-card--flat:hover { background: var(--site-surface, #f0f0f5); }
.bv3e-dir-card--minimal { box-shadow: none; background: transparent; }
.bv3e-dir-card-link { display: block; text-decoration: none; }
.bv3e-dir-card-img { width: 100%; height: 200px; object-fit: cover; display: block; background-color: #f0f0f5; }
.bv3e-dir-card-body { padding: 16px 20px 20px; }
.bv3e-dir-card-cat {
    font-size: 11px; font-weight: 600; text-transform: uppercase;
    letter-spacing: .8px; color: var(--site-accent, #7367F0); margin-bottom: 6px;
}
.bv3e-dir-card-name { font-size: 18px; font-weight: 700; color: var(--site-text, #1a1a2e); margin: 0 0 8px; line-height: 1.3; }
.bv3e-dir-card-name a { color: inherit; text-decoration: none; transition: color .2s; }
.bv3e-dir-card-name a:hover { color: var(--site-accent, #7367F0); }
.bv3e-dir-card-snippet {
    font-size: 14px; color: #666; line-height: 1.6; margin: 0 0 12px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.bv3e-dir-card-meta { display: flex; align-items: center; justify-content: space-between; font-size: 13px; color: #888; }
.bv3e-dir-card-loc i { font-size: 12px; margin-right: 4px; color: var(--site-accent, #7367F0); }
.bv3e-dir-card-rating { color: #f59e0b; font-weight: 600; }

/* ── Listing Detail ── */
.bv3e-dir-detail { padding: 20px; }
.bv3e-dir-detail-header { display: flex; gap: 32px; margin-bottom: 32px; }
.bv3e-dir-detail-photo { width: 400px; min-height: 300px; border-radius: 12px; object-fit: cover; background-color: #f0f0f5; flex-shrink: 0; }
.bv3e-dir-detail-info { flex: 1; }
.bv3e-dir-detail-cat {
    font-size: 12px; font-weight: 600; text-transform: uppercase;
    letter-spacing: .8px; color: var(--site-accent, #7367F0); margin-bottom: 8px;
}
.bv3e-dir-detail-name { font-size: 32px; font-weight: 800; color: var(--site-text, #1a1a2e); margin: 0 0 12px; line-height: 1.2; }
.bv3e-dir-detail-rating { font-size: 15px; color: #f59e0b; font-weight: 600; margin-bottom: 20px; }
.bv3e-dir-detail-contact { display: flex; flex-direction: column; gap: 10px; font-size: 14px; color: #555; }
.bv3e-dir-detail-contact i { color: var(--site-accent, #7367F0); margin-right: 8px; font-size: 15px; }
.bv3e-dir-detail-social { display: flex; gap: 10px; margin-top: 16px; }
.bv3e-dir-social-link {
    display: inline-flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; border-radius: 50%;
    background: var(--site-surface, #f4f4f5); color: #555;
    font-size: 16px; text-decoration: none; transition: background .2s, color .2s;
}
.bv3e-dir-social-link:hover { background: var(--site-accent, #7367F0); color: #fff; }
.bv3e-dir-detail-overview { font-size: 15px; line-height: 1.8; color: #444; }

/* ── Reviews ── */
.bv3e-dir-reviews { display: flex; flex-direction: column; gap: 16px; padding: 20px; }
.bv3e-dir-review { background: #fff; border: 1px solid var(--site-border, #e5e7eb); border-radius: 12px; padding: 20px; }
.bv3e-dir-review-header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.bv3e-dir-review-avatar {
    width: 40px; height: 40px; border-radius: 50%;
    background: var(--site-accent, #7367F0); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 16px; flex-shrink: 0;
}
.bv3e-dir-review-meta { flex: 1; display: flex; flex-direction: column; }
.bv3e-dir-review-name { font-size: 15px; font-weight: 600; color: var(--site-text, #1a1a2e); }
.bv3e-dir-review-loc { font-size: 12px; color: #888; }
.bv3e-dir-review-rating { color: #f59e0b; font-weight: 600; font-size: 14px; }
.bv3e-dir-review-content { font-size: 14px; line-height: 1.7; color: #555; margin: 0 0 8px; }
.bv3e-dir-review-date { font-size: 12px; color: #aaa; }

/* ── Business Hours ── */
.bv3e-dir-hours { padding: 20px; }
.bv3e-dir-hours-row {
    display: flex; justify-content: space-between; align-items: center;
    padding: 12px 16px; border-bottom: 1px solid var(--site-border, #e5e7eb); font-size: 14px;
}
.bv3e-dir-hours-row:last-child { border-bottom: none; }
.bv3e-dir-hours-day { font-weight: 600; color: var(--site-text, #1a1a2e); }
.bv3e-dir-hours-time { color: #666; }

/* ── Photo Gallery ── */
.bv3e-dir-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 20px; }
.bv3e-dir-gallery-item { overflow: hidden; border-radius: 8px; }
.bv3e-dir-gallery-img {
    width: 100%; height: 240px; object-fit: cover; display: block;
    border-radius: 8px; transition: transform .3s;
}
.bv3e-dir-gallery-item:hover .bv3e-dir-gallery-img { transform: scale(1.03); }

/* ── Services / FAQ ── */
.bv3e-dir-items { display: flex; flex-direction: column; gap: 16px; padding: 20px; }
.bv3e-dir-item {
    display: flex; gap: 16px; background: #fff;
    border: 1px solid var(--site-border, #e5e7eb); border-radius: 12px;
    padding: 16px; align-items: flex-start;
}
.bv3e-dir-item-img {
    width: 80px; height: 80px; border-radius: 8px;
    object-fit: cover; background-color: #f0f0f5; flex-shrink: 0;
}
.bv3e-dir-item-body { flex: 1; }
.bv3e-dir-item-name { font-size: 16px; font-weight: 600; color: var(--site-text, #1a1a2e); margin: 0 0 6px; }
.bv3e-dir-item-desc { font-size: 14px; color: #666; line-height: 1.6; margin: 0; }

/* ── Directory Blocks ── */
.bv3e-dir-blocks { padding: 20px; }
.bv3e-dir-block-item {
    padding: 16px 0; border-bottom: 1px solid var(--site-border, #e5e7eb);
    font-size: 15px; line-height: 1.7; color: #444;
}
.bv3e-dir-block-item:last-child { border-bottom: none; }

/* ── Search Bar ── */
.bv3e-dir-search { padding: 20px; }
.bv3e-dir-search-form { display: flex; gap: 12px; align-items: stretch; }
.bv3e-dir-search-field {
    flex: 1; display: flex; align-items: center; gap: 8px;
    background: #fff; border: 1px solid var(--site-border, #e5e7eb);
    border-radius: 8px; padding: 0 14px; transition: border-color .2s;
}
.bv3e-dir-search-field:focus-within { border-color: var(--site-accent, #7367F0); }
.bv3e-dir-search-field i { color: #999; font-size: 16px; flex-shrink: 0; }
.bv3e-dir-search-input,
.bv3e-dir-search-select {
    border: none; background: transparent; font-size: 14px;
    color: var(--site-text, #333); padding: 12px 0; width: 100%; outline: none;
}
.bv3e-dir-search-select { cursor: pointer; }
.bv3e-dir-search-btn {
    background: var(--site-accent, #7367F0); color: #fff; border: none;
    border-radius: 8px; padding: 12px 28px; font-size: 14px; font-weight: 600;
    cursor: pointer; white-space: nowrap; transition: opacity .2s;
}
.bv3e-dir-search-btn:hover { opacity: .9; }

/* ── Directory responsive ── */
@media (max-width: 768px) {
    .bv3e-dir-grid { grid-template-columns: 1fr !important; }
    .bv3e-dir-detail-header { flex-direction: column !important; }
    .bv3e-dir-detail-photo { width: 100% !important; }
    .bv3e-dir-gallery { grid-template-columns: repeat(2, 1fr) !important; }
    .bv3e-dir-search-form { flex-direction: column !important; }
}

/* ── Responsive iFrame ──────────────────────────────────── */
.bv3e-iframe { position: relative; width: 100%; overflow: hidden; }
.bv3e-iframe[data-if-border="true"] { border: 1px solid var(--site-border, #e5e7eb); }
.bv3e-iframe[data-if-shadow="true"] { box-shadow: 0 4px 24px rgba(0,0,0,0.1); }
.bv3e-iframe[data-if-aspect="16:9"] { aspect-ratio: 16/9; }
.bv3e-iframe[data-if-aspect="4:3"] { aspect-ratio: 4/3; }
.bv3e-iframe[data-if-aspect="1:1"] { aspect-ratio: 1/1; }
.bv3e-iframe[data-if-aspect="21:9"] { aspect-ratio: 21/9; }
.bv3e-iframe iframe { width: 100%; height: 100%; border: none; display: block; }
.bv3e-iframe[data-if-scroll="hidden"] { overflow: hidden; }
.bv3e-iframe[data-if-scroll="auto"] { overflow: auto; }
.bv3e-iframe[data-if-scroll="scroll"] { overflow: scroll; }
.bv3e-iframe-placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 40px; min-height: 200px; background: var(--site-bg-soft, #f8f9fc); color: var(--site-text-muted, #6e6e8a); font-size: 14px; text-align: center; }
.bv3e-iframe-placeholder i { font-size: 32px; opacity: 0.4; }

/* ── Footer ────────────────────────────────────────────── */
.bv3e-footer { position: relative; padding: 64px 0 0; font-family: inherit; color: var(--site-text-muted, #a0a3b1); }
.bv3e-footer[data-ft-theme="dark"] { color: #a0a3b1; }
.bv3e-footer[data-ft-theme="light"] { color: #4a4a68; }
.bv3e-footer[data-ft-theme="gradient"] { color: #a0a3b1; }
.bv3e-footer[data-ft-theme="transparent"] { color: inherit; }
.bv3e-ft-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.bv3e-ft-top { display: grid; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid var(--site-border, rgba(255,255,255,0.08)); }
.bv3e-footer[data-ft-theme="light"] .bv3e-ft-top { border-bottom-color: rgba(0,0,0,0.08); }
.bv3e-footer[data-ft-cols="3"] .bv3e-ft-top { grid-template-columns: 1.4fr 1fr 1fr; }
.bv3e-footer[data-ft-cols="4"] .bv3e-ft-top { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
.bv3e-footer[data-ft-cols="2"] .bv3e-ft-top { grid-template-columns: 1.2fr 1fr; }
.bv3e-ft-brand-name { font-size: 22px; font-weight: 800; margin: 0 0 12px; display: flex; align-items: center; gap: 10px; }
.bv3e-ft-brand-logo { height: 40px; width: auto; display: block; }
.bv3e-ft-brand-logo ~ .bv3e-ft-brand-text { display: none; }
.bv3e-footer[data-ft-theme="dark"] .bv3e-ft-brand-name,
.bv3e-footer[data-ft-theme="gradient"] .bv3e-ft-brand-name { color: #fff; }
.bv3e-footer[data-ft-theme="light"] .bv3e-ft-brand-name { color: var(--site-text, #1a1a2e); }
.bv3e-ft-brand-desc { font-size: 14px; line-height: 1.7; margin: 0 0 20px; max-width: 340px; }
.bv3e-ft-social { display: flex; gap: 10px; }
.bv3e-ft-social a { width: 36px; height: 36px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 16px; transition: background 0.2s, color 0.2s; text-decoration: none; }
.bv3e-footer[data-ft-theme="dark"] .bv3e-ft-social a,
.bv3e-footer[data-ft-theme="gradient"] .bv3e-ft-social a { background: rgba(255,255,255,0.06); color: #a0a3b1; }
.bv3e-footer[data-ft-theme="dark"] .bv3e-ft-social a:hover,
.bv3e-footer[data-ft-theme="gradient"] .bv3e-ft-social a:hover { background: var(--site-accent, #7367f0); color: #fff; }
.bv3e-footer[data-ft-theme="light"] .bv3e-ft-social a { background: rgba(0,0,0,0.05); color: #6e6e8a; }
.bv3e-footer[data-ft-theme="light"] .bv3e-ft-social a:hover { background: var(--site-accent, #7367f0); color: #fff; }
.bv3e-ft-col-title { font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; margin: 0 0 20px; }
.bv3e-footer[data-ft-theme="dark"] .bv3e-ft-col-title,
.bv3e-footer[data-ft-theme="gradient"] .bv3e-ft-col-title { color: #fff; }
.bv3e-footer[data-ft-theme="light"] .bv3e-ft-col-title { color: var(--site-text, #1a1a2e); }
.bv3e-ft-links { list-style: none; margin: 0; padding: 0; }
.bv3e-ft-links li { margin-bottom: 10px; }
.bv3e-ft-links a { font-size: 14px; text-decoration: none; color: inherit; transition: color 0.2s; }
.bv3e-ft-links a:hover { color: var(--site-accent, #7367f0); }
.bv3e-ft-bottom { display: flex; align-items: center; justify-content: space-between; padding: 24px 0; gap: 16px; flex-wrap: wrap; font-size: 13px; }
.bv3e-ft-copy { margin: 0; }
.bv3e-ft-bottom-links { display: flex; gap: 20px; }
.bv3e-ft-bottom-links a { font-size: 13px; text-decoration: none; color: inherit; transition: color 0.2s; }
.bv3e-ft-bottom-links a:hover { color: var(--site-accent, #7367f0); }
@media (max-width: 768px) {
    .bv3e-ft-top { grid-template-columns: 1fr !important; gap: 32px; }
    .bv3e-ft-bottom { flex-direction: column; text-align: center; }
    .bv3e-ft-bottom-links { justify-content: center; }
}

/* ── Simple Footer ─────────────────────────────────────── */
.bv3e-footer-simple { font-family: inherit; padding: 40px 24px; color: #a0a3b1; }
.bv3e-fs-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.bv3e-fs-brand { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 700; color: #fff; text-decoration: none; }
.bv3e-fs-brand-logo { height: 32px; width: auto; display: block; }
.bv3e-fs-brand-logo ~ .bv3e-fs-brand-text { display: none; }
.bv3e-fs-center { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.bv3e-fs-center a { font-size: 14px; color: #a0a3b1; text-decoration: none; transition: color 0.2s; }
.bv3e-fs-center a:hover { color: var(--site-accent, #7367f0); }
.bv3e-fs-right { display: flex; align-items: center; gap: 16px; }
.bv3e-fs-copy { font-size: 13px; margin: 0; }
.bv3e-fs-social { display: flex; gap: 8px; }
.bv3e-fs-social a { width: 32px; height: 32px; border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: 14px; background: rgba(255,255,255,0.06); color: #a0a3b1; text-decoration: none; transition: background 0.2s, color 0.2s; }
.bv3e-fs-social a:hover { background: var(--site-accent, #7367f0); color: #fff; }
@media (max-width: 768px) {
    .bv3e-fs-inner { flex-direction: column; text-align: center; }
    .bv3e-fs-center { justify-content: center; }
    .bv3e-fs-right { flex-direction: column; }
    .bv3e-fs-social { justify-content: center; }
}

/* ═══════════════════════════════════════════════════════════
   DATA APP COMPONENTS — Generated by BV3 Data Apps panel
   ═══════════════════════════════════════════════════════════ */

/* ── Table component ── */
.da-table { width:100%; border-collapse:collapse; font-size:14px; }
.da-table th { text-align:left; padding:10px 14px; font-weight:600; color:var(--site-heading-color, #333); border-bottom:2px solid var(--site-accent, #7367f0); font-size:12px; text-transform:uppercase; letter-spacing:0.5px; }
.da-table td { padding:10px 14px; border-bottom:1px solid rgba(0,0,0,.08); color:var(--site-text-color, #555); }
.da-table tbody tr:hover { background:rgba(0,0,0,.02); }
.da-table tbody tr:last-child td { border-bottom:none; }

/* ── List component ── */
.da-list-item { padding:16px 0; border-bottom:1px solid rgba(0,0,0,.08); }
.da-list-item:last-child { border-bottom:none; }
.da-list-item h3 { margin:0 0 6px; font-size:18px; color:var(--site-heading-color, #333); }
.da-list-field { display:flex; align-items:baseline; gap:8px; margin-top:4px; font-size:14px; }
.da-list-label { color:var(--site-text-color, #888); font-weight:500; min-width:100px; flex-shrink:0; }

/* ── Card component ── */
.da-card { padding:20px; border:1px solid rgba(0,0,0,.1); border-radius:10px; margin-bottom:16px; transition:box-shadow .2s; background:#fff; }
.da-card:hover { box-shadow:0 4px 16px rgba(0,0,0,.08); }
.da-card h3 { margin:0 0 8px; font-size:18px; color:var(--site-heading-color, #333); }
.da-card-field { display:block; font-size:14px; color:var(--site-text-color, #555); margin-top:4px; }

/* ── Detail component ── */
.da-detail { max-width:800px; }
.da-detail h2 { font-size:28px; margin:0 0 20px; color:var(--site-heading-color, #333); }
.da-detail-field { margin-bottom:16px; }
.da-detail-field label { display:block; font-size:12px; font-weight:600; text-transform:uppercase; letter-spacing:0.5px; color:var(--site-text-color, #888); margin-bottom:4px; }
.da-detail-field span,
.da-detail-field div { font-size:15px; color:var(--site-heading-color, #444); line-height:1.6; }

/* ── Search / filter component ── */
.da-search-form { margin-bottom:24px; }
.da-filters { display:flex; flex-wrap:wrap; gap:12px; align-items:flex-end; }
.da-filter-field { flex:1; min-width:180px; }
.da-filter-field label { display:block; font-size:12px; font-weight:600; color:var(--site-text-color, #666); margin-bottom:4px; }
.da-filter-field input { width:100%; padding:8px 12px; border:1px solid rgba(0,0,0,.15); border-radius:6px; font-size:14px; outline:none; transition:border-color .2s; }
.da-filter-field input:focus { border-color:var(--site-accent, #7367f0); }
.da-search-form button[type="submit"] { padding:8px 20px; background:var(--site-accent, #7367f0); color:#fff; border:none; border-radius:6px; font-size:14px; cursor:pointer; transition:opacity .2s; }
.da-search-form button[type="submit"]:hover { opacity:.85; }

/* ── Responsive ── */
@media (max-width: 768px) {
    .da-table { font-size:12px; }
    .da-table th, .da-table td { padding:8px 10px; }
    .da-list-field { flex-direction:column; gap:2px; }
    .da-list-label { min-width:auto; }
    .da-detail h2 { font-size:22px; }
    .da-filters { flex-direction:column; }
    .da-filter-field { min-width:auto; }
}
