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

:root {
    --bg-dark: #0a0e27;
    --bg-secondary: #151b35;
    --bg-card: #1a2140;
    --bg-deep: #050a1d;
    --bg-panel: #101735;
    --surface-glass: rgba(13, 19, 46, 0.85);
    --surface-strong: rgba(15, 23, 52, 0.95);
    --kali-blue: #00d4ff;
    --kali-cyan: #00ffff;
    --accent-red: #ff0055;
    --accent-green: #00ff88;
    --text-light: #e0e6f0;
    --text-muted: #8892b0;
    --border-glow: rgba(0, 212, 255, 0.3);
    --card-border: rgba(0, 212, 255, 0.18);
    --glow-strong: 0 0 10px var(--kali-blue), 0 0 20px var(--kali-blue);
    --glow-subtle: 0 0 5px rgba(0, 212, 255, 0.5);
    --shadow-card: 0 25px 65px rgba(2, 6, 20, 0.55);
    --shadow-soft: 0 15px 40px rgba(2, 6, 20, 0.45);
    --radius-lg: 18px;
    --radius-md: 14px;
    --radius-sm: 10px;
    --transition-base: 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: radial-gradient(circle at top, rgba(0, 212, 255, 0.08), transparent 45%),
        linear-gradient(135deg, var(--bg-dark) 0%, #0f1628 100%);
    background-attachment: fixed;
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        repeating-linear-gradient(45deg,
            transparent,
            transparent 10px,
            rgba(0, 212, 255, 0.02) 10px,
            rgba(0, 212, 255, 0.02) 20px);
    pointer-events: none;
    z-index: 0;
}

body::after {
    content: '';
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(0, 255, 136, 0.15), transparent 35%),
        radial-gradient(circle at 80% 0%, rgba(0, 212, 255, 0.12), transparent 40%),
        radial-gradient(circle at 50% 80%, rgba(255, 0, 85, 0.1), transparent 50%);
    pointer-events: none;
    z-index: 0;
    opacity: 0.6;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.page-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

section {
    position: relative;
    padding: clamp(2rem, 4vw, 3.5rem) 0;
}

main {
    flex: 1;
}

header {
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0.45rem 0;
    background: transparent;
}

header::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(5, 8, 22, 0.9), rgba(5, 8, 22, 0.2));
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.55);
    pointer-events: none;
    z-index: 0;
}

.site-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.7rem 1.5rem;
    border-radius: 24px;
    border: 1px solid rgba(0, 212, 255, 0.2);
    background: linear-gradient(135deg, rgba(7, 12, 34, 0.92), rgba(10, 17, 44, 0.78));
    backdrop-filter: blur(16px);
    box-shadow: 0 18px 35px rgba(3, 8, 25, 0.5);
    position: relative;
    z-index: 1;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
    font-weight: 600;
    color: var(--text-light);
    letter-spacing: 0.04em;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: translateY(-1px);
}

.logo-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 13px;
    background: radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.4), rgba(0, 0, 0, 0));
    box-shadow: 0 12px 30px rgba(0, 212, 255, 0.35);
    padding: 4px;
}

.logo-icon {
    width: 100%;
    height: 100%;
}

.logo-wordmark {
    display: inline-flex;
    flex-direction: column;
    line-height: 1;
    gap: 0.2rem;
}

.logo-wordmark strong {
    font-size: 1.35rem;
    background: linear-gradient(90deg, var(--kali-cyan), #ffffff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: 0.06em;
}

.logo-wordmark small {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-muted);
}

.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 0.4rem;
    padding: 0.35rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(4, 7, 20, 0.75);
    backdrop-filter: blur(12px);
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.78rem;
    padding: 0.45rem 0.95rem;
    border-radius: 999px;
    cursor: pointer;
    border: 1px solid transparent;
    transition: color var(--transition-base), background var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
}

.nav-link:hover,
.nav-link.active {
    color: var(--bg-dark);
    background: linear-gradient(90deg, var(--kali-blue), var(--accent-green));
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.35);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: transparent;
    border: none;
    padding: 0;
    color: var(--kali-blue);
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background: var(--kali-blue);
    border-radius: 2px;
    transition: all 0.3s;
}

