/* ═══════════════════════════════════════════════════════════════════
   JMC MyToFit Cognitive Fitness & Brain-Body Performance System
   Design: Neuro-Kinetic High-Energy Executive Vitality
   ═══════════════════════════════════════════════════════════════════ */

:root {
    /* Circadian Theme Engine Custom Properties */
    --bg-canvas: #FFFFFF;
    --bg-card: #E8F1F5;
    --text-primary: #1B263B;
    --accent-action: #2ECC71;
    --accent-safe: #00A896;

    /* Shift Palette Tokens */
    --shift-navy: #1B263B;
    --shift-cobalt: #0047AB;
    --shift-lime: #2ECC71;
    --shift-emerald: #00A896;
    --shift-soft: #E8F1F5;

    --bg-page: #1B263B;
    --bg-surface: #131c2e;
    --bg-surface-elevated: #0047AB;
    --bg-glass: rgba(27, 38, 59, 0.85);
    --bg-glass-card: rgba(0, 71, 171, 0.32);
    --bg-border: rgba(232, 241, 245, 0.14);

    --text-white: #ffffff;
    --text-main: #FFFFFF;
    --text-muted: #E8F1F5;
    --text-dim: #94a3b8;

    /* MYTOSHIFT Circadian Palette */
    --synapse-violet: #00A896;
    --synapse-violet-glow: rgba(0, 168, 150, 0.4);
    --kinetic-cyan: #2ECC71;
    --kinetic-cyan-glow: rgba(46, 204, 113, 0.4);
    --neon-rose: #0047AB;
    --neon-rose-glow: rgba(0, 71, 171, 0.4);
    --solar-amber: #ffb703;
    --solar-amber-glow: rgba(255, 183, 3, 0.35);
    --emerald-boost: #00A896;
    --emerald-glow: rgba(0, 168, 150, 0.35);

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;

    --shadow-card: 0 16px 40px -10px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    --shadow-glow-cyan: 0 0 30px rgba(46, 204, 113, 0.28);
    --shadow-glow-violet: 0 0 35px rgba(0, 168, 150, 0.3);
    --shadow-glow-rose: 0 0 35px rgba(0, 71, 171, 0.3);

    --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] {
    --bg-canvas: #1B263B;
    --bg-card: #0047AB;
    --text-primary: #FFFFFF;
    --accent-action: #2ECC71;
    --accent-safe: #00A896;
}

/* ── Base ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body.cognitive-page {
    font-family: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-page);
    color: var(--text-main);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    position: relative;
    background-image: 
        radial-gradient(ellipse 70% 45% at 50% -10%, rgba(0, 71, 171, 0.28), transparent 70%),
        radial-gradient(ellipse 60% 40% at 100% 40%, rgba(46, 204, 113, 0.14), transparent 60%),
        radial-gradient(ellipse 50% 35% at 0% 70%, rgba(0, 168, 150, 0.14), transparent 60%);
    background-attachment: fixed;
}

h1, h2, h3, h4, h5 {
    font-family: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
    color: var(--text-white);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

a { color: var(--kinetic-cyan); text-decoration: none; transition: all var(--transition); }
a:hover { color: #ffffff; text-shadow: 0 0 12px var(--kinetic-cyan); }

.container {
    max-width: 1220px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding { padding: 96px 0; }

/* ── Synapse Energy Badges & Kickers ──────────────────────────────── */
.energy-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(139, 92, 246, 0.12);
    border: 1px solid rgba(139, 92, 246, 0.35);
    border-radius: var(--radius-full);
    color: #c4b5fd;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.2);
    margin-bottom: 20px;
}
.energy-pill.cyan {
    background: rgba(0, 240, 255, 0.1);
    border-color: rgba(0, 240, 255, 0.35);
    color: var(--kinetic-cyan);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.2);
}
.energy-pill.amber {
    background: rgba(255, 183, 3, 0.1);
    border-color: rgba(255, 183, 3, 0.35);
    color: var(--solar-amber);
    box-shadow: 0 0 20px rgba(255, 183, 3, 0.2);
}

