/* ========================================
   Brand Clinic GAME Styles
   Gamified quiz with playful animations
   ======================================== */

/* ── Page Wrapper ──────────────────────── */
.bc-page-wrapper {
    padding-top: clamp(5rem, 8vh, 7rem);
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

/* Floating particles background */
.bc-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.bc-particle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.15;
    animation: bcFloat linear infinite;
}

@keyframes bcFloat {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 0.15;
    }

    90% {
        opacity: 0.15;
    }

    100% {
        transform: translateY(-10vh) rotate(720deg);
        opacity: 0;
    }
}

/* ── Game Container ────────────────────── */
/* ── Game Container (Premium Glass) ────────────────────── */
.bc-game {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    max-width: 720px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* ── Progress Bar (System Scan Style) ───────────── */
.bc-progress {
    width: 100%;
    max-width: 500px;
    margin: 0 auto 3rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
}

.bc-progress-bar {
    flex: 1;
    height: 4px;
    background: var(--glass-border);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.bc-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #8b5cf6, #ec4899);
    width: 0%;
    border-radius: 2px;
    transition: width 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.8);
    position: relative;
}

/* Glowing head of progress bar */
.bc-progress-fill::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 10px #fff, 0 0 20px var(--primary-color);
    transform: translate(50%, -50%);
}

.bc-progress-text {
    font-size: 0.75rem;
    color: var(--text-muted);
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Audit Badge on progress */
.bc-xp-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    padding: 0.25rem 0.75rem;
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 700;
    color: #a78bfa;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    backdrop-filter: blur(5px);
}

/* ── Step Container ────────────────────── */
.bc-step {
    text-align: center;
    width: 100%;
    animation: fadeInUp 0.5s ease-out;
    position: relative;
    z-index: 10;
}

/* ── Question Title (Premium) ────────────────────── */
.bc-question-title {
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    font-weight: 700;
    margin-bottom: 2.5rem;
    line-height: 1.1;
    color: var(--text-main);
    text-shadow: 0 10px 30px var(--overlay-color);
}

.bc-question-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    margin-top: -1.5rem;
    margin-bottom: 2.5rem;
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
}

/* ── Option Buttons (Glass Cards) ───────── */
.bc-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.bc-option-btn {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    width: 100%;
    padding: 1.25rem 1.5rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 1rem;
    color: var(--text-main);
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    text-align: left;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.bc-option-btn:hover {
    background: var(--surface-color-light);
    border-color: rgba(139, 92, 246, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px var(--overlay-color);
}

.bc-option-btn:active {
    transform: translateY(0) scale(0.99);
}

/* Selected state */
.bc-option-btn.bc-selected {
    background: rgba(139, 92, 246, 0.15);
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
}

.bc-option-btn .bc-opt-icon {
    width: 36px;
    height: 36px;
    background: var(--glass-border);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--text-muted);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.bc-option-btn:hover .bc-opt-icon {
    background: var(--primary-color);
    color: #fff;
    transform: scale(1.1);
}

.bc-option-btn .bc-opt-label {
    flex: 1;
}

/* ── Image Option Cards (Glass Grid) ────────────────── */
.bc-image-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.bc-image-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 1rem;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(10px);
}

.bc-image-card:hover {
    border-color: rgba(139, 92, 246, 0.4);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.bc-image-card img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.bc-image-card:hover img {
    opacity: 1;
}

.bc-image-card .bc-card-label {
    padding: 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
    color: var(--text-main);
    background: var(--glass-bg);
}

/* ── CSS Mock Visuals ──────────────────── */
.bc-css-mock {
    width: 100%;
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.bc-css-mock.homepage-polished {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

.bc-css-mock.ig-random {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    padding: 4px;
    background: var(--surface-color-light);
}

.bc-css-mock.ig-random>div {
    aspect-ratio: 1;
    border-radius: 2px;
}

.bc-css-mock.ig-semi {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    padding: 4px;
    background: var(--surface-color-light);
}

.bc-css-mock.ig-semi>div {
    aspect-ratio: 1;
    border-radius: 2px;
}

.bc-css-mock.ig-cohesive {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    padding: 4px;
    background: var(--surface-color-light);
}

.bc-css-mock.ig-cohesive>div {
    aspect-ratio: 1;
    border-radius: 2px;
}

/* ── Premium Wall Mockup ────────────────── */
.bc-logo-wall-mockup {
    width: 100%;
    aspect-ratio: 1;
    background: linear-gradient(135deg, #0a0a0c 0%, #1a1a20 100%);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    overflow: hidden;
    box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.8);
    border-radius: 8px;
}

/* Texture overlay for the wall */
.bc-logo-wall-mockup::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3Internal%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.15;
    mix-blend-mode: overlay;
    pointer-events: none;
}

.bc-wall-logo-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 2.2rem;
    color: #fff;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-shadow:
        0 0 10px rgba(255, 255, 255, 0.4),
        0 0 20px rgba(139, 92, 246, 0.3),
        2px 4px 6px rgba(0, 0, 0, 0.8);
    position: relative;
    z-index: 2;
}

.bc-wall-logo-subtitle {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.4em;
    text-transform: uppercase;
    margin-top: 0.5rem;
    position: relative;
    z-index: 2;
}

/* LED Glow Effect beneath the logo */
.bc-logo-wall-mockup::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140px;
    height: 60px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.25) 0%, transparent 70%);
    filter: blur(20px);
    z-index: 1;
}

