:root {
    --concept-accent: #0080FE;
    --background-blur: 0px;
    --background-dim: 0;
}

.concept-blur-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, var(--background-dim));
    backdrop-filter: blur(var(--background-blur));
    -webkit-backdrop-filter: blur(var(--background-blur));
    pointer-events: none;
    z-index: 5;
    transition: backdrop-filter 0.6s ease, -webkit-backdrop-filter 0.6s ease, background 0.6s ease;
}

.concept-overlay {
    width: 100%;
    height: 100vh;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    color: #ffffff;
    opacity: 0;
    transition: opacity 0.85s ease;
    position: sticky;
    z-index: 10;
    overflow: visible;
    padding: 0 0;
    background: transparent;
    top: 0;
    left: 0;
    right: 0;
    transform: translateY(70px);
    bottom: 0;
    box-sizing: border-box;
}

/* Top-level concept menu bar (the red-box region) */
.concept-top-stack {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: clamp(24px, 3.5vw, 38px);
    justify-content: center;
    align-items: center;
    padding: 8px 20px;
    width: min(1100px, calc(100% - 80px));
    pointer-events: auto;
    z-index: 22;
    background: rgba(0,0,0,0.08);
    border-radius: 999px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: none;
}

.concept-top-option {
    appearance: none;
    border: none;
    background: transparent;
    color: rgba(230, 255, 245, 0.9);
    padding: 6px 12px;
    border-radius: 999px;
    cursor: pointer;
    font-size: clamp(0.42rem, 0.9vw, 0.6rem);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    transition: color 0.24s ease;
}

.concept-top-option:hover,
.concept-top-option:focus,
.concept-top-option.active {
    color: #5CB3FF;
}

.concept-console,
.concept-stack {
    position: relative;
    pointer-events: auto;
    z-index: 11;
}

.concept-console {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2px;
    padding: clamp(24px, 3.5vw, 36px);
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    border-radius: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    text-align: center;
    flex-grow: 1;
    flex-wrap: wrap;
    box-sizing: border-box;
    left: auto;
    right: auto;
}

.concept-stack {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: clamp(16px, 2.5vw, 28px);
    width: 100%;
    max-width: 100%;
    padding: clamp(40px, 8vw, 80px) clamp(20px, 4vw, 60px) clamp(40px, 6vw, 60px) clamp(20px, 4vw, 60px);
}

body.theme-black .concept-overlay {
    opacity: 0;
    pointer-events: none;
}

.console-heading {
    font-size: clamp(0.42rem, 1vw, 0.56rem);
    letter-spacing: 0.21em;
    text-transform: uppercase;
    color: rgba(210, 255, 235, 0.56);
    display: none;
}

.console-status {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(12px, 2vw, 24px);
    font-size: clamp(0.42rem, 0.9vw, 0.52rem);
    letter-spacing: 0.13em;
    color: rgba(220, 255, 244, 0.65);
    width: 100%;
    margin: 0 0 8px 0;
}

.console-badge {
    display: none;
    align-items: center;
    gap: 0.26em;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    border: 1px solid rgba(120, 200, 255, 0.4);
    background: rgba(0, 0, 0, 0.3);
    color: var(--concept-accent);
    text-transform: uppercase;
    font-size: clamp(0.6rem, 1.4vw, 0.85rem);
}

.console-index {
    display: none;
    font-variant-numeric: tabular-nums;
    font-size: clamp(0.75rem, 1.6vw, 1rem);
    color: rgba(200, 255, 235, 0.45);
}

.console-title {
    font-size: clamp(2.2rem, 4.5vw, 3.2rem);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #f4fff8;
    font-family: "BBH Bartle", sans-serif;
    font-weight: 400;
    font-style: normal;
    margin: 6px 0 8px 0;
    width: 100%;
    box-sizing: border-box;
}

.console-subtitle {
    font-size: clamp(0.85rem, 2vw, 1.3rem);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(200, 255, 240, 0.65);
    margin: 8px 0 10px 0;
    width: 100%;
    box-sizing: border-box;
}

.console-learn {
    display: grid;
    gap: 8px;
    width: 100%;
    margin: 10px 0 0 0;
}

.console-body {
    font-size: clamp(0.9rem, 1.8vw, 1.2rem);
    line-height: 1.8;
    color: rgba(220, 255, 244, 0.82);
    margin: 8px 0 0 0;
    width: 100%;
    box-sizing: border-box;
}

.concept-learn-more {
    justify-self: flex-start;
    padding: 0.5rem 1.6rem;
    border-radius: 999px;
    border: 1px solid rgba(120, 220, 255, 0.32);
    background: rgba(0, 0, 0, 0.24);
    color: rgba(240, 255, 255, 0.92);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-size: clamp(0.5rem, 1.1vw, 0.65rem);
    cursor: pointer;
    transition: border 0.3s ease, background 0.3s ease, color 0.3s ease, transform 0.3s ease;
    display: none;
}