.section-header-center {
    text-align: center;
    max-width: 820px;
    margin: 0 auto 56px;
}
.section-header-center h2 {
    font-size: 2.6rem;
    margin-bottom: 18px;
}
.section-header-center p {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ── Buttons ──────────────────────────────────────────────────────── */
.btn-cog {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 0.96rem;
    font-weight: 800;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    letter-spacing: 0.2px;
}
.btn-cog-violet {
    background: linear-gradient(135deg, #00A896 0%, #0047AB 100%);
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 168, 150, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.btn-cog-violet:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 168, 150, 0.6), 0 0 20px var(--synapse-violet);
    color: #ffffff;
}
.btn-cog-cyan {
    background: linear-gradient(135deg, #2ECC71 0%, #00A896 100%);
    color: #1B263B;
    font-weight: 900;
    box-shadow: 0 4px 20px rgba(46, 204, 113, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.btn-cog-cyan:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(46, 204, 113, 0.6), 0 0 25px var(--kinetic-cyan);
    color: #1B263B;
}
.btn-cog-outline {
    background: rgba(255, 255, 255, 0.04);
    color: #e2e8f0;
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
}
.btn-cog-outline:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--kinetic-cyan);
    color: #ffffff;
    box-shadow: 0 0 18px rgba(46, 204, 113, 0.2);
}

/* ── Top Bar / Navbar ─────────────────────────────────────────────── */
.cog-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(27, 38, 59, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(232, 241, 245, 0.12);
}
.cog-nav-inner {
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.cog-nav-left {
    display: flex;
    align-items: center;
    gap: 16px;
}
.cog-logo-img { height: 36px; width: auto; object-fit: contain; }
.cog-nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
    list-style: none;
}
.cog-nav-links a {
    color: var(--text-muted);
    font-size: 0.92rem;
    font-weight: 600;
    white-space: nowrap;
}
.cog-nav-links a:hover {
    color: #ffffff;
    text-shadow: 0 0 12px var(--kinetic-cyan);
}
.cog-nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}
.lang-switcher {
    display: flex;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    padding: 2px;
}
.lang-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition);
}
.lang-btn.active {
    background: var(--synapse-violet);
    color: #ffffff;
    box-shadow: 0 0 10px var(--synapse-violet);
}

/* ── Hero Section ─────────────────────────────────────────────────── */
.cog-hero {
    position: relative;
    padding: 80px 0 60px;
    overflow: hidden;
}
.cog-hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
    align-items: center;
}
.cog-hero h1 {
    font-size: 3.4rem;
    letter-spacing: -0.03em;
    margin-bottom: 22px;
    font-weight: 900;
}
.gradient-text-neuro {
    background: linear-gradient(135deg, #2ECC71 0%, #00A896 55%, #E8F1F5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.cog-hero p.hero-sub {
    font-size: 1.18rem;
    color: #cbd5e1;
    line-height: 1.75;
    margin-bottom: 32px;
    max-width: 620px;
}
.cog-hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 36px;
}

/* Hero Stats Strip */
.hero-telemetry-strip {
    display: flex;
    gap: 28px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.telemetry-item {
    display: flex;
    flex-direction: column;
}
.telemetry-value {
    font-size: 1.7rem;
    font-weight: 900;
    color: #ffffff;
    font-family: 'Plus Jakarta Sans', sans-serif;
}
.telemetry-value.cyan { color: var(--kinetic-cyan); text-shadow: 0 0 12px var(--kinetic-cyan-glow); }
.telemetry-value.violet { color: var(--synapse-violet); text-shadow: 0 0 12px var(--synapse-violet-glow); }
.telemetry-value.amber { color: var(--solar-amber); text-shadow: 0 0 12px var(--solar-amber-glow); }
.telemetry-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Hero Right: Live Brain Hub Display */
.hero-hub-card {
    background: var(--bg-glass-card);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: var(--radius-xl);
    padding: 36px 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 35px rgba(139, 92, 246, 0.2);
    position: relative;
}
.hero-hub-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}
.hub-status-live {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--kinetic-cyan);
}
.live-pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--kinetic-cyan);
    box-shadow: 0 0 10px var(--kinetic-cyan);
    animation: livePulse 1.8s infinite ease-in-out;
}
@keyframes livePulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.6); opacity: 0.4; }
}
.hero-synapse-visualizer {
    background: rgba(5, 8, 20, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 24px 20px;
    text-align: center;
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
}
.synapse-score-badge {
    font-size: 3.2rem;
    font-weight: 900;
    color: #ffffff;
    line-height: 1;
    margin-bottom: 6px;
    text-shadow: 0 0 25px rgba(0, 240, 255, 0.4);
}
.synapse-score-label {
    font-size: 0.88rem;
    color: var(--text-muted);
    font-weight: 700;
}
.hub-submetrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}
.hub-submetric-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-sm);
    padding: 12px 10px;
    text-align: center;
}
.submetric-val {
    font-size: 1.15rem;
    font-weight: 800;
    color: #ffffff;
    display: block;
    margin-bottom: 2px;
}
.submetric-title {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
}