.scroll-progress {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.scroll-progress__bar {
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--accent-green), var(--kali-blue));
    transform-origin: left;
    transform: scaleX(0);
    transition: transform 0.2s ease;
}

.view {
    display: block;
    width: 100%;
    animation: viewFade 0.45s ease;
}

@keyframes viewFade {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.view-container {
    min-height: calc(100vh - 260px);
    padding: 2rem 0 4rem;
}

.view-loading,
.view-error {
    min-height: 45vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    text-align: center;
    background: rgba(21, 27, 53, 0.85);
    border-radius: 16px;
    border: 1px solid var(--border-glow);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
}

.view-error p {
    color: var(--text-muted);
}

.loading-spinner {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 4px solid rgba(0, 212, 255, 0.15);
    border-top-color: var(--kali-blue);
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

section {
    padding: 5rem 0;
    position: relative;
    z-index: 1;
}

h1,
h2,
h3,
h4,
h5 {
    margin-bottom: 1rem;
    font-weight: 700;
}

h1 {
    font-size: 3.5rem;
    color: var(--kali-blue);
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
    color: var(--text-light);
    border-bottom: 2px solid rgba(0, 212, 255, 0.2);
    padding-bottom: 0.5rem;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.8rem;
    color: var(--kali-blue);
    margin-top: 2rem;
}

h4 {
    font-size: 1.3rem;
    color: var(--kali-cyan);
}

h5 {
    font-size: 1.1rem;
    color: var(--kali-blue);
}

.hero {
    padding: 2rem 0 0;
    background: transparent;
    position: relative;
    overflow: hidden;
}

.hero.has-texture-bg {
    background-color: var(--bg-deep);
}

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background-image: url('../images/texture-bg.png');
    background-repeat: repeat;
    opacity: 0.2;
    mix-blend-mode: overlay;
    z-index: 0;
    pointer-events: none;
}

/* Gradient overlay on top of texture */
.hero.has-texture-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 30%, rgba(0, 212, 255, 0.08), transparent 60%),
        linear-gradient(180deg, var(--bg-deep) 0%, rgba(10, 14, 39, 0.4) 50%, var(--bg-dark) 100%);
    z-index: 1;
}

.hero-shell {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 2;
    padding-bottom: 3rem;
}

.hero-content {
    max-width: 100%;
    text-align: left;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
}

.hero-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 12px;
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
    animation: float-hero 6s ease-in-out infinite;
}

@keyframes float-hero {

    0%,
    100% {
        transform: perspective(1000px) rotateY(-5deg) rotateX(2deg) translateY(0);
    }

    50% {
        transform: perspective(1000px) rotateY(-5deg) rotateX(2deg) translateY(-15px);
    }
}

.hero-content h1 {
    margin-bottom: 1rem;
}

.hero-content .lead {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.2rem;
    font-size: 0.75rem;
    color: var(--kali-blue);
    font-weight: 600;
    margin-bottom: 1rem;
    display: inline-block;
    padding: 0.4rem 0.8rem;
    background: rgba(0, 212, 255, 0.08);
    border-radius: 4px;
    border: 1px solid rgba(0, 212, 255, 0.15);
}

.hero-meta {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 1.5rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-meta div {
    background: rgba(13, 17, 40, 0.6);
    border: 1px solid rgba(0, 212, 255, 0.12);
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    min-width: 140px;
    text-align: center;
    transition: all 0.3s ease;
}

.hero-meta div:hover {
    border-color: rgba(0, 212, 255, 0.25);
    background: rgba(13, 17, 40, 0.8);
    transform: translateY(-2px);
}

.hero-meta span {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--kali-blue);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.hero-meta small {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
    letter-spacing: 0.02em;
}



.pulse-visual {
    width: 100%;
    height: auto;
    max-width: 300px;
    display: block;
    margin: 0 auto 1.5rem;
    filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.2));
}

