/* DESIGN SYSTEM & GLOBAL SETTINGS */
:root {
    --bg-dark: #0A0D16;
    --panel-bg: rgba(18, 24, 43, 0.7);
    --panel-border: rgba(255, 255, 255, 0.07);
    --text-main: #E2E8F0;
    --text-muted: #8A99AD;
    --text-dim: #4E5D73;
    
    /* Neon Colors */
    --neon-blue: #00F0FF;
    --neon-magenta: #FF2A85;
    --neon-green: #00FF87;
    --neon-orange: #FF7A00;
    --neon-purple: #B537FF;
    
    /* Shadows */
    --glow-blue: 0 0 15px rgba(0, 240, 255, 0.35);
    --glow-magenta: 0 0 15px rgba(FF, 2A, 85, 0.35);
    --glow-green: 0 0 15px rgba(0, 255, 135, 0.35);
    --glow-orange: 0 0 15px rgba(255, 122, 0, 0.35);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    height: 100vh;
    overflow: hidden;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(0, 240, 255, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(255, 42, 85, 0.04) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(181, 55, 255, 0.03) 0%, transparent 50%);
}

h1, h2, h3, h4 {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
}

/* APP CONTAINER */
.app-container {
    display: flex;
    width: 100vw;
    height: 100vh;
    position: relative;
}

/* SIDEBARS & PANELS */
.sidebar {
    width: 320px;
    height: 100%;
    background-color: var(--panel-bg);
    border-right: 1px solid var(--panel-border);
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(16px);
    z-index: 10;
}

.dashboard-panel {
    width: 380px;
    border-right: none;
    border-left: 1px solid var(--panel-border);
}

.panel-header {
    padding: 20px;
    border-bottom: 1px solid var(--panel-border);
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    font-size: 24px;
    color: var(--neon-blue);
    text-shadow: var(--glow-blue);
}

.logo-icon.text-cyan {
    color: var(--neon-blue);
}

.panel-header h1 {
    font-size: 18px;
    color: #FFF;
    letter-spacing: 0.5px;
}

.panel-header h2 {
    font-size: 16px;
    color: #FFF;
}

.panel-header p {
    font-size: 11px;
    color: var(--text-muted);
}

.panel-footer {
    padding: 15px 20px;
    border-top: 1px solid var(--panel-border);
}

/* SCROLLABLE AREAS */
.setup-scroll-area, .dashboard-scroll-area {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

/* Custom Scrollbars */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* SETUP FORM COMPONENETS */
.setup-group {
    margin-bottom: 25px;
}

.group-title {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.group-title i {
    margin-right: 6px;
    color: var(--neon-blue);
}

/* SELECT WRAPPER */
.select-wrapper {
    position: relative;
    width: 100%;
}

.select-wrapper::after {
    content: '\f107';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
}

select {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--panel-border);
    border-radius: 8px;
    padding: 10px 35px 10px 12px;
    color: var(--text-main);
    font-size: 13px;
    outline: none;
    cursor: pointer;
    appearance: none;
    transition: all 0.3s ease;
}

select:focus {
    border-color: var(--neon-blue);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.1);
}

select option {
    background-color: #121727;
    color: var(--text-main);
}

/* CUSTOM PRODUCT BOX */
.custom-product-box {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.custom-product-box input, .custom-product-box textarea {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--panel-border);
    border-radius: 6px;
    padding: 8px 12px;
    color: var(--text-main);
    font-size: 13px;
    outline: none;
}

.custom-product-box textarea {
    height: 70px;
    resize: none;
}

.custom-product-box input:focus, .custom-product-box textarea:focus {
    border-color: var(--neon-blue);
}

/* PRODUCT PREVIEW CARD */
.product-preview-card {
    margin-top: 15px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--panel-border);
    border-radius: 10px;
    padding: 12px;
}

.product-preview-card h4 {
    font-size: 14px;
    color: #FFF;
    margin-bottom: 4px;
}

.badge-category {
    display: inline-block;
    font-size: 10px;
    background: rgba(0, 240, 255, 0.1);
    color: var(--neon-blue);
    padding: 2px 6px;
    border-radius: 4px;
    margin-bottom: 8px;
    font-weight: 500;
}

.product-preview-card p {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 10px;
}

.preview-price {
    font-size: 15px;
    font-weight: 700;
    color: var(--neon-magenta);
    font-family: 'Outfit', sans-serif;
}

/* MODE TOGGLE */
.mode-toggle-group {
    display: flex;
    gap: 10px;
}

.mode-btn {
    flex: 1;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--panel-border);
    border-radius: 8px;
    padding: 10px;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.mode-btn i {
    font-size: 16px;
}

.mode-btn span {
    font-size: 12px;
    font-weight: 600;
}

.mode-btn small {
    display: block;
    font-size: 9px;
    font-weight: 400;
    opacity: 0.7;
}

.mode-btn.active {
    background: rgba(0, 240, 255, 0.07);
    border-color: var(--neon-blue);
    color: var(--neon-blue);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.1);
}

/* PERSONA SETUP */
.persona-desc-card {
    margin-top: 10px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--panel-border);
    border-radius: 8px;
    padding: 10px 12px;
}

.persona-desc-card p {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.4;
}

/* TECHNIQUES CHECKBOXES */
.techniques-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tech-checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 12px;
    color: var(--text-main);
    user-select: none;
}

.tech-checkbox-label input {
    display: none;
}

.custom-checkbox {
    width: 16px;
    height: 16px;
    border: 1px solid var(--panel-border);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.03);
    position: relative;
    transition: all 0.2s ease;
}

.tech-checkbox-label input:checked + .custom-checkbox {
    background: var(--neon-blue);
    border-color: var(--neon-blue);
    box-shadow: 0 0 8px rgba(0, 240, 255, 0.4);
}

.tech-checkbox-label input:checked + .custom-checkbox::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 9px;
    color: #0A0D16;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.tech-text {
    transition: color 0.3s ease;
}

.tech-checkbox-label input:checked ~ .tech-text {
    color: var(--neon-blue);
}

/* BUTTONS */
.btn {
    width: 100%;
    border: none;
    border-radius: 8px;
    padding: 10px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-reset {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--panel-border);
    color: var(--text-main);
}

.btn-reset:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--text-muted);
}

/* CHAT PANEL */
.chat-panel {
    flex: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    background-color: rgba(10, 13, 22, 0.2);
}

.chat-header {
    height: 70px;
    border-bottom: 1px solid var(--panel-border);
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    backdrop-filter: blur(12px);
    background: rgba(18, 24, 43, 0.3);
}

.chat-agent-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.avatar-glow {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #FFF;
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.4);
}

.chat-agent-info h2 {
    font-size: 15px;
    color: #FFF;
}

.chat-status {
    font-size: 11px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 5px;
}

.status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    display: inline-block;
}

.status-dot.green {
    background-color: var(--neon-green);
    box-shadow: 0 0 8px var(--neon-green);
}

.sim-controls {
    display: flex;
    gap: 10px;
}

.btn-step {
    background: linear-gradient(135deg, var(--neon-blue), #00A6FF);
    color: #000;
    padding: 8px 14px;
    border-radius: 6px;
    width: auto;
    font-size: 12px;
}

.btn-step:hover {
    box-shadow: var(--glow-blue);
    transform: translateY(-1px);
}

.btn-auto {
    background: rgba(255, 42, 85, 0.1);
    border: 1px solid var(--neon-magenta);
    color: var(--neon-magenta);
    padding: 8px 14px;
    border-radius: 6px;
    width: auto;
    font-size: 12px;
}

.btn-auto:hover {
    background: rgba(255, 42, 85, 0.2);
    box-shadow: 0 0 12px rgba(255, 42, 85, 0.2);
}

/* MESSAGES CONTAINER */
.messages-container {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.system-message {
    align-self: center;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--panel-border);
    padding: 8px 16px;
    border-radius: 20px;
    max-width: 80%;
    text-align: center;
}

.system-message p {
    font-size: 11px;
    color: var(--text-muted);
}

/* BUBBLES */
.message-bubble {
    max-width: 70%;
    display: flex;
    flex-direction: column;
    position: relative;
    animation: bubbleAppear 0.3s cubic-bezier(0.1, 0.8, 0.25, 1) forwards;
}

@keyframes bubbleAppear {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.message-bubble.assistant {
    align-self: flex-start;
}

.message-bubble.user {
    align-self: flex-end;
}

.bubble-meta {
    font-size: 10px;
    color: var(--text-muted);
    margin-bottom: 4px;
    margin-left: 6px;
}

.message-bubble.user .bubble-meta {
    margin-left: 0;
    margin-right: 6px;
    align-self: flex-end;
}

.bubble-content {
    padding: 12px 16px;
    border-radius: 16px;
    font-size: 13.5px;
    line-height: 1.5;
}

.message-bubble.assistant .bubble-content {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--panel-border);
    color: var(--text-main);
    border-top-left-radius: 2px;
}

.message-bubble.user .bubble-content {
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.15), rgba(181, 55, 255, 0.1));
    border: 1px solid rgba(0, 240, 255, 0.2);
    color: #FFF;
    border-top-right-radius: 2px;
}

.bubble-time {
    font-size: 9px;
    opacity: 0.6;
    align-self: flex-end;
    margin-top: 4px;
}

/* TYPING INDICATOR */
.typing-indicator {
    display: flex;
    gap: 4px;
    padding: 6px 10px;
}

.typing-dot {
    width: 6px;
    height: 6px;
    background: var(--text-muted);
    border-radius: 50%;
    animation: typing 1.4s infinite ease-in-out;
}

.typing-dot:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

/* CHAT INPUT BAR */
.chat-input-bar {
    height: 75px;
    border-top: 1px solid var(--panel-border);
    padding: 0 24px;
    display: flex;
    align-items: center;
    gap: 15px;
    backdrop-filter: blur(12px);
    background: rgba(18, 24, 43, 0.3);
}

.chat-input-bar input {
    flex: 1;
    height: 45px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--panel-border);
    border-radius: 10px;
    padding: 0 16px;
    color: var(--text-main);
    outline: none;
    font-size: 13.5px;
    transition: all 0.3s ease;
}

.chat-input-bar input:focus {
    border-color: var(--neon-blue);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.1);
}

.btn-send {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
    border: none;
    border-radius: 10px;
    color: #FFF;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.2);
}

.btn-send:hover {
    transform: scale(1.03);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.4);
}

/* DASHBOARD PANEL COMPONENTS */
.dash-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--panel-border);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 20px;
}

.dash-card h3 {
    font-size: 13px;
    color: #FFF;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 12px;
}

.card-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.card-header-flex h3 {
    margin-bottom: 0;
}