/* ── Section: The Biological Foundation (Brain & Body Triad) ──────── */
.triad-section {
    background: rgba(10, 15, 36, 0.5);
    border-top: 1px solid var(--bg-border);
    border-bottom: 1px solid var(--bg-border);
}
.triad-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 48px;
}
.triad-card {
    background: var(--bg-glass-card);
    backdrop-filter: blur(12px);
    border: 1px solid var(--bg-border);
    border-radius: var(--radius-lg);
    padding: 32px 26px;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}
.triad-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--card-accent, var(--synapse-violet));
    box-shadow: 0 0 15px var(--card-accent, var(--synapse-violet));
}
.triad-card:hover {
    transform: translateY(-4px);
    border-color: var(--card-accent, var(--synapse-violet));
    box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.6), 0 0 25px var(--card-glow, rgba(139, 92, 246, 0.25));
}
.triad-card.sleep { --card-accent: #8b5cf6; --card-glow: rgba(139, 92, 246, 0.3); }
.triad-card.movement { --card-accent: #00f0ff; --card-glow: rgba(0, 240, 255, 0.3); }
.triad-card.fuel { --card-accent: #10b981; --card-glow: rgba(16, 185, 129, 0.3); }

.triad-icon-box {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 20px;
}
.triad-card h3 {
    font-size: 1.35rem;
    margin-bottom: 12px;
}
.triad-card p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 20px;
}
.triad-mechanism-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--card-accent, #8b5cf6);
    background: rgba(255, 255, 255, 0.04);
    padding: 6px 12px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Triad Integration Banner */
.triad-integration-box {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15) 0%, rgba(0, 240, 255, 0.15) 100%);
    border: 1px solid rgba(0, 240, 255, 0.25);
    border-radius: var(--radius-lg);
    padding: 28px 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}
.integration-text h4 {
    font-size: 1.25rem;
    color: #ffffff;
    margin-bottom: 6px;
}
.integration-text p {
    font-size: 0.95rem;
    color: #cbd5e1;
}

/* ── Section: The Brain Gym Arcade (6 Games Showcase) ──────────────── */
.arcade-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 24px;
}
.arcade-card {
    background: var(--bg-glass-card);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}
.arcade-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 240, 255, 0.35);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(0, 240, 255, 0.15);
    background: rgba(22, 34, 75, 0.75);
}
.arcade-header {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 16px;
}
.arcade-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}
.arcade-title-box h4 {
    font-size: 1.2rem;
    margin-bottom: 4px;
}
.arcade-domain-tag {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--kinetic-cyan);
}
.arcade-card p.arcade-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
}
.arcade-metric-chip {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: rgba(139, 92, 246, 0.12);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: var(--radius-sm);
    color: #c4b5fd;
    font-size: 0.82rem;
    font-weight: 700;
}

