/* ── style.css ── */
/* Combined global styles for Engimy platform */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --ink: #050505;
    --steel: #444c47;
    --blue: #2362c5;
    --sky: #5cceea;
    --snow: #f7f8f7;
    --border: rgba(92, 206, 234, 0.1);
    --grid-line: rgba(92, 206, 234, 0.07);
    --green: #28c840;
    --yellow: #ffd93d;
    --red: #ff5f57;
    --code-bg: #080810;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Space Grotesk', sans-serif;
    background: var(--ink);
    color: var(--snow);
    overflow-x: hidden;
    cursor: none;
}

/* ── Cursor ── */
.cursor {
    position: fixed;
    width: 8px;
    height: 8px;
    background: var(--sky);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99999;
    mix-blend-mode: difference;
}

.cursor-ring {
    position: fixed;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(92, 206, 234, 0.4);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99998;
    transition: width 0.2s, height 0.2s, border-color 0.2s;
    transform: translate(-50%, -50%);
}

.cursor-ring.hover {
    width: 56px;
    height: 56px;
    border-color: var(--sky);
}

/* ── Scrollbar ── */
::-webkit-scrollbar {
    width: 3px;
}

::-webkit-scrollbar-track {
    background: var(--ink);
}

::-webkit-scrollbar-thumb {
    background: var(--blue);
}

/* ── Background layers ── */
.grid-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image:
        linear-gradient(var(--grid-line) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 100% 60% at 50% 0%, black 20%, transparent 70%);
}

.noise {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ── Corner labels ── */
.corner-label {
    position: fixed;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 9px;
    color: rgba(92, 206, 234, 0.18);
    letter-spacing: 2px;
    text-transform: uppercase;
    z-index: 100;
    pointer-events: none;
}

.corner-label.tl {
    top: 24px;
    left: 24px;
}

.corner-label.br {
    bottom: 24px;
    right: 24px;
}

/* ── Navigation ── */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 5%;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border);
    background: rgba(5, 5, 5, 0.85);
    backdrop-filter: blur(20px);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-glyph {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-glyph img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.logo-word {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 26px;
    letter-spacing: 3px;
    color: var(--snow);
    line-height: 1;
}

.logo-word em {
    color: var(--sky);
    font-style: normal;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0;
    list-style: none;
}

.nav-links a {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    color: rgba(247, 248, 247, 0.4);
    text-decoration: none;
    padding: 8px 18px;
    letter-spacing: 0.5px;
    transition: color 0.2s;
    text-transform: uppercase;
}

.nav-links a:hover {
    color: var(--sky);
}

.nav-links a.active {
    color: var(--snow);
}

.nav-cta {
    background: var(--blue);
    color: white !important;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    font-weight: 500;
    padding: 9px 22px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.2s;
    text-decoration: none;
    border: none;
    cursor: none;
}

.nav-cta:hover {
    background: var(--sky);
    color: var(--ink) !important;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: none;
    padding: 4px;
    background: none;
    border: none;
}

.hamburger span {
    display: block;
    width: 22px;
    height: 1px;
    background: rgba(247, 248, 247, 0.5);
}

/* ── Drawer (mobile) ── */
.drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 280px;
    background: #050505;
    border-left: 1px solid var(--border);
    z-index: 2001;
    transform: translateX(100%);
    transition: transform 0.35s;
    padding: 80px 32px 40px;
}

.drawer.open {
    transform: translateX(0);
}

.drawer-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(5, 5, 5, 0.7);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.drawer-overlay.open {
    opacity: 1;
    pointer-events: all;
}

.drawer-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: rgba(247, 248, 247, 0.5);
    font-size: 20px;
    cursor: none;
}

.drawer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.drawer-links a {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 13px;
    color: rgba(247, 248, 247, 0.5);
    text-decoration: none;
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid rgba(92, 206, 234, 0.06);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.2s;
}

.drawer-links a:hover,
.drawer-links a.active-link {
    color: var(--sky);
}

/* ── Footer ── */
footer {
    border-top: 1px solid var(--border);
    padding: 80px 5% 40px;
    position: relative;
    z-index: 2;
}

.footer-inner {
    max-width: 1300px;
    margin: 0 auto;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 60px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 320px;
}

.footer-desc {
    font-size: 13px;
    color: rgba(247, 248, 247, 0.3);
    line-height: 1.7;
    font-weight: 300;
}

.footer-col-title {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    color: rgba(92, 206, 234, 0.4);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    list-style: none;
}

.footer-links a {
    font-size: 13px;
    color: rgba(247, 248, 247, 0.4);
    text-decoration: none;
    transition: color 0.15s;
}

.footer-links a:hover {
    color: var(--sky);
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid rgba(247, 248, 247, 0.03);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copy {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    color: rgba(247, 248, 247, 0.2);
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    color: rgba(247, 248, 247, 0.2);
    text-decoration: none;
}

/* ── Animations ── */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate {
    opacity: 0;
}

.animate.visible {
    animation: fadeUp 0.6s ease forwards;
}

@keyframes pulse-g {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

@keyframes scan {
    0% {
        top: -2%;
    }

    100% {
        top: 102%;
    }
}

/* ── Shared Components: Hero (index) ── */
.hero {
    min-height: 100vh;
    padding: 130px 5% 100px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    width: 700px;
    height: 700px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(35, 98, 197, 0.07), transparent 70%);
    top: -200px;
    right: -200px;
    pointer-events: none;
    z-index: 0;
}

.hero-glow-2 {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(92, 206, 234, 0.05), transparent 70%);
    bottom: -100px;
    left: 10%;
    pointer-events: none;
    z-index: 0;
}

.scanline {
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(92, 206, 234, 0.08), transparent);
    pointer-events: none;
    animation: scan 10s linear infinite;
    z-index: 0;
}

.hero-inner {
    position: relative;
    z-index: 2;
    max-width: 1300px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-tag {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    color: var(--sky);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero-tag::before {
    content: '';
    display: block;
    width: 28px;
    height: 1px;
    background: var(--sky);
}

.hero-tag-dot {
    width: 5px;
    height: 5px;
    background: var(--green);
    border-radius: 50%;
    animation: pulse-g 2s ease infinite;
}

.hero-headline {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(68px, 9vw, 128px);
    line-height: 0.9;
    letter-spacing: 1px;
    margin-bottom: 32px;
}

.hero-headline .l1 {
    display: block;
    color: var(--snow);
}

.hero-headline .l2 {
    display: block;
    color: transparent;
    -webkit-text-stroke: 1px rgba(247, 248, 247, 0.2);
}

.hero-headline .l3 {
    display: block;
    color: var(--sky);
}

.hero-sub {
    font-size: 16px;
    color: rgba(247, 248, 247, 0.45);
    line-height: 1.8;
    max-width: 460px;
    margin-bottom: 48px;
    font-weight: 300;
}

.hero-sub strong {
    color: var(--snow);
    font-weight: 500;
}

.hero-actions {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 64px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--blue);
    color: white;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12px;
    font-weight: 500;
    padding: 15px 32px;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    cursor: none;
    transition: all 0.2s;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--sky);
    transform: translateX(-100%);
    transition: transform 0.3s;
    z-index: 0;
}