.value-highlight {
    font-size: 20px;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
}

/* PROGRESS / GAUGES */
.progress-bar-container {
    width: 100%;
    height: 10px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 5px;
    position: relative;
    overflow: hidden;
    margin-bottom: 12px;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--neon-purple), var(--neon-magenta));
    border-radius: 5px;
    transition: width 0.8s cubic-bezier(0.1, 0.8, 0.2, 1);
}

.progress-bar-glow {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--neon-purple), var(--neon-magenta));
    filter: blur(4px);
    opacity: 0.7;
    transition: width 0.8s cubic-bezier(0.1, 0.8, 0.2, 1);
}

.buyer-state-label {
    font-size: 11px;
    color: var(--text-muted);
}

/* BRAIN CARD */
.brain-card {
    display: flex;
    flex-direction: column;
}

.brain-svg-container {
    position: relative;
    width: 100%;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px 0;
}

.brain-svg {
    width: 100%;
    height: 100%;
    max-height: 200px;
}

/* SVG STYLES */
.brain-outline {
    fill: none;
    stroke: rgba(255, 255, 255, 0.08);
    stroke-width: 2.5;
    stroke-dasharray: 4, 4;
}

.brain-stem {
    fill: none;
    stroke: rgba(255, 255, 255, 0.05);
    stroke-width: 2;
}

.neural-link {
    fill: none;
    stroke: rgba(255, 255, 255, 0.03);
    stroke-width: 1.5;
}

.region-glow {
    fill: none;
    stroke-width: 12;
    opacity: 0;
    transition: opacity 0.5s ease, stroke-width 0.5s ease;
}

.region-core {
    cursor: pointer;
    transition: r 0.3s ease;
}

/* Region core sizes & base colors */
.region-core.green { fill: rgba(0, 255, 135, 0.4); stroke: var(--neon-green); stroke-width: 1.5; }
.region-core.magenta { fill: rgba(255, 42, 85, 0.4); stroke: var(--neon-magenta); stroke-width: 1.5; }
.region-core.orange { fill: rgba(255, 122, 0, 0.4); stroke: var(--neon-orange); stroke-width: 1.5; }
.region-core.blue { fill: rgba(0, 240, 255, 0.4); stroke: var(--neon-blue); stroke-width: 1.5; }

/* Glow Colors */
.region-glow.green { stroke: var(--neon-green); }
.region-glow.magenta { stroke: var(--neon-magenta); }
.region-glow.orange { stroke: var(--neon-orange); }
.region-glow.blue { stroke: var(--neon-blue); }

.region-label {
    font-size: 8.5px;
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    fill: var(--text-muted);
    pointer-events: none;
}

.region-label tspan {
    font-size: 7px;
    fill: var(--text-dim);
}

.text-center { text-anchor: middle; }
.text-right { text-anchor: end; }

/* Pulse animation on hotspots */
.brain-region.active .region-glow {
    opacity: 0.8;
    animation: regionPulse 2s infinite alternate;
}

.brain-region.active .region-core {
    r: 14px;
}

@keyframes regionPulse {
    0% {
        stroke-width: 8;
        opacity: 0.4;
    }
    100% {
        stroke-width: 16;
        opacity: 0.9;
    }
}

/* STATS GRID */
.brain-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 15px;
}

.brain-stat-item {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 6px;
    padding: 8px 10px;
    display: flex;
    flex-direction: column;
    gap: 3px;
    transition: all 0.3s ease;
}

.brain-stat-item.green-border.active { border-color: var(--neon-green); background: rgba(0, 255, 135, 0.02); }
.brain-stat-item.magenta-border.active { border-color: var(--neon-magenta); background: rgba(255, 42, 85, 0.02); }
.brain-stat-item.orange-border.active { border-color: var(--neon-orange); background: rgba(255, 122, 0, 0.02); }
.brain-stat-item.blue-border.active { border-color: var(--neon-blue); background: rgba(0, 240, 255, 0.02); }

.brain-stat-item .stat-name {
    font-size: 10px;
    color: var(--text-muted);
}

.brain-stat-item .stat-val {
    font-size: 13px;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
}

/* TECHNIQUES SECTION */
.active-tech-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}

.no-tech-placeholder {
    font-size: 11px;
    color: var(--text-dim);
    font-style: italic;
}

.tech-badge {
    font-size: 9.5px;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-muted);
    border: 1px solid var(--panel-border);
    animation: badgePop 0.3s cubic-bezier(0.1, 0.8, 0.3, 1) forwards;
}

@keyframes badgePop {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.tech-badge.active-mirror { color: var(--neon-purple); border-color: var(--neon-purple); background: rgba(181, 55, 255, 0.06); box-shadow: 0 0 10px rgba(181, 55, 255, 0.1); }
.tech-badge.active-somatic { color: var(--neon-green); border-color: var(--neon-green); background: rgba(0, 255, 135, 0.06); box-shadow: 0 0 10px rgba(0, 255, 135, 0.1); }
.tech-badge.active-sensory { color: var(--neon-blue); border-color: var(--neon-blue); background: rgba(0, 240, 255, 0.06); box-shadow: 0 0 10px rgba(0, 240, 255, 0.1); }
.tech-badge.active-fear_relief { color: var(--neon-orange); border-color: var(--neon-orange); background: rgba(255, 122, 0, 0.06); box-shadow: 0 0 10px rgba(255, 122, 0, 0.1); }
.tech-badge.active-ritual { color: var(--neon-magenta); border-color: var(--neon-magenta); background: rgba(255, 42, 85, 0.06); box-shadow: 0 0 10px rgba(255, 42, 85, 0.1); }
.tech-badge.active-status { color: #FFF275; border-color: #FFF275; background: rgba(255, 242, 117, 0.06); box-shadow: 0 0 10px rgba(255, 242, 117, 0.1); }

/* DETAILED ANALYSIS CONTAINER */
.section-intro {
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 12px;
    line-height: 1.4;
}

.detailed-analysis-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 120px;
    max-height: 380px;
    overflow-y: auto;
}

.analysis-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--text-dim);
    text-align: center;
    padding: 20px;
    height: 120px;
}

.analysis-placeholder i {
    font-size: 22px;
}

.analysis-placeholder p {
    font-size: 11px;
    line-height: 1.4;
}

.tech-analysis-card {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--panel-border);
    border-radius: 8px;
    padding: 12px;
    border-left: 3px solid var(--text-dim);
    animation: slideIn 0.3s cubic-bezier(0.1, 0.8, 0.2, 1) forwards;
}

@keyframes slideIn {
    from { opacity: 0; transform: translateX(10px); }
    to { opacity: 1; transform: translateX(0); }
}

.tech-analysis-card.mirror { border-left-color: var(--neon-purple); }
.tech-analysis-card.somatic { border-left-color: var(--neon-green); }
.tech-analysis-card.sensory { border-left-color: var(--neon-blue); }
.tech-analysis-card.fear_relief { border-left-color: var(--neon-orange); }
.tech-analysis-card.ritual { border-left-color: var(--neon-magenta); }
.tech-analysis-card.status { border-left-color: #FFF275; }

.tech-analysis-card h4 {
    font-size: 12px;
    color: #FFF;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.tech-analysis-card h4 small {
    font-size: 9px;
    color: var(--text-muted);
    font-weight: normal;
}

.trigger-phrase-box {
    font-size: 11.5px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 4px;
    padding: 6px 8px;
    color: var(--text-main);
    font-style: italic;
    border-left: 2px solid rgba(255, 255, 255, 0.1);
    margin: 6px 0;
}

.tech-explanation {
    font-size: 11.5px;
    color: var(--text-muted);
    line-height: 1.45;
}

/* UTILITIES */
.hidden { display: none !important; }
.text-green { color: var(--neon-green) !important; }
.text-magenta { color: var(--neon-magenta) !important; }
.text-orange { color: var(--neon-orange) !important; }
.text-blue { color: var(--neon-blue) !important; }
.text-white { color: #FFF !important; }

/* APP NAVIGATION & GLOBAL PORTAL LAYOUT */
.app-main-layout {
    display: flex;
    flex-direction: column;
    width: 100vw;
    height: 100vh;
}

.app-navbar {
    height: 65px;
    background-color: #0E1324;
    border-bottom: 1px solid var(--panel-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    z-index: 20;
    backdrop-filter: blur(12px);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo-icon {
    font-size: 26px;
    color: var(--neon-blue);
    text-shadow: var(--glow-blue);
    animation: brainPulse 3s infinite alternate;
}

@keyframes brainPulse {
    0% { transform: scale(1); filter: drop-shadow(0 0 2px rgba(0, 240, 255, 0.2)); }
    100% { transform: scale(1.05); filter: drop-shadow(0 0 10px rgba(0, 240, 255, 0.6)); }
}

.brand-text h1 {
    font-size: 16px;
    color: #FFF;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.brand-text p {
    font-size: 10px;
    color: var(--text-muted);
}

.nav-tabs {
    display: flex;
    gap: 10px;
}

.nav-tab {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--panel-border);
    border-radius: 8px;
    padding: 8px 16px;
    color: var(--text-muted);
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s cubic-bezier(0.1, 0.8, 0.3, 1);
}

.nav-tab i {
    font-size: 14px;
}

.nav-tab:hover {
    color: #FFF;
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.04);
}

.nav-tab.active {
    background: rgba(0, 240, 255, 0.08);
    border-color: var(--neon-blue);
    color: var(--neon-blue);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.15);
}

.app-content-area {
    flex: 1;
    position: relative;
    overflow: hidden;
    height: calc(100vh - 65px);
}

.tab-view {
    width: 100%;
    height: 100%;
}

.tab-view.hidden {
    display: none !important;
}

/* ACADEMY VIEW LAYOUT */
.academy-layout {
    display: flex;
    width: 100%;
    height: 100%;
}

.academy-sidebar {
    width: 320px;
    border-right: 1px solid var(--panel-border);
    background: var(--panel-bg);
    backdrop-filter: blur(16px);
    display: flex;
    flex-direction: column;
}

.sidebar-header {
    padding: 20px;
    border-bottom: 1px solid var(--panel-border);
}

.sidebar-header h3 {
    font-size: 15px;
    color: #FFF;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sidebar-header p {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 4px;
}

.modules-accordion {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
}

/* ACCORDION MODULES */
.module-item {
    margin-bottom: 12px;
    border: 1px solid var(--panel-border);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.01);
    overflow: hidden;
}

.module-trigger {
    width: 100%;
    padding: 12px 14px;
    background: transparent;
    border: none;
    text-align: left;
    color: #FFF;
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background 0.3s;
}

.module-trigger:hover {
    background: rgba(255, 255, 255, 0.02);
}