/* ── Section: Playable 10-Second Reflex Arena ─────────────────────── */
.reflex-arena-section {
    background: radial-gradient(circle at 50% 50%, rgba(0, 240, 255, 0.08) 0%, transparent 60%),
                #070c1e;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.arena-container-box {
    background: rgba(12, 18, 42, 0.85);
    backdrop-filter: blur(18px);
    border: 1.5px solid rgba(0, 240, 255, 0.3);
    border-radius: var(--radius-xl);
    padding: 44px 36px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 40px rgba(0, 240, 255, 0.15);
    max-width: 960px;
    margin: 0 auto;
}
.arena-header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.arena-scoreboard {
    display: flex;
    gap: 28px;
}
.scoreboard-slot {
    display: flex;
    flex-direction: column;
}
.scoreboard-val {
    font-size: 1.8rem;
    font-weight: 900;
    color: #ffffff;
    font-family: monospace;
}
.scoreboard-slot.timer .scoreboard-val { color: var(--solar-amber); }
.scoreboard-slot.score .scoreboard-val { color: var(--kinetic-cyan); }
.scoreboard-slot.reaction .scoreboard-val { color: var(--neon-rose); }
.scoreboard-lbl {
    font-size: 0.74rem;
    color: var(--text-muted);
    font-weight: 700;
    text-transform: uppercase;
}