@media (max-width: 960px) {
    .hero-shell {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding-bottom: 2rem;
        text-align: center;
    }

    /* ... existing media query contents ... */
    .hero-content {
        max-width: 100%;
        text-align: center;
    }

    .hero-content .lead {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-item {
        justify-content: center;
    }

    .btn-group {
        justify-content: center;
    }

    .hero-meta {
        justify-content: center;
    }

    .hero-visual {
        padding: 0 1rem;
    }

    .hero-image {
        transform: none;
        max-width: 500px;
    }


}



.tagline {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    padding: 1rem;
    background: rgba(0, 212, 255, 0.05);
    border-left: 4px solid var(--kali-blue);
    border-radius: var(--radius-sm);
    box-shadow: inset 0 0 0 1px rgba(0, 212, 255, 0.08);
}

.btn-group {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, #0099cc 0%, #00d4ff 100%);
    color: #0a0e27;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.2);
    cursor: pointer;
    display: inline-block;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 212, 255, 0.3);
    background: linear-gradient(135deg, #00b8e6 0%, #00ffff 100%);
}

.btn-outline {
    background: transparent;
    color: var(--kali-blue);
    border: 2px solid var(--kali-blue);
    box-shadow: none;
}

.btn-outline:hover {
    background: rgba(0, 212, 255, 0.08);
    border-color: #00ffff;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.15);
}

.btn-small {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
}

.section-header {
    margin-bottom: 3rem;
    text-align: center;
}

.section-header h2 {
    margin-bottom: 0.75rem;
    font-size: 2.25rem;
    border: none;
}

.section-header p {
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.7;
}

.signal-section,
.focus-section,
.quick-links,
.ethics-banner,
.pulse-section {
    padding: 5rem 0;
}

.pulse-section {
    background: linear-gradient(180deg, transparent 0%, rgba(0, 212, 255, 0.02) 100%);
}

.signal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

/* --- Stat Cards (Weekly Pulse) --- */
.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.stat-card {
    background: linear-gradient(145deg, rgba(21, 27, 53, 0.9), rgba(10, 14, 39, 0.7));
    border: 1px solid rgba(0, 212, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-3px);
    border-color: rgba(0, 212, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.stat-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--kali-blue);
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: block;
}

.stat-card h3 {
    font-size: 1.15rem;
    margin: 0 0 0.5rem;
    color: var(--text-light);
}

.stat-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

.signal-label {
    font-size: 0.75rem;
    letter-spacing: 0.15rem;
    color: var(--kali-blue);
    text-transform: uppercase;
    font-weight: 600;
}

.signal-card {
    background: linear-gradient(160deg, rgba(26, 33, 64, 0.85), rgba(13, 19, 46, 0.7));
    border: 1px solid rgba(0, 212, 255, 0.12);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.signal-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 212, 255, 0.25);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.signal-char {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 3px 10px rgba(0, 212, 255, 0.15));
    transition: transform 0.3s ease;
}

.signal-card:hover .signal-char {
    transform: scale(1.1) rotate(-3deg);
}

.signal-card h3 {
    margin: 0.6rem 0;
    font-size: 1.3rem;
}

.signal-card p {
    color: var(--text-muted);
    line-height: 1.7;
}



.home-learning {
    padding: 3rem 0;
}

.quick-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.quick-card {
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0, 212, 255, 0.1);
    background: linear-gradient(145deg, rgba(26, 33, 64, 0.8), rgba(13, 19, 46, 0.6));
    backdrop-filter: blur(8px);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.quick-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--kali-blue), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.quick-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 212, 255, 0.25);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3), 0 0 20px rgba(0, 212, 255, 0.08);
}

.quick-card:hover::after {
    opacity: 1;
}

.quick-card h3 {
    font-size: 1.25rem;
    color: var(--text-light);
    margin: 0;
}

.quick-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    flex-grow: 1;
}

.warning-box.compact {
    padding: 1.5rem;
}

.learning-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.learning-card {
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-glow);
    transition: all 0.3s;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.learning-card .card-modules,
.learning-card .outcome-box {
    display: none;
}

.learning-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.2);
    border-color: var(--kali-blue);
}

.card-badges {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.8rem;
    align-items: center;
    /* Fixes vertical stretching */
    flex-wrap: wrap;
}

.badge-popular {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--bg-dark);
    background: var(--accent-green);
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    font-weight: 800;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    height: fit-content;
}

.learning-card h3 {
    margin-top: 0;
    font-size: 1.5rem;
}