.module-title-flex {
    display: flex;
    align-items: center;
    gap: 10px;
}

.module-title-flex i.status-icon {
    font-size: 12px;
}

.module-trigger i.chevron {
    font-size: 10px;
    color: var(--text-muted);
    transition: transform 0.3s;
}

.module-item.open .module-trigger i.chevron {
    transform: rotate(180deg);
}

.module-lessons-list {
    border-top: 1px solid var(--panel-border);
    padding: 6px;
    background: rgba(0, 0, 0, 0.15);
    display: none;
}

.module-item.open .module-lessons-list {
    display: block;
}

.lesson-item {
    width: 100%;
    padding: 8px 12px;
    background: transparent;
    border: none;
    border-radius: 5px;
    text-align: left;
    color: var(--text-muted);
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4px;
    transition: all 0.2s;
}

.lesson-item:hover {
    color: #FFF;
    background: rgba(255, 255, 255, 0.04);
}

.lesson-item.active {
    color: var(--neon-blue);
    background: rgba(0, 240, 255, 0.05);
    font-weight: 500;
}

.lesson-item.completed i {
    color: var(--neon-green);
}

.lesson-item.quiz-item {
    border: 1px dashed rgba(181, 55, 255, 0.3);
    color: var(--neon-purple);
    font-weight: 600;
}

.lesson-item.quiz-item:hover {
    background: rgba(181, 55, 255, 0.05);
    color: #FFF;
}

.lesson-item.quiz-item.passed i {
    color: var(--neon-green);
}

/* ACADEMY READER PANEL */
.academy-reader {
    flex: 1;
    height: 100%;
    padding: 24px;
    overflow-y: auto;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.reader-card {
    width: 100%;
    max-width: 780px;
    background: var(--panel-bg);
    border: 1px solid var(--panel-border);
    border-radius: 16px;
    padding: 35px;
    margin: 20px 0;
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    animation: cardFadeIn 0.4s cubic-bezier(0.1, 0.8, 0.3, 1) forwards;
}

@keyframes cardFadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

.welcome-card {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.welcome-icon {
    font-size: 55px;
    color: var(--neon-magenta);
    text-shadow: var(--glow-magenta);
    margin-bottom: 10px;
    animation: float 4s infinite ease-in-out;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.welcome-card h2 {
    font-size: 22px;
    color: #FFF;
}

.welcome-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 600px;
}

.welcome-card .guide-text {
    font-size: 13px;
    color: var(--neon-blue);
    background: rgba(0, 240, 255, 0.05);
    padding: 8px 16px;
    border-radius: 20px;
    border: 1px solid rgba(0, 240, 255, 0.15);
    margin-top: 15px;
}

/* LESSON CARD DETAILS */
.lesson-header {
    border-bottom: 1px solid var(--panel-border);
    padding-bottom: 16px;
    margin-bottom: 20px;
}

.badge-module {
    display: inline-block;
    background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
    color: #FFF;
    font-size: 10px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.lesson-header h2 {
    font-size: 24px;
    color: #FFF;
    margin-bottom: 8px;
}

.lesson-meta {
    font-size: 11px;
    color: var(--text-muted);
}

.lesson-body-content {
    color: var(--text-main);
    font-size: 14px;
    line-height: 1.65;
}

.lesson-body-content p {
    margin-bottom: 15px;
}

.lesson-body-content h3 {
    font-size: 16px;
    color: #FFF;
    margin: 22px 0 10px 0;
}

/* Callout Box Designs */
.callout-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--panel-border);
    border-radius: 8px;
    padding: 14px 18px;
    margin: 20px 0;
}

.callout-rule {
    border-left: 3px solid var(--neon-blue);
    background: rgba(0, 240, 255, 0.02);
}

.callout-example {
    border-left: 3px solid var(--neon-magenta);
    background: rgba(255, 42, 85, 0.02);
}

.callout-box h4 {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.callout-rule h4 { color: var(--neon-blue); }
.callout-example h4 { color: var(--neon-magenta); }

.callout-box p {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 0;
}

.lesson-footer {
    border-top: 1px solid var(--panel-border);
    padding-top: 20px;
    margin-top: 25px;
    display: flex;
    justify-content: flex-end;
}

.btn-complete-lesson {
    background: linear-gradient(135deg, var(--neon-green), #00D166);
    color: #000;
    font-weight: 700;
    width: auto;
    padding: 10px 24px;
}

.btn-complete-lesson:hover {
    box-shadow: var(--glow-green);
    transform: translateY(-1px);
}

/* QUIZ INTERFACE styles */
.quiz-header {
    border-bottom: 1px solid var(--panel-border);
    padding-bottom: 15px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.badge-quiz {
    display: inline-block;
    color: var(--neon-purple);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.quiz-header h3 {
    font-size: 18px;
    color: #FFF;
}

.quiz-progress-info {
    font-size: 11px;
    color: var(--text-muted);
    align-self: flex-end;
}

.quiz-question-body {
    margin-bottom: 20px;
}

.question-text {
    font-size: 15px;
    color: #FFF;
    font-weight: 500;
    line-height: 1.5;
    margin-bottom: 20px;
}

.quiz-options-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.option-btn {
    width: 100%;
    text-align: left;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--panel-border);
    border-radius: 8px;
    padding: 12px 16px;
    color: var(--text-main);
    font-size: 13.5px;
    cursor: pointer;
    outline: none;
    transition: all 0.25s;
    display: flex;
    align-items: center;
    gap: 12px;
}

.option-btn:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.15);
}

.option-btn.selected {
    border-color: var(--neon-blue);
    background: rgba(0, 240, 255, 0.05);
}

.option-btn.correct {
    border-color: var(--neon-green);
    background: rgba(0, 255, 135, 0.06);
    color: var(--neon-green);
}

.option-btn.incorrect {
    border-color: var(--neon-magenta);
    background: rgba(255, 42, 85, 0.06);
    color: var(--neon-magenta);
}

.option-marker {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1.5px solid var(--text-dim);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: bold;
    flex-shrink: 0;
}

.option-btn.selected .option-marker {
    border-color: var(--neon-blue);
    background: var(--neon-blue);
    color: #0A0D16;
}

.option-btn.correct .option-marker {
    border-color: var(--neon-green);
    background: var(--neon-green);
    color: #0A0D16;
}

.option-btn.incorrect .option-marker {
    border-color: var(--neon-magenta);
    background: var(--neon-magenta);
    color: #0A0D16;
}

/* Quiz scientific explanation box */
.quiz-explanation-box {
    background: rgba(181, 55, 255, 0.04);
    border: 1px solid rgba(181, 55, 255, 0.15);
    border-radius: 8px;
    padding: 14px 18px;
    margin-bottom: 20px;
    border-left: 3px solid var(--neon-purple);
    animation: slideIn 0.3s ease;
}

.quiz-explanation-box h4 {
    font-size: 12px;
    color: var(--neon-purple);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.quiz-explanation-box p {
    font-size: 12.5px;
    color: var(--text-main);
    line-height: 1.45;
}

.quiz-footer {
    display: flex;
    justify-content: flex-end;
}

.btn-quiz-action {
    background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
    color: #FFF;
    width: auto;
    padding: 10px 30px;
}

.btn-quiz-action:hover {
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.3);
    transform: translateY(-1px);
}

/* ACADEMY ACHIEVEMENTS (RIGHT SIDEBAR) */
.academy-achievements {
    width: 320px;
    border-left: 1px solid var(--panel-border);
    background: var(--panel-bg);
    backdrop-filter: blur(16px);
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.achievement-card {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--panel-border);
    border-radius: 12px;
    padding: 16px;
}

.achievement-card h4 {
    font-size: 12px;
    color: #FFF;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 12px;
    border-bottom: 1px solid var(--panel-border);
    padding-bottom: 8px;
}

/* Circular progress bar SVG ring */
.progress-circle-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 20px;
}

.circular-progress-container {
    position: relative;
    width: 120px;
    height: 120px;
}

.progress-ring {
    transform: rotate(-90deg);
}

.progress-ring-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.03);
    stroke-width: 8;
}

.progress-ring-fill {
    fill: none;
    stroke: var(--neon-magenta);
    stroke-width: 8;
    stroke-linecap: round;
    stroke-dasharray: 314.16;
    stroke-dashoffset: 314.16; /* initially empty */
    transition: stroke-dashoffset 0.8s ease;
}

.progress-percentage-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Outfit', sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: #FFF;
}

.progress-labels {
    text-align: center;
}

.progress-labels p {
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.progress-labels strong {
    color: #FFF;
}

/* BADGES ACHIEVEMENT GRID */
.badges-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.badge-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
    transition: all 0.3s ease;
}

.badge-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--panel-border);
    color: var(--text-dim);
    transition: all 0.3s ease;
}

.badge-item span {
    font-size: 9px;
    color: var(--text-muted);
    font-weight: 500;
    line-height: 1.2;
}

/* Locked badge status */
.badge-item.locked {
    opacity: 0.45;
}

.badge-item.locked .badge-icon-box::after {
    content: '\f023';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 8px;
    position: absolute;
    bottom: -2px;
    right: -2px;
    background: #111;
    color: var(--text-muted);
    width: 14px;
    height: 14px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--panel-border);
}

.badge-item.locked .badge-icon-box {
    position: relative;
}

/* Unlocked glows per module */
#badge-m1:not(.locked) .badge-icon-box { color: var(--neon-blue); border-color: var(--neon-blue); background: rgba(0, 240, 255, 0.05); box-shadow: 0 0 10px rgba(0, 240, 255, 0.2); }
#badge-m2:not(.locked) .badge-icon-box { color: var(--neon-purple); border-color: var(--neon-purple); background: rgba(181, 55, 255, 0.05); box-shadow: 0 0 10px rgba(181, 55, 255, 0.2); }
#badge-m3:not(.locked) .badge-icon-box { color: var(--neon-green); border-color: var(--neon-green); background: rgba(0, 255, 135, 0.05); box-shadow: 0 0 10px rgba(0, 255, 135, 0.2); }
#badge-m4:not(.locked) .badge-icon-box { color: #FFF275; border-color: #FFF275; background: rgba(255, 242, 117, 0.05); box-shadow: 0 0 10px rgba(255, 242, 117, 0.2); }
#badge-m5:not(.locked) .badge-icon-box { color: var(--neon-orange); border-color: var(--neon-orange); background: rgba(255, 122, 0, 0.05); box-shadow: 0 0 10px rgba(255, 122, 0, 0.2); }
#badge-m6:not(.locked) .badge-icon-box { color: var(--neon-magenta); border-color: var(--neon-magenta); background: rgba(255, 42, 85, 0.05); box-shadow: 0 0 10px rgba(255, 42, 85, 0.2); }