.concept-learn-more:hover,
.concept-learn-more:focus-visible {
    outline: none;
    border-color: rgba(180, 255, 240, 0.62);
    background: rgba(0, 0, 0, 0.38);
    color: #ffffff;
    transform: translateY(-1px);
}

.console-progress {
    display: grid;
    gap: 0.24rem;
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 900px;
}

.console-progress-label {
    font-size: 0.4rem;
    letter-spacing: 0.19em;
    color: rgba(200, 255, 235, 0.42);
}

.console-progress-bar {
    position: relative;
    height: 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.console-progress-fill {
    position: absolute;
    inset: 0;
    width: 0;
    background: linear-gradient(90deg, rgba(74, 184, 255, 0.12), var(--concept-accent));
    box-shadow: 0 0 18px rgba(74, 184, 255, 0.45);
    transition: width 0.45s ease;
}

.concept-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: clamp(6px, 1vw, 10px);
    padding: clamp(12px, 2vw, 18px) clamp(16px, 2.5vw, 28px);
    border-radius: 0;
    border: none;
    background: transparent;
    color: rgba(225, 238, 255, 0.74);
    text-align: center;
    letter-spacing: 0.06em;
    cursor: pointer;
    transition: transform 0.35s ease, color 0.35s ease;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    min-height: auto;
    width: auto;
    flex-shrink: 0;
}

.concept-card:hover,
.concept-card:focus-visible {
    outline: none;
    border-color: transparent;
    background: transparent;
    color: #f8fff9;
    transform: translateY(-2px);
}

.concept-card.active {
    border-color: transparent;
    background: transparent;
    color: #ffffff;
    box-shadow: none;
}

.concept-card.active .card-index {
    color: var(--concept-accent);
}

.concept-card.active .card-subtitle {
    color: rgba(255, 255, 255, 0.82);
}

.concept-card:hover .card-icon,
.concept-card:focus-visible .card-icon,
.concept-card.active .card-icon {
    color: var(--concept-accent);
}

.card-index {
    font-size: clamp(0.42rem, 0.8vw, 0.54rem);
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.18em;
    color: rgba(180, 255, 230, 0.48);
}

.card-main {
    display: flex;
    flex-direction: column;
    gap: clamp(2px, 0.4vw, 4px);
}

.card-title {
    font-size: clamp(0.48rem, 0.9vw, 0.62rem);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-family: "BBH Bartle", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.card-subtitle {
    font-size: clamp(0.36rem, 0.75vw, 0.48rem);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(190, 255, 230, 0.62);
    display: none;
}

.card-icon {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(220, 255, 240, 0.5);
    transition: color 0.35s ease;
    display: none;
}

.concept-overlay.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.concept-detail-stage {
    grid-column: 1 / -1;
    display: none;
    width: 100%;
}

.concept-detail-stage.is-ready {
    display: flex;
    flex-direction: column;
    gap: clamp(28px, 6vw, 48px);
    align-items: center;
    margin-top: clamp(32px, 8vw, 80px);
    opacity: 0;
    transform: translateY(90px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.concept-detail-stage.is-ready.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.detail-feed {
    display: grid;
    gap: clamp(28px, 5vw, 40px);
    width: 100%;
    justify-items: center;
    padding: 0 clamp(18px, 4vw, 52px);
}

.detail-card {
    position: relative;
    display: flex;
    flex-direction: column;
    width: min(1200px, 92%);
    border-radius: 32px;
    background: rgba(0, 8, 20, 0.95);
    border: 1px solid rgba(0, 128, 254, 0.35);
    box-shadow: 0 44px 120px rgba(0, 20, 50, 0.6), inset 0 0 60px rgba(0, 128, 254, 0.1);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    overflow: hidden;
    margin: 0 auto;
}

.detail-stack {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: clamp(16px, 2.5vw, 28px);
    width: 100%;
    padding: clamp(32px, 5vw, 48px) clamp(32px, 5vw, 56px) clamp(16px, 3vw, 28px) clamp(32px, 5vw, 56px);
    border-bottom: 1px solid rgba(120, 220, 255, 0.12);
}

.detail-stack-option {
    display: inline-flex;
    align-items: center;
    gap: 0.26em;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    border: 1px solid rgba(120, 200, 255, 0.4);
    background: rgba(0, 0, 0, 0.3);
    color: var(--concept-accent);
    text-transform: uppercase;
    font-size: clamp(0.38rem, 0.85vw, 0.48rem);
    letter-spacing: 0.13em;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.detail-stack-option:hover {
    background: rgba(0, 128, 254, 0.15);
    border-color: rgba(120, 200, 255, 0.7);
    color: #f4fff8;
    transform: scale(1.05);
}

.detail-stack-option.active {
    background: rgba(0, 128, 254, 0.25);
    border-color: rgba(0, 128, 254, 0.8);
    color: #f4fff8;
}

.detail-card-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(32px, 6vw, 56px);
    padding: clamp(32px, 5vw, 56px);
}

.detail-card.is-animating {
    animation: detailStagePop 0.6s ease;
}

.detail-card:focus-visible {
    outline: 2px solid var(--detail-card-accent, rgba(120, 220, 255, 0.7));
    outline-offset: 8px;
}

.detail-visual {
    --detail-visual-background: linear-gradient(135deg, rgba(2, 10, 20, 0.95) 0%, rgba(5, 30, 70, 0.9) 60%, rgba(0, 100, 200, 0.8) 100%);
    position: relative;
    border-radius: 24px;
    background: var(--detail-visual-background);
    min-height: clamp(280px, 32vw, 380px);
    overflow: hidden;
    box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.32);
}

.detail-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 20% 25%, rgba(255, 255, 255, 0.22), transparent 55%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.18), transparent 60%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent 60%);
    mix-blend-mode: screen;
    opacity: 0.7;
}