/* Old Gamified Elements Removed */

/* ── Confetti Canvas ───────────────────── */
.bc-confetti-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9998;
}

/* ── Score Result Screen ───────────────── */
.bc-result {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.bc-score-ring {
    position: relative;
    width: 200px;
    height: 200px;
}

.bc-score-ring svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
    filter: drop-shadow(0 0 15px rgba(139, 92, 246, 0.3));
}

.bc-score-ring circle {
    fill: none;
    stroke-width: 10;
}

.bc-score-ring .bc-ring-bg {
    stroke: var(--surface-color-light);
}

.bc-score-ring .bc-ring-fill {
    stroke: url(#scoreGradient);
    stroke-linecap: round;
    transition: stroke-dashoffset 2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.bc-score-value {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.bc-score-value .bc-score-num {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.bc-score-value .bc-score-total {
    font-size: 1rem;
    color: var(--text-muted);
}

/* Tier badges with glow */
.bc-tier-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.5rem;
    border-radius: 2rem;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.5px;
    animation: bcTierReveal 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes bcTierReveal {
    0% {
        opacity: 0;
        transform: scale(0.5) rotate(-10deg);
    }

    60% {
        transform: scale(1.1) rotate(2deg);
    }

    100% {
        opacity: 1;
        transform: scale(1) rotate(0);
    }
}

.bc-tier-invisible {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.1);
}

.bc-tier-inconsistent {
    background: rgba(249, 115, 22, 0.15);
    color: #f97316;
    box-shadow: 0 0 20px rgba(249, 115, 22, 0.1);
}

.bc-tier-emerging {
    background: rgba(234, 179, 8, 0.15);
    color: #eab308;
    box-shadow: 0 0 20px rgba(234, 179, 8, 0.1);
}

.bc-tier-distinctive {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
    box-shadow: 0 0 20px rgba(34, 197, 94, 0.1);
}

.bc-tier-power {
    background: rgba(139, 92, 246, 0.15);
    color: #8b5cf6;
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.2);
}

.bc-diagnosis {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 440px;
    line-height: 1.5;
}

/* ── Dimension Bars ────────────────────── */
.bc-dimension-bars {
    width: 100%;
    max-width: 440px;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 0;
    margin-bottom: 2.5rem;
}

.bc-dim-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.bc-dim-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    width: 100px;
    text-align: right;
    flex-shrink: 0;
}

.bc-dim-bar {
    flex: 1;
    height: 10px;
    background: var(--surface-color-light);
    border-radius: 5px;
    overflow: hidden;
}

.bc-dim-fill {
    height: 100%;
    border-radius: 5px;
    background: linear-gradient(90deg, #8b5cf6, #ec4899);
    transition: width 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s;
    box-shadow: 0 0 8px rgba(139, 92, 246, 0.3);
}

.bc-dim-val {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-main);
    width: 35px;
    font-variant-numeric: tabular-nums;
}

/* Recommendations */
.bc-recs {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
    max-width: 440px;
    width: 100%;
}

.bc-recs li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.95rem;
    color: var(--text-main);
    line-height: 1.4;
}

.bc-recs li:last-child {
    border-bottom: none;
}

.bc-recs li i {
    color: var(--primary-color);
    margin-top: 3px;
    flex-shrink: 0;
}

/* ── Lead Capture Form ─────────────────── */
.bc-form {
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.bc-form h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.bc-form p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.bc-input-group {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.bc-input-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-main);
}

.bc-input-group label .bc-optional {
    font-weight: 400;
    color: var(--text-muted);
    font-size: 0.8rem;
}