#badges-grid .badge-item:not(.locked):hover {
    transform: scale(1.05);
}

#badges-grid .badge-item:not(.locked) span {
    color: #FFF;
}

/* GENERAL DOCK WRAPPERS */
.tab-view.hidden {
    display: none !important;
}

/* GAMIFICATION: XP, LEVEL & TITLES PROFILE CARD */
.level-profile-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: linear-gradient(135deg, rgba(255, 42, 85, 0.05), rgba(181, 55, 255, 0.03));
    border: 1px solid rgba(255, 42, 85, 0.15);
    box-shadow: 0 0 15px rgba(255, 42, 85, 0.05);
}

.level-badge {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--neon-magenta), var(--neon-purple));
    color: #FFF;
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px rgba(255, 42, 85, 0.4);
    flex-shrink: 0;
    animation: badgePulse 2s infinite alternate;
}

@keyframes badgePulse {
    0% { transform: scale(1); box-shadow: 0 0 10px rgba(255, 42, 85, 0.3); }
    100% { transform: scale(1.04); box-shadow: 0 0 20px rgba(255, 42, 85, 0.6); }
}

.level-title-info {
    flex: 1;
}

.level-title-info h4 {
    font-size: 14px !important;
    color: #FFF !important;
    margin-bottom: 2px !important;
    border-bottom: none !important;
    padding-bottom: 0 !important;
    text-transform: none !important;
    letter-spacing: 0.5px !important;
}

.level-title-info p {
    font-size: 10px;
    color: var(--text-muted);
}

.xp-bar-wrapper {
    width: 100%;
    margin-top: 10px;
    grid-column: 1 / -1; /* spans full card if in grid */
}

.level-profile-card {
    flex-wrap: wrap; /* allows XP bar to wrap below */
}

.xp-bar-text {
    font-size: 9px;
    color: var(--text-muted);
    display: flex;
    justify-content: space-between;
    margin-bottom: 4px;
}

.xp-bar-container {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 3px;
    overflow: hidden;
}

.xp-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--neon-blue), var(--neon-magenta));
    border-radius: 3px;
    width: 0%;
    transition: width 0.6s cubic-bezier(0.1, 0.8, 0.2, 1);
    box-shadow: 0 0 8px rgba(0, 240, 255, 0.5);
}

/* GAMIFICATION: DYNAMIC SALES QUESTS CARD */
.quests-list-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.quest-item-box {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--panel-border);
    border-left: 3px solid var(--text-dim);
    border-radius: 6px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
}

.quest-item-box i.quest-check {
    font-size: 14px;
    color: var(--text-dim);
    transition: color 0.3s;
}

.quest-info-text {
    flex: 1;
}

.quest-info-text h5 {
    font-size: 12px;
    color: #FFF;
    font-weight: 600;
    margin-bottom: 2px;
}

.quest-info-text p {
    font-size: 10px;
    color: var(--text-muted);
    line-height: 1.3;
}

.quest-xp-reward {
    font-size: 9px;
    font-weight: 700;
    color: var(--neon-blue);
    background: rgba(0, 240, 255, 0.07);
    padding: 2px 6px;
    border-radius: 4px;
    border: 1px solid rgba(0, 240, 255, 0.15);
    flex-shrink: 0;
}

/* Completed quest state */
.quest-item-box.completed {
    border-left-color: var(--neon-green);
    background: rgba(0, 255, 135, 0.02);
    border-color: rgba(0, 255, 135, 0.15);
}

.quest-item-box.completed i.quest-check {
    color: var(--neon-green);
}

.quest-item-box.completed .quest-xp-reward {
    color: var(--neon-green);
    background: rgba(0, 255, 135, 0.07);
    border-color: rgba(0, 255, 135, 0.15);
}

/* GAMIFICATION: LEVEL UP FULLSCREEN OVERLAY MODAL */
.level-up-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(5, 7, 13, 0.85);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    animation: fadeIn 0.3s ease forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.level-up-card {
    background: #111625;
    border: 2px solid var(--neon-magenta);
    box-shadow: 0 0 30px rgba(255, 42, 85, 0.4);
    border-radius: 20px;
    width: 90%;
    max-width: 400px;
    padding: 40px 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    animation: levelUpPop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes levelUpPop {
    from { transform: scale(0.7); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.level-up-icon {
    font-size: 55px;
    color: var(--neon-magenta);
    text-shadow: var(--glow-magenta);
    animation: floatIcon 3s infinite ease-in-out;
}

@keyframes floatIcon {
    0%, 100% { transform: translateY(0) rotate(0); }
    50% { transform: translateY(-6px) rotate(5deg); }
}

.level-up-card h2 {
    font-size: 24px;
    color: #FFF;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    letter-spacing: 1px;
}

.level-up-card p {
    font-size: 13.5px;
    color: var(--text-muted);
}

.level-up-badge-glow {
    font-family: 'Outfit', sans-serif;
    font-size: 26px;
    font-weight: 900;
    width: 80px;
    height: 80px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--neon-blue), var(--neon-magenta));
    color: #FFF;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 25px rgba(0, 240, 255, 0.5);
    margin: 10px 0;
    animation: badgeRotate 8s infinite linear;
}

@keyframes badgeRotate {
    0%, 100% { transform: rotate(0) scale(1); }
    50% { transform: rotate(3deg) scale(1.05); }
}


/* ================================================================
   BUYOLOGY NEURO-ANIMATION SYSTEM
   Inline lesson animations for neuromarketing concepts
   ================================================================ */

/* ----------------------------------------------------------------
   BASE CONTAINER & LABELS
   ---------------------------------------------------------------- */
.neuro-animation {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px 20px;
    margin: 24px 0;
    border-radius: 16px;
    background: rgba(10, 13, 22, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 240, 255, 0.12);
    box-shadow:
        0 0 20px rgba(0, 240, 255, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
    overflow: hidden;
    min-height: 180px;
}

.neuro-animation::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
        transparent,
        rgba(0, 240, 255, 0.4),
        rgba(181, 55, 255, 0.4),
        transparent);
}

.neuro-anim-label {
    text-align: center;
    font-style: italic;
    font-size: 11.5px;
    color: var(--text-muted);
    margin-top: 14px;
    letter-spacing: 0.3px;
    opacity: 0.8;
}

/* ----------------------------------------------------------------
   1. BRAIN fMRI SCAN ANIMATION
   ---------------------------------------------------------------- */
.neuro-anim-brain-scan .brain-container {
    position: relative;
    width: 220px;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.neuro-anim-brain-scan .brain-outline {
    width: 180px;
    height: 180px;
    position: relative;
}

.neuro-anim-brain-scan .brain-outline svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 6px rgba(0, 240, 255, 0.3));
}

.neuro-anim-brain-scan .brain-region {
    position: absolute;
    border-radius: 50%;
    opacity: 0.7;
    animation: regionPulse 3s infinite ease-in-out;
}

.neuro-anim-brain-scan .region-prefrontal {
    width: 36px;
    height: 28px;
    top: 18%;
    left: 15%;
    background: radial-gradient(ellipse, var(--neon-blue), transparent 70%);
    box-shadow: 0 0 18px rgba(0, 240, 255, 0.6);
    animation-delay: 0s;
    animation-name: regionPulsePrefrontal;
}

.neuro-anim-brain-scan .region-accumbens {
    width: 22px;
    height: 22px;
    top: 48%;
    left: 35%;
    background: radial-gradient(circle, var(--neon-green), transparent 70%);
    box-shadow: 0 0 16px rgba(0, 255, 135, 0.6);
    animation-delay: 0.6s;
    animation-name: regionPulseAccumbens;
}

.neuro-anim-brain-scan .region-amygdala {
    width: 24px;
    height: 24px;
    top: 62%;
    left: 42%;
    background: radial-gradient(circle, var(--neon-magenta), transparent 70%);
    box-shadow: 0 0 16px rgba(255, 42, 85, 0.6);
    animation-delay: 1.2s;
    animation-name: regionPulseAmygdala;
}

.neuro-anim-brain-scan .region-insula {
    width: 26px;
    height: 20px;
    top: 42%;
    left: 55%;
    background: radial-gradient(ellipse, var(--neon-orange), transparent 70%);
    box-shadow: 0 0 14px rgba(255, 122, 0, 0.6);
    animation-delay: 1.8s;
    animation-name: regionPulseInsula;
}

.neuro-anim-brain-scan .region-hippocampus {
    width: 30px;
    height: 18px;
    top: 58%;
    left: 55%;
    border-radius: 40%;
    background: radial-gradient(ellipse, var(--neon-purple), transparent 70%);
    box-shadow: 0 0 14px rgba(181, 55, 255, 0.6);
    animation-delay: 2.4s;
    animation-name: regionPulseHippocampus;
}

@keyframes regionPulse {
    0%, 100% { opacity: 0.4; transform: scale(0.85); }
    50% { opacity: 1; transform: scale(1.25); }
}

@keyframes regionPulsePrefrontal {
    0%, 100% { opacity: 0.35; transform: scale(0.8); box-shadow: 0 0 8px rgba(0, 240, 255, 0.3); }
    50% { opacity: 1; transform: scale(1.3); box-shadow: 0 0 30px rgba(0, 240, 255, 0.8); }
}

@keyframes regionPulseAccumbens {
    0%, 100% { opacity: 0.35; transform: scale(0.8); box-shadow: 0 0 8px rgba(0, 255, 135, 0.3); }
    50% { opacity: 1; transform: scale(1.35); box-shadow: 0 0 28px rgba(0, 255, 135, 0.8); }
}

@keyframes regionPulseAmygdala {
    0%, 100% { opacity: 0.35; transform: scale(0.8); box-shadow: 0 0 8px rgba(255, 42, 85, 0.3); }
    50% { opacity: 1; transform: scale(1.3); box-shadow: 0 0 28px rgba(255, 42, 85, 0.8); }
}

@keyframes regionPulseInsula {
    0%, 100% { opacity: 0.35; transform: scale(0.8); box-shadow: 0 0 8px rgba(255, 122, 0, 0.3); }
    50% { opacity: 1; transform: scale(1.3); box-shadow: 0 0 25px rgba(255, 122, 0, 0.8); }
}

@keyframes regionPulseHippocampus {
    0%, 100% { opacity: 0.35; transform: scale(0.8); box-shadow: 0 0 8px rgba(181, 55, 255, 0.3); }
    50% { opacity: 1; transform: scale(1.3); box-shadow: 0 0 25px rgba(181, 55, 255, 0.8); }
}

/* ----------------------------------------------------------------
   2. MIRROR NEURON FIRING
   ---------------------------------------------------------------- */
