/* =========================================================================
   CodeByTushu - Premium Video Editing Portfolio & Tech Creator Styles
   Matches the main Black + Gold Theme (#ffc400 & #050505)
========================================================================= */

:root {
    --gold: #ffc400;
    --gold-dim: rgba(255, 196, 0, 0.2);
    --bg-main: #050505;
    --bg-card: rgba(20, 20, 20, 0.6);
    --border-card: rgba(255, 255, 255, 0.08);
    --text-main: #ffffff;
    --text-muted: #aaaaaa;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: transparent !important;
    color: var(--text-main);
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
}

/* Base Container */
.cbt-ve-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ===================== HERO SECTION ===================== */
.cbt-ve-hero {
    position: relative;
    min-height: 100vh;
    background: transparent !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 110px; /* offset for navbar */
    overflow: hidden;
}

.cbt-ve-hero-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3.5rem;
    position: relative;
    z-index: 10;
    flex: 1;
}

.cbt-ve-hero-left {
    flex: 1;
    max-width: 580px;
}

.cbt-ve-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 196, 0, 0.1);
    border: 1px solid rgba(255, 196, 0, 0.3);
    padding: 0.45rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gold);
    margin-bottom: 1.3rem;
}

.cbt-pulse {
    width: 8px;
    height: 8px;
    background-color: var(--gold);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--gold);
    animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.5; }
    100% { transform: scale(1); opacity: 1; }
}

.cbt-ve-title {
    font-size: 3.3rem;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 1.3rem;
    letter-spacing: -1px;
}

.cbt-gold {
    color: var(--gold);
    text-shadow: 0 0 20px var(--gold-dim);
}

.cbt-ve-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 2.2rem;
}

.cbt-ve-hero-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.2rem;
}

.cbt-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #ffc400;
    color: #000000;
    padding: 13px 26px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1.5px solid #ffc400;
    box-shadow: 0 4px 16px rgba(255, 196, 0, 0.28);
    cursor: pointer;
}

.cbt-btn-primary:hover {
    background: #17171d !important;
    color: #ffffff !important;
    border-color: #ffc400 !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 196, 0, 0.35);
}

.cbt-btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.04);
    color: #e2e8f0;
    padding: 13px 24px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.25s ease;
    border: 1px solid rgba(255, 255, 255, 0.15);
    cursor: pointer;
}

.cbt-btn-outline span {
    color: #ffffff !important;
    transition: color 0.25s ease;
}

.cbt-btn-outline:hover {
    background: rgba(255, 196, 0, 0.1);
    border-color: var(--gold);
    color: var(--gold);
    transform: translateY(-2px);
}

.cbt-btn-outline:hover span {
    color: var(--gold) !important;
}

/* ===================== HERO RIGHT: COMPACT STUDIO SUITE ===================== */
.cbt-ve-hero-right {
    flex: 1.15;
    max-width: 600px;
    width: 100%;
}

.cbt-ve-studio-suite {
    background: linear-gradient(145deg, rgba(18, 18, 24, 0.95), rgba(10, 10, 14, 0.94));
    border: 1px solid rgba(255, 196, 0, 0.25);
    border-radius: 18px;
    padding: 1.1rem;
    backdrop-filter: blur(14px);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.65), 0 0 30px rgba(255, 196, 0, 0.08);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cbt-ve-studio-suite:hover {
    border-color: rgba(255, 196, 0, 0.45);
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.7), 0 0 40px rgba(255, 196, 0, 0.15);
}

/* Pro Top Control Bar */
.cbt-ve-suite-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 0.7rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    margin-bottom: 0.8rem;
    font-size: 0.8rem;
}

.cbt-ve-suite-dots {
    display: flex;
    gap: 6px;
}

.cbt-ve-suite-dots span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    display: inline-block;
}