.btn-primary:hover::before {
    transform: translateX(0);
}

.btn-primary:hover {
    color: var(--ink);
}

.btn-primary span,
.btn-primary svg {
    position: relative;
    z-index: 1;
}

.btn-primary svg {
    transition: transform 0.2s;
}

.btn-primary:hover svg {
    transform: translateX(4px);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: rgba(247, 248, 247, 0.5);
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    border: 1px solid var(--border);
    padding: 14px 24px;
    cursor: none;
    transition: all 0.2s;
    background: none;
}

.btn-outline:hover {
    color: var(--snow);
    border-color: rgba(92, 206, 234, 0.3);
}

.outcome-metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--border);
}

.om-item {
    background: var(--ink);
    padding: 20px 16px;
    text-align: center;
    transition: background 0.2s;
}

.om-item:hover {
    background: rgba(35, 98, 197, 0.06);
}

.om-num {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 36px;
    letter-spacing: 1px;
    color: var(--snow);
    line-height: 1;
}

.om-num em {
    color: var(--sky);
    font-style: normal;
}

.om-label {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 9px;
    color: rgba(247, 248, 247, 0.25);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-top: 4px;
}

/* Platform UI mockup (index) */
.platform-ui {
    border: 1px solid var(--border);
    background: rgba(247, 248, 247, 0.02);
    overflow: hidden;
    position: relative;
}

.platform-ui::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--sky), transparent);
    opacity: 0.5;
}

.pui-bar {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(5, 5, 5, 0.6);
}

.pui-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.pui-bar-title {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    color: rgba(92, 206, 234, 0.35);
    margin-left: auto;
    letter-spacing: 1px;
}

.pui-body {
    padding: 20px;
}

.pui-path-label {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 9px;
    color: rgba(92, 206, 234, 0.4);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.pui-path {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 20px;
}

.pui-node {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border: 1px solid;
    transition: all 0.2s;
}

.pui-node.done {
    border-color: rgba(40, 200, 64, 0.2);
    background: rgba(40, 200, 64, 0.04);
}

.pui-node.active {
    border-color: rgba(92, 206, 234, 0.3);
    background: rgba(92, 206, 234, 0.06);
}

.pui-node.locked {
    border-color: rgba(247, 248, 247, 0.05);
    background: transparent;
}

.pui-node-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    border: 1px solid;
    flex-shrink: 0;
}

.pui-node.done .pui-node-icon {
    border-color: rgba(40, 200, 64, 0.3);
    color: var(--green);
}

.pui-node.active .pui-node-icon {
    border-color: rgba(92, 206, 234, 0.4);
    color: var(--sky);
}

.pui-node.locked .pui-node-icon {
    border-color: rgba(247, 248, 247, 0.08);
    color: rgba(247, 248, 247, 0.2);
}

.pui-node-info {
    flex: 1;
    min-width: 0;
}

.pui-node-title {
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pui-node.done .pui-node-title {
    color: rgba(247, 248, 247, 0.5);
}

.pui-node.active .pui-node-title {
    color: var(--snow);
}

.pui-node.locked .pui-node-title {
    color: rgba(247, 248, 247, 0.2);
}

.pui-node-type {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 9px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 2px;
}

.pui-node.done .pui-node-type {
    color: rgba(40, 200, 64, 0.4);
}

.pui-node.active .pui-node-type {
    color: rgba(92, 206, 234, 0.5);
}

.pui-node.locked .pui-node-type {
    color: rgba(247, 248, 247, 0.12);
}

.pui-node-badge {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 9px;
    padding: 3px 7px;
    border: 1px solid;
    letter-spacing: 0.5px;
    flex-shrink: 0;
}

.pui-node.done .pui-node-badge {
    border-color: rgba(40, 200, 64, 0.2);
    color: var(--green);
}

.pui-node.active .pui-node-badge {
    border-color: rgba(92, 206, 234, 0.3);
    color: var(--sky);
}

.pui-node.locked .pui-node-badge {
    border-color: rgba(247, 248, 247, 0.06);
    color: rgba(247, 248, 247, 0.15);
}

.pui-xp {
    margin-top: 4px;
}

.pui-xp-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
}

.pui-xp-label {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 9px;
    color: rgba(247, 248, 247, 0.25);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.pui-xp-val {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 9px;
    color: var(--sky);
}

.pui-xp-bar {
    height: 3px;
    background: rgba(247, 248, 247, 0.06);
    position: relative;
}

.pui-xp-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--blue), var(--sky));
    width: 68%;
}

/* ── Platform Section (index) ── */
.platform-section {
    padding: 120px 5%;
    position: relative;
    z-index: 2;
}

.ps-inner {
    max-width: 1300px;
    margin: 0 auto;
}

.section-tag {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    color: var(--sky);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-tag::before {
    content: '';
    display: block;
    width: 20px;
    height: 1px;
    background: var(--sky);
}

.section-num {
    color: rgba(92, 206, 234, 0.3);
    margin-right: 6px;
}

.section-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(48px, 6vw, 80px);
    line-height: 0.95;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.pvc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: var(--border);
    margin-top: 56px;
}

.pvc-col {
    background: var(--ink);
    padding: 48px 40px;
}

.pvc-col.highlight {
    background: rgba(35, 98, 197, 0.06);
}

.pvc-label {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 9px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pvc-label .badge {
    padding: 3px 10px;
    border: 1px solid;
    font-size: 8px;
}

.pvc-label .badge.no {
    color: rgba(255, 95, 87, 0.5);
    border-color: rgba(255, 95, 87, 0.2);
}

.pvc-label .badge.yes {
    color: var(--green);
    border-color: rgba(40, 200, 64, 0.2);
}

.pvc-heading {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 32px;
    letter-spacing: 1px;
    color: rgba(247, 248, 247, 0.3);
    margin-bottom: 20px;
}

.pvc-col.highlight .pvc-heading {
    color: var(--snow);
}

.pvc-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pvc-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 13.5px;
    line-height: 1.6;
    font-weight: 300;
}

.pvc-item.no {
    color: rgba(247, 248, 247, 0.25);
}

.pvc-item.yes {
    color: rgba(247, 248, 247, 0.7);
}

.pvc-item-icon {
    flex-shrink: 0;
    margin-top: 2px;
    font-size: 12px;
}

.pvc-item.no .pvc-item-icon {
    color: rgba(255, 95, 87, 0.4);
}

.pvc-item.yes .pvc-item-icon {
    color: var(--green);
}

/* ── Path Section (index) ── */
.path-section {
    padding: 120px 5%;
    background: rgba(35, 98, 197, 0.03);
    border-top: 1px solid rgba(92, 206, 234, 0.06);
    border-bottom: 1px solid rgba(92, 206, 234, 0.06);
    position: relative;
    z-index: 2;
}

.path-inner {
    max-width: 1300px;
    margin: 0 auto;
}

.path-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    margin-bottom: 72px;
}

.path-content-types {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 32px;
}

.pct-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    border: 1px solid var(--border);
    background: rgba(5, 5, 5, 0.5);
    transition: all 0.2s;
    cursor: none;
}