.neuro-anim-mirror .neuron-pair {
    display: flex;
    align-items: center;
    gap: 40px;
    position: relative;
}

.neuro-anim-mirror .neuron {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.neuro-anim-mirror .neuron-body {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    position: relative;
    transition: all 0.3s ease;
}

.neuro-anim-mirror .neuron-sender .neuron-body {
    background: radial-gradient(circle, rgba(0, 240, 255, 0.25), rgba(0, 240, 255, 0.05));
    border: 2px solid var(--neon-blue);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.3);
    animation: neuronFireSender 2s infinite ease-in-out;
}

.neuro-anim-mirror .neuron-receiver .neuron-body {
    background: radial-gradient(circle, rgba(0, 255, 135, 0.25), rgba(0, 255, 135, 0.05));
    border: 2px solid var(--neon-green);
    box-shadow: 0 0 15px rgba(0, 255, 135, 0.3);
    animation: neuronFireReceiver 2s infinite ease-in-out;
    animation-delay: 0.8s;
}

.neuro-anim-mirror .neuron-label {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
}

.neuro-anim-mirror .neuron-sender .neuron-label { color: var(--neon-blue); }
.neuro-anim-mirror .neuron-receiver .neuron-label { color: var(--neon-green); }

.neuro-anim-mirror .synapse-spark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--neon-blue);
    box-shadow:
        0 0 10px var(--neon-blue),
        0 0 25px rgba(0, 240, 255, 0.6),
        0 0 45px rgba(0, 240, 255, 0.3);
    animation: synapseSpark 2s infinite ease-in-out;
}

@keyframes neuronFireSender {
    0%, 100% { transform: scale(1); box-shadow: 0 0 12px rgba(0, 240, 255, 0.3); }
    30% { transform: scale(1.15); box-shadow: 0 0 30px rgba(0, 240, 255, 0.7); }
    60% { transform: scale(1); }
}

@keyframes neuronFireReceiver {
    0%, 40% { transform: scale(1); box-shadow: 0 0 12px rgba(0, 255, 135, 0.3); }
    70% { transform: scale(1.15); box-shadow: 0 0 30px rgba(0, 255, 135, 0.7); }
    100% { transform: scale(1); }
}

@keyframes synapseSpark {
    0% { left: 28%; opacity: 1; transform: translate(-50%, -50%) scale(1); }
    40% { left: 50%; opacity: 1; transform: translate(-50%, -50%) scale(1.5); box-shadow: 0 0 20px var(--neon-blue), 0 0 40px rgba(0, 240, 255, 0.5); }
    80% { left: 72%; opacity: 0.6; transform: translate(-50%, -50%) scale(0.8); }
    100% { left: 72%; opacity: 0; transform: translate(-50%, -50%) scale(0.3); }
}

/* ----------------------------------------------------------------
   3. SOMATIC MARKER CHAIN
   ---------------------------------------------------------------- */
.neuro-anim-somatic .somatic-chain {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.neuro-anim-somatic .somatic-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--panel-border);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    animation: somaticNodeFade 4s infinite ease-in-out;
    min-width: 72px;
    text-align: center;
}

.neuro-anim-somatic .somatic-node .node-icon {
    font-size: 22px;
}

.neuro-anim-somatic .node-memory {
    border-color: rgba(181, 55, 255, 0.3);
    color: var(--neon-purple);
    box-shadow: 0 0 10px rgba(181, 55, 255, 0.15);
    animation-delay: 0s;
}

.neuro-anim-somatic .node-emotion {
    border-color: rgba(255, 42, 85, 0.3);
    color: var(--neon-magenta);
    box-shadow: 0 0 10px rgba(255, 42, 85, 0.15);
    animation-delay: 0.8s;
}

.neuro-anim-somatic .node-decision {
    border-color: rgba(0, 255, 135, 0.3);
    color: var(--neon-green);
    box-shadow: 0 0 10px rgba(0, 255, 135, 0.15);
    animation-delay: 1.6s;
}

.neuro-anim-somatic .somatic-arrow {
    font-size: 18px;
    color: var(--text-dim);
    animation: arrowPulse 4s infinite ease-in-out;
}

@keyframes somaticNodeFade {
    0%, 100% { opacity: 0.55; transform: scale(0.95); }
    30%, 60% { opacity: 1; transform: scale(1.05); }
}

@keyframes arrowPulse {
    0%, 100% { opacity: 0.3; transform: translateX(0); }
    50% { opacity: 1; transform: translateX(3px); color: var(--neon-blue); }
}

/* ----------------------------------------------------------------
   4. SENSORY WHEEL
   ---------------------------------------------------------------- */
.neuro-anim-sensory-wheel .sensory-wheel {
    position: relative;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: wheelSpin 25s infinite linear;
}

.neuro-anim-sensory-wheel .sense-segment {
    position: absolute;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    background: rgba(255, 255, 255, 0.04);
    border: 2px solid var(--panel-border);
    transition: all 0.4s ease;
    /* Counter-rotate to keep icons upright */
    animation: wheelCounterSpin 25s infinite linear;
}

.neuro-anim-sensory-wheel .sense-segment::after {
    content: attr(data-sense);
    position: absolute;
    bottom: -18px;
    font-size: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
}

/* Position 5 segments around the circle */
.neuro-anim-sensory-wheel .sense-sight {
    top: 0; left: 50%;
    transform: translateX(-50%);
    border-color: rgba(0, 240, 255, 0.5);
    color: var(--neon-blue);
    box-shadow: 0 0 12px rgba(0, 240, 255, 0.2);
    animation: senseHighlight 10s infinite ease-in-out 0s, wheelCounterSpin 25s infinite linear;
}
.neuro-anim-sensory-wheel .sense-sight::after { color: var(--neon-blue); }

.neuro-anim-sensory-wheel .sense-sound {
    top: 31%; right: 2%;
    border-color: rgba(181, 55, 255, 0.5);
    color: var(--neon-purple);
    box-shadow: 0 0 12px rgba(181, 55, 255, 0.2);
    animation: senseHighlight 10s infinite ease-in-out 2s, wheelCounterSpin 25s infinite linear;
}
.neuro-anim-sensory-wheel .sense-sound::after { color: var(--neon-purple); }

.neuro-anim-sensory-wheel .sense-smell {
    bottom: 8%; right: 14%;
    border-color: rgba(0, 255, 135, 0.5);
    color: var(--neon-green);
    box-shadow: 0 0 12px rgba(0, 255, 135, 0.2);
    animation: senseHighlight 10s infinite ease-in-out 4s, wheelCounterSpin 25s infinite linear;
}
.neuro-anim-sensory-wheel .sense-smell::after { color: var(--neon-green); }

.neuro-anim-sensory-wheel .sense-taste {
    bottom: 8%; left: 14%;
    border-color: rgba(255, 122, 0, 0.5);
    color: var(--neon-orange);
    box-shadow: 0 0 12px rgba(255, 122, 0, 0.2);
    animation: senseHighlight 10s infinite ease-in-out 6s, wheelCounterSpin 25s infinite linear;
}
.neuro-anim-sensory-wheel .sense-taste::after { color: var(--neon-orange); }

.neuro-anim-sensory-wheel .sense-touch {
    top: 31%; left: 2%;
    border-color: rgba(255, 42, 85, 0.5);
    color: var(--neon-magenta);
    box-shadow: 0 0 12px rgba(255, 42, 85, 0.2);
    animation: senseHighlight 10s infinite ease-in-out 8s, wheelCounterSpin 25s infinite linear;
}
.neuro-anim-sensory-wheel .sense-touch::after { color: var(--neon-magenta); }

@keyframes wheelSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes wheelCounterSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(-360deg); }
}

@keyframes senseHighlight {
    0%, 80%, 100% { transform: scale(1); box-shadow: 0 0 8px rgba(255, 255, 255, 0.05); }
    10%, 30% { transform: scale(1.25); box-shadow: 0 0 30px currentColor; border-color: currentColor; background: rgba(255, 255, 255, 0.1); }
}

/* ----------------------------------------------------------------
   5. VAMPIRE EFFECT
   ---------------------------------------------------------------- */
.neuro-anim-vampire .vampire-scene {
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
    padding: 10px 0;
}

.neuro-anim-vampire .vampire-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 16px;
    border-radius: 12px;
    border: 2px solid rgba(0, 240, 255, 0.3);
    background: rgba(0, 240, 255, 0.05);
    font-size: 11px;
    font-weight: 600;
    color: var(--neon-blue);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    animation: vampireDrain 3s infinite ease-in-out;
}

.neuro-anim-vampire .vampire-brand .brand-icon {
    font-size: 28px;
}

.neuro-anim-vampire .vampire-drain {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--neon-magenta);
    animation: drainFlow 3s infinite ease-in-out;
}

.neuro-anim-vampire .vampire-drain .drain-particle {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--neon-magenta);
    box-shadow: 0 0 8px rgba(255, 42, 85, 0.6);
    animation: particleDrift 1.5s infinite ease-in-out;
}

.neuro-anim-vampire .vampire-drain .drain-particle:nth-child(2) { animation-delay: 0.3s; }
.neuro-anim-vampire .vampire-drain .drain-particle:nth-child(3) { animation-delay: 0.6s; }
.neuro-anim-vampire .vampire-drain .drain-particle:nth-child(4) { animation-delay: 0.9s; }

.neuro-anim-vampire .vampire-distraction {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 16px;
    border-radius: 12px;
    border: 2px solid rgba(255, 42, 85, 0.3);
    background: rgba(255, 42, 85, 0.05);
    font-size: 11px;
    font-weight: 600;
    color: var(--neon-magenta);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    animation: vampireGain 3s infinite ease-in-out;
}

.neuro-anim-vampire .vampire-distraction .distraction-icon {
    font-size: 28px;
}

@keyframes vampireDrain {
    0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 10px rgba(0, 240, 255, 0.2); }
    50% { opacity: 0.45; transform: scale(0.9); box-shadow: 0 0 2px rgba(0, 240, 255, 0.05); }
}

@keyframes vampireGain {
    0%, 100% { opacity: 0.6; transform: scale(1); box-shadow: 0 0 5px rgba(255, 42, 85, 0.1); }
    50% { opacity: 1; transform: scale(1.1); box-shadow: 0 0 25px rgba(255, 42, 85, 0.5); }
}

@keyframes drainFlow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

@keyframes particleDrift {
    0% { transform: translateX(-8px) scale(0.6); opacity: 0; }
    50% { transform: translateX(4px) scale(1.2); opacity: 1; }
    100% { transform: translateX(16px) scale(0.6); opacity: 0; }
}