.learning-card p {
    color: var(--text-muted);
    margin-bottom: 0.75rem;
    flex-grow: 1;
}

.learning-card ul {
    margin: 0 0 1rem 1.25rem;
    color: var(--text-muted);
}

.learning-card ul li+li {
    margin-top: 0.35rem;
}

.learning-card.active {
    border-color: var(--kali-blue);
    box-shadow: var(--glow-strong);
}

.learning-details {
    margin-top: 2rem;
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--border-glow);
    background: rgba(21, 27, 53, 0.9);
    box-shadow: 0 20px 45px rgba(6, 8, 20, 0.8);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.learning-details.active {
    opacity: 1;
    transform: translateY(0);
}

.learning-details .details-header {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: flex-start;
    justify-content: space-between;
}

.learning-details .details-header h3 {
    margin-bottom: 0.3rem;
}

.learning-details .details-meta {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    color: var(--text-muted);
    min-width: 220px;
}

.learning-details .details-meta span {
    font-weight: 600;
    color: var(--text-light);
}

.learning-details .details-meta small {
    color: var(--text-muted);
    font-weight: 400;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.details-card {
    background: rgba(10, 14, 39, 0.8);
    border-radius: 12px;
    border: 1px solid rgba(0, 212, 255, 0.2);
    padding: 1.4rem;
    box-shadow: inset 0 0 12px rgba(0, 0, 0, 0.35);
}

.details-card h4 {
    margin-bottom: 0.6rem;
    color: var(--kali-blue);
    font-size: 1rem;
}

.details-card ul {
    list-style: disc;
    margin-left: 1.2rem;
    color: var(--text-muted);
}

.details-footer {
    margin-top: 1.75rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

.details-footer span {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.details-placeholder {
    text-align: center;
    color: var(--text-muted);
}

.details-placeholder h3 {
    margin-bottom: 0.5rem;
}

@media (max-width: 640px) {
    .learning-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
    }

    .learning-card {
        padding: 1.5rem;
    }

    .learning-details {
        padding: 1.5rem;
    }

    .learning-details .details-header {
        flex-direction: column;
    }

    .learning-details .details-meta {
        width: 100%;
    }

    .details-grid {
        grid-template-columns: 1fr;
    }

    .details-footer {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.9rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .btn,
    .btn-group .btn {
        width: 100%;
        text-align: center;
    }
}

.course-quiz {
    margin: 2rem 0;
}

.course-quiz button {
    margin-top: 1rem;
}

.reference-card {
    cursor: default;
    border-style: dashed;
}

.source-note {
    display: block;
    margin-top: 1rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.badge {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 1px solid var(--border-glow);
    margin-bottom: 0.75rem;
}

.guidance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.guidance-card {
    background: var(--bg-card);
    padding: 1.8rem;
    border-radius: 12px;
    border: 1px solid var(--border-glow);
    box-shadow: inset 0 0 12px rgba(0, 0, 0, 0.4);
}

.guidance-card h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.guidance-card ul {
    margin: 1rem 0 0;
    padding-left: 1.2rem;
    color: var(--text-muted);
}

.guidance-card li+li {
    margin-top: 0.4rem;
}

.guidance-card strong {
    color: var(--kali-blue);
}

.guidance-card .badge {
    border-color: var(--kali-blue);
    color: var(--kali-blue);
}

.quiz-card {
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-glow);
    margin-bottom: 1.5rem;
}

.quiz-card h3 {
    margin-top: 0;
}

.quiz-options {
    margin-top: 1rem;
    display: grid;
    gap: 0.6rem;
}

.quiz-options label {
    display: flex;
    gap: 0.6rem;
    align-items: flex-start;
    background: rgba(0, 212, 255, 0.05);
    padding: 0.6rem 0.8rem;
    border-radius: 6px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: border 0.2s;
}

.quiz-options label:hover {
    border-color: var(--kali-blue);
}

.quiz-options input {
    margin-top: 0.2rem;
}

.quiz-feedback {
    margin-top: 0.8rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.quiz-result {
    margin-top: 1.5rem;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--border-glow);
    background: rgba(0, 212, 255, 0.08);
    font-weight: 600;
    display: none;
}


.learning-card .difficulty {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.difficulty.beginner {
    background: rgba(0, 255, 136, 0.2);
    color: var(--accent-green);
    border: 1px solid var(--accent-green);
}

.difficulty.intermediate {
    background: rgba(0, 212, 255, 0.2);
    color: var(--kali-blue);
    border: 1px solid var(--kali-blue);
}

.difficulty.advanced {
    background: rgba(255, 0, 85, 0.2);
    color: var(--accent-red);
    border: 1px solid var(--accent-red);
}

.content-section {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.08), rgba(10, 14, 39, 0.8));
    padding: clamp(1.5rem, 3vw, 2.8rem);
    border-radius: var(--radius-lg);
    border: 1px solid var(--card-border);
    margin-bottom: 2.5rem;
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
    z-index: 0;
}

.content-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(0, 212, 255, 0.25), transparent 55%);
    opacity: 0.4;
    pointer-events: none;
    z-index: 0;
}