/* Playfield Area */
.arena-playfield {
    width: 100%;
    height: 340px;
    background: rgba(5, 8, 20, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
    cursor: crosshair;
    display: flex;
    align-items: center;
    justify-content: center;
}
.arena-intro-overlay {
    text-align: center;
    padding: 24px;
    z-index: 10;
}
.arena-target-node {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: radial-gradient(circle, #00f0ff 20%, #0284c7 80%);
    border: 2px solid #ffffff;
    box-shadow: 0 0 25px #00f0ff, 0 0 50px rgba(0, 240, 255, 0.5);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #050814;
    font-weight: 900;
    font-size: 1rem;
    user-select: none;
    transition: transform 0.05s ease-out;
    animation: targetPop 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes targetPop {
    0% { transform: scale(0.2); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}
.arena-target-node:active { transform: scale(0.85); }

/* Game Over Result Card */
.arena-result-box {
    display: none;
    text-align: center;
    padding: 32px 20px;
}
.arena-result-box.active { display: block; }
.result-tier-title {
    font-size: 2.2rem;
    font-weight: 900;
    margin-bottom: 8px;
}
.result-tier-title.elite { color: var(--kinetic-cyan); text-shadow: 0 0 25px var(--kinetic-cyan-glow); }
.result-tier-title.pro { color: var(--solar-amber); text-shadow: 0 0 25px var(--solar-amber-glow); }
.result-tier-title.fatigued { color: var(--neon-rose); text-shadow: 0 0 25px var(--neon-rose-glow); }
.result-summary-p {
    font-size: 1.05rem;
    color: #cbd5e1;
    max-width: 640px;
    margin: 0 auto 24px;
}

/* ── Section: Triple Enterprise Activation Matrix ─────────────────── */
.activation-section {
    background: #050814;
}
.activation-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.activation-card {
    background: var(--bg-glass-card);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-xl);
    padding: 36px 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all var(--transition);
    position: relative;
}
.activation-card:hover {
    transform: translateY(-4px);
    border-color: var(--act-accent, var(--kinetic-cyan));
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px var(--act-glow, rgba(0, 240, 255, 0.2));
}
.activation-card.training { --act-accent: #a855f7; --act-glow: rgba(168, 85, 247, 0.25); }
.activation-card.booth { --act-accent: #00f0ff; --act-glow: rgba(0, 240, 255, 0.25); }
.activation-card.esg { --act-accent: #10b981; --act-glow: rgba(16, 185, 129, 0.25); }

.act-kicker {
    font-size: 0.74rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--act-accent, var(--kinetic-cyan));
    margin-bottom: 12px;
    display: block;
}
.activation-card h3 {
    font-size: 1.5rem;
    margin-bottom: 14px;
}
.activation-card p.act-desc {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 24px;
}
.act-highlights {
    list-style: none;
    margin-bottom: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 18px;
}
.act-highlights li {
    font-size: 0.88rem;
    color: #e2e8f0;
    padding: 6px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}
.act-highlights li span { color: var(--act-accent, var(--kinetic-cyan)); font-weight: 700; }

/* ── Section: ESG, SDG 3 & NCD Sustainability Audit Center ─────────── */
.esg-section {
    background: radial-gradient(circle at 20% 50%, rgba(16, 185, 129, 0.08) 0%, transparent 50%),
                #080e22;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.esg-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}
.esg-table-box {
    background: rgba(10, 16, 38, 0.75);
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}
.esg-table-row {
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.esg-table-row:last-child { border-bottom: none; }
.esg-tag-pill {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
    margin-bottom: 6px;
}
.esg-table-row h4 {
    font-size: 1.05rem;
    margin-bottom: 4px;
}
.esg-table-row p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.55;
}

/* Interactive ESG Report Claim Generator Box */
.esg-generator-card {
    background: var(--bg-glass-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
}
.generator-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}
.generated-report-preview {
    background: rgba(5, 8, 20, 0.85);
    border: 1px dashed rgba(16, 185, 129, 0.4);
    border-radius: var(--radius-md);
    padding: 20px;
    font-size: 0.85rem;
    color: #cbd5e1;
    line-height: 1.7;
    margin-top: 18px;
    font-family: inherit;
    position: relative;
}

/* ── Section: Consultation & Booking Form ─────────────────────────── */
.cog-consultation-section {
    background: #050814;
    padding: 96px 0;
}
.cog-form-card {
    background: rgba(16, 24, 54, 0.85);
    backdrop-filter: blur(18px);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: var(--radius-xl);
    padding: 44px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 35px rgba(139, 92, 246, 0.15);
}
.form-group { margin-bottom: 20px; }
.form-label {
    display: block;
    font-size: 0.88rem;
    font-weight: 700;
    color: #e2e8f0;
    margin-bottom: 6px;
}
.form-control, .form-select {
    width: 100%;
    padding: 13px 16px;
    background: rgba(5, 8, 20, 0.75);
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-sm);
    color: #ffffff;
    font-size: 0.95rem;
    font-family: inherit;
    transition: all var(--transition);
}
.form-control:focus, .form-select:focus {
    outline: none;
    border-color: var(--kinetic-cyan);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.3);
    background: rgba(10, 16, 38, 0.9);
}
.form-select option { background: #0a0f24; color: #ffffff; }

/* ── Statutory Safe Harbor Disclaimer ─────────────────────────────── */
.cog-disclaimer-section {
    background: #040610;
    padding: 36px 0 48px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.cog-disclaimer-box {
    background: rgba(15, 23, 42, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 4px solid var(--synapse-violet);
    border-radius: var(--radius-md);
    padding: 24px 28px;
    backdrop-filter: blur(8px);
}
.disclaimer-header {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #c4b5fd;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.disclaimer-body {
    font-size: 0.82rem;
    color: #94a3b8;
    line-height: 1.7;
    margin: 0;
}

/* ── Modal ────────────────────────────────────────────────────────── */
.cog-modal-backdrop {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(2, 4, 12, 0.85);
    backdrop-filter: blur(14px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 24px;
}
.cog-modal-backdrop.open { display: flex; }
.cog-modal-box {
    background: #0a0f24;
    border: 1px solid rgba(139, 92, 246, 0.4);
    border-radius: var(--radius-xl);
    padding: 44px 36px;
    max-width: 520px;
    width: 100%;
    text-align: center;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(139, 92, 246, 0.25);
}

/* ── Hero Embedded Arena & Quick Play ─────────────────────────────── */
.hero-arena-wrapper {
    position: relative;
    width: 100%;
}
.arena-container-box.hero-variant {
    padding: 24px 22px;
    background: rgba(10, 16, 38, 0.88);
    backdrop-filter: blur(20px);
    border: 1.5px solid rgba(0, 240, 255, 0.35);
    border-radius: var(--radius-xl);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 35px rgba(0, 240, 255, 0.18);
    margin: 0;
    max-width: 100%;
}
.hero-playfield {
    min-height: 350px;
    height: auto;
    overflow: visible;
    padding-bottom: 16px;
}
.hero-variant .arena-result-box {
    padding: 12px 14px;
    position: relative;
    z-index: 20;
}
.hero-variant .result-tier-title {
    font-size: 1.35rem;
    margin-bottom: 6px;
}
.hero-variant .result-summary-p {
    font-size: 0.84rem;
    line-height: 1.5;
    margin: 0 auto 12px;
}
.pulse-icon-box {
    font-size: 2.6rem;
    margin-bottom: 8px;
    animation: iconPulse 2s infinite ease-in-out;
}
@keyframes iconPulse {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 10px rgba(0, 240, 255, 0.6)); }
    50% { transform: scale(1.12); filter: drop-shadow(0 0 25px rgba(0, 240, 255, 0.9)); }
}
.hero-arena-footer-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 14px;
    font-size: 0.76rem;
    color: var(--text-muted);
    font-weight: 600;
}
.live-pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 10px #10b981;
    animation: liveBlink 1.5s infinite;
}
@keyframes liveBlink {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.85); }
}
.arena-result-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 12px;
}
.btn-cog-violet {
    background: linear-gradient(135deg, #8b5cf6, #6366f1);
    color: #ffffff;
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.35);
}
.btn-cog-violet:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(139, 92, 246, 0.55);
}
.share-toast {
    margin-top: 14px;
    padding: 10px 16px;
    background: rgba(16, 185, 129, 0.18);
    border: 1px solid rgba(16, 185, 129, 0.4);
    border-radius: var(--radius-md);
    color: #6ee7b7;
    font-size: 0.82rem;
    font-weight: 700;
    text-align: center;
    animation: fadeIn 0.3s ease;
}