/* ----------------------------------------------------------------
   6. RITUAL CYCLE
   ---------------------------------------------------------------- */
.neuro-anim-ritual .ritual-cycle {
    position: relative;
    width: 220px;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Rotating highlight ring */
.neuro-anim-ritual .ritual-cycle::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 2px dashed rgba(0, 240, 255, 0.15);
    animation: ritualRingSpin 12s infinite linear;
}

.neuro-anim-ritual .ritual-cycle::after {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--neon-blue);
    box-shadow: 0 0 12px rgba(0, 240, 255, 0.6), 0 0 30px rgba(0, 240, 255, 0.3);
    animation: ritualOrbiter 6s infinite linear;
    top: 0;
    left: 50%;
    transform-origin: 0 110px;
}

.neuro-anim-ritual .ritual-step {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    font-size: 9px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: rgba(255, 255, 255, 0.03);
    border: 1.5px solid var(--panel-border);
    transition: all 0.4s ease;
}

.neuro-anim-ritual .ritual-step .step-icon {
    font-size: 18px;
}

/* Four steps positioned in a circle */
.neuro-anim-ritual .ritual-step:nth-child(1) {
    top: 2%; left: 50%; transform: translateX(-50%);
    border-color: rgba(0, 240, 255, 0.4);
    color: var(--neon-blue);
    animation: ritualStepGlow 6s infinite ease-in-out 0s;
}

.neuro-anim-ritual .ritual-step:nth-child(2) {
    top: 50%; right: 2%; transform: translateY(-50%);
    border-color: rgba(0, 255, 135, 0.4);
    color: var(--neon-green);
    animation: ritualStepGlow 6s infinite ease-in-out 1.5s;
}

.neuro-anim-ritual .ritual-step:nth-child(3) {
    bottom: 2%; left: 50%; transform: translateX(-50%);
    border-color: rgba(255, 122, 0, 0.4);
    color: var(--neon-orange);
    animation: ritualStepGlow 6s infinite ease-in-out 3s;
}

.neuro-anim-ritual .ritual-step:nth-child(4) {
    top: 50%; left: 2%; transform: translateY(-50%);
    border-color: rgba(181, 55, 255, 0.4);
    color: var(--neon-purple);
    animation: ritualStepGlow 6s infinite ease-in-out 4.5s;
}

@keyframes ritualRingSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes ritualOrbiter {
    0% { transform: rotate(0deg) translateY(-100px); }
    100% { transform: rotate(360deg) translateY(-100px); }
}

@keyframes ritualStepGlow {
    0%, 70%, 100% { box-shadow: 0 0 5px rgba(255, 255, 255, 0.03); transform-origin: center; }
    20%, 40% { box-shadow: 0 0 20px currentColor; background: rgba(255, 255, 255, 0.06); }
}

/* ----------------------------------------------------------------
   7. PRICE PAIN PULSE
   ---------------------------------------------------------------- */
.neuro-anim-price-pain .price-comparison {
    display: flex;
    align-items: stretch;
    gap: 20px;
    width: 100%;
    max-width: 360px;
}

.neuro-anim-price-pain .price-method {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 16px 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--panel-border);
}

.neuro-anim-price-pain .price-method .method-icon {
    font-size: 30px;
    margin-bottom: 4px;
}

.neuro-anim-price-pain .price-method .method-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.neuro-anim-price-pain .method-cash {
    border-color: rgba(255, 42, 85, 0.3);
}

.neuro-anim-price-pain .method-cash .method-label {
    color: var(--neon-magenta);
}

.neuro-anim-price-pain .method-card {
    border-color: rgba(0, 255, 135, 0.3);
}

.neuro-anim-price-pain .method-card .method-label {
    color: var(--neon-green);
}

.neuro-anim-price-pain .pain-bar {
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.06);
    overflow: hidden;
    position: relative;
}

.neuro-anim-price-pain .pain-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    border-radius: 4px;
    animation: painBarFill 3s infinite ease-in-out;
}

.neuro-anim-price-pain .pain-high .pain-bar::after {
    background: linear-gradient(90deg, var(--neon-magenta), #FF5E5E);
    box-shadow: 0 0 10px rgba(255, 42, 85, 0.5);
    width: 92%;
    animation-name: painBarHigh;
}

.neuro-anim-price-pain .pain-low .pain-bar::after {
    background: linear-gradient(90deg, var(--neon-green), #00D166);
    box-shadow: 0 0 10px rgba(0, 255, 135, 0.5);
    width: 28%;
    animation-name: painBarLow;
}

.neuro-anim-price-pain .pain-label {
    font-size: 9px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.neuro-anim-price-pain .price-vs {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
    color: var(--text-dim);
    align-self: center;
}

/* Insula flash on cash */
.neuro-anim-price-pain .method-cash {
    animation: insulaPainFlash 2.5s infinite ease-in-out;
}

@keyframes painBarHigh {
    0%, 100% { width: 60%; }
    50% { width: 95%; box-shadow: 0 0 15px rgba(255, 42, 85, 0.7); }
}

@keyframes painBarLow {
    0%, 100% { width: 20%; }
    50% { width: 32%; box-shadow: 0 0 10px rgba(0, 255, 135, 0.4); }
}

@keyframes insulaPainFlash {
    0%, 100% { box-shadow: inset 0 0 0 rgba(255, 42, 85, 0); border-color: rgba(255, 42, 85, 0.3); }
    50% { box-shadow: inset 0 0 20px rgba(255, 42, 85, 0.12); border-color: rgba(255, 42, 85, 0.6); }
}

/* ----------------------------------------------------------------
   8. SMASHABLE BRAND
   ---------------------------------------------------------------- */
.neuro-anim-smashable .smashable-demo {
    position: relative;
    width: 180px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.neuro-anim-smashable .smashable-piece {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    width: 52px;
    height: 52px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--panel-border);
    animation: smashableFloat 6s infinite ease-in-out;
}

.neuro-anim-smashable .piece-logo {
    top: 10%; left: 10%;
    border-color: rgba(0, 240, 255, 0.3);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.15);
    animation-delay: 0s;
    animation-name: smashPiece1;
}

.neuro-anim-smashable .piece-color {
    top: 10%; right: 10%;
    border-color: rgba(255, 42, 85, 0.3);
    box-shadow: 0 0 10px rgba(255, 42, 85, 0.15);
    animation-delay: 0.5s;
    animation-name: smashPiece2;
}

.neuro-anim-smashable .piece-shape {
    bottom: 10%; left: 10%;
    border-color: rgba(0, 255, 135, 0.3);
    box-shadow: 0 0 10px rgba(0, 255, 135, 0.15);
    animation-delay: 1s;
    animation-name: smashPiece3;
}

.neuro-anim-smashable .piece-sound {
    bottom: 10%; right: 10%;
    border-color: rgba(255, 122, 0, 0.3);
    box-shadow: 0 0 10px rgba(255, 122, 0, 0.15);
    animation-delay: 1.5s;
    animation-name: smashPiece4;
}

@keyframes smashableFloat {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(5px, -5px) rotate(2deg); }
    50% { transform: translate(-3px, 3px) rotate(-1deg); }
    75% { transform: translate(4px, 2px) rotate(1deg); }
}

@keyframes smashPiece1 {
    0%, 100% { transform: translate(0, 0); opacity: 1; }
    30% { transform: translate(-25px, -20px) rotate(-8deg); opacity: 0.8; }
    60% { transform: translate(-15px, -10px) rotate(-4deg); opacity: 0.9; }
}

@keyframes smashPiece2 {
    0%, 100% { transform: translate(0, 0); opacity: 1; }
    30% { transform: translate(25px, -20px) rotate(8deg); opacity: 0.8; }
    60% { transform: translate(15px, -10px) rotate(4deg); opacity: 0.9; }
}

@keyframes smashPiece3 {
    0%, 100% { transform: translate(0, 0); opacity: 1; }
    30% { transform: translate(-25px, 20px) rotate(-6deg); opacity: 0.8; }
    60% { transform: translate(-15px, 10px) rotate(-3deg); opacity: 0.9; }
}

@keyframes smashPiece4 {
    0%, 100% { transform: translate(0, 0); opacity: 1; }
    30% { transform: translate(25px, 20px) rotate(6deg); opacity: 0.8; }
    60% { transform: translate(15px, 10px) rotate(3deg); opacity: 0.9; }
}

/* ----------------------------------------------------------------
   9. PEPSI VS COCA-COLA BRAIN
   ---------------------------------------------------------------- */
.neuro-anim-pepsi-coke .blind-test-comparison {
    display: flex;
    align-items: stretch;
    gap: 0;
    width: 100%;
    max-width: 420px;
}

.neuro-anim-pepsi-coke .test-phase {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 16px 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
    position: relative;
}

.neuro-anim-pepsi-coke .phase-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.neuro-anim-pepsi-coke .phase-blind {
    border: 1px solid rgba(0, 240, 255, 0.2);
}

.neuro-anim-pepsi-coke .phase-blind .phase-label {
    color: var(--neon-blue);
}

.neuro-anim-pepsi-coke .phase-branded {
    border: 1px solid rgba(255, 42, 85, 0.2);
}

.neuro-anim-pepsi-coke .phase-branded .phase-label {
    color: var(--neon-magenta);
}

.neuro-anim-pepsi-coke .brain-half {
    position: relative;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--panel-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
}

.neuro-anim-pepsi-coke .active-region {
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
}

.neuro-anim-pepsi-coke .phase-blind .region-taste {
    top: 25%;
    left: 30%;
    background: radial-gradient(circle, var(--neon-blue), transparent 70%);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.7);
    animation: regionPulsePrefrontal 2.5s infinite ease-in-out;
}

.neuro-anim-pepsi-coke .phase-branded .region-taste {
    top: 25%;
    left: 30%;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.3), transparent 70%);
    box-shadow: 0 0 6px rgba(0, 240, 255, 0.2);
    opacity: 0.4;
}

.neuro-anim-pepsi-coke .phase-branded .region-memory {
    top: 50%;
    right: 20%;
    background: radial-gradient(circle, var(--neon-magenta), transparent 70%);
    box-shadow: 0 0 18px rgba(255, 42, 85, 0.8);
    animation: regionPulseAmygdala 2.2s infinite ease-in-out;
}

.neuro-anim-pepsi-coke .phase-blind .region-memory {
    top: 50%;
    right: 20%;
    background: radial-gradient(circle, rgba(255, 42, 85, 0.2), transparent 70%);
    box-shadow: 0 0 4px rgba(255, 42, 85, 0.1);
    opacity: 0.3;
}

.neuro-anim-pepsi-coke .test-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
    color: var(--text-dim);
    padding: 0 6px;
    align-self: center;
    flex-shrink: 0;
}