.pct-item:hover {
    border-color: rgba(92, 206, 234, 0.25);
    background: rgba(92, 206, 234, 0.04);
}

.pct-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    font-size: 14px;
    flex-shrink: 0;
    transition: border-color 0.2s;
}

.pct-item:hover .pct-icon {
    border-color: rgba(92, 206, 234, 0.3);
}

.pct-info {
    flex: 1;
}

.pct-name {
    font-size: 13px;
    font-weight: 500;
    color: rgba(247, 248, 247, 0.7);
    margin-bottom: 2px;
}

.pct-desc {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    color: rgba(247, 248, 247, 0.2);
    letter-spacing: 0.5px;
}

.pct-tag {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 9px;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 3px 8px;
    border: 1px solid;
    flex-shrink: 0;
}

.pct-tag.video {
    color: rgba(92, 206, 234, 0.6);
    border-color: rgba(92, 206, 234, 0.15);
}

.pct-tag.text {
    color: rgba(247, 248, 247, 0.4);
    border-color: rgba(247, 248, 247, 0.1);
}

.pct-tag.code {
    color: rgba(40, 200, 64, 0.6);
    border-color: rgba(40, 200, 64, 0.15);
}

.pct-tag.quiz {
    color: rgba(255, 217, 61, 0.6);
    border-color: rgba(255, 217, 61, 0.15);
}

.paths-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border);
}

.path-card {
    background: var(--ink);
    padding: 40px 32px;
    position: relative;
    overflow: hidden;
    cursor: none;
    transition: background 0.3s;
}

.path-card:hover {
    background: rgba(35, 98, 197, 0.06);
}

.path-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--pc-accent, var(--blue));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s;
}

.path-card:hover::before {
    transform: scaleX(1);
}

.path-card-num {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 64px;
    color: rgba(92, 206, 234, 0.05);
    position: absolute;
    top: 12px;
    right: 20px;
    line-height: 1;
    transition: color 0.3s;
}

.path-card:hover .path-card-num {
    color: rgba(92, 206, 234, 0.1);
}

.path-card-icon {
    font-size: 26px;
    margin-bottom: 20px;
    display: block;
}

.path-card-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 26px;
    letter-spacing: 1px;
    color: var(--snow);
    margin-bottom: 10px;
}

.path-card-desc {
    font-size: 13px;
    color: rgba(247, 248, 247, 0.38);
    line-height: 1.7;
    font-weight: 300;
    margin-bottom: 20px;
}

.path-card-types {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.path-type-chip {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 9px;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 4px 8px;
    border: 1px solid rgba(92, 206, 234, 0.12);
    color: rgba(92, 206, 234, 0.4);
}

.path-card-cta {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    color: rgba(92, 206, 234, 0.35);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 24px;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
}

.path-card:hover .path-card-cta {
    color: var(--sky);
    gap: 12px;
}

/* ── Showcase Section (index) ── */
.showcase-section {
    padding: 120px 5%;
    position: relative;
    z-index: 2;
}

.showcase-inner {
    max-width: 1300px;
    margin: 0 auto;
}

.showcase-header {
    text-align: center;
    margin-bottom: 64px;
}

.showcase-header .section-tag {
    justify-content: center;
}

.showcase-header .section-tag::before {
    display: none;
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: var(--border);
}

.showcase-card {
    background: var(--ink);
    padding: 0;
    overflow: hidden;
    position: relative;
    cursor: none;
    transition: background 0.3s;
}

.showcase-card:hover {
    background: rgba(35, 98, 197, 0.04);
}

.sc-header {
    padding: 28px 28px 0;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.sc-type-badge {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 9px;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 5px 12px;
    border: 1px solid;
    flex-shrink: 0;
}

.sc-type-badge.video {
    color: var(--sky);
    border-color: rgba(92, 206, 234, 0.25);
    background: rgba(92, 206, 234, 0.04);
}

.sc-type-badge.text {
    color: rgba(247, 248, 247, 0.5);
    border-color: rgba(247, 248, 247, 0.12);
    background: rgba(247, 248, 247, 0.02);
}

.sc-type-badge.code {
    color: var(--green);
    border-color: rgba(40, 200, 64, 0.25);
    background: rgba(40, 200, 64, 0.04);
}

.sc-type-badge.quiz {
    color: var(--yellow);
    border-color: rgba(255, 217, 61, 0.25);
    background: rgba(255, 217, 61, 0.04);
}

.sc-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 28px;
    letter-spacing: 1px;
    color: var(--snow);
    padding: 12px 28px 0;
}

.sc-body {
    padding: 16px 28px 28px;
}

.sc-video {
    background: #000;
    border: 1px solid rgba(92, 206, 234, 0.08);
    aspect-ratio: 16/9;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 16px;
}

.sc-video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(35, 98, 197, 0.2), rgba(5, 5, 5, 0.9));
}

.sc-video-play {
    width: 48px;
    height: 48px;
    background: var(--sky);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    transition: transform 0.2s;
}

.showcase-card:hover .sc-video-play {
    transform: scale(1.1);
}

.sc-video-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sc-video-title {
    font-size: 12px;
    color: rgba(247, 248, 247, 0.5);
    font-weight: 300;
}

.sc-video-dur {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    color: rgba(92, 206, 234, 0.4);
    letter-spacing: 1px;
}

.sc-text-preview {
    background: rgba(247, 248, 247, 0.02);
    border: 1px solid rgba(247, 248, 247, 0.06);
    padding: 20px;
    margin-bottom: 16px;
}