/* ── Section: Slump Contrast ─────────────────────────────────────── */
.slump-section {
    background: radial-gradient(circle at 50% 30%, rgba(244, 63, 94, 0.05) 0%, transparent 60%),
                #070b1a;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.slump-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-top: 40px;
}
.slump-card {
    background: var(--bg-glass-card);
    backdrop-filter: blur(16px);
    border-radius: var(--radius-xl);
    padding: 36px 32px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    transition: all var(--transition);
}
.slump-card.before {
    border-color: rgba(244, 63, 94, 0.25);
    background: linear-gradient(180deg, rgba(244, 63, 94, 0.04) 0%, rgba(10, 15, 36, 0.8) 100%);
}
.slump-card.after {
    border-color: rgba(0, 240, 255, 0.35);
    background: linear-gradient(180deg, rgba(0, 240, 255, 0.06) 0%, rgba(10, 15, 36, 0.8) 100%);
    box-shadow: 0 16px 40px rgba(0, 240, 255, 0.08);
}
.slump-card:hover {
    transform: translateY(-4px);
}
.slump-card-tag {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding: 5px 14px;
    border-radius: var(--radius-full);
    margin-bottom: 24px;
}
.slump-card-tag.before {
    background: rgba(244, 63, 94, 0.15);
    color: #fb7185;
    border: 1px solid rgba(244, 63, 94, 0.3);
}
.slump-card-tag.after {
    background: rgba(0, 240, 255, 0.15);
    color: #38bdf8;
    border: 1px solid rgba(0, 240, 255, 0.4);
}
.slump-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 0;
    margin: 0;
}
.slump-list li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}
.slump-icon {
    font-size: 1.4rem;
    line-height: 1;
    margin-top: 2px;
    flex-shrink: 0;
}
.slump-list strong {
    display: block;
    color: #ffffff;
    font-size: 1rem;
    margin-bottom: 4px;
    font-weight: 700;
}
.slump-list p {
    font-size: 0.86rem;
    color: var(--text-muted);
    line-height: 1.55;
    margin: 0;
}