.neuro-anim-pepsi-coke .winner-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 3px 8px;
    border-radius: 4px;
    margin-top: 4px;
}

.neuro-anim-pepsi-coke .phase-blind .winner-label {
    background: rgba(0, 240, 255, 0.1);
    color: var(--neon-blue);
    border: 1px solid rgba(0, 240, 255, 0.25);
}

.neuro-anim-pepsi-coke .phase-branded .winner-label {
    background: rgba(255, 42, 85, 0.1);
    color: var(--neon-magenta);
    border: 1px solid rgba(255, 42, 85, 0.25);
}

/* ----------------------------------------------------------------
   10. FEAR-DESIRE LOOP
   ---------------------------------------------------------------- */
.neuro-anim-fear-desire .fear-desire-loop {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: center;
    position: relative;
}

.neuro-anim-fear-desire .loop-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1.5px solid var(--panel-border);
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    min-width: 60px;
    text-align: center;
}

.neuro-anim-fear-desire .loop-node .node-icon {
    font-size: 20px;
}

.neuro-anim-fear-desire .node-warning {
    border-color: rgba(255, 122, 0, 0.4);
    color: var(--neon-orange);
    animation: fearPulse 4s infinite ease-in-out 0s;
}

.neuro-anim-fear-desire .node-fear {
    border-color: rgba(255, 42, 85, 0.4);
    color: var(--neon-magenta);
    animation: fearPulse 4s infinite ease-in-out 1s;
}

.neuro-anim-fear-desire .node-desire {
    border-color: rgba(181, 55, 255, 0.4);
    color: var(--neon-purple);
    animation: fearPulse 4s infinite ease-in-out 2s;
}

.neuro-anim-fear-desire .node-smoke {
    border-color: rgba(0, 240, 255, 0.4);
    color: var(--neon-blue);
    animation: fearPulse 4s infinite ease-in-out 3s;
}

.neuro-anim-fear-desire .loop-arrow {
    font-size: 16px;
    color: var(--text-dim);
    animation: loopArrowPulse 4s infinite ease-in-out;
}

/* Connecting arc from last node back to first */
.neuro-anim-fear-desire .fear-desire-loop::after {
    content: '↩';
    position: absolute;
    bottom: -22px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 16px;
    color: var(--neon-orange);
    opacity: 0.5;
    animation: loopReturn 4s infinite ease-in-out;
}

@keyframes fearPulse {
    0%, 70%, 100% { opacity: 0.5; transform: scale(0.95); box-shadow: none; }
    20%, 40% { opacity: 1; transform: scale(1.08); box-shadow: 0 0 15px currentColor; }
}

@keyframes loopArrowPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; color: var(--neon-magenta); }
}

@keyframes loopReturn {
    0%, 100% { opacity: 0.3; transform: translateX(-50%) scale(1); }
    50% { opacity: 0.8; transform: translateX(-50%) scale(1.2); }
}

/* ----------------------------------------------------------------
   11. NARRATIVE INTEGRATION FILTER
   ---------------------------------------------------------------- */
.neuro-anim-narrative .narrative-filter {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    max-width: 380px;
}

.neuro-anim-narrative .content-stream {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.neuro-anim-narrative .content-item {
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--panel-border);
    color: var(--text-muted);
}

.neuro-anim-narrative .content-item.accepted {
    animation: narrativePass 3s infinite ease-in-out;
    border-color: rgba(0, 255, 135, 0.3);
    color: var(--neon-green);
}

.neuro-anim-narrative .content-item.rejected {
    animation: narrativeBlock 3s infinite ease-in-out;
    border-color: rgba(255, 42, 85, 0.3);
    color: var(--neon-magenta);
    text-decoration: line-through;
    opacity: 0.5;
}

.neuro-anim-narrative .filter-gate {
    width: 42px;
    height: 80px;
    border: 2px solid rgba(181, 55, 255, 0.5);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--neon-purple);
    background: rgba(181, 55, 255, 0.05);
    box-shadow: 0 0 15px rgba(181, 55, 255, 0.2);
    animation: filterGatePulse 3s infinite ease-in-out;
    flex-shrink: 0;
}

.neuro-anim-narrative .output-stream {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

@keyframes narrativePass {
    0%, 100% { transform: translateX(0); opacity: 0.6; }
    50% { transform: translateX(4px); opacity: 1; box-shadow: 0 0 8px rgba(0, 255, 135, 0.3); }
}

@keyframes narrativeBlock {
    0%, 100% { transform: translateX(0); opacity: 0.4; }
    50% { transform: translateX(-4px); opacity: 0.6; }
}

@keyframes filterGatePulse {
    0%, 100% { box-shadow: 0 0 10px rgba(181, 55, 255, 0.15); }
    50% { box-shadow: 0 0 25px rgba(181, 55, 255, 0.4), inset 0 0 10px rgba(181, 55, 255, 0.1); }
}

/* ----------------------------------------------------------------
   12. SUBLIMINAL FLASH
   ---------------------------------------------------------------- */
.neuro-anim-subliminal .subliminal-screen {
    position: relative;
    width: 100%;
    max-width: 320px;
    height: 120px;
    border-radius: 10px;
    background: rgba(10, 13, 22, 0.9);
    border: 1px solid var(--panel-border);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.neuro-anim-subliminal .subliminal-main-content {
    font-size: 14px;
    color: var(--text-muted);
    z-index: 1;
    text-align: center;
    padding: 10px;
}

.neuro-anim-subliminal .subliminal-flash {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 800;
    color: var(--neon-magenta);
    text-shadow: 0 0 15px rgba(255, 42, 85, 0.8);
    background: rgba(255, 42, 85, 0.08);
    z-index: 2;
    opacity: 0;
    animation: subliminalFlash 5s infinite ease-in-out;
}

@keyframes subliminalFlash {
    0%, 100% { opacity: 0; }
    /* Flash at ~30% and ~70% for ultra-brief visibility */
    29.5% { opacity: 0; }
    30% { opacity: 1; }
    31% { opacity: 0; }
    69.5% { opacity: 0; }
    70% { opacity: 1; }
    71% { opacity: 0; }
}

/* ----------------------------------------------------------------
   13. ETHICS SCALE
   ---------------------------------------------------------------- */
.neuro-anim-ethics .ethics-scale {
    display: flex;
    align-items: flex-end;
    gap: 16px;
    padding: 10px 0;
    position: relative;
}

.neuro-anim-ethics .scale-beam {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 3px;
    background: linear-gradient(90deg, var(--neon-green), var(--text-dim), var(--neon-magenta));
    border-radius: 2px;
    transform-origin: center;
    animation: scaleBeamTilt 5s infinite ease-in-out;
}

.neuro-anim-ethics .scale-beam::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid var(--text-dim);
}

.neuro-anim-ethics .scale-side {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 14px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--panel-border);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.neuro-anim-ethics .scale-side .scale-icon {
    font-size: 26px;
}

.neuro-anim-ethics .side-ethics {
    border-color: rgba(0, 255, 135, 0.3);
    color: var(--neon-green);
    animation: ethicsSide 5s infinite ease-in-out;
}

.neuro-anim-ethics .side-manipulation {
    border-color: rgba(255, 42, 85, 0.3);
    color: var(--neon-magenta);
    animation: manipulationSide 5s infinite ease-in-out;
}

@keyframes scaleBeamTilt {
    0%, 100% { transform: translateX(-50%) rotate(0deg); }
    30% { transform: translateX(-50%) rotate(-4deg); }
    70% { transform: translateX(-50%) rotate(4deg); }
}

@keyframes ethicsSide {
    0%, 100% { transform: translateY(0); box-shadow: 0 0 8px rgba(0, 255, 135, 0.15); }
    30% { transform: translateY(-8px); box-shadow: 0 0 20px rgba(0, 255, 135, 0.4); }
    70% { transform: translateY(4px); box-shadow: 0 0 5px rgba(0, 255, 135, 0.1); }
}

@keyframes manipulationSide {
    0%, 100% { transform: translateY(0); box-shadow: 0 0 8px rgba(255, 42, 85, 0.15); }
    30% { transform: translateY(4px); box-shadow: 0 0 5px rgba(255, 42, 85, 0.1); }
    70% { transform: translateY(-8px); box-shadow: 0 0 20px rgba(255, 42, 85, 0.4); }
}

/* ----------------------------------------------------------------
   14. DEFENSE SHIELD
   ---------------------------------------------------------------- */
.neuro-anim-shield .shield-container {
    position: relative;
    width: 180px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.neuro-anim-shield .shield-icon {
    font-size: 60px;
    color: var(--neon-blue);
    text-shadow: 0 0 20px rgba(0, 240, 255, 0.5);
    z-index: 2;
    animation: shieldPulse 3s infinite ease-in-out;
    position: relative;
}

.neuro-anim-shield .shield-rays {
    position: absolute;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    border: 2px solid rgba(0, 240, 255, 0.15);
    animation: shieldRayExpand 3s infinite ease-out;
}

.neuro-anim-shield .shield-rays::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border-radius: 50%;
    border: 1px solid rgba(0, 240, 255, 0.08);
    animation: shieldRayExpand 3s infinite ease-out 0.5s;
}

.neuro-anim-shield .shield-rays::after {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    border-radius: 50%;
    border: 1px solid rgba(0, 240, 255, 0.04);
    animation: shieldRayExpand 3s infinite ease-out 1s;
}

.neuro-anim-shield .attack-arrows {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.neuro-anim-shield .attack-arrow {
    position: absolute;
    font-size: 16px;
    color: var(--neon-magenta);
    text-shadow: 0 0 8px rgba(255, 42, 85, 0.6);
    animation: attackBounce 2.5s infinite ease-in-out;
}

.neuro-anim-shield .attack-arrow:nth-child(1) {
    top: 5%;
    left: 15%;
    animation-delay: 0s;
    transform: rotate(135deg);
}

.neuro-anim-shield .attack-arrow:nth-child(2) {
    top: 5%;
    right: 15%;
    animation-delay: 0.5s;
    transform: rotate(-135deg);
}

.neuro-anim-shield .attack-arrow:nth-child(3) {
    bottom: 15%;
    left: 5%;
    animation-delay: 1s;
    transform: rotate(45deg);
}

.neuro-anim-shield .attack-arrow:nth-child(4) {
    bottom: 15%;
    right: 5%;
    animation-delay: 1.5s;
    transform: rotate(-45deg);
}

@keyframes shieldPulse {
    0%, 100% { transform: scale(1); text-shadow: 0 0 15px rgba(0, 240, 255, 0.4); }
    50% { transform: scale(1.08); text-shadow: 0 0 35px rgba(0, 240, 255, 0.7), 0 0 60px rgba(0, 240, 255, 0.3); }
}

@keyframes shieldRayExpand {
    0% { transform: scale(0.8); opacity: 0.8; }
    100% { transform: scale(1.4); opacity: 0; }
}

@keyframes attackBounce {
    0%, 100% { opacity: 0.8; }
    40% { opacity: 1; transform: translateX(0) translateY(0) scale(1.1); }
    50% { opacity: 0.3; transform: scale(0.7); }
    60% { opacity: 0.8; }
}

/* ----------------------------------------------------------------
   EXERCISE BOX
   ---------------------------------------------------------------- */
.neuro-exercise {
    position: relative;
    background: rgba(10, 13, 22, 0.8);
    border: 1px solid var(--panel-border);
    border-left: 3px solid transparent;
    border-image: linear-gradient(180deg, var(--neon-blue), var(--neon-purple)) 1;
    border-image-slice: 1;
    border-radius: 0;
    /* Fix for border-image overriding border-radius */
    padding: 18px 20px;
    margin: 22px 0;
}

/* Wrapper approach for rounded corners with gradient border */
.neuro-exercise {
    border: none;
    border-left: 3px solid var(--neon-purple);
    border-radius: 10px;
    background:
        linear-gradient(135deg, rgba(181, 55, 255, 0.04), rgba(0, 240, 255, 0.02)) padding-box;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.04),
        0 0 12px rgba(181, 55, 255, 0.08);
    padding: 18px 20px;
    margin: 22px 0;
}

.neuro-exercise h4 {
    font-size: 13px;
    font-weight: 700;
    color: var(--neon-purple);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-family: 'Outfit', sans-serif;
}

.neuro-exercise h4::before {
    content: '🧪';
    font-size: 15px;
}

.neuro-exercise .exercise-prompt {
    font-size: 13.5px;
    color: var(--text-main);
    line-height: 1.6;
    margin-bottom: 12px;
}

.neuro-exercise .exercise-steps {
    list-style: none;
    counter-reset: exercise-step;
    padding: 0;
    margin: 0;
}

.neuro-exercise .exercise-steps li {
    counter-increment: exercise-step;
    font-size: 13px;
    color: var(--text-muted);
    padding: 6px 0 6px 32px;
    position: relative;
    line-height: 1.5;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.neuro-exercise .exercise-steps li:last-child {
    border-bottom: none;
}

.neuro-exercise .exercise-steps li::before {
    content: counter(exercise-step);
    position: absolute;
    left: 0;
    top: 6px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(181, 55, 255, 0.12);
    border: 1px solid rgba(181, 55, 255, 0.3);
    color: var(--neon-purple);
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ----------------------------------------------------------------
   BRAND CASE STUDY CALLOUT
   ---------------------------------------------------------------- */
.callout-brand-case {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--panel-border);
    border-radius: 8px;
    padding: 14px 18px;
    margin: 20px 0;
    border-left: 3px solid var(--neon-purple);
    background: linear-gradient(135deg, rgba(181, 55, 255, 0.03), rgba(0, 240, 255, 0.015));
    position: relative;
}

.callout-brand-case::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, rgba(181, 55, 255, 0.3), transparent);
}