.bc-input-group input {
    padding: 0.85rem 1rem;
    background: var(--surface-color);
    border: 2px solid var(--border-color);
    border-radius: 0.5rem;
    color: var(--text-main);
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    width: 100%;
}

.bc-input-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.bc-input-group input::placeholder {
    color: var(--text-muted);
    opacity: 0.6;
}

.bc-submit-btn {
    padding: 1rem 2rem;
    background: var(--accent-gradient);
    color: white;
    border: none;
    border-radius: 50px;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 52px;
    margin-top: 0.5rem;
}

.bc-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
}

.bc-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.bc-skip-link {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-decoration: underline;
    cursor: pointer;
    background: none;
    border: none;
    font-family: 'Outfit', sans-serif;
    margin-top: 0.5rem;
}

.bc-skip-link:hover {
    color: var(--primary-color);
}

/* ── Alert Messages ────────────────────── */
.bc-alert {
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.9rem;
    text-align: center;
}

.bc-alert-error {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.bc-alert-success {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

/* ── Thank You Screen ──────────────────── */
.bc-thankyou {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    text-align: center;
}

.bc-thankyou .bc-check-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.15), rgba(16, 185, 129, 0.15));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #22c55e;
    animation: bcTrophyBounce 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 2px solid rgba(34, 197, 94, 0.2);
    box-shadow: 0 0 30px rgba(34, 197, 94, 0.15);
}

@keyframes bcTrophyBounce {
    0% {
        transform: scale(0) rotate(-20deg);
        opacity: 0;
    }

    50% {
        transform: scale(1.2) rotate(5deg);
    }

    100% {
        transform: scale(1) rotate(0);
        opacity: 1;
    }
}

.bc-thankyou h2 {
    font-size: 1.75rem;
    margin: 0;
}

.bc-thankyou p {
    color: var(--text-muted);
    font-size: 1rem;
    max-width: 400px;
    line-height: 1.5;
}

/* ── Achievement Unlocked ──────────────── */
.bc-achievement {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(139, 92, 246, 0.1));
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 1rem;
    max-width: 440px;
    width: 100%;
    animation: bcAchievementSlide 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes bcAchievementSlide {
    0% {
        transform: translateX(-20px);
        opacity: 0;
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

.bc-achievement-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #f59e0b, #ec4899);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.bc-achievement-text {
    text-align: left;
}

.bc-achievement-text small {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #f59e0b;
}

.bc-achievement-text p {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-main);
    margin: 0;
}

/* ── Spinner ───────────────────────────── */
.bc-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: bcSpin 0.6s linear infinite;
}

@keyframes bcSpin {
    to {
        transform: rotate(360deg);
    }
}

/* ── Responsive ────────────────────────── */
@media (max-width: 480px) {
    .bc-game {
        padding: 1.5rem 1rem;
    }

    .bc-image-options {
        grid-template-columns: 1fr;
        max-width: 300px;
    }

    .bc-score-ring {
        width: 160px;
        height: 160px;
    }

    .bc-score-value .bc-score-num {
        font-size: 2.5rem;
    }

    .bc-dim-label {
        width: 80px;
        font-size: 0.75rem;
    }

    .bc-landing-icon {
        width: 80px;
        height: 80px;
        font-size: 2rem;
        border-radius: 18px;
    }

    .bc-features {
        gap: 0.5rem;
    }

    .bc-feature-pill {
        font-size: 0.72rem;
        padding: 0.3rem 0.7rem;
    }
}

/* ── Homepage Promo Section ────────────── */
.bc-promo-section {
    position: relative;
    overflow: hidden;
}

.bc-promo-glow {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    pointer-events: none;
}

.bc-promo-glow-1 {
    top: 10%;
    left: 10%;
    background: #8b5cf6;
}

.bc-promo-glow-2 {
    bottom: 10%;
    right: 10%;
    background: #ec4899;
}

/* ── NEW LANDING PAGE HERO STYLES (Added by Antigravity) ──────────────── */
/* ── NEW LANDING PAGE HERO STYLES (Pro Max UI) ──────────────── */
.bc-landing-hero {
    padding: 8rem 1rem 6rem;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: visible;
}

/* Dynamic ambient glow background */
.bc-hero-bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    height: 120%;
    background:
        radial-gradient(circle at 20% 30%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(236, 72, 153, 0.15) 0%, transparent 50%);
    transform: translate(-50%, -50%);
    z-index: -1;
    pointer-events: none;
    filter: blur(60px);
    animation: ambientPulse 8s ease-in-out infinite alternate;
}