.content-section>*:last-child {
    margin-bottom: 0;
}

.content-section>* {
    position: relative;
    z-index: 1;
}

.view-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: center;
}

.mirrored-hero {
    width: 100%;
    height: auto;
    transform: scaleX(-1);
    opacity: 0.8;
    mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
}

.intro-list {
    margin: 1.25rem 0 0;
    padding-left: 1.25rem;
    color: var(--text-muted);
}

.intro-list li+li {
    margin-top: 0.4rem;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.stat-card {
    background: rgba(5, 10, 30, 0.7);
    border: 1px solid rgba(0, 212, 255, 0.15);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.stat-card h3 {
    margin: 0.4rem 0 0.6rem;
    font-size: 1.1rem;
}

.stat-card p {
    margin: 0;
    color: var(--text-muted);
}

.stat-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    display: block;
    margin: 0.3rem 0;
}

.insight-panel {
    background: rgba(5, 11, 32, 0.95);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: var(--radius-md);
    padding: clamp(1.25rem, 4vw, 2rem);
    box-shadow: var(--shadow-card);
    position: relative;
    overflow: hidden;
    z-index: 0;
}

.insight-panel::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 10%, rgba(0, 255, 136, 0.2), transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.insight-panel>* {
    position: relative;
    z-index: 1;
}

.insight-panel h3 {
    margin-top: 0.2rem;
}

.insight-list {
    list-style: none;
    margin: 1.5rem 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.insight-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.95rem;
    color: var(--text-light);
}

.insight-meter {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    overflow: hidden;
    margin-top: 0.4rem;
}

.insight-meter span {
    display: block;
    height: 100%;
    width: calc(var(--progress, 0) * 100%);
    background: linear-gradient(90deg, var(--accent-green), var(--kali-blue));
    border-radius: 999px;
    transition: width 0.6s ease;
}

.insight-panel small {
    color: var(--text-muted);
    display: block;
    margin-top: 0.35rem;
}

.progression-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: clamp(1.5rem, 3vw, 2.5rem);
}

.timeline-card {
    background: rgba(5, 9, 26, 0.85);
    border: 1px solid rgba(0, 212, 255, 0.15);
    border-radius: var(--radius-md);
    padding: 1.75rem;
    box-shadow: var(--shadow-soft);
}

.timeline-step {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.timeline-step span {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    border: 1px solid rgba(0, 212, 255, 0.4);
    display: grid;
    place-items: center;
    font-weight: 600;
    color: var(--kali-blue);
}

.timeline-step strong {
    display: block;
    margin-bottom: 0.3rem;
}

.checklist {
    list-style: none;
    margin: 1.25rem 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.checklist li {
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-muted);
}

.checklist li::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--kali-blue);
    position: absolute;
    left: 0;
    top: 0.65rem;
}