.callout-brand-case h4 {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--neon-purple);
}

.callout-brand-case h4::before {
    content: '📊';
    font-size: 13px;
}

.callout-brand-case p {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 0;
    line-height: 1.6;
}

.callout-brand-case strong {
    color: var(--text-main);
}

/* ----------------------------------------------------------------
   RESPONSIVE ADJUSTMENTS FOR ANIMATIONS
   ---------------------------------------------------------------- */
@media (max-width: 600px) {
    .neuro-animation {
        padding: 16px 12px;
        margin: 16px 0;
        border-radius: 12px;
    }

    .neuro-anim-brain-scan .brain-container {
        width: 160px;
        height: 160px;
    }

    .neuro-anim-brain-scan .brain-outline {
        width: 130px;
        height: 130px;
    }

    .neuro-anim-somatic .somatic-chain {
        gap: 5px;
    }

    .neuro-anim-somatic .somatic-node {
        padding: 8px 10px;
        min-width: 56px;
        font-size: 9px;
    }

    .neuro-anim-price-pain .price-comparison {
        flex-direction: column;
        max-width: 200px;
    }

    .neuro-anim-price-pain .price-vs {
        transform: rotate(90deg);
    }

    .neuro-anim-pepsi-coke .blind-test-comparison {
        flex-direction: column;
        max-width: 240px;
    }

    .neuro-anim-fear-desire .loop-node {
        padding: 8px 8px;
        min-width: 50px;
        font-size: 9px;
    }

    .neuro-anim-ritual .ritual-cycle {
        width: 170px;
        height: 170px;
    }

    .neuro-anim-ritual .ritual-step {
        width: 48px;
        height: 48px;
        font-size: 8px;
    }

    .neuro-anim-ritual .ritual-step .step-icon {
        font-size: 14px;
    }

    .neuro-anim-vampire .vampire-scene {
        gap: 12px;
    }

    .neuro-anim-vampire .vampire-brand,
    .neuro-anim-vampire .vampire-distraction {
        padding: 10px;
        font-size: 10px;
    }

    .neuro-anim-shield .shield-container {
        width: 140px;
        height: 140px;
    }

    .neuro-anim-shield .shield-icon {
        font-size: 44px;
    }

    .neuro-anim-smashable .smashable-demo {
        width: 140px;
        height: 140px;
    }

    .neuro-anim-smashable .smashable-piece {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .neuro-exercise {
        padding: 14px 14px;
    }
}

/* ----------------------------------------------------------------
   ANIMATION PERFORMANCE HINTS
   ---------------------------------------------------------------- */
.neuro-anim-brain-scan .brain-region,
.neuro-anim-mirror .neuron-body,
.neuro-anim-mirror .synapse-spark,
.neuro-anim-somatic .somatic-node,
.neuro-anim-sensory-wheel .sense-segment,
.neuro-anim-vampire .vampire-brand,
.neuro-anim-vampire .vampire-distraction,
.neuro-anim-ritual .ritual-step,
.neuro-anim-shield .shield-icon,
.neuro-anim-shield .shield-rays,
.neuro-anim-shield .attack-arrow,
.neuro-anim-smashable .smashable-piece,
.neuro-anim-ethics .scale-side,
.neuro-anim-ethics .scale-beam,
.neuro-anim-subliminal .subliminal-flash,
.neuro-anim-fear-desire .loop-node,
.neuro-anim-price-pain .method-cash {
    will-change: transform, opacity;
}



/* ================================================================
   MOBILE APP RESPONSIVE STYLING (APP-LIKE LOOK & FEEL)
   ================================================================ */

/* MOBILE SUB-NAVIGATION BAR */
.mobile-sub-navigation {
    display: none;
}

.mobile-sub-tab {
    background: transparent;
    border: none;
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-size: 10px;
    font-weight: 500;
    cursor: pointer;
    padding: 6px 12px;
    transition: all 0.2s ease;
    border-radius: 8px;
    outline: none;
}

.mobile-sub-tab i {
    font-size: 16px;
    transition: transform 0.2s ease;
}

.mobile-sub-tab.active {
    color: var(--neon-blue);
    background: rgba(0, 240, 255, 0.06);
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.3);
}

.mobile-sub-tab.active i {
    transform: scale(1.15);
}

.simulator-mobile-nav .mobile-sub-tab.active {
    color: var(--neon-magenta);
    background: rgba(255, 42, 85, 0.06);
    text-shadow: 0 0 10px rgba(255, 42, 85, 0.3);
}

@media (max-width: 900px) {
    .mobile-sub-navigation {
        display: flex;
        width: 100%;
        height: 56px;
        background: rgba(13, 17, 28, 0.95);
        border-bottom: 1px solid var(--panel-border);
        justify-content: space-around;
        align-items: center;
        flex-shrink: 0;
        z-index: 100;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    }
    
    .app-navbar {
        height: auto;
        padding: 12px 16px;
        flex-direction: column;
        gap: 12px;
    }
    
    .app-navbar .brand-text {
        text-align: center;
    }
    
    .app-navbar .brand-text h1 {
        font-size: 18px;
    }
    
    .app-navbar .brand-text p {
        font-size: 9px;
    }
    
    .nav-tabs {
        width: 100%;
        justify-content: center;
        gap: 8px;
    }
    
    .nav-tab {
        flex: 1;
        padding: 8px 12px;
        font-size: 11px;
        justify-content: center;
    }
    
    .app-content-area {
        height: calc(100vh - 120px) !important;
    }
    
    /* ACADEMY COLUMNS MOBILE HIDE/SHOW ENGINE */
    .academy-sidebar, .academy-reader, .academy-achievements {
        display: none !important;
        width: 100% !important;
        height: 100% !important;
        border: none !important;
    }
    
    .academy-layout.mobile-view-sidebar .academy-sidebar {
        display: flex !important;
    }
    
    .academy-layout.mobile-view-reader .academy-reader {
        display: flex !important;
    }
    
    .academy-layout.mobile-view-stats .academy-achievements {
        display: flex !important;
        width: 100% !important;
    }
    
    .academy-layout {
        flex-direction: column;
        height: 100%;
    }
    
    /* SIMULATOR COLUMNS MOBILE HIDE/SHOW ENGINE */
    .app-container {
        flex-direction: column;
        width: 100% !important;
        height: 100% !important;
    }
    
    .setup-panel, .chat-panel, .dashboard-panel {
        display: none !important;
        width: 100% !important;
        height: 100% !important;
        border: none !important;
    }
    
    .app-container.mobile-view-setup .setup-panel {
        display: flex !important;
    }
    
    .app-container.mobile-view-chat .chat-panel {
        display: flex !important;
    }
    
    .app-container.mobile-view-dash .dashboard-panel {
        display: flex !important;
        width: 100% !important;
    }
    
    /* LAYOUT OPTIMIZATIONS FOR MOBILE VIEWPORTS */
    .chat-panel {
        height: 100% !important;
    }
    
    .messages-container {
        padding: 12px;
        gap: 12px;
    }
    
    .message {
        max-width: 88%;
        padding: 10px 14px;
        font-size: 13px;
    }
    
    .setup-scroll-area, .dashboard-scroll-area {
        padding: 16px;
    }
    
    .reader-card {
        padding: 20px;
        margin: 10px 0;
        border-radius: 12px;
    }
    
    .lesson-header h2 {
        font-size: 18px;
    }
    
    .lesson-body-content p {
        font-size: 13px;
    }
    
    /* Stats column card styles reset */
    .academy-achievements {
        padding: 16px;
        gap: 15px;
    }
}