@keyframes ambientPulse {
    0% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1);
    }

    100% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

.bc-header {
    padding: 2rem 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
}

.bc-header .logo img {
    height: 40px;
}

/* Hero Badge */
.bc-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    background: var(--glass-bg);
    color: var(--text-main);
    padding: 0.6rem 1.25rem;
    border-radius: 100px;
    border: 1px solid var(--glass-border);
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px var(--overlay-color);
    animation: fadeInDown 0.8s ease-out;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: #ef4444;
    border-radius: 50%;
    box-shadow: 0 0 0 rgba(239, 68, 68, 0.7);
    animation: simplePulse 2s infinite;
}

/* Typography */
.bc-hero-title {
    font-size: clamp(3rem, 7vw, 5rem);
    line-height: 1.05;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--text-main);
    letter-spacing: -0.02em;
    text-shadow: 0 10px 30px var(--overlay-color);
    animation: fadeInUp 0.8s ease-out 0.1s backwards;
}

.text-danger {
    color: #ef4444;
    position: relative;
    display: inline-block;
}

/* Glitch/Strike effect for 'killing' */
.text-danger::after {
    content: '';
    position: absolute;
    bottom: 0.15em;
    left: 0;
    width: 100%;
    height: 0.1em;
    background: currentColor;
    opacity: 0.4;
    transform: rotate(-2deg);
}

.bc-hero-sub {
    font-size: clamp(1.1rem, 3vw, 1.35rem);
    color: var(--text-muted);
    max-width: 680px;
    margin: 0 auto 3.5rem;
    line-height: 1.6;
    font-weight: 400;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.d-desktop {
    display: none;
}

@media(min-width: 768px) {
    .d-desktop {
        display: inline;
    }
}

/* Cards / Bullets - Glassmorphism */
.bc-hero-bullets {
    display: grid;
    gap: 1.5rem;
    text-align: left;
    margin-bottom: 4rem;
    width: 100%;
    animation: fadeInUp 0.8s ease-out 0.3s backwards;
}

@media (min-width: 768px) {
    .bc-hero-bullets {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
        background: transparent;
        border: none;
        text-align: center;
    }

    .bc-bullet {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 2rem;
    }
}

.bc-bullet {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    padding: 1.5rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    /* Subtle border */
    border-radius: 1.25rem;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, background 0.3s ease;
}

.bc-bullet:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-5px);
    border-color: rgba(139, 92, 246, 0.3);
}

.bc-bullet-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(236, 72, 153, 0.1));
    color: var(--primary-color);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    box-shadow: 0 8px 20px var(--overlay-color);
    border: 1px solid var(--glass-border);
}