.dot-red { background: #ff5f56; box-shadow: 0 0 6px rgba(255, 95, 86, 0.5); }
.dot-yellow { background: #ffbd2e; box-shadow: 0 0 6px rgba(255, 189, 46, 0.5); }
.dot-green { background: #27c93f; box-shadow: 0 0 6px rgba(39, 201, 63, 0.5); }

.cbt-ve-suite-title {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    color: #e2e8f0;
    letter-spacing: 0.3px;
    font-size: 0.78rem;
}

.cbt-ve-suite-title .material-symbols-rounded {
    font-size: 16px;
    color: var(--gold);
}

.cbt-ve-suite-status {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.72rem;
    font-weight: 700;
    color: #00e676;
    background: rgba(0, 230, 118, 0.1);
    border: 1px solid rgba(0, 230, 118, 0.25);
    padding: 2px 7px;
    border-radius: 12px;
}

.status-pulse {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #00e676;
    box-shadow: 0 0 8px #00e676;
    animation: statusBlink 1.5s infinite;
}

@keyframes statusBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* Compact Video Monitor Screen (Reduced Height, Widescreen Deck) */
.cbt-ve-monitor {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.cbt-ve-monitor-screen.cbt-ve-monitor-compact {
    position: relative;
    height: 85px;
    min-height: 85px;
    max-height: 85px;
    background: radial-gradient(circle at center, #181824 0%, #09090e 85%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0.55rem 0.8rem;
    overflow: hidden;
}

.cbt-ve-monitor-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 20px 20px;
    pointer-events: none;
}

.cbt-ve-monitor-center {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto 0;
}

.cbt-ve-monitor-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 196, 0, 0.4);
    padding: 5px 12px;
    border-radius: 50px;
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}

.cbt-ve-monitor-badge .material-symbols-rounded {
    color: var(--gold);
    font-size: 1.1rem;
}

.cbt-ve-monitor-overlays {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Courier New', monospace;
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.8);
}

.cbt-tc {
    background: rgba(0, 0, 0, 0.65);
    padding: 1px 5px;
    border-radius: 4px;
    color: var(--gold);
    font-weight: bold;
}

.cbt-res {
    color: #94a3b8;
}

.cbt-color-badge {
    background: rgba(255, 196, 0, 0.15);
    color: var(--gold);
    border: 1px solid rgba(255, 196, 0, 0.3);
    padding: 1px 5px;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 600;
}

/* Multi-Track Timeline */
.cbt-ve-timeline {
    background: rgba(8, 8, 12, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    padding: 0.6rem;
    margin-bottom: 0.8rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.cbt-ve-ruler {
    display: flex;
    justify-content: space-between;
    padding: 0 0.5rem 0.25rem 65px;
    font-size: 0.62rem;
    font-family: monospace;
    color: #64748b;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
}

.cbt-ve-track {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 6px;
    padding: 2px 4px;
}

.cbt-ve-track-label {
    min-width: 75px;
    font-size: 0.65rem;
    font-weight: 600;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 4px;
}

.track-tag {
    font-size: 0.58rem;
    padding: 1px 4px;
    border-radius: 3px;
    font-weight: 700;
}

.tag-vfx { background: rgba(168, 85, 247, 0.25); color: #c084fc; }
.tag-video { background: rgba(59, 130, 246, 0.25); color: #60a5fa; }
.tag-audio { background: rgba(34, 197, 94, 0.25); color: #4ade80; }
.tag-sfx { background: rgba(255, 196, 0, 0.25); color: var(--gold); }

.cbt-ve-track-clips {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 3px;
    height: 22px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 5px;
    padding: 2px 4px;
    overflow: hidden;
}

.cbt-clip {
    height: 100%;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0 5px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.clip-vfx {
    background: linear-gradient(90deg, #7e22ce, #9333ea);
    color: #f3e8ff;
}

.clip-video {
    background: linear-gradient(90deg, #1d4ed8, #2563eb);
    color: #eff6ff;
}

.clip-audio {
    background: rgba(22, 101, 52, 0.8);
    border-color: rgba(34, 197, 94, 0.3);
    padding: 0 4px;
}

.clip-sfx {
    background: linear-gradient(90deg, #b45309, #d97706);
    color: #fef3c7;
}

.clip-music {
    background: linear-gradient(90deg, #047857, #059669);
    color: #ecfdf5;
}

/* Audio Waveform Animation */
.cbt-waveform {
    display: flex;
    align-items: center;
    justify-content: space-around;
    width: 100%;
    height: 100%;
    gap: 2px;
}

.cbt-waveform span {
    display: inline-block;
    width: 2px;
    background: #4ade80;
    border-radius: 1px;
    animation: waveBar 1.2s ease-in-out infinite alternate;
}

.cbt-waveform span:nth-child(even) { animation-duration: 0.8s; }
.cbt-waveform span:nth-child(3n) { animation-duration: 1.4s; }
.cbt-waveform span:nth-child(5n) { animation-duration: 1.0s; }

@keyframes waveBar {
    0% { height: 3px; opacity: 0.4; }
    100% { height: 15px; opacity: 1; }
}

/* Pro Tools Stack Badges */
.cbt-ve-suite-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    justify-content: center;
    padding-top: 0.3rem;
}

.cbt-tool-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.09);
    color: #cbd5e1;
    font-size: 0.7rem;
    font-weight: 500;
    padding: 3px 8px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.cbt-tool-chip i {
    color: var(--gold);
    font-size: 0.72rem;
}

.cbt-tool-chip:hover {
    background: rgba(255, 196, 0, 0.12);
    border-color: rgba(255, 196, 0, 0.35);
    color: #ffffff;
}

/* Stats Bar */
.cbt-ve-stats-bar {
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 1200px;
    margin: 3.5rem auto 1.5rem;
    padding: 1.8rem;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.03), transparent);
    border-top: 1px solid var(--border-card);
    border-bottom: 1px solid var(--border-card);
    position: relative;
    z-index: 10;
}

.cbt-ve-stat-item {
    text-align: center;
}

.cbt-ve-stat-item h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.cbt-ve-stat-item p {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cbt-ve-stat-divider {
    width: 1px;
    height: 45px;
    background: var(--border-card);
}

/* ===================== SECTION HEADERS ===================== */
.cbt-ve-section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.cbt-ve-section-subtitle {
    color: var(--gold);
    font-size: 0.88rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.cbt-ve-section-title {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 0.9rem;
}

.cbt-ve-section-desc {
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.6;
    font-size: 0.98rem;
}

/* ===================== COMPACT SERVICES SECTION ===================== */
.cbt-ve-services {
    padding: 5.5rem 0;
    position: relative;
    background: transparent !important;
}

.cbt-ve-compact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.4rem;
}

.cbt-ve-compact-card {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    background: rgba(18, 18, 24, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 1.2rem 1.4rem;
    backdrop-filter: blur(10px);
    transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

.cbt-ve-compact-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at top right, rgba(255, 196, 0, 0.12), transparent 70%);
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
}

.cbt-ve-compact-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 196, 0, 0.4);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.55), 0 0 25px rgba(255, 196, 0, 0.08);
}

.cbt-ve-compact-card:hover::before {
    opacity: 1;
}

.cbt-ve-compact-icon {
    width: 46px;
    height: 46px;
    min-width: 46px;
    background: rgba(255, 196, 0, 0.1);
    border: 1px solid rgba(255, 196, 0, 0.25);
    color: var(--gold);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    transition: transform 0.25s ease, background 0.25s ease;
}

.cbt-ve-compact-card:hover .cbt-ve-compact-icon {
    transform: scale(1.08);
    background: rgba(255, 196, 0, 0.18);
    border-color: var(--gold);
}

.cbt-ve-compact-body {
    flex: 1;
}

.cbt-ve-compact-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 0.4rem;
}

.cbt-ve-compact-title {
    font-size: 1.12rem;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.3;
}

.cbt-ve-chip {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    background: rgba(255, 196, 0, 0.12);
    border: 1px solid rgba(255, 196, 0, 0.3);
    color: var(--gold);
    padding: 2px 7px;
    border-radius: 6px;
    white-space: nowrap;
}

.cbt-ve-compact-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.45;
    margin-bottom: 0.7rem;
}

.cbt-ve-compact-action {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gold);
    transition: transform 0.2s ease, gap 0.2s ease;
}

.cbt-ve-compact-action .material-symbols-rounded {
    font-size: 1rem;
    transition: transform 0.2s ease;
}

.cbt-ve-compact-card:hover .cbt-ve-compact-action {
    color: #ffffff;
}

.cbt-ve-compact-card:hover .cbt-ve-compact-action .material-symbols-rounded {
    transform: translateX(4px);
    color: var(--gold);
}

/* ===================== INTERACTIVE SERVICE MODAL ===================== */
.cbt-ve-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.cbt-ve-modal-backdrop.is-open {
    opacity: 1;
    pointer-events: auto;
}

.cbt-ve-modal {
    background: #111117;
    border: 1.5px solid rgba(255, 196, 0, 0.35);
    border-radius: 20px;
    max-width: 580px;
    width: 100%;
    padding: 2.2rem;
    position: relative;
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.8), 0 0 40px rgba(255, 196, 0, 0.12);
    transform: scale(0.92);
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    max-height: 90vh;
    overflow-y: auto;
}

.cbt-ve-modal-backdrop.is-open .cbt-ve-modal {
    transform: scale(1);
}

.cbt-ve-modal-close {
    position: absolute;
    top: 18px;
    right: 20px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #e2e8f0;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.cbt-ve-modal-close:hover {
    background: rgba(255, 95, 86, 0.2);
    border-color: #ff5f56;
    color: #ff5f56;
}

.cbt-ve-modal-header {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 1.2rem;
    padding-right: 30px;
}

.cbt-ve-modal-icon-wrap {
    width: 52px;
    height: 52px;
    min-width: 52px;
    background: rgba(255, 196, 0, 0.12);
    border: 1.5px solid rgba(255, 196, 0, 0.35);
    border-radius: 14px;
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
}

.cbt-ve-modal-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #ffffff;
    margin-top: 0.3rem;
    line-height: 1.25;
}