.detail-content {
    display: flex;
    flex-direction: column;
    gap: clamp(12px, 2.4vw, 20px);
    color: rgba(255, 255, 255, 1);
}

.detail-label {
    font-size: clamp(0.48rem, 1.2vw, 0.62rem);
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(100, 200, 255, 1);
}

.detail-title {
    font-size: clamp(1.2rem, 3vw, 1.9rem);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #ffffff;
}

.detail-body {
    font-size: clamp(0.78rem, 1.6vw, 0.96rem);
    line-height: 1.9;
    color: rgba(230, 245, 255, 0.98);
}

.detail-demos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: clamp(14px, 2.2vw, 26px);
    margin: clamp(12px, 2vw, 28px) 0 clamp(16px, 2.6vw, 34px);
}

.demo-card {
    position: relative;
    display: grid;
    gap: clamp(10px, 1.9vw, 16px);
    padding: clamp(16px, 2.6vw, 28px);
    border-radius: 22px;
    background: rgba(0, 0, 0, 0.28);
    border: 1px solid rgba(120, 220, 255, 0.22);
    box-shadow: 0 18px 46px rgba(5, 18, 14, 0.38);
    color: rgba(225, 255, 245, 0.9);
    overflow: hidden;
    transition: border 0.3s ease, transform 0.3s ease, background 0.3s ease;
}

.demo-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0));
    opacity: 0.65;
    pointer-events: none;
}

.demo-card::after {
    content: "";
    position: absolute;
    top: clamp(10px, 1.8vw, 18px);
    right: clamp(12px, 2vw, 22px);
    width: clamp(18px, 3vw, 28px);
    height: clamp(18px, 3vw, 28px);
    border-radius: 12px;
    background: var(--detail-card-accent, var(--concept-accent));
    filter: blur(12px);
    opacity: 0.45;
    pointer-events: none;
}

.demo-card:hover,
.demo-card:focus-within {
    border-color: rgba(180, 255, 240, 0.5);
    background: rgba(0, 0, 0, 0.36);
    transform: translateY(-3px);
}

.demo-card-title {
    font-size: clamp(0.68rem, 1.8vw, 0.96rem);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #ffffff;
    z-index: 1;
}

.demo-card-body {
    font-size: clamp(0.58rem, 1.5vw, 0.82rem);
    line-height: 1.7;
    color: rgba(212, 255, 238, 0.82);
    z-index: 1;
}

.detail-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    padding: 0.6rem 1.8rem;
    border-radius: 999px;
    border: 1px solid rgba(120, 220, 255, 0.32);
    background: rgba(0, 0, 0, 0.28);
    color: rgba(240, 255, 255, 0.92);
    letter-spacing: 0.22em;
    text-transform: uppercase;
    font-size: clamp(0.54rem, 1.3vw, 0.68rem);
    text-decoration: none;
    transition: border 0.3s ease, background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.detail-cta:hover,
.detail-cta:focus-visible {
    outline: none;
    border-color: rgba(180, 255, 240, 0.62);
    background: rgba(0, 0, 0, 0.4);
    color: #ffffff;
    transform: translateY(-2px);
}

.detail-cta[hidden] {
    display: none;
}