/* ── Section: Inter-Department Leaderboard ─────────────────────────── */
.leaderboard-section {
    background: radial-gradient(circle at 50% 50%, rgba(139, 92, 246, 0.06) 0%, transparent 65%),
                #050814;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.leaderboard-card-wrapper {
    background: rgba(12, 18, 42, 0.85);
    backdrop-filter: blur(18px);
    border: 1.5px solid rgba(139, 92, 246, 0.3);
    border-radius: var(--radius-xl);
    padding: 36px 32px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 35px rgba(139, 92, 246, 0.12);
    margin-top: 36px;
}
.leaderboard-tabs {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.lb-tab {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    padding: 10px 20px;
    border-radius: var(--radius-full);
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition);
}
.lb-tab:hover {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.3);
}
.lb-tab.active {
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.2), rgba(139, 92, 246, 0.25));
    border-color: var(--kinetic-cyan);
    color: #ffffff;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.25);
}
.leaderboard-table-container {
    overflow-x: auto;
    margin-bottom: 28px;
}
.leaderboard-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 8px;
}
.leaderboard-table th {
    text-align: left;
    font-size: 0.76rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--text-muted);
    padding: 12px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.leaderboard-table td {
    padding: 16px 18px;
    font-size: 0.92rem;
    color: #e2e8f0;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.leaderboard-table tr td:first-child {
    border-top-left-radius: var(--radius-md);
    border-bottom-left-radius: var(--radius-md);
    border-left: 1px solid rgba(255, 255, 255, 0.04);
}
.leaderboard-table tr td:last-child {
    border-top-right-radius: var(--radius-md);
    border-bottom-right-radius: var(--radius-md);
    border-right: 1px solid rgba(255, 255, 255, 0.04);
}
.leaderboard-table tr:hover td {
    background: rgba(255, 255, 255, 0.05);
}
.lb-row-gold td {
    background: rgba(245, 158, 11, 0.05);
    border-color: rgba(245, 158, 11, 0.25) !important;
}
.lb-row-silver td {
    background: rgba(148, 163, 184, 0.04);
    border-color: rgba(148, 163, 184, 0.2) !important;
}
.lb-row-bronze td {
    background: rgba(217, 119, 6, 0.04);
    border-color: rgba(217, 119, 6, 0.2) !important;
}
.lb-medal {
    font-weight: 800;
    font-size: 0.88rem;
}
.lb-medal.gold { color: #f59e0b; }
.lb-medal.silver { color: #cbd5e1; }
.lb-medal.bronze { color: #f97316; }
.lb-stat-cyan {
    font-weight: 800;
    color: var(--kinetic-cyan);
    font-family: monospace;
    font-size: 1.05rem;
}
.lb-stat-violet {
    font-weight: 800;
    color: #c084fc;
    font-family: monospace;
    font-size: 1.05rem;
}
.lb-badge-live {
    font-size: 0.74rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    background: rgba(0, 240, 255, 0.12);
    color: #38bdf8;
    border: 1px solid rgba(0, 240, 255, 0.25);
    white-space: nowrap;
}
.leaderboard-cta-callout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.08), rgba(139, 92, 246, 0.1));
    border: 1px solid rgba(0, 240, 255, 0.3);
    border-radius: var(--radius-lg);
    padding: 24px 28px;
    flex-wrap: wrap;
}
.callout-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    background: rgba(245, 158, 11, 0.2);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.4);
    margin-bottom: 8px;
}
.callout-left h4 {
    font-size: 1.25rem;
    color: #ffffff;
    margin-bottom: 6px;
}
.callout-left p {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin: 0;
    max-width: 620px;
}

/* ── Responsive ───────────────────────────────────────────────────── */
@media (max-width: 960px) {
    .cog-hero-grid { grid-template-columns: 1fr; gap: 36px; }
    .triad-grid { grid-template-columns: 1fr; }
    .triad-integration-box { flex-direction: column; align-items: flex-start; }
    .slump-grid { grid-template-columns: 1fr; }
    .leaderboard-cta-callout { flex-direction: column; align-items: flex-start; }
    .activation-grid { grid-template-columns: 1fr; }
    .esg-grid { grid-template-columns: 1fr; }
    .cog-nav-links { display: none; }
}
@media (max-width: 640px) {
    .cog-hero h1 { font-size: 2.3rem; }
    .hero-telemetry-strip { flex-direction: column; gap: 14px; }
    .cog-form-card { padding: 24px; }
    .arena-scoreboard { gap: 14px; }
    .scoreboard-val { font-size: 1.4rem; }
}