.cbt-ve-modal-desc {
    color: #cbd5e1;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.cbt-ve-modal-block {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 12px;
    padding: 1.2rem;
    margin-bottom: 1.4rem;
}

.cbt-ve-block-title {
    font-size: 0.88rem;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cbt-ve-modal-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.cbt-ve-modal-list li {
    font-size: 0.88rem;
    color: #e2e8f0;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.45;
}

.cbt-ve-modal-list li i {
    color: #00e676;
    font-size: 0.82rem;
    margin-top: 3px;
}

.cbt-ve-modal-meta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.8rem;
}

.cbt-ve-meta-cell {
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.07);
    padding: 0.8rem 1rem;
    border-radius: 10px;
}

.cbt-ve-meta-label {
    display: block;
    font-size: 0.72rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
}

.cbt-ve-meta-value {
    font-size: 0.88rem;
    font-weight: 600;
    color: #ffffff;
}

.cbt-ve-modal-footer {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ===================== PORTFOLIO SECTION ===================== */
.cbt-ve-portfolio {
    padding: 5.5rem 0;
    position: relative;
}

.cbt-ve-portfolio-cats {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 3rem;
}

.cbt-ve-cat-pill {
    padding: 0.5rem 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    font-size: 0.86rem;
    cursor: pointer;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.04);
    color: #cbd5e1;
    font-family: inherit;
}