@keyframes detailStagePop {
    0% {
        opacity: 0.4;
        transform: translateY(24px) scale(0.97);
    }
    60% {
        opacity: 1;
        transform: translateY(-4px) scale(1.01);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 1024px) {
    .concept-overlay {
        grid-template-columns: 1fr;
        column-gap: 0;
        row-gap: clamp(28px, 9vw, 56px);
        padding: clamp(32px, 10vw, 72px) clamp(20px, 8vw, 48px);
    }

    .concept-console {
        border-radius: 28px;
        margin-left: 0;
    }

    .console-title {
        white-space: normal;
    }

    .concept-stack {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }

    .concept-detail-stage.is-ready {
        transform: translateY(60px);
    }

    .concept-detail-stage.is-ready.is-visible {
        transform: translateY(0);
    }

    .detail-card {
        grid-template-columns: 1fr;
        gap: clamp(20px, 8vw, 36px);
    }

    .detail-visual {
        min-height: clamp(200px, 45vw, 280px);
    }

    .detail-demos {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 768px) {
    .console-status {
        margin: 0 0 6px 0;
    }

    .console-title {
        margin: 4px 0 6px 0;
        white-space: normal;
    }

    .console-subtitle {
        margin: 6px 0 8px 0;
    }

    .console-learn {
        gap: 6px;
        margin: 8px 0 0 0;
    }

    .console-body {
        margin: 6px 0 0 0;
    }
}

@media (max-width: 640px) {
    .detail-card {
        padding: clamp(20px, 12vw, 36px);
        border-radius: 24px;
    }

    .detail-content {
        gap: clamp(10px, 4vw, 18px);
    }

    .console-status {
        margin: 0 0 4px 0;
        gap: clamp(8px, 1.5vw, 16px);
    }

    .console-title {
        margin: 3px 0 4px 0;
        white-space: normal;
    }

    .console-subtitle {
        margin: 4px 0 6px 0;
    }

    .console-learn {
        gap: 4px;
        margin: 6px 0 0 0;
    }

    .console-body {
        margin: 4px 0 0 0;
        font-size: clamp(0.85rem, 1.6vw, 1.1rem);
    }

    .detail-cta {
        width: 100%;
        justify-content: center;
    }

    .concept-learn-more {
        width: 100%;
        justify-content: center;
    }

    .detail-demos {
        grid-template-columns: 1fr;
    }

    .detail-cta {
        width: 100%;
        justify-content: center;
    }

    .concept-learn-more {
        width: 100%;
        justify-content: center;
    }

    .detail-demos {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .console-status {
        margin: 0 0 2px 0;
        gap: clamp(6px, 1vw, 12px);
        font-size: clamp(0.38rem, 0.8vw, 0.48rem);
    }

    .console-badge {
        font-size: clamp(0.5rem, 1.2vw, 0.75rem);
        padding: 0.15rem 0.5rem;
    }

    .console-index {
        font-size: clamp(0.65rem, 1.4vw, 0.9rem);
    }

    .console-title {
        margin: 2px 0 3px 0;
        white-space: normal;
        font-size: clamp(1.8rem, 4vw, 2.5rem);
    }

    .console-subtitle {
        margin: 3px 0 4px 0;
        font-size: clamp(0.75rem, 1.8vw, 1.1rem);
    }

    .console-learn {
        gap: 3px;
        margin: 4px 0 0 0;
    }

    .console-body {
        margin: 3px 0 0 0;
        font-size: clamp(0.8rem, 1.4vw, 1rem);
    }
}

/* ===== SCHEDULE DAY TABS - MODEL 5: Dots with Glow Ring ===== */
.schedule-tabs {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    justify-content: center;
}

.schedule-tab-btn {
    appearance: none;
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    font-size: 0;
    transition: all 0.3s ease;
    position: relative;
}

.schedule-tab-btn::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(92, 179, 255, 0.3);
    transition: all 0.3s ease;
}

.schedule-tab-btn:hover::before {
    background: rgba(92, 179, 255, 0.5);
}

.schedule-tab-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 2px solid rgba(92, 179, 255, 0);
    transition: all 0.3s ease;
}

.schedule-tab-btn:hover::after {
    border-color: rgba(92, 179, 255, 0.3);
    width: 20px;
    height: 20px;
}

.schedule-tab-btn.active::before {
    width: 24px;
    background: #5CB3FF;
    border-radius: 4px;
}

.schedule-tab-btn.active::after {
    border-color: #5CB3FF;
    width: 28px;
    height: 28px;
    animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
    0%, 100% { border-color: #5CB3FF; opacity: 1; }
    50% { opacity: 0.6; }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.schedule-label {
    text-align: center;
    font-size: 0.85rem;
    color: rgba(200, 255, 235, 0.5);
    margin-top: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.schedule-content {
    display: none;
}

.schedule-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.schedule-activity {
    padding: 12px 0;
    border-left: 2px solid rgba(92, 179, 255, 0.4);
    padding-left: 16px;
    margin-bottom: 12px;
}

.schedule-activity-title {
    font-weight: 600;
    color: #f4fff8;
    margin-bottom: 4px;
    font-size: clamp(0.75rem, 1.2vw, 0.95rem);
}

.schedule-activity-time {
    font-size: 0.85rem;
    color: rgba(200, 255, 235, 0.6);
}