.breadcrumb {
    margin-bottom: 2rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.breadcrumb a {
    color: var(--kali-blue);
    text-decoration: none;
    cursor: pointer;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    margin: 0 0.5rem;
}

.warning-box {
    background: linear-gradient(135deg, rgba(255, 0, 85, 0.1) 0%, rgba(255, 0, 85, 0.05) 100%);
    border: 2px solid var(--accent-red);
    border-radius: 8px;
    padding: 1.5rem;
    margin: 2rem 0;
    box-shadow: 0 0 20px rgba(255, 0, 85, 0.2);
}

.warning-box h4 {
    color: var(--accent-red);
    margin-bottom: 1rem;
}

.info-box {
    background: rgba(0, 212, 255, 0.05);
    border-left: 4px solid var(--kali-blue);
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 4px;
}

.success-box {
    background: rgba(0, 255, 136, 0.05);
    border-left: 4px solid var(--accent-green);
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 4px;
}

table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 1.5rem 0;
    background: rgba(16, 23, 53, 0.9);
    border: 1px solid rgba(0, 212, 255, 0.15);
    border-radius: var(--radius-md);
    overflow: hidden;
}

table caption {
    text-align: left;
    padding: 1rem;
    font-weight: 600;
}

table th,
table td {
    padding: 0.85rem 1.1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

table th {
    text-align: left;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-light);
    background: rgba(0, 212, 255, 0.08);
}

table tbody tr:hover td {
    background: rgba(0, 212, 255, 0.04);
    color: var(--text-light);
}

.success-box h4 {
    color: var(--accent-green);
}

code {
    font-family: 'Roboto Mono', monospace;
    background: var(--bg-secondary);
    color: var(--kali-cyan);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.9em;
}

pre {
    background: var(--bg-secondary);
    padding: 1.5rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 1.5rem 0;
    border: 1px solid var(--border-glow);
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.3);
}

pre code {
    background: none;
    padding: 0;
    display: block;
    line-height: 1.8;
}

ul,
ol {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

li {
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

table {
    width: 100%;
    margin: 2rem 0;
    border-collapse: collapse;
    background: var(--bg-card);
    border-radius: 8px;
    overflow: hidden;
}

th,
td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-glow);
}

th {
    background: var(--bg-secondary);
    color: var(--kali-cyan);
    font-weight: 600;
}

tr:hover {
    background: rgba(0, 212, 255, 0.05);
}

.two-column {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.three-column {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.card {
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--border-glow);
}

.step-list {
    counter-reset: step-counter;
    list-style: none;
    margin-left: 0;
}

.step-list li {
    counter-increment: step-counter;
    position: relative;
    padding-left: 3rem;
    margin-bottom: 2rem;
}

.step-list li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 2rem;
    height: 2rem;
    background: linear-gradient(135deg, var(--kali-blue), var(--kali-cyan));
    color: var(--bg-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    box-shadow: var(--glow-subtle);
}

.command-example {
    background: var(--bg-secondary);
    border-left: 4px solid var(--accent-green);
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 4px;
    font-family: 'Roboto Mono', monospace;
}

.command-example .comment {
    color: var(--text-muted);
    font-style: italic;
}

.encyclopedia-search {
    margin: 2rem 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.encyclopedia-search input {
    flex: 1;
    min-width: 240px;
    padding: 0.85rem 1.2rem;
    border-radius: 8px;
    border: 1px solid var(--border-glow);
    background: var(--bg-secondary);
    color: var(--text-light);
    font-size: 1rem;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.4);
}

.encyclopedia-search small {
    color: var(--text-muted);
}

.encyclopedia-note {
    margin: 1rem 0;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.tag-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.8rem;
    margin-right: 0.4rem;
    margin-bottom: 0.4rem;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid var(--border-glow);
}

.encyclopedia-section h3 {
    margin-top: 0;
}

.encyclopedia-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.nav-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-glow);
}

footer {
    background: var(--bg-secondary);
    border-top: 2px solid var(--border-glow);
    padding: 3rem 0 1.5rem;
    margin-top: 5rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
    justify-content: space-between;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.footer-column {
    flex: 1 1 220px;
}

.footer-column h4 {
    margin-bottom: 0.75rem;
    color: var(--text-light);
    font-size: 1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--kali-blue);
}

.footer-links.footer-social-links {
    display: flex;
    flex-direction: row;
    gap: 0.75rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-light);
    font-weight: 500;
}

.social-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--border-glow);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 212, 255, 0.08);
    box-shadow: inset 0 0 8px rgba(0, 212, 255, 0.15);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.social-icon svg {
    width: 18px;
    height: 18px;
    fill: var(--kali-blue);
}