.cbt-ve-cat-pill:hover, .cbt-ve-cat-pill.active {
    background: var(--gold);
    color: #000;
    border-color: var(--gold);
    font-weight: 600;
    box-shadow: 0 4px 16px rgba(255, 196, 0, 0.3);
}

.cbt-ve-portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.cbt-ve-project-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.cbt-ve-project-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 196, 0, 0.35);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 196, 0, 0.08);
}

.cbt-ve-project-thumb {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #0d0d12;
}

.cbt-ve-project-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.cbt-ve-project-card:hover .cbt-ve-project-thumb img {
    transform: scale(1.06);
}

.cbt-ve-project-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(10, 10, 15, 0.88);
    border: 1px solid rgba(255, 196, 0, 0.4);
    color: var(--gold);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 4px 9px;
    border-radius: 6px;
    backdrop-filter: blur(8px);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    z-index: 5;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.cbt-ve-project-info {
    padding: 1.4rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.cbt-ve-project-category {
    font-size: 0.75rem;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    display: block;
    margin-bottom: 0.4rem;
}

.cbt-ve-project-title {
    font-size: 1.18rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.3;
}

.cbt-ve-project-desc {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.5;
    margin-bottom: 1.1rem;
    flex: 1;
}

.cbt-ve-project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 1.1rem;
}

.cbt-ve-project-tags span {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #94a3b8;
    font-size: 0.7rem;
    padding: 2px 7px;
    border-radius: 5px;
    font-weight: 500;
}

.cbt-ve-project-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.cbt-ve-project-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #00e676;
}

.cbt-ve-project-spec {
    font-size: 0.7rem;
    font-weight: 600;
    color: #94a3b8;
    background: rgba(255, 255, 255, 0.05);
    padding: 3px 8px;
    border-radius: 4px;
}

/* Client Notice & Support Booking Box */
.cbt-ve-inquiry-box {
    background: linear-gradient(135deg, rgba(20, 20, 28, 0.95), rgba(12, 12, 18, 0.95));
    border: 1.5px solid rgba(255, 196, 0, 0.35);
    border-radius: 18px;
    padding: 2rem 2.4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(255, 196, 0, 0.08);
}

.cbt-ve-inquiry-left {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex: 1;
}

.cbt-ve-inquiry-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    background: rgba(255, 196, 0, 0.12);
    border: 1.5px solid rgba(255, 196, 0, 0.35);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 2rem;
}

.cbt-ve-inquiry-text h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.4rem;
}

.cbt-ve-inquiry-text p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.55;
}

.cbt-ve-inquiry-actions {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    min-width: 210px;
}

/* ===================== ENTERPRISE MEDIA ENGINEERING PIPELINE ===================== */
.cbt-ve-guide {
    padding: 6rem 0;
    position: relative;
    background: transparent !important;
}

/* Enterprise Corporate Header */
.cbt-corp-header {
    text-align: center;
    max-width: 960px;
    margin: 0 auto 3.5rem;
}

.cbt-corp-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 196, 0, 0.08);
    border: 1.5px solid rgba(255, 196, 0, 0.35);
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 1.2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), 0 0 15px rgba(255, 196, 0, 0.1);
}

.cbt-corp-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 10px var(--gold);
    animation: statusBlink 1.5s infinite;
}

.cbt-corp-badge-txt {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 1px;
}

.cbt-corp-badge-ver {
    font-family: monospace;
    font-size: 0.7rem;
    color: #94a3b8;
    background: rgba(0, 0, 0, 0.4);
    padding: 2px 7px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.cbt-corp-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.18;
    letter-spacing: -0.5px;
    margin-bottom: 1rem;
}

.cbt-corp-desc {
    font-size: 1.02rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 2.2rem;
}