.sc-text-lines {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sc-text-line {
    height: 10px;
    background: rgba(247, 248, 247, 0.06);
    border-radius: 2px;
}

.sc-text-line.short {
    width: 60%;
}

.sc-text-line.shorter {
    width: 40%;
}

.sc-text-line.heading {
    height: 14px;
    width: 50%;
    background: rgba(92, 206, 234, 0.1);
    margin-bottom: 4px;
}

.sc-text-desc {
    font-size: 12px;
    color: rgba(247, 248, 247, 0.25);
    line-height: 1.6;
    font-weight: 300;
}

.sc-code {
    background: #080810;
    border: 1px solid rgba(92, 206, 234, 0.08);
    padding: 16px;
    margin-bottom: 16px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    line-height: 1.9;
}

.kw {
    color: #c792ea;
}

.fn {
    color: #82aaff;
}

.str {
    color: #c3e88d;
}

.num {
    color: #f78c6c;
}

.cm {
    color: #546e7a;
    font-style: italic;
}

.sc-code-meta {
    display: flex;
    gap: 12px;
}

.sc-code-tag {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 9px;
    padding: 3px 8px;
    border: 1px solid;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(40, 200, 64, 0.5);
    border-color: rgba(40, 200, 64, 0.15);
}

.sc-quiz {
    background: rgba(255, 217, 61, 0.03);
    border: 1px solid rgba(255, 217, 61, 0.1);
    padding: 16px;
    margin-bottom: 16px;
}

.sc-quiz-q {
    font-size: 13px;
    color: rgba(247, 248, 247, 0.65);
    margin-bottom: 14px;
    font-weight: 400;
}

.sc-quiz-opts {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sc-quiz-opt {
    padding: 9px 14px;
    border: 1px solid;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 300;
}

.sc-quiz-opt.correct {
    border-color: rgba(40, 200, 64, 0.25);
    color: rgba(40, 200, 64, 0.8);
    background: rgba(40, 200, 64, 0.04);
}

.sc-quiz-opt.wrong {
    border-color: rgba(255, 95, 87, 0.2);
    color: rgba(247, 248, 247, 0.25);
}

.sc-quiz-marker {
    width: 16px;
    height: 16px;
    border: 1px solid;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 9px;
}

.sc-quiz-opt.correct .sc-quiz-marker {
    border-color: rgba(40, 200, 64, 0.4);
    color: var(--green);
}

.sc-quiz-opt.wrong .sc-quiz-marker {
    border-color: rgba(247, 248, 247, 0.1);
}

/* ── Marquee (index) ── */
.marquee-section {
    padding: 60px 0;
    overflow: hidden;
    border-top: 1px solid rgba(92, 206, 234, 0.06);
    border-bottom: 1px solid rgba(92, 206, 234, 0.06);
    position: relative;
    z-index: 2;
}

.marquee-track {
    display: flex;
    gap: 0;
    animation: scroll-t 28s linear infinite;
}

.marquee-track-r {
    animation-direction: reverse;
    animation-duration: 32s;
}

.marquee-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 32px;
    height: 48px;
    border-right: 1px solid rgba(92, 206, 234, 0.06);
    white-space: nowrap;
    flex-shrink: 0;
}

.mp-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--sky);
    opacity: 0.3;
}

.mp-name {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    color: rgba(247, 248, 247, 0.3);
    letter-spacing: 1px;
    text-transform: uppercase;
}