.social-link span.social-label {
    display: flex;
    flex-direction: column;
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.2;
}

.social-link span.social-label strong {
    color: var(--text-light);
    font-size: 0.95rem;
}

.social-link span.social-label small {
    color: var(--text-muted);
    font-size: 0.8rem;
    letter-spacing: 0.5px;
}

.social-link:hover .social-icon {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 0 12px rgba(0, 212, 255, 0.35);
    border-color: var(--kali-blue);
}

.social-link:hover span.social-label strong {
    color: var(--kali-blue);
}

.social-link:hover span.social-label small {
    color: var(--text-light);
}

.footer-bottom {
    margin-top: 1.5rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
    }
}

.scroll-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--kali-blue);
    color: var(--bg-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: all 0.3s;
    z-index: 999;
    box-shadow: var(--glow-subtle);
    font-size: 1.5rem;
    font-weight: bold;
}

.scroll-top.visible {
    opacity: 1;
}

.scroll-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--glow-strong);
}

@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }

    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: flex;
    }

    .hero-shell {
        grid-template-columns: 1fr;
    }

    .hero-meta {
        flex-direction: column;
    }

    nav {
        padding: 1rem;
    }

    .logo {
        gap: 0.5rem;
    }

    .logo-badge {
        width: 38px;
        height: 38px;
        border-radius: 11px;
    }

    .logo-wordmark strong {
        font-size: 1.1rem;
    }

    .logo-wordmark small {
        font-size: 0.65rem;
        letter-spacing: 0.16em;
    }

    .nav-links {
        position: fixed;
        top: 60px;
        left: 0;
        flex-direction: column;
        background: rgba(10, 14, 39, 0.98);
        width: min(320px, 80%);
        padding: 1rem 0;
        gap: 0;
        transition: transform 0.3s ease;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.65);
        transform: translateX(-110%);
        max-height: calc(100vh - 60px);
        overflow-y: auto;
        z-index: 999;
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .nav-links a {
        padding: 1rem;
        border-bottom: 1px solid var(--border-glow);
        font-size: 1rem;
    }

    h1 {
        font-size: 2.2rem;
        line-height: 1.2;
    }

    h2 {
        font-size: 1.8rem;
        line-height: 1.3;
    }

    h3 {
        font-size: 1.5rem;
    }

    section {
        padding: 2.5rem 0;
    }

    .hero {
        min-height: auto;
        padding: 4rem 0;
    }

    .btn {
        padding: 0.9rem 2rem;
        font-size: 1rem;
    }

    .learning-grid,
    .two-column {
        grid-template-columns: 1fr;
    }

    .nav-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    .view-intro-grid {
        grid-template-columns: 1fr;
    }

    .announcement-bar {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    section {
        padding: 2rem 0;
    }

    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.95rem;
    }

    .content-section {
        padding: 1.2rem;
    }

    /* --- Roadmap Timeline --- */
    .timeline-container {
        position: relative;
        padding-left: 2rem;
        border-left: 2px solid rgba(0, 212, 255, 0.15);
        margin: 2rem 0 3rem 1rem;
    }

    .timeline-item {
        position: relative;
        margin-bottom: 3.5rem;
    }

    .timeline-item::before {
        content: '';
        position: absolute;
        left: -2.6rem;
        top: 0.2rem;
        width: 16px;
        height: 16px;
        background: var(--bg-dark);
        border: 2px solid var(--kali-blue);
        border-radius: 50%;
        box-shadow: 0 0 10px rgba(0, 212, 255, 0.4);
        z-index: 2;
    }

    .timeline-item:last-child {
        margin-bottom: 0;
    }

    .timeline-content {
        background: rgba(26, 33, 64, 0.6);
        border: 1px solid rgba(0, 212, 255, 0.1);
        border-radius: 12px;
        padding: 1.5rem;
        transition: all 0.3s ease;
    }

    .timeline-item:hover .timeline-content {
        border-color: rgba(0, 212, 255, 0.3);
        background: rgba(26, 33, 64, 0.9);
        transform: translateX(5px);
    }

    /* --- Tools Grid Enhancement --- */
    .tools-category-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 1.5rem;
    }

    .tool-list-styled {
        list-style: none;
        padding: 0;
        margin-top: 1rem;
    }

    .tool-list-styled li {
        padding: 0.5rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        display: flex;
        align-items: center;
        gap: 0.5rem;
        color: var(--text-muted);
        font-size: 0.9rem;
    }

    .tool-list-styled li::before {
        content: '›';
        color: var(--kali-blue);
        font-weight: bold;
        font-size: 1.2rem;
        line-height: 0;
    }

    /* --- Image Placeholders --- */
    .img-placeholder {
        width: 100%;
        height: 200px;
        background: linear-gradient(135deg, rgba(13, 17, 40, 0.6), rgba(26, 33, 64, 0.4));
        border: 1px solid rgba(0, 212, 255, 0.12);
        border-radius: 12px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        color: var(--text-muted);
        margin-bottom: 1.5rem;
        transition: all 0.3s;
        position: relative;
        overflow: hidden;
    }

    .img-placeholder::before {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(45deg, transparent 30%, rgba(0, 212, 255, 0.03) 50%, transparent 70%);
        opacity: 0;
        transition: opacity 0.3s;
    }

    .img-placeholder:hover {
        border-color: rgba(0, 212, 255, 0.2);
        background: linear-gradient(135deg, rgba(13, 17, 40, 0.8), rgba(26, 33, 64, 0.6));
    }

    .img-placeholder:hover::before {
        opacity: 1;
    }

    .img-placeholder-icon {
        font-size: 2.5rem;
        margin-bottom: 0.75rem;
        opacity: 0.4;
    }

    .img-placeholder span {
        font-size: 0.75rem;
        text-transform: uppercase;
        letter-spacing: 0.1em;
        opacity: 0.6;
    }

}