/* Live Industrial Telemetry Bar */
.cbt-corp-telemetry-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    background: rgba(15, 15, 22, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 1rem 1.4rem;
    backdrop-filter: blur(14px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.cbt-telem-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    padding-right: 0.8rem;
}

.cbt-telem-item:last-child {
    border-right: none;
    padding-right: 0;
}

.telem-k {
    font-size: 0.65rem;
    font-family: monospace;
    font-weight: 700;
    color: #94a3b8;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.telem-v {
    font-size: 0.82rem;
    font-weight: 600;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 6px;
}

.telem-v i {
    color: var(--gold);
    font-size: 0.8rem;
}

/* ===================== ARCHITECTURE PIPELINE NODE STAGE BUS ===================== */
.cbt-arch-nav-wrapper {
    margin-bottom: 2rem;
    position: relative;
}

.cbt-arch-nav-track {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
}

.cbt-arch-node {
    background: rgba(18, 18, 26, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 1rem;
    cursor: pointer;
    text-align: left;
    transition: all 0.28s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.cbt-arch-node::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 3px;
    background: transparent;
    transition: background 0.25s ease;
}

.cbt-arch-node:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 196, 0, 0.35);
    background: rgba(25, 25, 36, 0.9);
}

.cbt-arch-node.active {
    border-color: var(--gold);
    background: linear-gradient(145deg, rgba(30, 28, 20, 0.95), rgba(16, 16, 22, 0.95));
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 196, 0, 0.15);
}

.cbt-arch-node.active::before {
    background: linear-gradient(90deg, #ffc400, #ff9500);
}

.cbt-node-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.6rem;
}

.cbt-node-id {
    font-family: monospace;
    font-size: 0.68rem;
    font-weight: 700;
    color: #64748b;
    letter-spacing: 0.5px;
}

.cbt-arch-node.active .cbt-node-id {
    color: var(--gold);
}

.cbt-node-status {
    font-size: 0.62rem;
    font-weight: 700;
    color: #00e676;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.cbt-status-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #00e676;
    box-shadow: 0 0 6px #00e676;
}