@keyframes scroll-t {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ── CTA Section (index) ── */
.cta-section {
    padding: 160px 5%;
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 2;
}

.cta-bg {
    position: absolute;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 320px;
    color: rgba(35, 98, 197, 0.04);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    letter-spacing: 20px;
    pointer-events: none;
    white-space: nowrap;
}

.cta-inner {
    position: relative;
    z-index: 1;
    max-width: 640px;
    margin: 0 auto;
}

.cta-eyebrow {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    color: var(--sky);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.cta-eyebrow::before,
.cta-eyebrow::after {
    content: '';
    display: block;
    width: 24px;
    height: 1px;
    background: var(--sky);
}

.cta-headline {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(56px, 8vw, 96px);
    line-height: 0.92;
    letter-spacing: 3px;
    margin-bottom: 28px;
}

.cta-headline em {
    color: var(--sky);
    font-style: normal;
    display: block;
}

.cta-sub {
    font-size: 15px;
    color: rgba(247, 248, 247, 0.4);
    line-height: 1.8;
    margin-bottom: 48px;
    font-weight: 300;
}

.cta-form {
    display: flex;
    gap: 0;
    max-width: 440px;
    margin: 0 auto;
}

.cta-input {
    flex: 1;
    background: rgba(92, 206, 234, 0.04);
    border: 1px solid var(--border);
    border-right: none;
    padding: 14px 18px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12px;
    color: var(--snow);
    outline: none;
    transition: border-color 0.2s;
    letter-spacing: 0.5px;
}

.cta-input::placeholder {
    color: rgba(247, 248, 247, 0.2);
}

.cta-input:focus {
    border-color: rgba(92, 206, 234, 0.3);
}

.cta-submit {
    background: var(--sky);
    color: var(--ink);
    border: none;
    padding: 14px 24px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: none;
    transition: background 0.2s;
    white-space: nowrap;
}

.cta-submit:hover {
    background: #2362c5;
    color: white;
}

/* ── Page Header (shared across pages) ── */
.page-header {
    padding: 140px 5% 72px;
    position: relative;
    z-index: 2;
    border-bottom: 1px solid var(--border);
    overflow: hidden;
}

.ph-bg {
    position: absolute;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 260px;
    color: rgba(35, 98, 197, 0.04);
    top: 50%;
    right: -2%;
    transform: translateY(-50%);
    letter-spacing: 10px;
    pointer-events: none;
    white-space: nowrap;
}

.ph-bg-text {
    position: absolute;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 280px;
    color: rgba(35, 98, 197, 0.04);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    letter-spacing: 20px;
    pointer-events: none;
    white-space: nowrap;
    z-index: 0;
}

.ph-inner {
    max-width: 1300px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: end;
}

.ph-tag {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    color: var(--sky);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.ph-tag::before {
    content: '';
    display: block;
    width: 24px;
    height: 1px;
    background: var(--sky);
}

.ph-headline {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(64px, 9vw, 118px);
    line-height: 0.9;
    letter-spacing: 2px;
}

.ph-dim {
    color: transparent;
    -webkit-text-stroke: 1px rgba(247, 248, 247, 0.18);
}

.ph-accent {
    color: var(--sky);
}

.ph-desc {
    font-size: 15px;
    color: rgba(247, 248, 247, 0.42);
    line-height: 1.85;
    font-weight: 300;
    margin-bottom: 0;
}

.ph-desc strong {
    color: var(--snow);
    font-weight: 500;
}

/* ── Courses: Type Legend (FIXED) ── */
.ph-type-legend {
    display: flex;
    gap: 1px;
    background: var(--border);
    flex-wrap: wrap;
}

.ptl-item {
    background: var(--ink);
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1 0 auto;
    min-width: 160px;
    white-space: nowrap;
}

.ptl-badge {
    flex-shrink: 0;
}

.ptl-label {
    font-size: 11px;
    color: rgba(247, 248, 247, 0.25);
    font-weight: 300;
    white-space: nowrap;
}

/* ── Coding Lab specific ── */
.filter-bar {
    position: sticky;
    top: 72px;
    z-index: 100;
    background: rgba(5, 5, 5, 0.92);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.fb-inner {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 5%;
    display: flex;
    align-items: center;
    overflow-x: auto;
}

.fb-inner::-webkit-scrollbar {
    height: 0;
}

.filter-btn {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 18px 20px;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    color: rgba(247, 248, 247, 0.28);
    cursor: none;
    transition: all 0.2s;
    white-space: nowrap;
    flex-shrink: 0;
}

.filter-btn:hover {
    color: rgba(247, 248, 247, 0.6);
}

.filter-btn.active {
    color: var(--sky);
    border-bottom-color: var(--sky);
}

.fb-right {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 24px;
    padding-left: 32px;
}

.fb-count {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    color: rgba(247, 248, 247, 0.22);
    letter-spacing: 1px;
    white-space: nowrap;
}

.fb-search {
    position: relative;
}

.fb-search input {
    background: rgba(247, 248, 247, 0.02);
    border: 1px solid var(--border);
    padding: 8px 12px 8px 32px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 12.5px;
    color: var(--snow);
    outline: none;
    width: 220px;
    transition: all 0.2s;
    border-radius: 0;
    cursor: none;
}

.fb-search input:focus {
    border-color: rgba(92, 206, 234, 0.3);
}

.fb-search svg {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.lab-view {
    position: relative;
    z-index: 2;
}

.lv-inner {
    max-width: 1300px;
    margin: 0 auto;
    padding: 48px 5% 120px;
}

.problems-table-wrapper {
    background: rgba(5, 5, 5, 0.2);
    border: 1px solid var(--border);
    overflow-x: auto;
}

.problems-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    min-width: 700px;
}

.problems-table th {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    color: rgba(92, 206, 234, 0.4);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 16px 24px;
    border-bottom: 1px solid var(--border);
    background: rgba(247, 248, 247, 0.01);
}

.problems-table td {
    padding: 20px 24px;
    border-bottom: 1px solid rgba(92, 206, 234, 0.04);
    font-size: 14px;
    color: rgba(247, 248, 247, 0.6);
}

.problems-table tr {
    transition: background 0.15s;
    cursor: none;
}

.problems-table tr:hover {
    background: rgba(35, 98, 197, 0.02);
}

.td-id {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    color: rgba(247, 248, 247, 0.25) !important;
}

.td-title {
    font-weight: 500;
    color: var(--snow) !important;
    letter-spacing: -0.2px;
}

.td-topic {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    color: rgba(92, 206, 234, 0.6) !important;
}

.diff-badge {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 2px 8px;
    border: 1px solid;
    display: inline-block;
}

.diff-badge.easy {
    color: var(--green);
    border-color: rgba(40, 200, 64, 0.25);
    background: rgba(40, 200, 64, 0.03);
}

.diff-badge.medium {
    color: var(--yellow);
    border-color: rgba(255, 217, 61, 0.25);
    background: rgba(255, 217, 61, 0.03);
}

.diff-badge.hard {
    color: var(--red);
    border-color: rgba(255, 95, 87, 0.25);
    background: rgba(255, 95, 87, 0.03);
}

.td-complexity {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12px;
    color: rgba(247, 248, 247, 0.35) !important;
}

.no-results {
    text-align: center;
    padding: 80px 20px;
}

.nr-icon {
    font-size: 32px;
    opacity: 0.15;
    margin-bottom: 12px;
    display: block;
}

.nr-text {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    color: rgba(247, 248, 247, 0.18);
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* ── Workspace View (coding-lab) ── */
.workspace-view {
    position: fixed;
    inset: 0;
    background: var(--ink);
    z-index: 3000;
    display: flex;
    flex-direction: column;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0;
    pointer-events: none;
}

.workspace-view.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
}

.wv-topbar {
    height: 64px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    background: rgba(5, 5, 5, 0.5);
}

.wvt-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.wvt-close {
    background: none;
    border: 1px solid var(--border);
    color: rgba(247, 248, 247, 0.4);
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 6px 14px;
    cursor: none;
    transition: all 0.2s;
}

.wvt-close:hover {
    color: var(--red);
    border-color: rgba(255, 95, 87, 0.3);
    background: rgba(255, 95, 87, 0.04);
}

.wvt-title-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.wvt-id {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12px;
    color: rgba(247, 248, 247, 0.25);
}

.wvt-title {
    font-size: 15px;
    font-weight: 500;
    color: var(--snow);
}

.wv-mesh {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 0;
}

.wv-panel {
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow-y: auto;
}

.wv-panel.left-doc {
    border-right: 1px solid var(--border);
    padding: 40px;
    background: #030305;
}

.wv-panel.right-code {
    background: var(--code-bg);
}

.wvl-tag {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 9px;
    color: var(--sky);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.wvl-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
}

.wvl-desc {
    font-size: 14.5px;
    color: rgba(247, 248, 247, 0.55);
    line-height: 1.8;
    font-weight: 300;
    margin-bottom: 32px;
}

.wvl-section-title {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(92, 206, 234, 0.4);
    margin-bottom: 12px;
    margin-top: 16px;
}

.wvl-io-box {
    background: rgba(5, 5, 5, 0.4);
    border: 1px solid var(--border);
    padding: 16px 20px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 24px;
    color: #a5b4fc;
    white-space: pre-wrap;
    word-break: break-word;
}

.wvl-io-box strong {
    color: rgba(247, 248, 247, 0.3);
    font-weight: 400;
}

.wvc-bar {
    height: 44px;
    border-bottom: 1px solid var(--border);
    background: rgba(5, 5, 5, 0.2);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    flex-shrink: 0;
}

.wvc-tabs {
    display: flex;
    gap: 20px;
}

.wvc-tab {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    color: var(--sky);
    letter-spacing: 0.5px;
}

.wvc-lang {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    color: rgba(247, 248, 247, 0.25);
}

.wvc-editor-stream {
    flex: 1;
    padding: 32px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 13.5px;
    color: #e0e7ff;
    line-height: 1.65;
    overflow-x: auto;
    margin: 0;
}

.wvc-comp-bar {
    border-top: 1px solid var(--border);
    padding: 20px 32px;
    background: rgba(5, 5, 5, 0.3);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}

.wvc-comp-meta {
    display: flex;
    gap: 24px;
}

.wvc-cm-box {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.wvc-cm-lbl {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 8.5px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(247, 248, 247, 0.2);
}

.wvc-cm-val {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 13px;
    color: var(--snow);
    font-weight: 500;
}

.wvc-run-btn {
    background: rgba(40, 200, 64, 0.08);
    border: 1px solid rgba(40, 200, 64, 0.25);
    color: var(--green);
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 8px 20px;
    cursor: none;
    transition: all 0.2s;
}

.wvc-run-btn:hover {
    background: var(--green);
    color: var(--ink);
}

/* ── Courses specific ── */
.listing-view {
    position: relative;
    z-index: 2;
}

.listing-view .lv-inner {
    padding: 48px 5% 120px;
}

.path-group {
    margin-bottom: 64px;
}

.pg-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.pg-icon {
    width: 40px;
    height: 40px;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    background: rgba(247, 248, 247, 0.02);
}

.pg-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 28px;
    letter-spacing: 1.5px;
    color: var(--snow);
}

.pg-count {
    margin-left: auto;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    color: rgba(92, 206, 234, 0.4);
    letter-spacing: 1px;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 24px;
}

.course-card {
    background: rgba(5, 5, 5, 0.4);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    min-height: 230px;
    transition: all 0.25s;
    position: relative;
    cursor: none;
}

.course-card:hover {
    border-color: rgba(35, 98, 197, 0.3);
    background: rgba(35, 98, 197, 0.02);
    transform: translateY(-2px);
}

.cc-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 22px;
    border-bottom: 1px solid rgba(247, 248, 247, 0.03);
    background: rgba(247, 248, 247, 0.01);
}

.cc-id {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    color: rgba(247, 248, 247, 0.25);
    letter-spacing: 0.5px;
}

.cc-types-summary {
    display: flex;
    gap: 2px;
}

.ccts-item {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 8px;
    padding: 1px 5px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.ccts-item.video {
    background: rgba(92, 206, 234, 0.15);
    color: rgba(92, 206, 234, 0.7);
}

.ccts-item.text {
    background: rgba(247, 248, 247, 0.06);
    color: rgba(247, 248, 247, 0.3);
}

.ccts-item.code {
    background: rgba(40, 200, 64, 0.12);
    color: rgba(40, 200, 64, 0.6);
}

.ccts-item.quiz {
    background: rgba(255, 217, 61, 0.1);
    color: rgba(255, 217, 61, 0.5);
}

.cc-body {
    padding: 22px 22px 14px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.cc-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -0.3px;
    margin-bottom: 8px;
    color: var(--snow);
}

.cc-desc {
    font-size: 13px;
    color: rgba(247, 248, 247, 0.4);
    line-height: 1.6;
    font-weight: 300;
    margin-bottom: 24px;
    flex: 1;
}

.cc-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid rgba(247, 248, 247, 0.03);
}

.cc-nodes-count {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    color: rgba(247, 248, 247, 0.25);
}

.cc-arrow {
    color: rgba(92, 206, 234, 0.25);
    font-size: 16px;
    transition: all 0.2s;
}

.course-card:hover .cc-arrow {
    color: var(--sky);
    transform: translateX(4px);
}

/* ── Player View (courses) ── */
.player-view {
    position: fixed;
    inset: 0;
    background: var(--ink);
    z-index: 3000;
    display: flex;
    flex-direction: column;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0;
    pointer-events: none;
}

.player-view.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
}

.pv-topbar {
    height: 64px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    background: rgba(5, 5, 5, 0.5);
}

.pvt-left {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
}

.pvt-close {
    background: none;
    border: 1px solid var(--border);
    color: rgba(247, 248, 247, 0.4);
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 6px 14px;
    cursor: none;
    transition: all 0.2s;
}

.pvt-close:hover {
    color: var(--red);
    border-color: rgba(255, 95, 87, 0.3);
    background: rgba(255, 95, 87, 0.04);
}

.pvt-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: var(--snow);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pvt-nav-controls {
    display: flex;
    background: var(--border);
    gap: 1px;
}

.pvt-nav-btn {
    background: var(--ink);
    border: none;
    color: rgba(247, 248, 247, 0.4);
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    padding: 6px 16px;
    cursor: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.15s;
}

.pvt-nav-btn:hover:not(:disabled) {
    color: var(--sky);
    background: rgba(92, 206, 234, 0.04);
}

.pvt-nav-btn:disabled {
    opacity: 0.25;
    cursor: not-allowed;
}

.pv-mesh {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 340px;
    min-height: 0;
}

.pv-stage {
    background: #020204;
    display: flex;
    flex-direction: column;
    min-height: 0;
    position: relative;
    overflow-y: auto;
}

.content-frame-wrapper {
    display: none;
    width: 100%;
    height: 100%;
    position: relative;
    background: #000;
}

.content-frame-wrapper.active {
    display: block;
}

.content-frame-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
    position: absolute;
    top: 0;
    left: 0;
}

.content-document {
    display: none;
    max-width: 760px;
    margin: 0 auto;
    padding: 56px 24px 100px;
    width: 100%;
}

.content-document.active {
    display: block;
}

.cd-meta {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    color: var(--sky);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.cd-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 32px;
    letter-spacing: -0.5px;
}

.cd-rich {
    font-size: 15px;
    color: rgba(247, 248, 247, 0.65);
    line-height: 1.85;
    font-weight: 300;
}

.cd-rich p {
    margin-bottom: 24px;
}

.cd-rich h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: var(--snow);
    margin: 40px 0 16px;
    letter-spacing: -0.2px;
}