.bc-bullet-text {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.bc-bullet-text strong {
    font-size: 1.1rem;
    color: var(--text-main);
    font-weight: 700;
}

.bc-bullet-text span {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.45;
}

/* Premium CTA */
.bc-hero-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.bc-cta-btn {
    font-size: 1.2rem;
    padding: 1.2rem 3.5rem;
    border-radius: 3rem;
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    color: #fff;
    font-weight: 700;
    box-shadow: 0 10px 40px rgba(139, 92, 246, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    position: relative;
    overflow: hidden;
}

.bc-cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: sheen 3s infinite;
}

@keyframes sheen {
    0% {
        left: -100%;
    }

    20% {
        left: 100%;
    }

    100% {
        left: 100%;
    }
}

.bc-cta-btn:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 50px rgba(236, 72, 153, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.bc-trust-signal {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    background: var(--glass-bg);
    padding: 0.5rem 1.2rem;
    border-radius: 2rem;
    backdrop-filter: blur(5px);
    border: 1px solid var(--glass-border);
}

.bc-avatars {
    display: flex;
}

.bc-avatars span {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid var(--bg-color);
    background-size: cover;
    margin-left: -10px;
    box-shadow: 0 2px 5px var(--overlay-color);
}

.bc-avatars span:first-child {
    margin-left: 0;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Force Center Alignment for Homepage Embedded Section */
.bc-embedded-card .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.bc-embedded-card .bc-hero-badge {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    justify-content: center;
}

.bc-embedded-card .bc-hero-title,
.bc-embedded-card .bc-hero-sub {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

/* Ensure trust signals are centered */
.bc-embedded-card .bc-trust-signal {
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
}

/* Data Point Toast Notification (Replaces XP Toast) */
.bc-xp-toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(139, 92, 246, 0.15);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(139, 92, 246, 0.3);
    padding: 0.8rem 1.75rem;
    border-radius: 100px;
    color: #fff;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    z-index: 1000;
    animation: toastSlideUp 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.bc-xp-gain {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #a78bfa;
}

@keyframes toastSlideUp {
    from {
        opacity: 0;
        transform: translate(-50%, 20px);
    }

    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

/* ── Results Dashboard (Phase 3) ──────────────── */

.bc-result-header {
    text-align: center;
    margin-bottom: 2rem;
    animation: fadeInDown 0.6s ease-out;
}

.bc-result-header h1 {
    font-size: clamp(2rem, 5vw, 2.5rem);
    font-weight: 800;
    margin: 0.5rem 0 0;
    line-height: 1.1;
    color: var(--text-main);
}

/* Score Card Container */
.bc-score-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 2rem;
    padding: 2.5rem 1.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 2.5rem;
    width: 100%;
    max-width: 440px;
    animation: fadeInUp 0.6s ease-out 0.1s backwards;
}

.bc-score-ring {
    width: 200px;
    height: 200px;
    margin: 0 auto 1.5rem;
    position: relative;
}

.bc-score-ring svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.bc-ring-bg {
    fill: none;
    stroke: var(--glass-border);
    stroke-width: 12;
}

.bc-ring-fill {
    fill: none;
    stroke-width: 12;
    stroke-linecap: round;
    transition: stroke-dashoffset 2s cubic-bezier(0.22, 1, 0.36, 1);
}

.bc-score-value {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.bc-score-num {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
    color: var(--text-main);
    font-variant-numeric: tabular-nums;
}

.bc-score-total {
    font-size: 1rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

/* Revenue Risk Gauge */
.bc-risk-gauge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 1.25rem;
    border-radius: 100px;
    border: 1px solid;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bc-risk-text {
    font-size: 1rem;
    color: var(--text-main);
    opacity: 0.9;
    margin: 0;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
}

/* Peer Comparison */
.bc-peer-compare {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    font-size: 1.1rem;
    color: var(--text-main);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 1.5rem 2rem;
    border-radius: 1.5rem;
    margin-bottom: 2.5rem;
    width: 100%;
    max-width: 540px;
    animation: fadeInUp 0.6s ease-out 0.2s backwards;
    flex-wrap: nowrap;
}

.bc-peer-compare p {
    margin: 0;
    line-height: 1.4;
    text-align: left;
    white-space: normal;
}

.bc-peer-compare i {
    color: var(--primary-color);
    font-size: 1.4rem;
    flex-shrink: 0;
}

.bc-peer-compare strong {
    color: var(--primary-color);
    font-weight: 800;
}

/* Priority Fixes (Prescriptions) */
.bc-prescriptions {
    width: 100%;
    max-width: 500px;
    margin-top: 0;
    animation: fadeInUp 0.6s ease-out 0.3s backwards;
}

.bc-prescriptions h3 {
    text-align: center;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: var(--text-main);
    font-weight: 700;
}

.bc-prescriptions h3 i {
    color: #f472b6;
    /* Pinkish for doctor vibe */
    margin-right: 0.5rem;
}

.bc-recs {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.bc-rec-item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 1.25rem;
    border-radius: 1rem;
    transition: transform 0.3s ease;
}

.bc-rec-item:hover {
    background: var(--surface-color-light);
    transform: translateX(5px);
    border-color: var(--primary-color);
}

.bc-rec-icon {
    width: 48px;
    height: 48px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--primary-color);
    flex-shrink: 0;
    font-size: 1.2rem;
}

.bc-rec-content {
    flex: 1;
}

.bc-rec-badge {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #f472b6;
    background: rgba(236, 72, 153, 0.1);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    margin-bottom: 0.4rem;
    letter-spacing: 0.5px;
}

.bc-rec-content p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.4;
    color: var(--text-main);
}

/* Form Container (The Cure) */
.bc-form-container {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 2rem;
    padding: 2.5rem;
    box-shadow: 0 20px 50px var(--overlay-color);
    backdrop-filter: blur(20px);
    animation: zoomIn 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.bc-form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.bc-form-header h2 {
    font-size: 1.6rem;
    line-height: 1.2;
    margin-bottom: 0.75rem;
    color: var(--text-main);
}

.bc-form-header p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.bc-form-header strong {
    color: var(--primary-color);
}

.bc-trust-footer {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.bc-trust-footer i {
    color: #22c55e;
}