.cbt-node-body {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cbt-node-icon {
    font-size: 1.4rem;
    color: #94a3b8;
    transition: color 0.25s ease, transform 0.25s ease;
}

.cbt-arch-node:hover .cbt-node-icon,
.cbt-arch-node.active .cbt-node-icon {
    color: var(--gold);
    transform: scale(1.1);
}

.cbt-node-info {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.cbt-node-title {
    font-size: 0.88rem;
    font-weight: 700;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cbt-node-sub {
    font-size: 0.7rem;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ===================== ACTIVE CONSOLE DECK ===================== */
.cbt-console-deck {
    background: linear-gradient(160deg, rgba(16, 16, 24, 0.95), rgba(9, 9, 14, 0.98));
    border: 1.5px solid rgba(255, 196, 0, 0.3);
    border-radius: 20px;
    padding: 2.2rem;
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.75), 0 0 40px rgba(255, 196, 0, 0.08);
    backdrop-filter: blur(18px);
    position: relative;
    overflow: hidden;
}

.cbt-console-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1.2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 2rem;
}

.cbt-console-top-left {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: monospace;
    font-size: 0.82rem;
    font-weight: 700;
    color: #cbd5e1;
    letter-spacing: 0.5px;
}

.cbt-console-hud-icon {
    color: var(--gold);
    font-size: 1.15rem;
}

.cbt-console-top-right {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.cbt-console-counter {
    font-family: monospace;
    font-size: 0.82rem;
    color: #94a3b8;
    background: rgba(0, 0, 0, 0.45);
    padding: 4px 10px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.cbt-console-counter span {
    color: var(--gold);
    font-weight: 700;
}

.cbt-console-nav-btns {
    display: flex;
    gap: 6px;
}

.cbt-console-btn {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.cbt-console-btn:hover {
    background: rgba(255, 196, 0, 0.2);
    border-color: var(--gold);
    color: var(--gold);
}

/* Stage Pane */
.cbt-stage-pane {
    display: none;
    animation: paneFadeIn 0.35s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

.cbt-stage-pane.active {
    display: block;
}

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

.cbt-pane-grid {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 3rem;
    align-items: start;
}

.cbt-pane-content {
    display: flex;
    flex-direction: column;
}

.cbt-pane-badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 0.9rem;
}

.cbt-pill-gold {
    font-family: monospace;
    font-size: 0.72rem;
    font-weight: 700;
    color: #000000;
    background: var(--gold);
    padding: 3px 8px;
    border-radius: 5px;
    letter-spacing: 0.5px;
}

.cbt-pill-meta {
    font-size: 0.72rem;
    color: #94a3b8;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 3px 8px;
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.cbt-pane-title {
    font-size: 1.85rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.25;
    margin-bottom: 1rem;
}

.cbt-pane-intro {
    font-size: 0.96rem;
    color: #cbd5e1;
    line-height: 1.65;
    margin-bottom: 1.5rem;
}

.cbt-pane-directives {
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 12px;
    padding: 1.2rem;
    margin-bottom: 1.4rem;
}

.cbt-pane-directives h4 {
    font-size: 0.82rem;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 7px;
}

.cbt-directive-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.cbt-directive-list li {
    font-size: 0.88rem;
    color: #e2e8f0;
    line-height: 1.5;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.cbt-directive-list li i {
    color: #00e676;
    font-size: 0.82rem;
    margin-top: 3px;
}

/* Founder Directive Box */
.cbt-founder-directive {
    background: linear-gradient(135deg, rgba(255, 196, 0, 0.1), rgba(15, 15, 22, 0.8));
    border-left: 3px solid var(--gold);
    border-radius: 0 12px 12px 0;
    padding: 1rem 1.3rem;
    margin-top: auto;
}

.cbt-founder-tag {
    font-family: monospace;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 0.8px;
    margin-bottom: 0.4rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.cbt-founder-directive p {
    font-size: 0.88rem;
    font-style: italic;
    color: #fef3c7;
    line-height: 1.55;
}

/* ===================== 3D/2D VISUAL SIMULATOR CONSOLE ===================== */
.cbt-pane-visual {
    width: 100%;
}

.cbt-visual-shell {
    background: #09090e;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.cbt-shell-header {
    background: #111118;
    padding: 0.7rem 1rem;
    display: flex;
    align-items: center;
    gap: 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    font-size: 0.75rem;
}

.cbt-shell-title {
    font-family: monospace;
    font-weight: 700;
    color: #cbd5e1;
    margin-left: 6px;
    letter-spacing: 0.5px;
}

.cbt-shell-stat {
    margin-left: auto;
    font-family: monospace;
    font-size: 0.7rem;
    font-weight: 700;
    color: #00e676;
    background: rgba(0, 230, 118, 0.1);
    border: 1px solid rgba(0, 230, 118, 0.25);
    padding: 2px 7px;
    border-radius: 4px;
}

/* Stage 1: Storage Matrix */
.cbt-storage-matrix {
    padding: 1.4rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.cbt-drive-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    padding: 0.9rem;
}

.cbt-drive-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 196, 0, 0.12);
    border: 1px solid rgba(255, 196, 0, 0.3);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
}

.cbt-drive-info {
    flex: 1;
}

.cbt-drive-name {
    font-size: 0.78rem;
    font-weight: 700;
    color: #ffffff;
    display: block;
    margin-bottom: 0.3rem;
}

.cbt-drive-meter {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 0.3rem;
}

.cbt-meter-fill {
    height: 100%;
    background: linear-gradient(90deg, #ffc400, #00e676);
}

.cbt-drive-stats {
    font-family: monospace;
    font-size: 0.68rem;
    color: #94a3b8;
}

.cbt-terminal-tree {
    background: #040407;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    padding: 1rem;
    font-family: 'Consolas', monospace;
    font-size: 0.78rem;
    line-height: 1.6;
}

.tree-p { color: #f59e0b; font-weight: bold; }
.tree-sub { padding-left: 12px; }
.tree-f { color: #e2e8f0; }
.tree-tag { font-size: 0.7rem; color: #64748b; margin-left: 6px; }
.tree-tag.tag-ok { color: #00e676; }
.tree-tag.tag-gold { color: var(--gold); font-weight: bold; }

.cbt-proxy-stream {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    padding: 0.9rem;
}

.stream-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.72rem;
    font-weight: 700;
    color: #cbd5e1;
    margin-bottom: 0.4rem;
}

.stream-pct { color: #00e676; }

.stream-bar {
    height: 5px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 0.4rem;
}

.stream-progress {
    height: 100%;
    background: #00e676;
}

.stream-meta {
    font-size: 0.68rem;
    color: #94a3b8;
    font-family: monospace;
}

/* Stage 2: 4K Viewport & Eased Zoom Grid */
.cbt-viewport-frame {
    position: relative;
    padding: 1.4rem;
    background: radial-gradient(circle at center, #13131c 0%, #060609 85%);
    overflow: hidden;
}

.cbt-zoom-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255, 196, 0, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 196, 0, 0.04) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
}

.cbt-code-viewport {
    background: #0a0a10;
    border: 1.5px solid rgba(255, 196, 0, 0.35);
    border-radius: 10px;
    padding: 1.2rem;
    font-family: 'Consolas', 'Fira Code', monospace;
    font-size: 0.85rem;
    line-height: 1.7;
    margin-bottom: 1.2rem;
    position: relative;
    z-index: 2;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.8);
}

.code-n { color: #475569; margin-right: 12px; }
.code-kw { color: #c084fc; font-weight: bold; }
.code-fn { color: #60a5fa; }
.code-str { color: #4ade80; }
.code-num { color: #f59e0b; }

.cbt-code-active {
    background: rgba(255, 196, 0, 0.12);
    border-left: 3px solid var(--gold);
    padding-left: 6px;
    margin: 4px -6px;
    border-radius: 4px;
}

.code-target-badge {
    background: var(--gold);
    color: #000;
    font-size: 0.62rem;
    font-weight: bold;
    padding: 1px 5px;
    border-radius: 3px;
    margin-right: 6px;
}

.cbt-obs-hud {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.7rem;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 0.8rem 1rem;
    position: relative;
    z-index: 2;
}

.hud-item {
    font-family: monospace;
    font-size: 0.72rem;
}

.hud-k { color: #94a3b8; }
.hud-v { color: #ffffff; font-weight: bold; margin-left: 4px; }
.hud-v.green { color: #00e676; }

/* Stage 3: Timeline Comparator */
.cbt-timeline-comparator {
    padding: 1.4rem;
    display: flex;
    flex-direction: column;
    gap: 1.3rem;
}

.cmp-track-wrap {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.cmp-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.cmp-label.bad { color: #ff5f56; }
.cmp-label.good { color: #00e676; }

.cmp-track {
    height: 42px;
    background: #040407;
    border-radius: 8px;
    padding: 4px;
    display: flex;
    gap: 4px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.cmp-block {
    height: 100%;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.68rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    padding: 0 6px;
}

.b-talk { background: #1e293b; color: #94a3b8; }
.b-dead { background: rgba(239, 68, 68, 0.25); border: 1px dashed #ef4444; color: #fca5a5; }

.g-talk { background: #1d4ed8; color: #eff6ff; }
.g-zoom { background: #7e22ce; color: #f3e8ff; }
.g-ramp { background: #b45309; color: #fef3c7; }
.g-vfx { background: #047857; color: #ecfdf5; }

.cmp-metrics-bar {
    display: flex;
    justify-content: space-around;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 0.9rem;
}

.cmp-metric {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.m-val { font-size: 1.15rem; font-weight: 800; color: var(--gold); }
.m-lbl { font-size: 0.68rem; color: #94a3b8; margin-top: 2px; }

/* Stage 4: DSP Spectrum Analyzer */
.cbt-dsp-analyzer {
    padding: 1.4rem;
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
}

.cbt-eq-canvas {
    height: 120px;
    background: #040407;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.cbt-eq-svg {
    width: 100%;
    height: 100%;
}

.eq-band-marker {
    position: absolute;
    top: 10px;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 196, 0, 0.4);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: monospace;
    font-size: 0.62rem;
    color: var(--gold);
    z-index: 2;
}

.cbt-dsp-meters {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.8rem;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 0.9rem;
}

.meter-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.m-title { font-size: 0.62rem; font-weight: 700; color: #94a3b8; letter-spacing: 0.5px; }

.m-vbar {
    width: 14px;
    height: 60px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
}

.m-vfill {
    width: 100%;
    background: var(--gold);
    border-radius: 4px;
}

.m-vfill.green { background: #00e676; }

.m-num { font-family: monospace; font-size: 0.68rem; color: #ffffff; font-weight: bold; }

/* Stage 5: 2D Architecture Schematic */
.cbt-schematic-canvas {
    padding: 1.4rem;
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
}

.cbt-arch-flow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #040407;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 1.2rem 1rem;
}

.cbt-arch-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 0.72rem;
    font-weight: 600;
    color: #ffffff;
}

.cbt-arch-box span:first-child { font-size: 1.3rem; color: var(--gold); }

.cbt-arch-pulse-line {
    flex: 1;
    height: 2px;
    background: rgba(255, 196, 0, 0.2);
    position: relative;
    margin: 0 8px;
}

.cbt-packet-dot {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold);
    top: -2px;
    box-shadow: 0 0 8px var(--gold);
    animation: packetMove 2s infinite linear;
}

@keyframes packetMove {
    0% { left: 0%; opacity: 0; }
    50% { opacity: 1; }
    100% { left: 100%; opacity: 0; }
}

.cbt-arch-stack {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cbt-syntax-spotlight {
    background: #040407;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    padding: 1rem;
}

.spotlight-title {
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.spotlight-snippet {
    font-family: monospace;
    font-size: 0.78rem;
    line-height: 1.6;
}

.spotlight-snippet .dimmed { color: rgba(255, 255, 255, 0.25); }
.spotlight-snippet .highlighted {
    color: #4ade80;
    background: rgba(74, 222, 128, 0.15);
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: bold;
}

/* Stage 6: Codec Matrix */
.cbt-codec-matrix {
    padding: 1.4rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.codec-row {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 10px;
    padding: 0.9rem 1.1rem;
}

.c-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.4rem;
}

.c-tag {
    font-size: 0.68rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
}

.c-tag.bad { background: rgba(239, 68, 68, 0.2); color: #f87171; border: 1px solid #ef4444; }
.c-tag.good { background: rgba(0, 230, 118, 0.15); color: #4ade80; border: 1px solid #00e676; }

.c-codec { font-family: monospace; font-size: 0.78rem; font-weight: bold; color: #ffffff; }

.c-meter {
    height: 6px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 0.4rem;
}

.c-bar.bad { height: 100%; background: #ef4444; }
.c-bar.good { height: 100%; background: linear-gradient(90deg, #ffc400, #00e676); }

.c-meta { font-size: 0.72rem; color: #94a3b8; }

.cbt-color-scope {
    background: #040407;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    padding: 0.9rem;
}

.scope-title {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 0.6rem;
}

.scope-swatch-row {
    display: flex;
    gap: 1rem;
}

.swatch-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.7rem;
    color: #cbd5e1;
}

.swatch-box {
    width: 14px;
    height: 14px;
    border-radius: 3px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* ===================== NAVBAR BACK LINK ===================== */
.cbt-ve-back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #cbd5e1;
    padding: 7px 14px;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.cbt-ve-back-link span {
    font-size: 1rem;
}

.cbt-ve-back-link:hover {
    background: rgba(255, 196, 0, 0.15);
    border-color: var(--gold);
    color: var(--gold);
    transform: translateX(-2px);
}

/* ===================== RESPONSIVE BREAKPOINTS ===================== */
@media (max-width: 1100px) {
    .cbt-arch-nav-track {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .cbt-ve-hero-container {
        flex-direction: column;
        text-align: center;
        padding-top: 3rem;
        gap: 2.5rem;
    }
    
    .cbt-ve-hero-left {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .cbt-ve-title {
        font-size: 2.7rem;
    }

    .cbt-ve-hero-right {
        max-width: 580px;
    }

    .cbt-ve-compact-grid {
        grid-template-columns: 1fr;
    }

    .cbt-corp-title {
        font-size: 2.3rem;
    }

    .cbt-corp-telemetry-bar {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .cbt-telem-item:nth-child(2) {
        border-right: none;
    }

    .cbt-pane-grid {
        grid-template-columns: 1fr;
        gap: 2.2rem;
    }

    .cbt-ve-inquiry-box {
        flex-direction: column;
        text-align: center;
        padding: 1.8rem;
    }

    .cbt-ve-inquiry-left {
        flex-direction: column;
    }

    .cbt-ve-inquiry-actions {
        width: 100%;
    }

    .cbt-ve-stats-bar {
        flex-wrap: wrap;
        gap: 1.5rem;
        justify-content: center;
        border: none;
        background: transparent;
    }
    
    .cbt-ve-stat-divider {
        display: none;
    }
    
    .cbt-ve-stat-item {
        width: 42%;
    }
}

@media (max-width: 768px) {
    .cbt-ve-title {
        font-size: 2.1rem;
    }

    .cbt-ve-hero-right {
        max-width: 100%;
    }

    .cbt-corp-title {
        font-size: 1.8rem;
    }

    .cbt-corp-telemetry-bar {
        grid-template-columns: 1fr;
    }

    .cbt-telem-item {
        border-right: none;
    }

    .cbt-arch-nav-track {
        grid-template-columns: 1fr;
    }

    .cbt-console-deck {
        padding: 1.4rem;
    }

    .cbt-pane-title {
        font-size: 1.45rem;
    }

    .cbt-ve-studio-suite {
        padding: 0.8rem;
    }

    .cbt-ve-suite-header {
        font-size: 0.72rem;
    }

    .cbt-ve-portfolio-grid {
        grid-template-columns: 1fr;
    }

    .cbt-ve-modal {
        padding: 1.5rem;
    }

    .cbt-ve-modal-meta-grid {
        grid-template-columns: 1fr;
        gap: 0.6rem;
    }

    .cbt-ve-inquiry-box {
        flex-direction: column;
        text-align: center;
        padding: 1.8rem;
    }

    .cbt-ve-inquiry-left {
        flex-direction: column;
    }

    .cbt-ve-inquiry-actions {
        width: 100%;
    }

    .cbt-ve-stats-bar {
        flex-wrap: wrap;
        gap: 1.5rem;
        justify-content: center;
        border: none;
        background: transparent;
    }
    
    .cbt-ve-stat-divider {
        display: none;
    }
    
    .cbt-ve-stat-item {
        width: 42%;
    }
}

@media (max-width: 768px) {
    .cbt-ve-title {
        font-size: 2.1rem;
    }

    .cbt-ve-hero-right {
        max-width: 100%;
    }

    .cbt-ve-studio-suite {
        padding: 0.8rem;
    }

    .cbt-ve-suite-header {
        font-size: 0.72rem;
    }

    .cbt-ve-ruler {
        padding-left: 55px;
        font-size: 0.58rem;
    }

    .cbt-ve-track-label {
        min-width: 65px;
        font-size: 0.6rem;
    }

    .cbt-clip {
        font-size: 0.56rem;
        padding: 0 3px;
    }

    .cbt-ve-portfolio-grid {
        grid-template-columns: 1fr;
    }

    .cbt-ve-modal {
        padding: 1.5rem;
    }

    .cbt-ve-modal-meta-grid {
        grid-template-columns: 1fr;
        gap: 0.6rem;
    }
}

/* Portfolio Filter Animation */
.cbt-ve-project-card.hide-card {
    display: none !important;
}

.cbt-ve-project-card.show-card {
    display: flex !important;
    animation: scaleFadeIn 0.35s ease forwards;
}

@keyframes scaleFadeIn {
    0% {
        opacity: 0;
        transform: scale(0.96);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}