.cd-rich pre {
    background: var(--code-bg);
    border: 1px solid var(--border);
    padding: 20px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 13px;
    color: rgba(92, 206, 234, 0.85);
    overflow-x: auto;
    margin: 24px 0;
    line-height: 1.6;
}

.ct-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 18px;
}

.ct-list li {
    font-size: 14px;
    color: rgba(247, 248, 247, 0.5);
    line-height: 1.6;
    padding-left: 18px;
    position: relative;
    font-weight: 300;
}

.ct-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--sky);
    font-size: 11px;
}

.content-code {
    display: none;
    margin-bottom: 20px;
}

.content-code.active {
    display: block;
}

.cc-problem-header {
    background: rgba(35, 98, 197, 0.06);
    border: 1px solid rgba(35, 98, 197, 0.15);
    padding: 24px;
    margin-bottom: 24px;
}

.cc-problem-tag {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 9px;
    color: var(--green);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.cc-problem-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

.cc-problem-desc {
    font-size: 14px;
    color: rgba(247, 248, 247, 0.5);
    line-height: 1.6;
    font-weight: 300;
}

.cc-editor-mockup {
    background: var(--code-bg);
    border: 1px solid var(--border);
}

.cc-em-bar {
    height: 36px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    padding: 0 16px;
    justify-content: space-between;
}

.cc-em-tabs {
    display: flex;
    gap: 16px;
}

.cc-em-tab {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    color: var(--sky);
}

.cc-em-lang {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    color: rgba(247, 248, 247, 0.25);
}

.cc-em-payload {
    padding: 24px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 13px;
    color: #a5b4fc;
    line-height: 1.65;
    overflow-x: auto;
}

.cc-explain-card {
    border: 1px solid var(--border);
    background: rgba(247, 248, 247, 0.01);
    padding: 24px;
    margin-top: 24px;
}

.cc-explain-title {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(92, 206, 234, 0.35);
    margin-bottom: 8px;
}

.cc-explain-text {
    font-size: 13px;
    color: rgba(247, 248, 247, 0.42);
    line-height: 1.75;
    font-weight: 300;
}

.cc-complexity {
    display: flex;
    gap: 1px;
    background: var(--border);
    margin-top: 1px;
}

.cx-box {
    flex: 1;
    background: var(--ink);
    padding: 12px 16px;
    text-align: center;
}

.cx-label {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 9px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(247, 248, 247, 0.18);
    margin-bottom: 5px;
}

.cx-val {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 15px;
    font-weight: 500;
    color: var(--snow);
}

.content-quiz {
    display: none;
    max-width: 640px;
    margin: 0 auto;
    padding: 56px 24px 100px;
    width: 100%;
}

.content-quiz.active {
    display: block;
}

.quiz-question-wrap {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.quiz-question {
    border: 1px solid var(--border);
    background: rgba(247, 248, 247, 0.01);
    padding: 32px;
}

.qq-lbl {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    color: var(--yellow);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.qq-title {
    font-size: 17px;
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: 24px;
}

.qq-opts {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.qq-opt {
    background: var(--ink);
    border: 1px solid var(--border);
    padding: 14px 18px;
    font-size: 14px;
    color: rgba(247, 248, 247, 0.5);
    text-align: left;
    cursor: none;
    transition: all 0.15s;
}

.qq-opt:hover {
    border-color: rgba(255, 217, 61, 0.2);
    background: rgba(255, 217, 61, 0.02);
    color: var(--snow);
}

.qq-opt.selected {
    border-color: var(--yellow);
    background: rgba(255, 217, 61, 0.05);
    color: var(--yellow);
}

.qq-opt.correct {
    border-color: var(--green) !important;
    background: rgba(40, 200, 64, 0.06) !important;
    color: var(--green) !important;
}

.qq-opt.wrong {
    border-color: var(--red) !important;
    background: rgba(255, 95, 87, 0.06) !important;
    color: var(--red) !important;
}

.quiz-actions-row {
    margin-top: 16px;
    display: flex;
    gap: 16px;
}

.quiz-btn {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 10px 24px;
    cursor: none;
    transition: all 0.2s;
    border: 1px solid;
}

.quiz-btn.submit {
    background: rgba(255, 217, 61, 0.08);
    border-color: rgba(255, 217, 61, 0.25);
    color: var(--yellow);
}

.quiz-btn.submit:hover:not(:disabled) {
    background: var(--yellow);
    color: var(--ink);
}

.quiz-btn.submit:disabled {
    opacity: 0.2;
    cursor: not-allowed;
}

.quiz-btn.retry {
    background: none;
    border-color: rgba(247, 248, 247, 0.1);
    color: rgba(247, 248, 247, 0.4);
    display: none;
}

.quiz-btn.retry:hover {
    border-color: rgba(247, 248, 247, 0.3);
    color: var(--snow);
}

.quiz-score-banner {
    margin-top: 24px;
    border: 1px solid rgba(40, 200, 64, 0.2);
    background: rgba(40, 200, 64, 0.04);
    padding: 18px;
    display: none;
    align-items: center;
    justify-content: space-between;
}

.qsb-text {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12px;
    color: var(--green);
    letter-spacing: 0.5px;
}

.qsb-metric {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 24px;
    color: var(--green);
    letter-spacing: 1px;
}

.pv-sidebar {
    border-left: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    background: #040406;
    min-height: 0;
}

.pvs-header {
    padding: 20px 24px;
    border-bottom: 1px solid rgba(247, 248, 247, 0.03);
    background: rgba(5, 5, 5, 0.2);
}

.pvs-lbl {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 9px;
    color: rgba(247, 248, 247, 0.25);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.pvs-course-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--snow);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pvs-scroll {
    flex: 1;
    overflow-y: auto;
    padding: 12px 0;
}

.pvs-chapter-block {
    margin-bottom: 16px;
}

.pvsc-header {
    padding: 8px 24px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 9.5px;
    font-weight: 500;
    color: rgba(92, 206, 234, 0.4);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.pvsl-list {
    list-style: none;
}

.pvsl-item {
    padding: 12px 24px;
    display: flex;
    align-items: center;
    gap: 14px;
    cursor: none;
    transition: background 0.15s;
    border-bottom: 1px solid rgba(247, 248, 247, 0.01);
}

.pvsl-item:hover {
    background: rgba(247, 248, 247, 0.02);
}

.pvsl-item.active {
    background: rgba(35, 98, 197, 0.06);
    border-left: 2px solid var(--sky);
    padding-left: 22px;
}

.pvsl-check {
    width: 16px;
    height: 16px;
    border: 1px solid rgba(247, 248, 247, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    color: transparent;
    flex-shrink: 0;
}

.pvsl-item.completed .pvsl-check {
    background: var(--green);
    border-color: var(--green);
    color: var(--ink);
}

.pvsl-meta {
    flex: 1;
    min-width: 0;
}

.pvsl-title {
    font-size: 12.5px;
    color: rgba(247, 248, 247, 0.5);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 400;
    transition: color 0.2s;
}

.pvsl-item:hover .pvsl-title {
    color: var(--snow);
}

.pvsl-item.active .pvsl-title {
    color: var(--sky);
    font-weight: 500;
}

.pvsl-info {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 3px;
}

.pvsl-type-badge {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 7.5px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 1px 4px;
    border: 1px solid;
}

.pvsl-type-badge.video {
    color: rgba(92, 206, 234, 0.5);
    border-color: rgba(92, 206, 234, 0.18);
}

.pvsl-type-badge.text {
    color: rgba(247, 248, 247, 0.35);
    border-color: rgba(247, 248, 247, 0.1);
}

.pvsl-type-badge.code {
    color: rgba(40, 200, 64, 0.5);
    border-color: rgba(40, 200, 64, 0.18);
}

.pvsl-type-badge.quiz {
    color: rgba(255, 217, 61, 0.5);
    border-color: rgba(255, 217, 61, 0.18);
}

.pvsl-dur {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 9px;
    color: rgba(247, 248, 247, 0.18);
}

/* ── Contact specific ── */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1px;
    background: var(--border);
}

.ci-item {
    background: var(--ink);
    padding: 20px 24px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    transition: background 0.2s;
    cursor: none;
}

.ci-item:hover {
    background: rgba(35, 98, 197, 0.05);
}

.ci-icon {
    width: 36px;
    height: 36px;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    flex-shrink: 0;
    transition: border-color 0.2s;
}

.ci-item:hover .ci-icon {
    border-color: rgba(92, 206, 234, 0.3);
}

.ci-label {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 9px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(92, 206, 234, 0.4);
    margin-bottom: 4px;
}

.ci-value {
    font-size: 14px;
    color: rgba(247, 248, 247, 0.7);
    font-weight: 400;
}

.ci-value a {
    color: rgba(247, 248, 247, 0.7);
    text-decoration: none;
    transition: color 0.2s;
}

.ci-value a:hover {
    color: var(--sky);
}

.response-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
    padding: 10px 16px;
    border: 1px solid rgba(40, 200, 64, 0.2);
    background: rgba(40, 200, 64, 0.04);
}

.rt-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--green);
    animation: pulse-g 2s ease infinite;
    flex-shrink: 0;
}

.rt-text {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    color: rgba(40, 200, 64, 0.7);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.contact-main {
    position: relative;
    z-index: 2;
    max-width: 1300px;
    margin: 0 auto;
    padding: 80px 5% 120px;
    display: grid;
    grid-template-columns: 1fr 480px;
    gap: 80px;
    align-items: start;
}

.contact-side {}

.cs-header {
    margin-bottom: 40px;
}

.cs-eyebrow {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    color: var(--sky);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.cs-eyebrow::before {
    content: '';
    display: block;
    width: 20px;
    height: 1px;
    background: var(--sky);
}

.cs-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 52px;
    letter-spacing: 2px;
    line-height: 0.95;
    color: var(--snow);
}

.cs-title em {
    color: var(--sky);
    font-style: normal;
    display: block;
}

.cs-desc {
    font-size: 15px;
    color: rgba(247, 248, 247, 0.42);
    line-height: 1.85;
    font-weight: 300;
    max-width: 440px;
    margin-top: 24px;
}

.email-btn {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    background: var(--blue);
    color: white;
    text-decoration: none;
    padding: 22px 36px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 1px;
    cursor: none;
    transition: all 0.25s;
    position: relative;
    overflow: hidden;
    margin-top: 40px;
}

.email-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--sky);
    transform: translateX(-100%);
    transition: transform 0.3s;
    z-index: 0;
}

.email-btn:hover::before {
    transform: translateX(0);
}

.email-btn:hover {
    color: var(--ink);
}

.email-btn span,
.email-btn svg {
    position: relative;
    z-index: 1;
    transition: transform 0.2s;
}

.email-btn:hover svg {
    transform: translateX(4px);
}

.reason-blocks {
    display: flex;
    flex-direction: column;
    gap: 1px;
    background: var(--border);
    margin-top: 48px;
}

.reason-item {
    background: var(--ink);
    padding: 22px 24px;
    transition: background 0.2s;
    cursor: none;
}

.reason-item:hover {
    background: rgba(35, 98, 197, 0.05);
}

.reason-label {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 9px;
    color: rgba(92, 206, 234, 0.4);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.reason-label-icon {
    width: 24px;
    height: 24px;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    flex-shrink: 0;
}

.reason-text {
    font-size: 13.5px;
    color: rgba(247, 248, 247, 0.45);
    line-height: 1.7;
    font-weight: 300;
}

.reason-text strong {
    color: rgba(247, 248, 247, 0.75);
    font-weight: 500;
}

.info-side {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.status-block {
    border: 1px solid var(--border);
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.status-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.status-key {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    color: rgba(247, 248, 247, 0.25);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.status-val {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.status-dot-green {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--green);
    animation: pulse-g 2s ease infinite;
    flex-shrink: 0;
}

.status-dot-blue {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--sky);
    flex-shrink: 0;
}

.status-divider {
    height: 1px;
    background: var(--border);
}

.faq-block {
    border: 1px solid var(--border);
}

.faq-head {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.faq-head-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 22px;
    letter-spacing: 1px;
    color: var(--snow);
}

.faq-head-count {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    color: rgba(247, 248, 247, 0.2);
    letter-spacing: 1px;
}

.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-q {
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    cursor: none;
    transition: background 0.2s;
}

.faq-q:hover {
    background: rgba(92, 206, 234, 0.03);
}

.faq-q-text {
    font-size: 13.5px;
    color: rgba(247, 248, 247, 0.65);
    font-weight: 400;
    line-height: 1.4;
}

.faq-chevron {
    flex-shrink: 0;
    color: rgba(92, 206, 234, 0.3);
    transition: transform 0.3s, color 0.2s;
    font-size: 12px;
}

.faq-item.open .faq-chevron {
    transform: rotate(180deg);
    color: var(--sky);
}

.faq-item.open .faq-q-text {
    color: var(--snow);
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.open .faq-a {
    max-height: 160px;
}

.faq-a-inner {
    padding: 0 24px 18px;
    font-size: 13px;
    color: rgba(247, 248, 247, 0.38);
    line-height: 1.75;
    font-weight: 300;
}

.faq-a-inner a {
    color: var(--sky);
    text-decoration: none;
}

.socials-block {
    border: 1px solid var(--border);
}

.sb-head {
    padding: 18px 24px;
    border-bottom: 1px solid var(--border);
}

.sb-head-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 20px;
    letter-spacing: 1px;
    color: var(--snow);
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 1px;
    background: var(--border);
}

.social-link {
    background: var(--ink);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    transition: background 0.2s;
    cursor: none;
}

.social-link:hover {
    background: rgba(35, 98, 197, 0.06);
}

.sl-icon {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 16px;
    border: 1px solid var(--border);
    transition: border-color 0.2s;
}

.social-link:hover .sl-icon {
    border-color: rgba(92, 206, 234, 0.25);
}

.sl-info {
    flex: 1;
}

.sl-name {
    font-size: 13px;
    font-weight: 500;
    color: rgba(247, 248, 247, 0.65);
    transition: color 0.2s;
}

.sl-handle {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    color: rgba(247, 248, 247, 0.25);
    letter-spacing: 0.5px;
    margin-top: 2px;
}

.social-link:hover .sl-name {
    color: var(--snow);
}

.sl-arrow {
    color: rgba(92, 206, 234, 0.2);
    font-size: 14px;
    transition: all 0.2s;
}

.social-link:hover .sl-arrow {
    color: var(--sky);
    transform: translateX(4px);
}

/* ── Footer socials (index style) ── */
.footer-socials {
    display: flex;
    gap: 12px;
}

.footer-social {
    width: 32px;
    height: 32px;
    border: 1px solid rgba(247, 248, 247, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(247, 248, 247, 0.3);
    transition: all 0.2s;
    text-decoration: none;
}

.footer-social:hover {
    color: var(--sky);
    border-color: rgba(92, 206, 234, 0.25);
    background: rgba(92, 206, 234, 0.02);
}

/* ── Responsive overrides ── */
@media (max-width: 1024px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 64px;
    }

    .hero {
        padding-top: 110px;
    }

    .ph-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-main {
        grid-template-columns: 1fr;
    }

    .pvc-grid,
    .paths-grid,
    .showcase-grid {
        grid-template-columns: 1fr;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }

    .pv-mesh {
        grid-template-columns: 1fr;
    }

    .pv-sidebar {
        border-left: none;
        border-top: 1px solid var(--border);
        height: 300px;
    }
}

@media (max-width: 992px) {
    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .ph-bg {
        font-size: 160px;
        top: 80%;
    }

    .fb-right {
        display: none;
    }

    .wv-mesh {
        grid-template-columns: 1fr;
    }

    .wv-panel.left-doc {
        border-right: none;
        border-bottom: 1px solid var(--border);
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .outcome-metrics {
        grid-template-columns: 1fr 1fr;
    }

    .cta-form {
        flex-direction: column;
    }

    .cta-input {
        border-right: 1px solid var(--border);
    }

    .footer-top {
        grid-template-columns: 1fr;
    }

    .ph-bg-text {
        font-size: 120px;
    }

    .email-btn {
        font-size: 14px;
        padding: 18px 26px;
    }

    .cs-title {
        font-size: 40px;
    }
}

@media (max-width: 576px) {
    .courses-grid {
        grid-template-columns: 1fr;
    }

    .footer-top {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

/* ── Second filter row (topics) ── */
.topic-filter-bar {
    border-top: 1px solid var(--border);
    background: rgba(5, 5, 5, 0.96);
}

.topic-filter-bar .filter-btn {
    padding: 12px 20px;
    font-size: 10px;
}


/* ── Topic bubble buttons (second row) ── */
.topic-filter-bar .topic-btn {
  border-radius: 999px !important;
  padding: 6px 20px !important;
  margin: 4px 6px 4px 0;
  border: 1px solid rgba(92, 206, 234, 0.15);
  background: rgba(5, 5, 5, 0.3);
  color: rgba(247, 248, 247, 0.4);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: all 0.25s;
  cursor: none;
}

.topic-filter-bar .topic-btn:hover {
  border-color: rgba(92, 206, 234, 0.3);
  color: rgba(247, 248, 247, 0.7);
}

.topic-filter-bar .topic-btn.active {
  background: var(--sky);
  color: var(--ink);
  border-color: var(--sky);
}

.topic-filter-bar .topic-btn.active:hover {
  background: var(--sky);
  color: var(--ink);
  border-color: var(--sky);
}

/* ── Ensure the filter bar wraps nicely ── */
.topic-filter-bar .fb-inner {
  flex-wrap: wrap;
  padding: 8px 5%;
  gap: 2px;
}