/* --- Expanded Course Card Styles (Compact Professional) --- */
.learning-card {
    padding: 1.5rem;
    /* Reduced from default if any */
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.8rem;
    /* Reduced */
    font-size: 0.8rem;
    color: var(--text-muted);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 0.6rem;
    /* Reduced */
}

.card-meta span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.card-modules {
    margin: 0.8rem 0;
    /* Reduced */
    background: rgba(0, 0, 0, 0.2);
    padding: 0.8rem;
    /* Reduced */
    border-radius: 6px;
    font-size: 0.85rem;
}

.card-modules h4 {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--kali-blue);
    margin-bottom: 0.4rem;
    /* Reduced */
    letter-spacing: 0.05em;
}

.module-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.module-list li {
    margin-bottom: 0.25rem;
    /* Reduced */
    padding-left: 1rem;
    position: relative;
    color: var(--text-light);
    line-height: 1.4;
}

.module-list li::before {
    content: '•';
    color: var(--kali-blue);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.tool-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    /* Reduced */
    margin-top: 0.6rem;
}

.tool-tag {
    font-size: 0.7rem;
    background: rgba(0, 212, 255, 0.1);
    color: var(--kali-cyan);
    padding: 0.15rem 0.5rem;
    /* Reduced */
    border-radius: 3px;
    border: 1px solid rgba(0, 212, 255, 0.15);
}

.outcome-box {
    margin-top: 0.8rem;
    /* Reduced */
    padding-top: 0.6rem;
    /* Reduced */
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.8rem;
    line-height: 1.4;
}

.outcome-box strong {
    color: var(--accent-green);
}

/* --- Step Guide / Vertical Timeline Styles --- */
.step-guide {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin: 2rem 0;
    position: relative;
}

.step-item {
    display: flex;
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

/* Vertical connecting line */
.step-guide::before {
    content: '';
    position: absolute;
    top: 20px;
    bottom: 20px;
    left: 20px;
    /* Aligned with center of step-number (40px width / 2) */
    width: 2px;
    background: rgba(0, 212, 255, 0.15);
    z-index: 0;
}

.step-number {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: var(--bg-card);
    border: 2px solid var(--kali-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--kali-blue);
    position: relative;
    z-index: 2;
    /* Sit on top of the line */
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.2);
}

.step-content {
    flex-grow: 1;
    background: rgba(255, 255, 255, 0.03);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.step-content h4 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.step-content p {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.step-content pre {
    margin-top: 1rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
}