/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-bg: #000000;
    --color-bg-elevated: #0a0a0a;
    --color-bg-card: #111111;
    --color-bg-card-hover: #1a1a1a;
    --color-text: #f5f5f7;
    --color-text-secondary: #86868b;
    --color-text-tertiary: #6e6e73;
    --color-accent: #2997ff;
    --color-accent-secondary: #bf5af2;
    --color-gradient-start: #2997ff;
    --color-gradient-end: #bf5af2;
    --color-border: rgba(255, 255, 255, 0.08);
    --color-border-hover: rgba(255, 255, 255, 0.15);
    
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-display: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-quint: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
    
    --nav-height: 64px;
    --container-max: 1200px;
    --container-padding: 24px;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-primary);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

::selection {
    background: rgba(41, 151, 255, 0.3);
    color: #ffffff;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

/* ============================================
   CONTAINER
   ============================================ */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
.text-gradient {
    background: linear-gradient(135deg, var(--color-gradient-start), var(--color-gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-label {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 1.5rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--color-text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

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

/* ============================================
   ANIMATIONS
   ============================================ */
.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

.reveal-up.revealed {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    z-index: 1000;
    transition: all 0.4s var(--ease-out-expo);
}

.nav.scrolled {
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--color-border);
}

.nav-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.nav-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--color-text);
    transition: opacity 0.3s;
    text-decoration: none;
    line-height: normal;
    padding: 6px 0;
    overflow: visible;
}

.nav-logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    filter: drop-shadow(0 0 10px rgba(56, 189, 248, 0.55));
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.35s ease;
    overflow: visible;
}

.neon-logo-svg {
    display: block;
    overflow: visible;
}

.nav-logo:hover .nav-logo-mark {
    transform: rotate(24deg) scale(1.1);
    filter: drop-shadow(0 0 15px rgba(244, 114, 182, 0.75));
}

.nav-logo-text {
    display: inline-flex;
    align-items: center;
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.3;
    overflow: visible;
}

.logo-geeky {
    display: inline-block;
    background: linear-gradient(135deg, #38bdf8 0%, #a855f7 50%, #f472b6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    filter: drop-shadow(0 0 10px rgba(56, 189, 248, 0.35));
    padding-bottom: 5px;
    margin-bottom: -5px;
    padding-top: 2px;
    margin-top: -2px;
    line-height: 1.3;
}

.logo-sumeet {
    display: inline-block;
    color: #f8fafc;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-left: 1px;
    text-shadow: 0 0 12px rgba(255, 255, 255, 0.25);
    padding-bottom: 5px;
    margin-bottom: -5px;
    padding-top: 2px;
    margin-top: -2px;
    line-height: 1.3;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-shrink: 0;
    white-space: nowrap;
}

/* Hide Profile section links when NOT in profile mode to prevent nav collision/overlap */
body:not(.mode-profile) .nav-links {
    display: none !important;
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text-secondary);
    transition: color 0.3s;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-accent);
    transition: width 0.3s var(--ease-out-expo);
}

.nav-link:hover {
    color: var(--color-text);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link-cta {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 38px;
    padding: 0 18px;
    font-size: 0.78rem;
    font-weight: 700;
    color: #38bdf8;
    background: rgba(10, 14, 26, 0.88);
    border: 1px solid rgba(56, 189, 248, 0.38);
    border-radius: 9999px;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1),
                0 4px 18px rgba(0, 0, 0, 0.45),
                0 0 14px rgba(56, 189, 248, 0.16);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-sizing: border-box;
    cursor: pointer;
    vertical-align: middle;
    flex-shrink: 0;
}

.nav-link-cta::after {
    display: none !important;
}

.nav-link-cta:hover {
    background: rgba(56, 189, 248, 0.18);
    border-color: rgba(56, 189, 248, 0.85);
    color: #ffffff;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.18),
                0 4px 22px rgba(0, 0, 0, 0.55),
                0 0 24px rgba(56, 189, 248, 0.45);
    transform: translateY(-1px);
}

.nav-link-cta:active {
    transform: translateY(0);
}

.cta-icon-svg {
    display: inline-block;
    flex-shrink: 0;
    color: #38bdf8;
    filter: drop-shadow(0 0 6px rgba(56, 189, 248, 0.65));
    transition: transform 0.3s ease, filter 0.3s ease, color 0.3s ease;
}

.nav-link-cta:hover .cta-icon-svg {
    color: #ffffff;
    filter: drop-shadow(0 0 10px rgba(56, 189, 248, 0.95));
    transform: scale(1.15) rotate(-6deg);
}

.mobile-link-cta {
    display: inline-flex !important;
    align-items: center;
    gap: 10px;
    padding: 10px 22px !important;
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.35) !important;
    border-radius: 9999px;
    color: #38bdf8 !important;
    font-size: 1.15rem !important;
    font-weight: 700;
    margin-top: 10px;
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.2);
    transition: all 0.3s ease;
}

.mobile-link-cta:hover {
    background: rgba(56, 189, 248, 0.22);
    border-color: rgba(56, 189, 248, 0.8) !important;
    color: #ffffff !important;
    box-shadow: 0 0 22px rgba(56, 189, 248, 0.45);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    width: 24px;
    height: 1.5px;
    background: var(--color-text);
    transition: all 0.3s var(--ease-out-expo);
}

.nav-toggle.active span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 25px 20px 40px;
    gap: 1.25rem;
    overflow-y: auto;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s var(--ease-out-expo);
}

.mobile-menu.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-link {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-text);
    transition: color 0.3s;
}

.mobile-link:hover {
    color: var(--color-accent);
}

/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 120px var(--container-padding) 80px;
}

.hero-bg-gradient {
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 150%;
    height: 150%;
    background: radial-gradient(ellipse at center, rgba(41, 151, 255, 0.08) 0%, rgba(191, 90, 242, 0.04) 30%, transparent 70%);
    pointer-events: none;
    animation: heroGradientPulse 8s ease-in-out infinite;
}

@keyframes heroGradientPulse {
    0%, 100% { opacity: 0.6; transform: translateX(-50%) scale(1); }
    50% { opacity: 1; transform: translateX(-50%) scale(1.1); }
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.hero-content {
    position: relative;
    text-align: center;
    max-width: 900px;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1.25rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-text-secondary);
    letter-spacing: 0.04em;
    margin-bottom: 2.5rem;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #30d158;
    box-shadow: 0 0 8px rgba(48, 209, 88, 0.6);
    animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 8px rgba(48, 209, 88, 0.6); }
    50% { opacity: 0.6; box-shadow: 0 0 16px rgba(48, 209, 88, 0.4); }
}

.hero-name {
    font-family: var(--font-display);
    font-size: clamp(4rem, 12vw, 9rem);
    line-height: 0.95;
    letter-spacing: -0.05em;
    margin-bottom: 1rem;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.3em;
}

.name-first {
    font-weight: 300;
    color: rgba(255, 255, 255, 0.85);
}

.name-last {
    font-weight: 900;
    background: linear-gradient(135deg, #ffffff 30%, var(--color-gradient-start) 70%, var(--color-gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
    color: var(--color-text-secondary);
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.hero-tagline {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--color-text-secondary);
    margin-bottom: 1.25rem;
}

.delay-1-5 { transition-delay: 0.15s; }

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 4rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    padding: 0.875rem 2rem;
    border-radius: 100px;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s var(--ease-out-expo);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--color-accent);
    color: #ffffff;
}

.btn-primary:hover {
    background: #0077ed;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(41, 151, 255, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--color-accent);
    border: 1px solid rgba(41, 151, 255, 0.4);
}

.btn-secondary:hover {
    background: rgba(41, 151, 255, 0.1);
    border-color: var(--color-accent);
    transform: translateY(-2px);
}

/* Hero Metrics */
.hero-metrics {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.metric {
    text-align: center;
}

.metric-value {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--color-gradient-start), var(--color-gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.metric-suffix {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--color-gradient-start), var(--color-gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.metric-label {
    display: block;
    font-size: 0.8125rem;
    color: var(--color-text-tertiary);
    margin-top: 0.25rem;
    font-weight: 500;
}

.metric-divider {
    width: 1px;
    height: 40px;
    background: var(--color-border);
}

/* Global metrics */
.metric-icon {
    display: block;
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.metric-global {
    max-width: 240px;
}

.metric-regions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
    justify-content: center;
    margin-top: 0.5rem;
}

.region-pill {
    padding: 0.2rem 0.625rem;
    background: rgba(41, 151, 255, 0.1);
    border: 1px solid rgba(41, 151, 255, 0.2);
    border-radius: 100px;
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--color-accent);
    letter-spacing: 0.02em;
    transition: all 0.3s var(--ease-out-expo);
}

.region-pill:hover {
    background: rgba(41, 151, 255, 0.2);
    border-color: var(--color-accent);
    transform: translateY(-2px);
}

.metric-value-text {
    display: block;
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--color-gradient-start), var(--color-gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.metric-location {
    min-width: 100px;
}

.metric-vibe {
    max-width: 260px;
}

.metric-vibe-text {
    display: block;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--color-text-secondary);
    line-height: 1.5;
}

.metric-vibe-text strong {
    color: var(--color-text);
    font-weight: 700;
}

.metric-vibe-sub {
    display: block;
    font-size: 0.75rem;
    color: var(--color-text-tertiary);
    margin-top: 0.25rem;
    font-style: italic;
    letter-spacing: 0.01em;
}

.metric-vibe .metric-icon {
    font-size: 2rem;
    animation: coffeeSteam 3s ease-in-out infinite;
}

@keyframes coffeeSteam {
    0%, 100% { transform: translateY(0) rotate(0deg); opacity: 1; }
    25% { transform: translateY(-3px) rotate(-5deg); }
    50% { transform: translateY(-1px) rotate(3deg); opacity: 0.8; }
    75% { transform: translateY(-4px) rotate(-2deg); }
}

/* Connect location badge */
.connect-location {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: rgba(41, 151, 255, 0.06);
    border: 1px solid rgba(41, 151, 255, 0.15);
    border-radius: 100px;
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    margin-bottom: 2.5rem;
}

.connect-location strong {
    color: var(--color-text);
}

.location-pin {
    font-size: 1rem;
    animation: pinBounce 2s ease-in-out infinite;
}

@keyframes pinBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--color-accent), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.6); transform-origin: top; }
    50% { opacity: 1; transform: scaleY(1); transform-origin: top; }
}

/* ============================================
   SECTIONS GENERAL
   ============================================ */
.section {
    padding: 8rem 0;
    position: relative;
    scroll-margin-top: 85px;
}

.section-about {
    border-top: 1px solid var(--color-border);
}

/* ============================================
   ABOUT — PHOTO FEATURE
   ============================================ */
.about-photo-feature {
    display: flex;
    justify-content: center;
    margin-bottom: 5rem;
}

.photo-wrapper {
    position: relative;
    width: 280px;
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: photoFloat 6s ease-in-out infinite;
}

@keyframes photoFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* Rotating gradient ring */
.photo-ring {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: conic-gradient(
        from 0deg,
        var(--color-gradient-start),
        var(--color-gradient-end),
        transparent,
        var(--color-gradient-start)
    );
    animation: ringRotate 6s linear infinite;
    opacity: 0.8;
}

.photo-ring-2 {
    inset: -8px;
    opacity: 0.25;
    animation: ringRotate 10s linear infinite reverse;
    filter: blur(6px);
}

@keyframes ringRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Ambient glow behind photo */
.photo-glow {
    position: absolute;
    inset: -40px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(41, 151, 255, 0.15) 0%, rgba(191, 90, 242, 0.08) 40%, transparent 70%);
    animation: glowPulse 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.08); }
}

/* Photo frame and image */
.photo-frame {
    position: relative;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    overflow: hidden;
    z-index: 2;
    border: 3px solid var(--color-bg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.photo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    filter: grayscale(15%) contrast(1.05);
    transition: all 0.6s var(--ease-out-expo);
}

.photo-wrapper:hover .photo-img {
    filter: grayscale(0%) contrast(1.1);
    transform: scale(1.05);
}

/* Orbiting dots */
.photo-dots {
    position: absolute;
    inset: 0;
    animation: dotsOrbit 20s linear infinite;
}

.dot {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-accent);
}

.dot-1 { top: -3px; left: 50%; transform: translateX(-50%); opacity: 0.8; }
.dot-2 { bottom: -3px; left: 50%; transform: translateX(-50%); opacity: 0.5; background: var(--color-accent-secondary); }
.dot-3 { top: 20%; right: -3px; opacity: 0.6; width: 4px; height: 4px; }
.dot-4 { bottom: 20%; left: -3px; opacity: 0.4; width: 5px; height: 5px; background: var(--color-accent-secondary); }
.dot-5 { top: 50%; right: -2px; transform: translateY(-50%); opacity: 0.3; width: 3px; height: 3px; }
.dot-6 { top: 50%; left: -2px; transform: translateY(-50%); opacity: 0.5; width: 4px; height: 4px; background: var(--color-accent-secondary); }

@keyframes dotsOrbit {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ============================================
   ABOUT — CONTENT
   ============================================ */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-text {
    font-size: 1.125rem;
    color: var(--color-text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.about-text strong {
    color: var(--color-text);
    font-weight: 600;
}

.about-text em {
    font-style: italic;
    color: var(--color-text);
}

.about-text-highlight {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-top: 0.5rem;
    font-style: italic;
    border-left: 2px solid var(--color-accent);
    padding-left: 1.25rem;
}

.about-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 2rem;
}

.tag {
    padding: 0.375rem 1rem;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 100px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--color-text-secondary);
    transition: all 0.3s var(--ease-out-expo);
}

.tag:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
    background: rgba(41, 151, 255, 0.05);
}

/* ============================================
   EXPERTISE
   ============================================ */
.section-expertise {
    background: var(--color-bg-elevated);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.expertise-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all 0.5s var(--ease-out-expo);
    position: relative;
    overflow: hidden;
}

.expertise-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
    opacity: 0;
    transition: opacity 0.5s;
}

.expertise-card:hover {
    border-color: var(--color-border-hover);
    background: var(--color-bg-card-hover);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.expertise-card:hover::before {
    opacity: 1;
}

.card-icon {
    width: 48px;
    height: 48px;
    color: var(--color-accent);
    margin-bottom: 1.5rem;
    transition: transform 0.5s var(--ease-out-expo);
}

.expertise-card:hover .card-icon {
    transform: scale(1.1);
}

.card-title {
    font-size: 1.375rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
}

.card-text {
    font-size: 0.9375rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
}

.card-tags span {
    padding: 0.25rem 0.75rem;
    background: rgba(41, 151, 255, 0.08);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--color-accent);
}

/* ============================================
   APPROACH
   ============================================ */
.approach-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline-line {
    position: absolute;
    left: 40px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom, var(--color-accent), var(--color-accent-secondary), transparent);
    opacity: 0.3;
}

.approach-step {
    display: flex;
    gap: 3rem;
    margin-bottom: 4rem;
    position: relative;
}

.step-number {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-accent);
    min-width: 80px;
    padding-top: 0.25rem;
    font-variant-numeric: tabular-nums;
}

.step-content {
    flex: 1;
}

.step-icon {
    width: 32px;
    height: 32px;
    color: var(--color-accent);
    margin-bottom: 1rem;
    opacity: 0.6;
}

.step-title {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
}

.step-text {
    font-size: 1rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

.approach-result {
    margin-top: 3rem;
}

.result-card {
    background: linear-gradient(135deg, rgba(41, 151, 255, 0.08), rgba(191, 90, 242, 0.08));
    border: 1px solid rgba(41, 151, 255, 0.2);
    border-radius: 20px;
    padding: 2.5rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.result-icon {
    font-size: 2rem;
    color: var(--color-accent);
    font-weight: 300;
}

.result-content h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--color-gradient-start), var(--color-gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.result-content p {
    font-size: 1rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

/* ============================================
   ECOSYSTEM
   ============================================ */
.section-ecosystem {
    background: var(--color-bg-elevated);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.ecosystem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.eco-card {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 20px;
    transition: all 0.5s var(--ease-out-expo);
}

.eco-card:hover {
    border-color: var(--color-border-hover);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.eco-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    color: var(--color-accent);
}

.eco-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.eco-text {
    font-size: 0.9375rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

/* ============================================
   VALUE SECTION
   ============================================ */
.section-value {
    padding: 10rem 0;
}

.value-statement {
    text-align: center;
    margin-bottom: 5rem;
}

.value-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.04em;
    color: var(--color-text);
}

.value-rotate-container {
    position: relative;
    display: inline-block;
    height: 1.3em;
    min-width: 380px;
    vertical-align: bottom;
    overflow: hidden;
    padding: 0 0.1em;
}

.value-word {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%) translateY(100%);
    opacity: 0;
    transition: all 0.6s var(--ease-out-expo);
    background: linear-gradient(135deg, var(--color-gradient-start), var(--color-gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    white-space: nowrap;
}

.value-word.active {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.value-word.exit-up {
    opacity: 0;
    transform: translateX(-50%) translateY(-100%);
}

.value-word.enter-down {
    opacity: 0;
    transform: translateX(-50%) translateY(100%);
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.value-card {
    padding: 2.5rem;
    border: 1px solid var(--color-border);
    border-radius: 20px;
    transition: all 0.5s var(--ease-out-expo);
    position: relative;
}

.value-card:hover {
    border-color: var(--color-border-hover);
    background: var(--color-bg-card);
    transform: translateY(-4px);
}

.value-number {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: 1.5rem;
    font-variant-numeric: tabular-nums;
}

.value-card h3 {
    font-size: 1.375rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.value-card p {
    font-size: 0.9375rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

/* ============================================
   PASSION
   ============================================ */
.section-passion {
    border-top: 1px solid var(--color-border);
}

.passion-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.passion-text {
    font-size: 1.125rem;
    color: var(--color-text-secondary);
    line-height: 1.8;
    margin-top: 1rem;
}

.passion-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.passion-card {
    padding: 1.75rem;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    transition: all 0.5s var(--ease-out-expo);
}

.passion-card:hover {
    border-color: var(--color-border-hover);
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

.passion-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.passion-card h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.passion-card p {
    font-size: 0.8125rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* ============================================
   AUDIENCES
   ============================================ */
.section-audiences {
    background: var(--color-bg-elevated);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.audience-card {
    padding: 2.5rem;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 20px;
    transition: all 0.5s var(--ease-out-expo);
}

.audience-card:hover {
    border-color: var(--color-border-hover);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.audience-number {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-accent);
    margin-bottom: 1.25rem;
}

.audience-card h3 {
    font-size: 1.375rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.audience-card p {
    font-size: 0.9375rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

/* ============================================
   CONNECT
   ============================================ */
.section-connect {
    padding: 10rem 0;
}

.connect-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.connect-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
}

.connect-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-bottom: 3.5rem;
    font-weight: 400;
}

.connect-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    max-width: 600px;
    margin: 0 auto;
}

.connect-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 24px;
    transition: all 0.5s var(--ease-out-expo);
    position: relative;
    overflow: hidden;
}

.connect-action::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 1px;
    background: linear-gradient(135deg, var(--color-gradient-start), var(--color-gradient-end));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.5s var(--ease-out-expo);
}

.connect-action:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4);
    background: var(--color-bg-card-hover);
}

.connect-action:hover::before {
    opacity: 1;
}

.action-icon {
    width: 32px;
    height: 32px;
    min-width: 32px;
    min-height: 32px;
    max-width: 32px;
    max-height: 32px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(41, 151, 255, 0.06);
    border: 1px solid rgba(41, 151, 255, 0.12);
    color: var(--color-accent);
    margin-bottom: 1rem;
    transition: all 0.4s var(--ease-out-expo);
}

.action-icon svg {
    width: 14px;
    height: 14px;
    max-width: 14px;
    max-height: 14px;
    flex-shrink: 0;
}

.connect-action:hover .action-icon {
    background: rgba(41, 151, 255, 0.12);
    border-color: rgba(41, 151, 255, 0.3);
    transform: scale(1.05);
}

.action-label {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 0.375rem;
    color: var(--color-text);
}

.action-value {
    font-size: 0.8125rem;
    color: var(--color-text-tertiary);
    margin-bottom: 1.25rem;
    word-break: break-all;
}

.action-cta {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-accent);
    opacity: 0;
    transform: translateY(6px);
    transition: all 0.4s var(--ease-out-expo);
}

.connect-action:hover .action-cta {
    opacity: 1;
    transform: translateY(0);
}

.connect-link {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.25rem 1.5rem;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    transition: all 0.4s var(--ease-out-expo);
    text-align: left;
}

.connect-link:hover {
    border-color: var(--color-accent);
    background: rgba(41, 151, 255, 0.05);
    transform: translateX(8px);
}

.connect-link-icon {
    width: 24px;
    height: 24px;
    color: var(--color-accent);
    flex-shrink: 0;
}

.connect-link-icon svg {
    width: 100%;
    height: 100%;
}

.connect-link-text {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.connect-link-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-tertiary);
}

.connect-link-value {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--color-text);
}

.connect-arrow {
    color: var(--color-accent);
    font-size: 1.25rem;
    opacity: 0;
    transform: translateX(-8px);
    transition: all 0.3s var(--ease-out-expo);
}

.connect-link:hover .connect-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    padding: 3rem 0;
    border-top: 1px solid var(--color-border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-left {
    display: flex;
    flex-direction: column;
}

.footer-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-right {
    text-align: right;
}

.footer-logo {
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
    display: inline-block;
}

.footer-tagline {
    font-size: 0.8125rem;
    color: var(--color-text-tertiary);
    margin-top: 0.25rem;
}

.footer-copy {
    font-size: 0.8125rem;
    color: var(--color-text-tertiary);
}

/* Built With Passion & Caffeine Badge */
.built-with-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(245, 158, 11, 0.25);
    border-radius: 9999px;
    font-size: 0.78rem;
    font-weight: 500;
    color: #94a3b8;
    letter-spacing: 0.01em;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 0 16px rgba(245, 158, 11, 0.06);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: default;
    user-select: none;
}

.built-with-badge:hover {
    border-color: rgba(245, 158, 11, 0.5);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 22px rgba(245, 158, 11, 0.18);
    transform: translateY(-1px);
    color: #cbd5e1;
}

.built-with-icon {
    font-size: 0.95rem;
    display: inline-block;
    filter: drop-shadow(0 0 6px rgba(245, 158, 11, 0.5));
    animation: gentle-steam 3s ease-in-out infinite;
    transform-origin: center bottom;
}

@keyframes gentle-steam {
    0%, 100% { transform: translateY(0) rotate(0deg) scale(1); }
    50% { transform: translateY(-2px) rotate(4deg) scale(1.08); }
}

.passion-highlight {
    background: linear-gradient(135deg, #f472b6, #fb7185);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.caffeine-highlight {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

/* ============================================
   SSL TRUST CERTIFICATE SEAL
   ============================================ */
.ssl-seal-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 0 1rem 2.75rem;
    margin-top: -0.5rem;
    position: relative;
    z-index: 10;
    text-align: center;
}

.ssl-seal-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.ssl-seal-wrapper:hover {
    border-color: rgba(56, 189, 248, 0.4);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 24px rgba(56, 189, 248, 0.15);
    transform: translateY(-1px);
}

.ssl-seal-wrapper img,
.ssl-seal-container img,
.ssl-seal-img {
    height: 38px;
    width: auto;
    max-width: 100%;
    display: block;
    object-fit: contain;
    filter: brightness(0.96) contrast(1.05);
    transition: filter 0.2s ease;
}

.ssl-seal-wrapper:hover img,
.ssl-seal-container:hover img {
    filter: brightness(1.05) contrast(1.1);
}

.ssl-cert-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 14px;
    background: rgba(16, 185, 129, 0.06);
    border: 1px solid rgba(16, 185, 129, 0.22);
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
    color: #cbd5e1;
    letter-spacing: 0.02em;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}

.ssl-cert-badge:hover {
    border-color: rgba(16, 185, 129, 0.45);
    background: rgba(16, 185, 129, 0.1);
    box-shadow: 0 0 16px rgba(16, 185, 129, 0.15);
    color: #f8fafc;
}

.ssl-cert-dot {
    width: 6px;
    height: 6px;
    background-color: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 8px #10b981, 0 0 14px rgba(16, 185, 129, 0.6);
    animation: ssl-pulse 2.2s infinite ease-in-out;
}

@keyframes ssl-pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.55;
        transform: scale(0.85);
    }
}

.ssl-lock-svg {
    color: #34d399;
}

.ssl-badge-text {
    color: #94a3b8;
}

.ssl-badge-sep {
    color: rgba(255, 255, 255, 0.2);
}

.ssl-badge-verified {
    color: #34d399;
    font-weight: 600;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

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

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

    .passion-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

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

@media (max-width: 1300px) {
    .nav-links {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }
}

@media (max-width: 768px) {
    :root {
        --container-padding: 20px;
    }

    .nav-links {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .photo-wrapper {
        width: 220px;
        height: 220px;
    }

    .photo-frame {
        width: 200px;
        height: 200px;
    }

    .about-photo-feature {
        margin-bottom: 3rem;
    }

    .hero {
        padding: 100px var(--container-padding) 60px;
    }

    .hero-metrics {
        gap: 1.5rem;
    }

    .metric-divider {
        display: none;
    }

    .section {
        padding: 5rem 0;
    }

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

    .section-value {
        padding: 6rem 0;
    }

    .section-connect {
        padding: 6rem 0;
    }

    .connect-actions {
        grid-template-columns: 1fr;
    }

    .hero-name {
        flex-direction: column;
        align-items: center;
        gap: 0;
    }

    .approach-step {
        flex-direction: column;
        gap: 1rem;
    }

    .timeline-line {
        display: none;
    }

    .passion-cards {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1.25rem;
        align-items: center;
    }

    .footer-right {
        text-align: center;
    }

    .result-card {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .value-title {
        font-size: 2rem;
    }

    .value-rotate-container {
        min-width: 220px;
    }
}

/* ============================================
   SMOOTH SCROLL SNAP (OPTIONAL ENHANCEMENT)
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    .reveal-up {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .hero-bg-gradient {
        animation: none;
    }

    .scroll-line {
        animation: none;
    }
}

/* ============================================
   CURSOR GLOW EFFECT
   ============================================ */
.cursor-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(41, 151, 255, 0.04) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s;
}

/* ============================================
   EXECUTIVE MODE TOGGLE ("HOW I DO IT")
   ============================================ */
.mode-switch-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
    background: rgba(10, 14, 26, 0.88);
    border: 1px solid rgba(56, 189, 248, 0.35);
    border-radius: 9999px;
    height: 38px;
    padding: 3px;
    box-sizing: border-box;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.12),
                0 4px 20px rgba(0, 0, 0, 0.5),
                0 0 15px rgba(56, 189, 248, 0.14);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    vertical-align: middle;
    transition: border-color 0.35s ease, box-shadow 0.35s ease;
    flex-shrink: 0;
}

.mode-switch-wrapper.how-i-do-active {
    border-color: rgba(6, 182, 212, 0.5);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.12),
                0 4px 20px rgba(0, 0, 0, 0.5),
                0 0 20px rgba(6, 182, 212, 0.22);
}

.mode-switch-wrapper.geeky-side-active {
    border-color: rgba(244, 114, 182, 0.5);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.12),
                0 4px 20px rgba(0, 0, 0, 0.5),
                0 0 20px rgba(244, 114, 182, 0.22);
}

.mode-switch-wrapper.gamification-active {
    border-color: rgba(16, 185, 129, 0.5);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.12),
                0 4px 20px rgba(0, 0, 0, 0.5),
                0 0 22px rgba(16, 185, 129, 0.25);
}

/* Dynamic Active Glider Indicator */
.mode-switch-glider {
    position: absolute;
    top: 3px;
    left: 0;
    height: calc(100% - 6px);
    width: 0;
    opacity: 0;
    border-radius: 9999px;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(135deg, #0284c7 0%, #3b82f6 50%, #6366f1 100%);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.38), inset 0 -1px 0 rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.35s cubic-bezier(0.2, 0.9, 0.2, 1),
                width 0.35s cubic-bezier(0.2, 0.9, 0.2, 1),
                background 0.3s ease,
                box-shadow 0.3s ease,
                opacity 0.2s ease;
}

.mode-switch-wrapper.how-i-do-active .mode-switch-glider {
    background: linear-gradient(135deg, #06b6d4 0%, #0284c7 50%, #8b5cf6 100%);
    box-shadow: 0 2px 12px rgba(6, 182, 212, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.38);
}

.mode-switch-wrapper.geeky-side-active .mode-switch-glider {
    background: linear-gradient(135deg, #ec4899 0%, #d946ef 50%, #8b5cf6 100%);
    box-shadow: 0 2px 12px rgba(236, 72, 153, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.38);
}

.mode-switch-wrapper.gamification-active .mode-switch-glider {
    background: linear-gradient(135deg, #10b981 0%, #059669 45%, #6366f1 100%);
    box-shadow: 0 2px 12px rgba(16, 185, 129, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.38);
}

.mode-btn {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    height: 32px;
    padding: 0 13px;
    font-size: 0.77rem;
    font-weight: 600;
    color: #94a3b8;
    border: none;
    background: transparent;
    border-radius: 9999px;
    cursor: pointer;
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
    white-space: nowrap;
    text-decoration: none;
    font-family: inherit;
    line-height: 1;
    user-select: none;
    -webkit-user-select: none;
}

.mode-btn:hover:not(.active) {
    color: #f1f5f9;
    background: rgba(255, 255, 255, 0.06);
}

.mode-btn.active {
    color: #ffffff !important;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}

.mode-icon-svg {
    display: inline-block;
    flex-shrink: 0;
    vertical-align: middle;
    transition: transform 0.25s ease, filter 0.25s ease, color 0.25s ease;
    opacity: 0.85;
}

.mode-btn.active .mode-icon-svg {
    opacity: 1;
    transform: scale(1.08);
}

#btnModeProfile.active .mode-icon-svg,
.mode-switch-wrapper:not(.how-i-do-active):not(.geeky-side-active):not(.gamification-active):not(.playground-active) #btnModeProfile.active .mode-icon-svg {
    filter: drop-shadow(0 0 6px #7dd3fc);
    color: #ffffff;
}

.mode-switch-wrapper.how-i-do-active #btnModeHowIDo.active .neon-bolt-svg {
    filter: drop-shadow(0 0 6px #67e8f9);
    color: #ffffff;
}

.mode-switch-wrapper.geeky-side-active #btnModeGeekySide.active .neon-glasses-svg {
    filter: drop-shadow(0 0 6px #f472b6);
    color: #ffffff;
}

.mode-switch-wrapper.gamification-active #btnModeGamification.active .neon-game-svg {
    filter: drop-shadow(0 0 6px #6ee7b7);
    color: #ffffff;
}

/* Mobile Menu Mode Switcher Customization */
#mobileModeSwitchWrapper {
    border-radius: 9999px;
    height: 40px;
    padding: 3px;
    background: rgba(10, 14, 26, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

#mobileModeSwitchWrapper .mode-btn {
    flex: 1;
    height: 34px;
    padding: 0 6px;
    font-size: 0.72rem;
    border-radius: 9999px;
}

#mobileModeSwitchWrapper .mode-btn.active {
    background: linear-gradient(135deg, #0284c7 0%, #3b82f6 50%, #6366f1 100%);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

#mobileModeSwitchWrapper.how-i-do-active .mode-btn.active {
    background: linear-gradient(135deg, #06b6d4 0%, #0284c7 50%, #8b5cf6 100%);
    box-shadow: 0 2px 8px rgba(6, 182, 212, 0.4);
}

#mobileModeSwitchWrapper.geeky-side-active .mode-btn.active {
    background: linear-gradient(135deg, #ec4899 0%, #d946ef 50%, #8b5cf6 100%);
    box-shadow: 0 2px 8px rgba(236, 72, 153, 0.4);
}

#mobileModeSwitchWrapper.gamification-active .mode-btn.active {
    background: linear-gradient(135deg, #10b981 0%, #059669 45%, #6366f1 100%);
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.4);
}

/* ============================================
   GEEKY SIDE & TECH BAR STYLING
   ============================================ */
.techbar-preview-box {
    position: relative;
    overflow: hidden;
}

.techbar-chips-rail {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
}

.techbar-chips-rail::-webkit-scrollbar {
    height: 4px;
}

.techbar-chips-rail::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 4px;
}

.tech-chip {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.09);
    font-size: 0.78rem;
    font-weight: 600;
    color: #e2e8f0;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.tech-chip:hover {
    background: rgba(244, 114, 182, 0.12);
    border-color: rgba(244, 114, 182, 0.45);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(244, 114, 182, 0.2);
}

.chip-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    display: inline-block;
}

/* Device Cards in Tech Bar and Modal */
.geeky-device-card {
    padding: 22px;
    border-radius: 20px;
    background: rgba(17, 17, 24, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.geeky-device-card:hover {
    border-color: rgba(244, 114, 182, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(244, 114, 182, 0.15);
}

.geeky-device-card.card-upcoming {
    background: linear-gradient(135deg, rgba(35, 18, 50, 0.8) 0%, rgba(17, 17, 24, 0.8) 100%);
    border-color: rgba(244, 114, 182, 0.35);
}

.device-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.device-cat-badge {
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.device-status-badge {
    font-size: 0.65rem;
    padding: 3px 9px;
    border-radius: 9999px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.device-name-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 4px;
}

.device-name {
    font-size: 1.12rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.01em;
}

.device-brand {
    font-size: 0.72rem;
    color: #94a3b8;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.device-role {
    font-size: 0.8rem;
    font-weight: 600;
    color: #cbd5e1;
    margin-bottom: 8px;
    line-height: 1.4;
}

.device-highlight {
    font-size: 0.78rem;
    color: #94a3b8;
    line-height: 1.55;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 10px;
    margin-top: 8px;
}

/* Smooth Anchor Scroll Margin */
section[id], header[id] {
    scroll-margin-top: 85px;
}

/* Views Visibility Transition */
.view-container {
    transition: opacity 0.25s ease;
}

.view-hidden {
    display: none !important;
    opacity: 0;
}

.view-visible {
    display: block !important;
    opacity: 1;
}

/* ============================================
   HORIZONTAL WORKFLOW & TRANSFORMATION VIEW
   ============================================ */
.transform-section-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 100px 24px 100px;
}

.desktop-br {
    display: block;
}

.nav-right-cluster {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.transform-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

.transform-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid rgba(6, 182, 212, 0.25);
    color: #38bdf8;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 16px;
}

.transform-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 900;
    color: #ffffff;
    line-height: 1.15;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.transform-subtitle {
    color: var(--color-text-secondary);
    font-size: 1.05rem;
    line-height: 1.6;
}

/* Horizontal Rail & Moving Beam */
.flow-rail-card {
    background: rgba(17, 17, 17, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px);
    border-radius: 24px;
    padding: 36px 30px;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.rail-wrapper {
    position: relative;
    padding: 16px 0 10px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
}

.rail-wrapper::-webkit-scrollbar {
    display: none;
}

.rail-track-container {
    min-width: 660px;
    position: relative;
    padding: 10px 0;
}

.rail-base-line {
    position: absolute;
    top: 38px;
    left: 45px;
    right: 45px;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 9999px;
    z-index: 0;
}

.rail-animated-beam {
    position: absolute;
    top: 38px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #38bdf8, #818cf8, transparent);
    border-radius: 9999px;
    z-index: 1;
    animation: beamTravel 4s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.mobile-rail-hint {
    display: none;
    text-align: center;
    font-size: 0.72rem;
    color: #64748b;
    margin-top: 10px;
}

@keyframes beamTravel {
    0% { left: 0%; width: 0%; opacity: 0; }
    20% { width: 25%; opacity: 1; }
    80% { width: 25%; opacity: 1; }
    100% { left: 85%; width: 15%; opacity: 0; }
}

.nodes-flex {
    display: flex;
    justify-content: space-between;
    width: 100%;
    position: relative;
    z-index: 10;
    padding: 0 10px;
}

.h-flow-node {
    text-align: center;
    cursor: pointer;
    flex: 1;
    transition: all 0.3s ease;
}

.h-flow-circle {
    width: 56px;
    height: 56px;
    margin: 0 auto 10px;
    border-radius: 50%;
    background: #111111;
    border: 2px solid rgba(255, 255, 255, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--color-text-secondary);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.h-flow-node:hover .h-flow-circle {
    border-color: #38bdf8;
    color: #ffffff;
}

.h-flow-node.active .h-flow-circle {
    background: linear-gradient(135deg, #06b6d4 0%, #6366f1 100%);
    border-color: #38bdf8;
    color: #ffffff;
    box-shadow: 0 0 25px rgba(56, 189, 248, 0.55);
    transform: scale(1.15);
}

.h-flow-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-text-secondary);
    transition: color 0.2s;
}

.h-flow-node.active .h-flow-title {
    color: #ffffff;
}

.h-flow-sub {
    font-size: 0.72rem;
    color: var(--color-text-tertiary);
    margin-top: 2px;
}

.h-flow-node.active .h-flow-sub {
    color: #38bdf8;
}

/* Detail Card Fade Animation */
.stage-detail-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    padding: 28px;
    margin-top: 30px;
    animation: stageFadeSlide 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

/* Solution Spectrum & Persona Cards */
.spec-cards-grid, .persona-cards-grid, .partners-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    margin-top: 20px;
}

.spec-toggle-btn {
    padding: 7px 15px;
    font-size: 0.78rem;
    font-weight: 700;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: transparent;
    color: var(--color-text-secondary);
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

.spec-toggle-btn:hover {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.25);
}

.spec-toggle-btn.active {
    background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    color: #ffffff;
    border-color: transparent;
}

/* ============================================
   EXECUTIVE FLOATING WALKTHROUGH MODAL
   ============================================ */
.exec-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(4, 5, 8, 0.88);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 20px;
}

.exec-modal-backdrop.active {
    display: flex;
    opacity: 1;
}

.exec-modal-wrapper {
    position: relative;
    width: 100%;
    max-width: 940px;
    display: flex;
    justify-content: center;
}

/* Immersive Aurora Ambient Glow Halo */
.exec-modal-aurora {
    position: absolute;
    inset: -35px;
    border-radius: 40px;
    background: radial-gradient(circle at 50% 50%, rgba(56, 189, 248, 0.35), rgba(99, 102, 241, 0.28), rgba(192, 132, 252, 0.2), transparent 70%);
    filter: blur(45px);
    z-index: -1;
    animation: auroraBreathe 5s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes auroraBreathe {
    0% { transform: scale(0.95) rotate(-1deg); opacity: 0.6; }
    50% { transform: scale(1.04) rotate(1deg); opacity: 0.85; }
    100% { transform: scale(1.08) rotate(-1deg); opacity: 1; }
}

.exec-modal-box {
    width: 100%;
    max-height: 88vh;
    background: rgba(12, 15, 26, 0.88);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(56, 189, 248, 0.45);
    border-radius: 28px;
    box-shadow: 0 0 60px rgba(56, 189, 248, 0.28), 0 0 100px rgba(99, 102, 241, 0.18), 0 25px 60px -10px rgba(0, 0, 0, 0.9);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: scale(0.95);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    z-index: 2;
}

.neural-backdrop-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.55;
}

.neural-modal-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.65;
}

.exec-modal-backdrop.active .exec-modal-box {
    transform: scale(1);
}

.exec-modal-header,
.exec-progress-rail,
.exec-modal-body,
.exec-modal-footer {
    position: relative;
    z-index: 2;
}

.exec-modal-header {
    padding: 16px 22px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.modal-header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 10px;
}

.modal-title-group {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.modal-title-text {
    font-size: 0.82rem;
    font-weight: 800;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.modal-close-btn {
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 1.3rem;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 6px;
    transition: color 0.2s;
    line-height: 1;
}

.modal-close-btn:hover {
    color: #ffffff;
}

.modal-pills-scroll-rail {
    display: flex;
    align-items: center;
    gap: 5px;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-top: 4px;
    padding-bottom: 2px;
    flex-wrap: nowrap;
}

.modal-pills-scroll-rail::-webkit-scrollbar {
    display: none;
}

.exec-hud-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 10px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.68rem;
    font-weight: 700;
    color: #94a3b8;
    letter-spacing: 0.02em;
}

.modal-step-jump-pill {
    padding: 4px 10px;
    border-radius: 9999px;
    font-size: 0.72rem;
    font-weight: 800;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    cursor: pointer;
    transition: all 0.2s ease;
    flex: 0 0 auto;
    white-space: nowrap;
}

.modal-step-jump-pill:hover {
    color: #ffffff;
    border-color: rgba(56, 189, 248, 0.4);
    background: rgba(56, 189, 248, 0.1);
}

.modal-step-jump-pill.active {
    background: linear-gradient(135deg, #0284c7 0%, #6366f1 100%);
    color: #ffffff;
    border-color: #38bdf8;
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.4);
}

.exec-modal-body {
    padding: 26px 28px;
    overflow-y: auto;
    flex: 1;
}

.modal-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 16px;
}

.intel-modal-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
}

.intel-pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    position: relative;
    z-index: 2;
}

.stage-pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
}

.spec-tabs-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    background: rgba(0,0,0,0.4);
    padding: 4px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.08);
}

.exec-modal-footer {
    padding: 16px 26px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    background: rgba(255, 255, 255, 0.02);
}

.modal-footer-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.modal-footer-status {
    display: flex;
    align-items: center;
    gap: 16px;
}

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

.exec-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #38bdf8, #818cf8, #c084fc);
    transition: width 0.1s linear;
}

/* ============================================
   RESPONSIVE OVERRIDES: FULL MOBILE COMPATIBILITY
   ============================================ */
@media (max-width: 768px) {
    html, body {
        overflow-x: hidden;
        max-width: 100vw;
        width: 100%;
    }

    .desktop-br {
        display: none !important;
    }

    .nav-container {
        padding: 0 16px;
    }

    .nav-logo {
        font-size: 1.18rem;
    }

    .nav-right-cluster {
        gap: 8px;
    }

    .mode-switch-wrapper {
        margin-left: 0;
        padding: 2px;
        height: 34px;
    }

    .mode-btn {
        height: 28px;
        padding: 0 8px;
        font-size: 0.72rem;
        gap: 4px;
    }

    .nav-link-cta {
        height: 34px;
        padding: 0 12px;
        font-size: 0.72rem;
        gap: 5px;
    }

    .transform-section-container {
        padding: 85px 14px 60px;
    }

    .transform-header {
        margin-bottom: 24px;
    }

    .transform-title {
        font-size: clamp(1.55rem, 5.5vw, 2.4rem);
        line-height: 1.25;
        margin-bottom: 12px;
    }

    .transform-subtitle {
        font-size: 0.88rem;
        line-height: 1.55;
    }

    .transform-cta-box {
        flex-direction: column !important;
        align-items: center !important;
        gap: 8px !important;
        margin-top: 14px !important;
    }

    .transform-cta-box .spec-toggle-btn {
        width: 100%;
        max-width: 320px;
        justify-content: center;
    }

    .flow-rail-card {
        padding: 18px 14px !important;
        border-radius: 18px !important;
        margin-bottom: 24px !important;
    }

    .flow-header-flex {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 12px !important;
    }

    .flow-header-flex > div:first-child {
        width: 100%;
    }

    .flow-header-flex h2 {
        font-size: 1.15rem !important;
        line-height: 1.35 !important;
    }

    .flow-header-controls {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .rail-wrapper {
        padding: 14px 0 6px;
        overscroll-behavior-x: contain;
    }

    .mobile-rail-hint {
        display: block;
    }

    .stage-detail-box {
        padding: 16px 12px;
        border-radius: 16px;
        margin-top: 18px;
    }

    .stage-pillars-grid {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }

    .spec-tabs-wrapper {
        width: 100%;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding: 6px 4px;
        margin-top: 10px;
    }

    .spec-tabs-wrapper::-webkit-scrollbar {
        display: none;
    }

    .spec-tabs-wrapper .spec-toggle-btn {
        flex: 0 0 auto;
        white-space: nowrap;
        font-size: 0.75rem;
        padding: 6px 12px;
    }

    .spec-cards-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    .persona-cards-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    .intel-pillars-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    .partners-cards-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
    }

    /* Floating Modals on Mobile */
    .exec-modal-backdrop {
        padding: 10px 8px;
    }

    .exec-modal-box {
        max-height: 94vh;
        border-radius: 20px;
    }

    .exec-modal-header {
        padding: 12px 14px;
        gap: 6px;
    }

    .exec-modal-body {
        padding: 16px 14px;
    }

    .modal-cards-grid, .intel-modal-cards-grid {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }

    .exec-modal-footer {
        padding: 12px 14px;
        flex-direction: column;
        gap: 10px;
    }

    .modal-footer-nav {
        width: 100%;
        justify-content: space-between;
        gap: 6px;
    }

    .modal-footer-nav .spec-toggle-btn {
        flex: 1;
        text-align: center;
        padding: 8px 10px;
        font-size: 0.78rem;
        justify-content: center;
    }

    .modal-footer-status {
        width: 100%;
        justify-content: space-between;
        align-items: center;
    }

    .desktop-keys-hint {
        display: none !important;
    }

    /* Profile View Polish */
    .value-rotate-container {
        min-width: 200px;
    }

    .value-title {
        font-size: clamp(1.6rem, 5vw, 2.4rem);
    }
}

@media (max-width: 640px) {
    .nav-link-cta .cta-btn-text {
        display: none;
    }
    .nav-link-cta {
        width: 32px;
        height: 32px;
        padding: 0;
        border-radius: 50%;
    }
}

@media (max-width: 520px) {
    .nav-right-cluster .nav-link-cta {
        display: none;
    }
}

@media (max-width: 480px) {
    .nav-logo {
        font-size: 1.05rem;
        gap: 6px;
    }

    .nav-logo-text {
        font-size: 1.05rem;
    }

    .neon-logo-svg {
        width: 22px;
        height: 22px;
    }

    .mode-btn {
        padding: 4px 6px;
        font-size: 0.64rem;
        gap: 3px;
    }

    .mode-icon-svg {
        width: 11px;
        height: 11px;
    }

    .value-rotate-container {
        min-width: 170px;
    }

    .partners-cards-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 6px !important;
    }

    .techbar-preview-box {
        padding: 20px 16px !important;
    }
}

@media (max-width: 360px) {
    .nav-logo {
        font-size: 0.92rem;
        gap: 5px;
    }

    .nav-logo-text {
        font-size: 0.92rem;
    }

    .neon-logo-svg {
        width: 19px;
        height: 19px;
    }

    .mode-btn {
        padding: 3px 4px;
        font-size: 0.58rem;
        gap: 2px;
    }

    .mode-icon-svg {
        width: 10px;
        height: 10px;
    }

    .partners-cards-grid {
        grid-template-columns: 1fr !important;
    }
}

/* ============================================
   TECH BAR — MY USUAL GO TO BAR FLAGSHIP STATION
   ============================================ */
.techbar-flagship-station {
    position: relative;
    overflow: hidden;
    background: radial-gradient(120% 120% at 50% 0%, rgba(28, 22, 50, 0.88) 0%, rgba(13, 14, 25, 0.96) 100%);
    border: 1px solid rgba(244, 114, 182, 0.35);
    border-radius: 28px;
    padding: 36px 32px 40px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45), 0 0 50px rgba(244, 114, 182, 0.1);
    margin-bottom: 40px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.techbar-neon-ambient-glow {
    position: absolute;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    width: 640px;
    max-width: 90vw;
    height: 280px;
    background: radial-gradient(ellipse at center, rgba(244, 114, 182, 0.22) 0%, rgba(56, 189, 248, 0.16) 45%, transparent 72%);
    filter: blur(50px);
    pointer-events: none;
    animation: neonAmbientPulse 6s ease-in-out infinite alternate;
}

@keyframes neonAmbientPulse {
    0% {
        opacity: 0.65;
        transform: translateX(-50%) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateX(-50%) scale(1.08);
    }
}

.techbar-counter-beam {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, rgba(56, 189, 248, 0.75) 25%, rgba(244, 114, 182, 0.95) 50%, rgba(168, 85, 247, 0.8) 75%, transparent 100%);
    background-size: 200% 100%;
    animation: counterBeamShimmer 4.5s linear infinite;
}

@keyframes counterBeamShimmer {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.techbar-station-masthead {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 26px;
    border-bottom: none;
    padding-bottom: 24px;
    position: relative;
    z-index: 2;
}

.techbar-headline-cluster {
    flex: 1 1 540px;
}

.techbar-live-beacon {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.35);
    padding: 4px 13px;
    border-radius: 9999px;
    margin-bottom: 10px;
}

.beacon-pulse {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 10px #10b981;
    animation: beaconBlink 2s infinite ease-in-out;
}

@keyframes beaconBlink {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
        box-shadow: 0 0 10px #10b981;
    }
    50% {
        opacity: 0.35;
        transform: scale(0.8);
        box-shadow: 0 0 4px #10b981;
    }
}

.beacon-label {
    font-size: 0.68rem;
    font-weight: 800;
    color: #34d399;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.techbar-station-title {
    font-size: clamp(1.65rem, 3.8vw, 2.35rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    color: #ffffff;
    line-height: 1.15;
    margin: 4px 0 10px;
}

.title-dash {
    color: rgba(244, 114, 182, 0.6);
    margin: 0 4px;
}

.techbar-highlight-glow {
    background: linear-gradient(135deg, #38bdf8 0%, #c084fc 45%, #f472b6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 25px rgba(244, 114, 182, 0.35));
}

.techbar-station-subtext {
    font-size: 0.88rem;
    color: #94a3b8;
    line-height: 1.6;
    max-width: 680px;
    margin: 0;
}

.techbar-stats-cluster {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.techbar-stat-pill {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    backdrop-filter: blur(8px);
    transition: all 0.25s ease;
}

.techbar-stat-pill:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(244, 114, 182, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.stat-pill-num {
    font-size: 1.35rem;
    font-weight: 900;
    line-height: 1.1;
}

.neon-tech-cyan {
    color: #38bdf8;
    text-shadow: 0 0 10px rgba(56, 189, 248, 0.45);
}

.neon-tech-pink {
    color: #f472b6;
    text-shadow: 0 0 10px rgba(244, 114, 182, 0.45);
}

.stat-pill-label {
    font-size: 0.68rem;
    color: #94a3b8;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-top: 3px;
}

.techbar-shelf-control-panel {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
    position: relative;
    z-index: 2;
}

.techbar-shelf-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.shelf-indicator-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #38bdf8;
    box-shadow: 0 0 8px #38bdf8;
}

.techbar-shelf-title {
    color: #64748b;
}

.techbar-shelf-badge {
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.25);
    padding: 2px 10px;
    border-radius: 9999px;
    font-weight: 800;
}

.techbar-tabs-scroll {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.techbar-tabs-scroll::-webkit-scrollbar {
    display: none;
}

.techbar-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 16px;
    position: relative;
    z-index: 2;
}

.geeky-device-card {
    cursor: pointer;
    user-select: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.geeky-device-card:hover {
    border-color: rgba(244, 114, 182, 0.6) !important;
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(244, 114, 182, 0.2), 0 0 20px rgba(56, 189, 248, 0.12) !important;
}

.geeky-device-card.card-inspected {
    border-color: #f472b6 !important;
    box-shadow: 0 0 30px rgba(244, 114, 182, 0.35), inset 0 0 18px rgba(244, 114, 182, 0.12) !important;
    transform: translateY(-5px) scale(1.02);
    background: linear-gradient(135deg, rgba(38, 20, 52, 0.95) 0%, rgba(18, 20, 34, 0.95) 100%) !important;
}

@media (max-width: 768px) {
    .techbar-flagship-station {
        padding: 24px 18px 28px;
        border-radius: 20px;
    }

    .techbar-station-masthead {
        margin-bottom: 20px;
        padding-bottom: 18px;
    }

    .techbar-station-title {
        font-size: 1.55rem;
    }

    .techbar-stats-cluster {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .techbar-stat-pill {
        padding: 8px 10px;
        align-items: center;
        text-align: center;
    }

    .stat-pill-num {
        font-size: 1.15rem;
    }

    .stat-pill-label {
        font-size: 0.62rem;
    }

    .techbar-cards-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   FLOATING CONTACT POP-UP MODAL (REFERENCE STYLE)
   ============================================ */
.contact-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 10001;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(4, 6, 12, 0.86);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    opacity: 0;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 20px;
}

.contact-modal-backdrop.active {
    display: flex;
    opacity: 1;
}

.contact-modal-wrapper {
    position: relative;
    width: 100%;
    max-width: 460px;
    display: flex;
    justify-content: center;
}

.contact-modal-aurora {
    position: absolute;
    inset: -25px;
    border-radius: 36px;
    background: radial-gradient(circle at 50% 40%, rgba(56, 189, 248, 0.22), rgba(236, 72, 153, 0.16), transparent 70%);
    filter: blur(40px);
    z-index: -1;
    pointer-events: none;
    animation: contactAurora 6s ease-in-out infinite alternate;
}

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

.contact-modal-card {
    width: 100%;
    background: #0d1117;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 22px;
    padding: 32px 28px;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8), 0 0 35px rgba(56, 189, 248, 0.12);
    position: relative;
    max-height: 92vh;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(56, 189, 248, 0.3) transparent;
}

.contact-modal-card::-webkit-scrollbar {
    width: 6px;
}
.contact-modal-card::-webkit-scrollbar-thumb {
    background: rgba(56, 189, 248, 0.3);
    border-radius: 9999px;
}

.contact-modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 1.15rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 2;
}

.contact-modal-close:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    transform: rotate(90deg);
}

.contact-modal-title {
    font-size: 1.85rem;
    font-weight: 800;
    color: #38bdf8;
    text-align: center;
    margin: 4px 0 24px;
    letter-spacing: -0.01em;
    text-shadow: 0 0 20px rgba(56, 189, 248, 0.65), 0 0 40px rgba(56, 189, 248, 0.3);
}

.contact-section-label {
    font-size: 0.88rem;
    font-weight: 500;
    color: #94a3b8;
    margin-bottom: 12px;
    display: block;
}

.social-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 24px;
}

.social-card-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: #161b22;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #cbd5e1;
    font-size: 0.88rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-card-btn:hover {
    border-color: rgba(56, 189, 248, 0.55);
    background: rgba(56, 189, 248, 0.06);
    color: #ffffff;
    box-shadow: 0 0 16px rgba(56, 189, 248, 0.18);
    transform: translateY(-1px);
}

.social-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    transition: color 0.2s ease;
    flex-shrink: 0;
}

.social-card-btn:hover .social-card-icon {
    color: #38bdf8;
}

.contact-form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 16px;
}

.contact-form-label {
    font-size: 0.88rem;
    font-weight: 500;
    color: #cbd5e1;
    margin-bottom: 6px;
    text-align: left;
}

.contact-form-input,
.contact-form-textarea {
    width: 100%;
    background: #161b22;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    color: #f8fafc;
    font-size: 0.95rem;
    font-family: inherit;
    padding: 12px 16px;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.contact-form-textarea {
    resize: vertical;
    min-height: 100px;
}

.contact-form-input:focus,
.contact-form-textarea:focus {
    border-color: #38bdf8 !important;
    outline: none;
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.35), 0 0 16px rgba(56, 189, 248, 0.25);
    background: #1a212d;
}

.contact-form-input::placeholder,
.contact-form-textarea::placeholder {
    color: #64748b;
}

.btn-send-message {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 20px;
    background: linear-gradient(90deg, #ec4899 0%, #3b82f6 50%, #06b6d4 100%);
    color: #0b1120;
    font-size: 1rem;
    font-weight: 700;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 25px rgba(56, 189, 248, 0.35);
    margin-top: 8px;
}

.btn-send-message:hover:not(:disabled) {
    box-shadow: 0 0 35px rgba(56, 189, 248, 0.6), 0 0 15px rgba(236, 72, 153, 0.4);
    transform: translateY(-1px);
    filter: brightness(1.06);
}

.btn-send-message:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.contact-status-box {
    margin-top: 14px;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 0.85rem;
    text-align: center;
    display: none;
}

.contact-status-box.success {
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #34d399;
}

.contact-status-box.error {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #f87171;
}

.contact-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(11, 17, 32, 0.3);
    border-top-color: #0b1120;
    border-radius: 50%;
    animation: contactSpin 0.7s linear infinite;
    display: inline-block;
}

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

@media (max-width: 480px) {
    .contact-modal-card {
        padding: 24px 18px;
        border-radius: 18px;
    }

    .contact-modal-title {
        font-size: 1.55rem;
        margin-bottom: 18px;
    }

    .social-grid {
        gap: 8px;
        margin-bottom: 18px;
    }

    .social-card-btn {
        padding: 10px 10px;
        font-size: 0.8rem;
        gap: 6px;
    }
}

/* ============================================
   GAMIFICATION ZONE: THE AI VALUE REALIZATION CHALLENGE
   ============================================ */
.gamification-main {
    position: relative;
    padding: 110px 24px 90px;
    min-height: 100vh;
    overflow: hidden;
}

.cyber-grid-overlay {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(to right, rgba(56, 189, 248, 0.035) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(56, 189, 248, 0.035) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: 0;
}

.gtm-game-container {
    position: relative;
    z-index: 1;
    max-width: 1220px;
    margin: 0 auto;
}

/* Header Masthead */
.game-header {
    margin-bottom: 32px;
}

.game-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.game-badge-cluster {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.role-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.4);
    color: #38bdf8;
    border-radius: 9999px;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.pulse-cyan {
    box-shadow: 0 0 16px rgba(56, 189, 248, 0.3);
    animation: pulseCyan 2.8s infinite ease-in-out;
}

@keyframes pulseCyan {
    0%, 100% { box-shadow: 0 0 10px rgba(56, 189, 248, 0.2); }
    50% { box-shadow: 0 0 20px rgba(56, 189, 248, 0.45); }
}

.cluster-id-badge {
    padding: 5px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #94a3b8;
    border-radius: 9999px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.gamification-tag {
    padding: 5px 12px;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.35);
    color: #34d399;
    border-radius: 9999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.game-ctrl-cluster {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cyber-btn-sm {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    background: rgba(15, 23, 42, 0.75);
    border: 1px solid rgba(56, 189, 248, 0.3);
    color: #e2e8f0;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
    backdrop-filter: blur(10px);
}

.cyber-btn-sm:hover {
    background: rgba(56, 189, 248, 0.18);
    border-color: rgba(56, 189, 248, 0.7);
    color: #38bdf8;
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.25);
    transform: translateY(-1px);
}

.cyber-btn-sm.warning:hover {
    background: rgba(239, 68, 68, 0.18);
    border-color: rgba(239, 68, 68, 0.7);
    color: #fca5a5;
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.25);
}

.game-headline {
    font-size: clamp(2.1rem, 4vw, 3.4rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin-bottom: 12px;
}

.text-gradient-game {
    background: linear-gradient(135deg, #38bdf8 0%, #818cf8 45%, #c084fc 80%, #34d399 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.game-subhead {
    max-width: 900px;
    font-size: 1.05rem;
    color: #cbd5e1;
    line-height: 1.65;
    margin: 0;
}

/* ============================================
   CHALLENGE BANNER CARD
   ============================================ */
.challenge-banner-card {
    background: rgba(13, 19, 36, 0.88);
    border: 1px solid rgba(56, 189, 248, 0.35);
    border-radius: 22px;
    padding: 28px 30px;
    margin-bottom: 34px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.55), 0 0 25px rgba(56, 189, 248, 0.12);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    position: relative;
    overflow: hidden;
}

.challenge-banner-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #38bdf8, #818cf8, #34d399);
}

.challenge-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.challenge-badge-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.challenge-type-pill {
    padding: 4px 12px;
    background: rgba(56, 189, 248, 0.15);
    border: 1px solid rgba(56, 189, 248, 0.4);
    color: #38bdf8;
    border-radius: 9999px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
}

.challenge-urgency-pill {
    padding: 4px 12px;
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.4);
    color: #fbbf24;
    border-radius: 9999px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
}

.challenge-shuffle-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #e2e8f0;
    border-radius: 9999px;
    font-size: 0.76rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
}

.challenge-shuffle-btn:hover {
    background: rgba(56, 189, 248, 0.2);
    border-color: rgba(56, 189, 248, 0.7);
    color: #ffffff;
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.3);
    transform: translateY(-1px);
}

.challenge-title {
    font-size: clamp(1.4rem, 2.5vw, 1.95rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.25;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.challenge-scenario-text {
    font-size: 1.05rem;
    line-height: 1.65;
    color: #cbd5e1;
    margin-bottom: 22px;
}

.challenge-metrics-bar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.challenge-metric-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cm-label {
    font-size: 0.68rem;
    font-weight: 700;
    color: #64748b;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.cm-val {
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.text-red { color: #f87171; }
.text-cyan { color: #38bdf8; }
.text-green { color: #34d399; }
.text-purple { color: #c084fc; }

/* ============================================
   SEQUENCE BOARD
   ============================================ */
.sequence-board-section {
    margin-bottom: 34px;
}

.board-header-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.board-section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.25rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 4px;
}

.step-num-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    background: linear-gradient(135deg, #0284c7 0%, #6366f1 100%);
    border-radius: 50%;
    font-size: 0.78rem;
    font-weight: 900;
    color: #ffffff;
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.4);
}

.board-section-hint {
    font-size: 0.88rem;
    color: #94a3b8;
    margin: 0;
}

.slot-count-badge {
    padding: 6px 14px;
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.35);
    color: #38bdf8;
    border-radius: 9999px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.sequence-slots-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr auto 1fr;
    align-items: center;
    gap: 8px;
}

.slot-arrow-connector {
    color: #475569;
    font-size: 1.1rem;
    font-weight: 800;
    text-align: center;
    user-select: none;
}

.sequence-slot {
    min-height: 140px;
    background: rgba(15, 23, 42, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.28s ease;
    position: relative;
    cursor: pointer;
}

.sequence-slot.empty {
    border: 1.5px dashed rgba(56, 189, 248, 0.25);
    background: rgba(13, 19, 36, 0.45);
}

.sequence-slot.empty:hover {
    border-color: rgba(56, 189, 248, 0.6);
    background: rgba(56, 189, 248, 0.06);
    transform: translateY(-2px);
}

.sequence-slot.filled {
    border-color: rgba(56, 189, 248, 0.6);
    background: rgba(14, 23, 47, 0.9);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 16px rgba(56, 189, 248, 0.18);
}

.slot-stage-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    margin-bottom: 8px;
}

.slot-stage-num {
    font-size: 0.66rem;
    font-weight: 800;
    color: #38bdf8;
    letter-spacing: 0.08em;
}

.slot-stage-phase {
    font-size: 0.64rem;
    font-weight: 700;
    color: #64748b;
    letter-spacing: 0.06em;
}

.slot-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.slot-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 14px 6px;
}

.slot-plus-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(56, 189, 248, 0.1);
    color: #38bdf8;
    font-size: 1.1rem;
    font-weight: 700;
}

.slot-empty-text {
    font-size: 0.75rem;
    font-weight: 600;
    color: #64748b;
}

/* Slotted Card inside sequence slot */
.slotted-card-content {
    display: flex;
    flex-direction: column;
    gap: 6px;
    height: 100%;
}

.slotted-top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.slotted-icon-name {
    display: flex;
    align-items: center;
    gap: 6px;
}

.slotted-icon {
    font-size: 1.05rem;
}

.slotted-title {
    font-size: 0.82rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.25;
}

.slotted-role-tag {
    font-size: 0.66rem;
    font-weight: 700;
    color: #38bdf8;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 1.25;
}

.slotted-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 6px;
    padding-top: 6px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.slot-nav-btn {
    background: rgba(255, 255, 255, 0.08);
    border: none;
    color: #cbd5e1;
    font-size: 0.72rem;
    padding: 3px 7px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s;
}

.slot-nav-btn:hover {
    background: rgba(56, 189, 248, 0.3);
    color: #ffffff;
}

.slot-remove-btn {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #f87171;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 9999px;
    cursor: pointer;
    transition: all 0.2s;
}

.slot-remove-btn:hover {
    background: #ef4444;
    color: #ffffff;
}

/* ============================================
   RATIONALE SECTION
   ============================================ */
.rationale-section {
    margin-bottom: 38px;
}

.rationale-card {
    background: rgba(13, 19, 36, 0.88);
    border: 1px solid rgba(129, 140, 248, 0.35);
    border-radius: 20px;
    padding: 26px 28px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(129, 140, 248, 0.12);
    backdrop-filter: blur(14px);
}

.rationale-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.rationale-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 4px;
}

.rationale-subtitle {
    font-size: 0.88rem;
    color: #94a3b8;
    margin: 0;
    line-height: 1.5;
}

.rationale-counter {
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    border-radius: 9999px;
    font-size: 0.72rem;
    font-weight: 700;
}

.rationale-input-wrapper {
    margin-bottom: 12px;
}

.rationale-textarea {
    width: 100%;
    background: rgba(8, 12, 24, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 12px;
    padding: 14px 16px;
    color: #f1f5f9;
    font-family: inherit;
    font-size: 0.95rem;
    line-height: 1.6;
    resize: vertical;
    transition: border-color 0.25s, box-shadow 0.25s;
    box-sizing: border-box;
}

.rationale-textarea:focus {
    outline: none;
    border-color: rgba(99, 102, 241, 0.8);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.35);
}

.rationale-textarea::placeholder {
    color: #475569;
    font-style: italic;
}

.rationale-chips-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 22px;
    flex-wrap: wrap;
}

.chips-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.rationale-chip {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #cbd5e1;
    font-size: 0.75rem;
    padding: 5px 12px;
    border-radius: 9999px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.rationale-chip:hover {
    background: rgba(129, 140, 248, 0.2);
    border-color: rgba(129, 140, 248, 0.5);
    color: #ffffff;
    transform: translateY(-1px);
}

.evaluation-action-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    flex-wrap: wrap;
}

.eval-status-message {
    font-size: 0.84rem;
    color: #fbbf24;
    font-weight: 600;
}

.eval-status-message.ready {
    color: #34d399;
}

.btn-evaluate-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    background: linear-gradient(135deg, #0284c7 0%, #6366f1 50%, #a855f7 100%);
    border: none;
    border-radius: 9999px;
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4), 0 0 25px rgba(56, 189, 248, 0.3);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-evaluate-primary:hover:not(:disabled) {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.6), 0 0 35px rgba(56, 189, 248, 0.5);
}

.btn-evaluate-primary:disabled,
.btn-evaluate-primary.disabled {
    opacity: 0.45;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

.btn-eval-icon {
    font-size: 1.1rem;
}

/* ============================================
   VALUE REALIZATION EVALUATION MODAL
   ============================================ */
.eval-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.86);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.eval-modal-backdrop.active {
    opacity: 1;
    pointer-events: all;
}

.eval-modal-card {
    background: rgba(11, 16, 31, 0.96);
    border: 1px solid rgba(56, 189, 248, 0.4);
    border-radius: 24px;
    max-width: 820px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 34px 32px;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.85), 0 0 45px rgba(56, 189, 248, 0.2);
    position: relative;
    transform: scale(0.95);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.eval-modal-backdrop.active .eval-modal-card {
    transform: scale(1);
}

/* Loading State */
.eval-loading-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
}

.eval-spinner-ring {
    width: 64px;
    height: 64px;
    border: 4px solid rgba(56, 189, 248, 0.2);
    border-top-color: #38bdf8;
    border-right-color: #818cf8;
    border-radius: 50%;
    animation: spinRing 1s linear infinite;
    margin-bottom: 24px;
}

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

.eval-loading-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 8px;
}

.eval-loading-subtitle {
    font-size: 0.95rem;
    color: #94a3b8;
    max-width: 480px;
    line-height: 1.55;
    margin: 0;
}

/* Complete Results View */
.eval-modal-top {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 26px;
    flex-wrap: wrap;
}

.eval-score-ring-box {
    position: relative;
    width: 110px;
    height: 110px;
    flex-shrink: 0;
}

.score-circle-svg {
    transform: rotate(-90deg);
}

.score-circle-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.08);
}

.score-circle-bar {
    fill: none;
    stroke: url(#scoreGrad);
    stroke-linecap: round;
    transition: stroke-dashoffset 1.4s ease-out;
}

.score-circle-text {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.score-num {
    font-size: 2.1rem;
    font-weight: 900;
    color: #ffffff;
    line-height: 1;
}

.score-max {
    font-size: 0.7rem;
    font-weight: 700;
    color: #94a3b8;
}

.eval-header-meta {
    flex: 1;
}

.eval-badge-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    flex-wrap: wrap;
}

.eval-pill-score {
    font-size: 0.68rem;
    font-weight: 800;
    color: #38bdf8;
    letter-spacing: 0.06em;
}

.eval-pill-tier {
    padding: 3px 10px;
    background: rgba(168, 85, 247, 0.15);
    border: 1px solid rgba(168, 85, 247, 0.4);
    color: #c084fc;
    border-radius: 9999px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.05em;
}

.eval-verdict-title {
    font-size: 1.45rem;
    font-weight: 900;
    color: #ffffff;
    line-height: 1.25;
    margin-bottom: 6px;
}

.eval-verdict-summary {
    font-size: 0.9rem;
    color: #cbd5e1;
    line-height: 1.5;
    margin: 0;
}

/* Dimensions Grid */
.dimensions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 24px;
}

.dimension-box {
    background: rgba(15, 23, 42, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 12px 14px;
}

.dimension-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}

.dimension-name {
    font-size: 0.74rem;
    font-weight: 700;
    color: #94a3b8;
}

.dimension-pct {
    font-size: 0.85rem;
    font-weight: 800;
}

.dimension-track {
    height: 6px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 9999px;
    overflow: hidden;
}

.dimension-fill {
    height: 100%;
    border-radius: 9999px;
    transition: width 1.2s ease-out;
}

.dimension-fill.cyan { background: linear-gradient(90deg, #0284c7, #38bdf8); }
.dimension-fill.purple { background: linear-gradient(90deg, #7c3aed, #c084fc); }
.dimension-fill.green { background: linear-gradient(90deg, #059669, #34d399); }

/* Critique Analysis Box */
.critique-analysis-box {
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(56, 189, 248, 0.25);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 24px;
}

.critique-heading {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.98rem;
    font-weight: 800;
    color: #38bdf8;
    margin-bottom: 14px;
}

.ai-avatar-icon {
    font-size: 1.15rem;
}

.critique-item {
    margin-bottom: 12px;
}

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

.critique-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.critique-tag.strength { color: #34d399; }
.critique-tag.rationale { color: #c084fc; }
.critique-tag.advisory { color: #38bdf8; }

.critique-text {
    font-size: 0.88rem;
    color: #cbd5e1;
    line-height: 1.55;
    margin: 0;
}

/* Modal Action Buttons */
.eval-modal-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-linkedin-share {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: #0a66c2;
    border: none;
    border-radius: 9999px;
    color: #ffffff;
    font-size: 0.88rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(10, 102, 194, 0.4);
    transition: all 0.25s ease;
}

.btn-linkedin-share:hover {
    background: #004182;
    box-shadow: 0 6px 22px rgba(10, 102, 194, 0.6);
    transform: translateY(-2px);
}

.btn-copy-scorecard {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 9999px;
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
}

.btn-copy-scorecard:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.35);
    transform: translateY(-2px);
}

.btn-replay-challenge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 12px 20px;
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.35);
    border-radius: 9999px;
    color: #38bdf8;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
}

.btn-replay-challenge:hover {
    background: rgba(56, 189, 248, 0.25);
    color: #ffffff;
    transform: translateY(-2px);
}

.btn-connect-expert {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 12px 20px;
    background: linear-gradient(135deg, #10b981 0%, #0284c7 100%);
    border: none;
    border-radius: 9999px;
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.35);
    transition: all 0.25s ease;
}

.btn-connect-expert:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.55);
}

/* ============================================
   RESPONSIVE OVERRIDES
   ============================================ */
@media (max-width: 1024px) {
    .sequence-slots-container {
        grid-template-columns: repeat(5, 1fr);
        gap: 8px;
    }

    .slot-arrow-connector {
        display: none;
    }
}

@media (max-width: 768px) {
    .gamification-main {
        padding: 85px 16px 60px;
    }

    .challenge-banner-card {
        padding: 20px 18px;
    }

    .challenge-metrics-bar {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .sequence-slots-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .sequence-slot:nth-child(9) { /* 5th slot */
        grid-column: span 2;
    }

    .dimensions-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .eval-modal-top {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .eval-badge-row {
        justify-content: center;
    }

    .eval-modal-card {
        padding: 24px 18px;
    }
}

@media (max-width: 480px) {
    .sequence-slots-container {
        grid-template-columns: 1fr;
    }

    .sequence-slot:nth-child(9) {
        grid-column: span 1;
    }

    .agent-deck-grid {
        grid-template-columns: 1fr;
    }

    .btn-evaluate-primary {
        width: 100%;
    }
}


/* ============================================
   PRE-GAME PLAYER REGISTRATION MODAL
   ============================================ */
.player-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 2500;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeInModal 0.3s ease-out;
}

@keyframes fadeInModal {
    from { opacity: 0; transform: scale(0.96); }
    to { opacity: 1; transform: scale(1); }
}

.player-modal-card {
    background: rgba(11, 16, 31, 0.98);
    border: 1px solid rgba(56, 189, 248, 0.5);
    border-radius: 24px;
    max-width: 520px;
    width: 100%;
    padding: 34px 30px;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.85), 0 0 45px rgba(56, 189, 248, 0.25);
    position: relative;
}

.player-badge-pill {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 800;
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.4);
    padding: 4px 14px;
    border-radius: 9999px;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.player-modal-title {
    font-size: 1.55rem;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 8px;
    line-height: 1.25;
}

.player-modal-subtitle {
    font-size: 0.88rem;
    color: #94a3b8;
    line-height: 1.55;
    margin-bottom: 22px;
}

.player-modal-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.player-input-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.player-input-label {
    font-size: 0.78rem;
    font-weight: 700;
    color: #cbd5e1;
}

.required-star {
    color: #f87171;
    font-weight: 800;
}

.optional-tag {
    font-size: 0.7rem;
    color: #64748b;
    font-weight: 500;
}

.player-text-input {
    width: 100%;
    background: rgba(8, 12, 24, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 12px 16px;
    color: #f8fafc;
    font-family: inherit;
    font-size: 0.92rem;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}

.player-text-input:focus {
    border-color: #38bdf8;
    box-shadow: 0 0 16px rgba(56, 189, 248, 0.35);
}

.player-error-msg {
    color: #f87171;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 6px 10px;
    background: rgba(239, 68, 68, 0.12);
    border-radius: 8px;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.btn-player-start {
    width: 100%;
    padding: 14px 20px;
    background: linear-gradient(135deg, #0284c7 0%, #6366f1 50%, #a855f7 100%);
    border: none;
    border-radius: 9999px;
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4), 0 0 25px rgba(56, 189, 248, 0.3);
    transition: all 0.25s ease;
}

.btn-player-start:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(99, 102, 241, 0.6), 0 0 35px rgba(56, 189, 248, 0.45);
}

.player-privacy-note {
    font-size: 0.74rem;
    color: #64748b;
    text-align: center;
    margin-top: 4px;
}

.badge-edit-btn {
    background: none;
    border: none;
    color: #38bdf8;
    font-size: 0.82rem;
    cursor: pointer;
    padding: 0 4px;
    margin-left: 4px;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.badge-edit-btn:hover {
    opacity: 1;
}

/* ============================================
   INDUSTRY TABS SELECTOR (7 INDUSTRIES)
   ============================================ */
.industry-nav-wrapper {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.industry-nav-label {
    font-size: 0.74rem;
    font-weight: 800;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 12px;
}

.industry-tabs-bar {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

.industry-tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 16px;
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 9999px;
    color: #cbd5e1;
    font-size: 0.84rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
}

.industry-tab-btn:hover {
    border-color: rgba(56, 189, 248, 0.5);
    color: #ffffff;
    background: rgba(56, 189, 248, 0.1);
    transform: translateY(-1px);
}

.industry-tab-btn.active {
    background: linear-gradient(135deg, rgba(2, 132, 199, 0.35), rgba(99, 102, 241, 0.35));
    border-color: #38bdf8;
    color: #ffffff;
    box-shadow: 0 0 18px rgba(56, 189, 248, 0.35);
}

.ind-badge {
    font-size: 0.65rem;
    background: rgba(255, 255, 255, 0.12);
    padding: 1px 7px;
    border-radius: 9999px;
    color: #94a3b8;
    font-weight: 800;
}

.industry-tab-btn.active .ind-badge {
    background: #38bdf8;
    color: #030712;
}

/* ============================================
   CHALLENGE BANNER & SCENARIO PICKER
   ============================================ */
.challenge-industry-pill {
    font-size: 0.7rem;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 9999px;
    background: rgba(56, 189, 248, 0.15);
    border: 1px solid rgba(56, 189, 248, 0.4);
    color: #38bdf8;
    letter-spacing: 0.05em;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.challenge-picker-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.btn-shuffle-top {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.16), rgba(168, 85, 247, 0.16));
    border: 1px solid rgba(56, 189, 248, 0.5);
    color: #38bdf8;
    padding: 7px 14px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.25s ease;
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.15);
}

.btn-shuffle-top:hover {
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.32), rgba(168, 85, 247, 0.32));
    border-color: #38bdf8;
    color: #ffffff;
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.4);
    transform: translateY(-1px);
}

.scenario-picker-label {
    font-size: 0.74rem;
    color: #94a3b8;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.scenario-select-dropdown {
    background: rgba(8, 12, 24, 0.88);
    border: 1px solid rgba(56, 189, 248, 0.4);
    color: #f1f5f9;
    padding: 7px 12px;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    outline: none;
    cursor: pointer;
    max-width: 340px;
    transition: border-color 0.2s;
}

.scenario-select-dropdown:hover,
.scenario-select-dropdown:focus {
    border-color: #38bdf8;
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.25);
}

/* ============================================
   STAGE TILE DROPDOWN AGENT PICKER
   ============================================ */
.sequence-board-section {
    position: relative;
    z-index: 50;
    margin-bottom: 2.5rem;
}

.sequence-slot.dropdown-open {
    z-index: 9999 !important;
}

.slot-dropdown-hint {
    font-size: 0.65rem;
    color: #38bdf8;
    opacity: 0.85;
    font-weight: 600;
    margin-top: 2px;
}

.slot-change-btn {
    background: rgba(56, 189, 248, 0.15);
    border: 1px solid rgba(56, 189, 248, 0.35);
    color: #38bdf8;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 9999px;
    cursor: pointer;
    transition: all 0.2s;
}

.slot-change-btn:hover {
    background: #38bdf8;
    color: #030712;
}

.stage-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: 320px;
    max-width: 88vw;
    background: rgba(9, 14, 28, 0.98);
    border: 1.5px solid rgba(56, 189, 248, 0.6);
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.95), 0 0 30px rgba(56, 189, 248, 0.3);
    z-index: 10000 !important;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    backdrop-filter: blur(24px);
    text-align: left;
    animation: dropdownFade 0.2s ease-out;
}

#slot-4 .stage-dropdown-menu,
#slot-5 .stage-dropdown-menu {
    left: auto;
    right: 0;
}

@keyframes dropdownFade {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}

.dropdown-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
}

.dropdown-menu-title {
    font-size: 0.74rem;
    font-weight: 800;
    color: #38bdf8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.dropdown-menu-count {
    font-size: 0.68rem;
    color: #94a3b8;
    margin-left: 4px;
}

.dropdown-close-btn {
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 0.85rem;
    cursor: pointer;
    padding: 2px 6px;
}

.dropdown-close-btn:hover {
    color: #ffffff;
}

.dropdown-menu-search {
    padding: 8px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.dropdown-search-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    padding: 6px 10px;
    color: #f1f5f9;
    font-size: 0.78rem;
    outline: none;
    box-sizing: border-box;
}

.dropdown-search-input:focus {
    border-color: #38bdf8;
}

.dropdown-items-list {
    overflow-y: auto;
    max-height: 270px;
    padding: 6px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.dropdown-agent-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.18s;
}

.dropdown-agent-item:hover {
    background: rgba(56, 189, 248, 0.14);
}

.dropdown-agent-item.selected {
    background: rgba(56, 189, 248, 0.22);
    border: 1px solid rgba(56, 189, 248, 0.4);
}

.item-left-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
    line-height: 1.2;
    margin-top: 2px;
}

.item-info {
    flex: 1;
    min-width: 0;
}

.item-name-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
}

.item-name {
    font-size: 0.82rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.25;
}

.item-role {
    font-size: 0.68rem;
    font-weight: 700;
    color: #38bdf8;
    margin: 1px 0 2px;
}

.item-desc {
    font-size: 0.72rem;
    color: #94a3b8;
    line-height: 1.4;
}

.agent-selected-badge.here {
    font-size: 0.62rem;
    font-weight: 800;
    color: #34d399;
    background: rgba(16, 185, 129, 0.15);
    padding: 1px 6px;
    border-radius: 9999px;
}

.agent-selected-badge.other {
    font-size: 0.62rem;
    font-weight: 800;
    color: #fbbf24;
    background: rgba(251, 191, 36, 0.15);
    padding: 1px 6px;
    border-radius: 9999px;
}

/* ============================================
   AVAILABLE SCENARIO AGENTS REFERENCE ROSTER (15 AGENTS)
   ============================================ */
.scenario-roster-section {
    margin-bottom: 48px;
}

.roster-header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
    flex-wrap: wrap;
    gap: 12px;
}

.roster-title-cluster {
    display: flex;
    align-items: center;
    gap: 12px;
}

.roster-section-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 2px;
}

.roster-section-hint {
    font-size: 0.82rem;
    color: #94a3b8;
    margin: 0;
}

.roster-count-badge {
    padding: 4px 12px;
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.35);
    color: #38bdf8;
    border-radius: 9999px;
    font-size: 0.74rem;
    font-weight: 700;
}

.scenario-roster-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 14px;
}

.roster-agent-card {
    background: rgba(13, 19, 36, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 16px;
    cursor: pointer;
    transition: all 0.22s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 8px;
    backdrop-filter: blur(10px);
}

.roster-agent-card:hover {
    border-color: rgba(56, 189, 248, 0.55);
    transform: translateY(-2px);
    background: rgba(17, 26, 48, 0.9);
}

.roster-agent-card.slotted {
    border-color: rgba(56, 189, 248, 0.7);
    background: rgba(56, 189, 248, 0.08);
}

.roster-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.roster-card-icon {
    font-size: 1.35rem;
}

.roster-slotted-pill {
    font-size: 0.65rem;
    font-weight: 800;
    background: #38bdf8;
    color: #030712;
    padding: 2px 8px;
    border-radius: 9999px;
}

.roster-idle-pill {
    font-size: 0.65rem;
    font-weight: 700;
    color: #94a3b8;
    background: rgba(255, 255, 255, 0.06);
    padding: 2px 8px;
    border-radius: 9999px;
}

.roster-card-title {
    font-size: 0.88rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.25;
}

.roster-card-role {
    font-size: 0.7rem;
    font-weight: 700;
    color: #38bdf8;
}

.roster-card-desc {
    font-size: 0.76rem;
    color: #94a3b8;
    line-height: 1.45;
    margin: 0;
}

/* ============================================
   OPTIMAL FLOW SECTION IN EVALUATION RESULTS
   ============================================ */
.optimal-flow-wrapper {
    margin-bottom: 24px;
}

.optimal-flow-card {
    background: rgba(14, 23, 47, 0.94);
    border: 1.5px solid rgba(245, 158, 11, 0.5);
    border-radius: 18px;
    padding: 22px 24px;
    box-shadow: 0 0 25px rgba(245, 158, 11, 0.15);
}

.optimal-flow-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.optimal-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.gold-trophy-icon {
    font-size: 1.8rem;
    filter: drop-shadow(0 0 8px rgba(245, 158, 11, 0.6));
}

.optimal-flow-title {
    font-size: 1.05rem;
    font-weight: 900;
    color: #fbbf24;
    margin: 0 0 3px;
}

.optimal-flow-sub {
    font-size: 0.82rem;
    color: #cbd5e1;
    margin: 0;
}

.optimal-flow-badges {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 16px;
    padding: 12px;
    background: rgba(0, 0, 0, 0.35);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.optimal-step-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.35);
    border-radius: 9999px;
}

.step-num-pill {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fbbf24;
    color: #030712;
    font-size: 0.68rem;
    font-weight: 900;
}

.step-name-pill {
    font-size: 0.78rem;
    font-weight: 800;
    color: #fde68a;
}

.optimal-arrow {
    color: #f59e0b;
    font-weight: 800;
    font-size: 0.9rem;
    user-select: none;
}

.optimal-explanation-box {
    padding: 14px 16px;
    background: rgba(0, 0, 0, 0.25);
    border-left: 3px solid #fbbf24;
    border-radius: 8px;
}

.opt-exp-tag {
    font-size: 0.72rem;
    font-weight: 800;
    color: #fbbf24;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.opt-exp-text {
    font-size: 0.86rem;
    color: #e2e8f0;
    line-height: 1.55;
    margin: 0;
}

/* ============================================
   GAMING THEME: BLACK, NEON & GAMING LIGHTS
   ============================================ */
.gamification-main {
    background: #030712 !important;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
}

.gaming-ambient-lights {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.neon-light-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(85px);
    opacity: 0.35;
    mix-blend-mode: screen;
}

.orb-cyan {
    top: -100px;
    left: 10%;
    width: 480px;
    height: 480px;
    background: radial-gradient(circle, #00f0ff 0%, #0284c7 50%, transparent 70%);
    animation: floatOrbCyan 12s ease-in-out infinite alternate;
}

.orb-magenta {
    top: 15%;
    right: -80px;
    width: 520px;
    height: 520px;
    background: radial-gradient(circle, #ff007f 0%, #c026d3 50%, transparent 70%);
    animation: floatOrbMagenta 15s ease-in-out infinite alternate;
}

.orb-violet {
    top: 55%;
    left: -100px;
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, #8b5cf6 0%, #4338ca 50%, transparent 70%);
    animation: floatOrbViolet 18s ease-in-out infinite alternate;
}

.orb-gold {
    bottom: -80px;
    right: 15%;
    width: 460px;
    height: 460px;
    background: radial-gradient(circle, #fbbf24 0%, #d97706 50%, transparent 70%);
    animation: floatOrbGold 14s ease-in-out infinite alternate;
}

@keyframes floatOrbCyan {
    0% { transform: translate(0, 0) scale(1); opacity: 0.3; }
    50% { transform: translate(60px, 40px) scale(1.15); opacity: 0.45; }
    100% { transform: translate(-30px, 80px) scale(0.9); opacity: 0.28; }
}

@keyframes floatOrbMagenta {
    0% { transform: translate(0, 0) scale(1); opacity: 0.32; }
    50% { transform: translate(-50px, 60px) scale(1.1); opacity: 0.48; }
    100% { transform: translate(40px, -40px) scale(0.95); opacity: 0.25; }
}

@keyframes floatOrbViolet {
    0% { transform: translate(0, 0) scale(1); opacity: 0.28; }
    50% { transform: translate(40px, -60px) scale(1.1); opacity: 0.42; }
    100% { transform: translate(-50px, 30px) scale(0.9); opacity: 0.22; }
}

@keyframes floatOrbGold {
    0% { transform: translate(0, 0) scale(1); opacity: 0.25; }
    50% { transform: translate(-60px, -40px) scale(1.15); opacity: 0.4; }
    100% { transform: translate(50px, -20px) scale(0.9); opacity: 0.22; }
}

/* ============================================
   ARCADE HUB LOBBY
   ============================================ */
.arcade-hub-container {
    position: relative;
    z-index: 10;
    max-width: 1200px;
    margin: 0 auto;
    padding: 85px 24px 80px;
    text-align: center;
}

.arcade-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(13, 20, 40, 0.85);
    border: 1px solid rgba(56, 189, 248, 0.45);
    border-radius: 9999px;
    color: #38bdf8;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin-bottom: 20px;
    box-shadow: 0 0 16px rgba(56, 189, 248, 0.25);
}

.arcade-pulsing-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #38bdf8;
    box-shadow: 0 0 10px #38bdf8;
    animation: neonBlink 1.5s infinite;
}

@keyframes neonBlink {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.3; transform: scale(0.7); }
}

.arcade-hub-title {
    font-size: clamp(2.4rem, 6vw, 3.8rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin-bottom: 16px;
}

.neon-glow-cyan {
    background: linear-gradient(135deg, #ffffff 0%, #38bdf8 60%, #0284c7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 20px rgba(56, 189, 248, 0.65));
}

.neon-glow-magenta {
    background: linear-gradient(135deg, #f472b6 0%, #ec4899 50%, #a855f7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 20px rgba(244, 114, 182, 0.65));
}

.arcade-hub-subtitle {
    font-size: 1.05rem;
    color: #94a3b8;
    max-width: 680px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.arcade-tiles-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 32px;
    align-items: stretch;
}

/* ============================================
   ARCADE GAME TILE: AI VALUE REALIZATION CHALLENGE
   ============================================ */
.arcade-game-tile {
    position: relative;
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    background: linear-gradient(145deg, rgba(10, 16, 36, 0.95), rgba(15, 23, 48, 0.92));
    border: 1.5px solid rgba(56, 189, 248, 0.55);
    border-radius: 24px;
    padding: 36px 36px 32px;
    text-align: left;
    cursor: pointer;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.85), 0 0 35px rgba(56, 189, 248, 0.25), 0 0 70px rgba(168, 85, 247, 0.15);
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    backdrop-filter: blur(20px);
    overflow: hidden;
}

.arcade-game-tile:hover {
    transform: translateY(-6px) scale(1.01);
    border-color: #38bdf8;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.92), 0 0 50px rgba(56, 189, 248, 0.5), 0 0 100px rgba(244, 114, 182, 0.28);
}

.tile-neon-border-glow {
    position: absolute;
    inset: -1px;
    border-radius: 24px;
    background: linear-gradient(90deg, #38bdf8, #a855f7, #f472b6, #38bdf8);
    background-size: 300% 300%;
    opacity: 0;
    pointer-events: none;
    z-index: 0;
    transition: opacity 0.4s ease;
    animation: neonBorderFlow 6s ease infinite;
}

.arcade-game-tile:hover .tile-neon-border-glow {
    opacity: 0.45;
}

@keyframes neonBorderFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.tile-header-tags {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 22px;
    position: relative;
    z-index: 1;
}

.tile-tag-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.68rem;
    font-weight: 800;
    color: #34d399;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.4);
    padding: 4px 10px;
    border-radius: 9999px;
    letter-spacing: 0.06em;
}

.neon-dot-green {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #34d399;
    box-shadow: 0 0 8px #34d399;
}

.tile-tag-featured {
    font-size: 0.68rem;
    font-weight: 800;
    color: #f472b6;
    background: rgba(244, 114, 182, 0.12);
    border: 1px solid rgba(244, 114, 182, 0.35);
    padding: 4px 10px;
    border-radius: 9999px;
    letter-spacing: 0.05em;
}

.tile-tag-points {
    font-size: 0.68rem;
    font-weight: 800;
    color: #fbbf24;
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.4);
    padding: 4px 10px;
    border-radius: 9999px;
    letter-spacing: 0.06em;
}

.tile-hero-graphic {
    display: flex;
    align-items: center;
    margin-bottom: 18px;
    position: relative;
    z-index: 1;
}

.tile-avatar-glow {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.2), rgba(168, 85, 247, 0.25));
    border: 1.5px solid rgba(56, 189, 248, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 25px rgba(56, 189, 248, 0.4);
}

.tile-avatar-emoji {
    font-size: 2rem;
}

.tile-details {
    position: relative;
    z-index: 1;
}

.tile-role-badge {
    font-size: 0.72rem;
    font-weight: 800;
    color: #38bdf8;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.tile-title {
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    font-weight: 900;
    color: #ffffff;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
    line-height: 1.2;
}

.tile-description {
    font-size: 0.94rem;
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 24px;
}

.tile-metrics-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
}

.tile-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #f1f5f9;
}

.tile-chip.gold {
    background: rgba(245, 158, 11, 0.12);
    border-color: rgba(245, 158, 11, 0.4);
    color: #fbbf24;
}

.tile-action-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.btn-play-arcade {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    background: linear-gradient(135deg, #0284c7 0%, #38bdf8 50%, #818cf8 100%);
    border: none;
    border-radius: 12px;
    color: #030712;
    font-size: 0.92rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    cursor: pointer;
    box-shadow: 0 0 25px rgba(56, 189, 248, 0.6);
    transition: all 0.25s ease;
}

.btn-play-arcade:hover {
    transform: scale(1.04);
    box-shadow: 0 0 40px rgba(56, 189, 248, 0.9);
    filter: brightness(1.1);
}

.tile-click-hint {
    font-size: 0.74rem;
    color: #94a3b8;
    font-weight: 600;
}

/* ============================================
   DUAL-AXIS SCORING MATRIX BREAKDOWN
   ============================================ */
.step-breakdown-wrapper {
    margin-bottom: 20px;
}

.step-breakdown-card {
    background: rgba(8, 14, 30, 0.88);
    border: 1px solid rgba(56, 189, 248, 0.35);
    border-radius: 16px;
    padding: 16px 18px;
}

.step-breakdown-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.step-breakdown-title-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

.step-breakdown-icon {
    font-size: 1.4rem;
}

.step-breakdown-title {
    font-size: 0.88rem;
    font-weight: 800;
    color: #38bdf8;
    margin: 0;
    letter-spacing: 0.02em;
}

.step-breakdown-sub {
    font-size: 0.72rem;
    color: #94a3b8;
    margin: 2px 0 0;
}

.step-breakdown-score-badge {
    text-align: right;
    font-weight: 900;
}

.step-breakdown-score-badge .pts-total {
    font-size: 1.4rem;
    color: #38bdf8;
}

.step-breakdown-score-badge .pts-max {
    font-size: 0.75rem;
    color: #94a3b8;
    display: block;
    text-transform: uppercase;
    font-weight: 700;
}

.matrix-summary-box {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 10px;
    margin-bottom: 14px;
    padding: 10px 14px;
    background: rgba(15, 23, 42, 0.65);
    border: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: 10px;
}

.matrix-item {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.matrix-label {
    font-size: 0.72rem;
    text-transform: none;
    font-weight: 700;
    color: #94a3b8;
    letter-spacing: 0.02em;
}

.matrix-val {
    font-size: 0.78rem;
    font-weight: 700;
    color: #f1f5f9;
}

.matrix-val.highlight-green {
    color: #34d399;
}

.matrix-val.highlight-cyan {
    color: #38bdf8;
}

.matrix-val.highlight-amber {
    color: #f59e0b;
}

.matrix-val.highlight-red {
    color: #f87171;
}

.step-breakdown-rows {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.step-breakdown-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
}

.step-breakdown-row.match {
    border-color: rgba(16, 185, 129, 0.4);
    background: rgba(16, 185, 129, 0.06);
}

.step-breakdown-row.mismatch {
    border-color: rgba(239, 68, 68, 0.25);
    background: rgba(239, 68, 68, 0.04);
}

.step-col-num .step-badge-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(56, 189, 248, 0.2);
    border: 1px solid rgba(56, 189, 248, 0.4);
    color: #38bdf8;
    font-size: 0.72rem;
    font-weight: 800;
}

.step-col-stage {
    min-width: 140px;
}

.step-stage-name {
    font-size: 0.76rem;
    font-weight: 700;
    color: #cbd5e1;
}

.step-col-agents {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.agent-comparison-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 0.74rem;
}

.agent-comparison-pill.user-pick {
    background: rgba(56, 189, 248, 0.12);
    color: #e2e8f0;
}

.agent-comparison-pill.bench-pick {
    background: rgba(245, 158, 11, 0.12);
    color: #fde68a;
}

.agent-comparison-pill .pill-label {
    font-size: 0.66rem;
    color: #94a3b8;
    text-transform: uppercase;
    font-weight: 700;
}

.agent-comparison-pill .pill-val {
    font-weight: 700;
}

.vs-arrow {
    font-size: 0.68rem;
    color: #64748b;
    font-weight: 700;
}

.step-col-points .pts-tag {
    font-size: 0.74rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 9999px;
}

.step-col-points .pts-tag.match {
    background: rgba(16, 185, 129, 0.2);
    border: 1px solid rgba(16, 185, 129, 0.5);
    color: #34d399;
}

.step-col-points .pts-tag.alternative {
    background: rgba(56, 189, 248, 0.18);
    border: 1px solid rgba(56, 189, 248, 0.45);
    color: #38bdf8;
}

.step-col-points .pts-tag.mismatch {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #f87171;
}

@media (max-width: 768px) {
    .arcade-game-tile {
        padding: 24px 18px;
    }
    .step-breakdown-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
}

/* =========================================================================
   APPLE-STYLE CLEAN REDESIGN & MOTION GRAPHICS (ABOUT ME / PROFILE)
   ========================================================================= */

/* Light Theme Variables for Profile Mode */
body.mode-profile,
body:not(.mode-how-i-do):not(.mode-geeky-side):not(.mode-gamification) {
    --color-bg: #ffffff;
    --color-bg-elevated: #f5f5f7;
    --color-bg-card: #ffffff;
    --color-bg-card-hover: #ffffff;
    --color-text: #1d1d1f;
    --color-text-secondary: #424245;
    --color-text-tertiary: #86868b;
    --color-accent: #0071e3;
    --color-accent-secondary: #6830f7;
    --color-gradient-start: #0071e3;
    --color-gradient-end: #6830f7;
    --color-border: rgba(0, 0, 0, 0.08);
    --color-border-hover: rgba(0, 113, 227, 0.25);
    background-color: #ffffff;
    color: #1d1d1f;
    transition: background-color 0.4s ease, color 0.4s ease;
}

/* ============================================
   APPLE NAVIGATION BAR & SEGMENTED SWITCHER
   ============================================ */
body.mode-profile .nav.scrolled,
body:not(.mode-how-i-do):not(.mode-geeky-side):not(.mode-gamification) .nav.scrolled {
    background: rgba(255, 255, 255, 0.82) !important;
    backdrop-filter: saturate(180%) blur(20px) !important;
    -webkit-backdrop-filter: saturate(180%) blur(20px) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02) !important;
}

body.mode-profile .nav-logo-text,
body:not(.mode-how-i-do):not(.mode-geeky-side):not(.mode-gamification) .nav-logo-text {
    color: #1d1d1f;
}

body.mode-profile .nav-link,
body:not(.mode-how-i-do):not(.mode-geeky-side):not(.mode-gamification) .nav-link {
    color: #424245;
    font-weight: 500;
}

body.mode-profile .nav-link:hover,
body:not(.mode-how-i-do):not(.mode-geeky-side):not(.mode-gamification) .nav-link:hover {
    color: #000000;
}

body.mode-profile .nav-link::after,
body:not(.mode-how-i-do):not(.mode-geeky-side):not(.mode-gamification) .nav-link::after {
    background: #0071e3;
}

body.mode-profile .nav-link-cta,
body:not(.mode-how-i-do):not(.mode-geeky-side):not(.mode-gamification) .nav-link-cta {
    background: #0071e3 !important;
    color: #ffffff !important;
    border: 1px solid transparent !important;
    box-shadow: 0 2px 10px rgba(0, 113, 227, 0.3) !important;
}

body.mode-profile .nav-link-cta:hover,
body:not(.mode-how-i-do):not(.mode-geeky-side):not(.mode-gamification) .nav-link-cta:hover {
    background: #0077ed !important;
    box-shadow: 0 4px 16px rgba(0, 113, 227, 0.42) !important;
    transform: translateY(-1px);
    color: #ffffff !important;
}

body.mode-profile .cta-icon-svg,
body:not(.mode-how-i-do):not(.mode-geeky-side):not(.mode-gamification) .cta-icon-svg {
    color: #ffffff !important;
    filter: none !important;
}

body.mode-profile .nav-toggle span,
body:not(.mode-how-i-do):not(.mode-geeky-side):not(.mode-gamification) .nav-toggle span {
    background: #1d1d1f;
}

/* Apple Segmented Mode Switcher */
body.mode-profile .mode-switch-wrapper,
body:not(.mode-how-i-do):not(.mode-geeky-side):not(.mode-gamification):not(.mode-playground) .mode-switch-wrapper {
    background: rgba(0, 0, 0, 0.05) !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.04) !important;
}

body.mode-profile .mode-switch-wrapper:not(.how-i-do-active):not(.geeky-side-active):not(.gamification-active):not(.playground-active) .mode-switch-glider,
body:not(.mode-how-i-do):not(.mode-geeky-side):not(.mode-gamification):not(.mode-playground) .mode-switch-wrapper:not(.how-i-do-active):not(.geeky-side-active):not(.gamification-active):not(.playground-active) .mode-switch-glider {
    background: #ffffff !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.06) !important;
    border: 0.5px solid rgba(0, 0, 0, 0.04) !important;
}

body.mode-profile .mode-btn,
body:not(.mode-how-i-do):not(.mode-geeky-side):not(.mode-gamification):not(.mode-playground) .mode-btn {
    color: #86868b;
}

body.mode-profile .mode-btn:hover:not(.active),
body:not(.mode-how-i-do):not(.mode-geeky-side):not(.mode-gamification):not(.mode-playground) .mode-btn:hover:not(.active) {
    color: #1d1d1f;
    background: rgba(0, 0, 0, 0.04);
}

body.mode-profile .mode-switch-wrapper:not(.how-i-do-active):not(.geeky-side-active):not(.gamification-active):not(.playground-active) #btnModeProfile.active,
body:not(.mode-how-i-do):not(.mode-geeky-side):not(.mode-gamification):not(.mode-playground) .mode-switch-wrapper:not(.how-i-do-active):not(.geeky-side-active):not(.gamification-active):not(.playground-active) #btnModeProfile.active {
    color: #1d1d1f !important;
    font-weight: 600;
    text-shadow: none !important;
}

body.mode-profile .mode-switch-wrapper:not(.how-i-do-active):not(.geeky-side-active):not(.gamification-active):not(.playground-active) #btnModeProfile.active .mode-icon-svg,
body:not(.mode-how-i-do):not(.mode-geeky-side):not(.mode-gamification):not(.mode-playground) .mode-switch-wrapper:not(.how-i-do-active):not(.geeky-side-active):not(.gamification-active):not(.playground-active) #btnModeProfile.active .mode-icon-svg {
    color: #0071e3 !important;
    filter: none !important;
}

/* ============================================
   APPLE INTELLIGENCE AMBIENT MOTION GRAPHICS
   ============================================ */
.apple-ambient-layer {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
    opacity: 1;
}

body:not(.mode-profile):not(.mode-how-i-do) .apple-ambient-layer {
    display: none !important;
}

.apple-ambient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
    will-change: transform, opacity;
}

.apple-ambient-orb.orb-primary {
    width: 650px;
    height: 650px;
    top: -100px;
    right: -100px;
    background: radial-gradient(circle, rgba(0, 113, 227, 0.08) 0%, rgba(104, 48, 247, 0.04) 50%, transparent 75%);
    animation: appleAuroraFlow1 18s ease-in-out infinite alternate;
}

.apple-ambient-orb.orb-secondary {
    width: 580px;
    height: 580px;
    top: 40%;
    left: -120px;
    background: radial-gradient(circle, rgba(212, 42, 134, 0.06) 0%, rgba(0, 113, 227, 0.04) 50%, transparent 75%);
    animation: appleAuroraFlow2 22s ease-in-out infinite alternate;
}

@keyframes appleAuroraFlow1 {
    0% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(-80px, 60px, 0) scale(1.08); }
    100% { transform: translate3d(40px, -40px, 0) scale(0.96); }
}

@keyframes appleAuroraFlow2 {
    0% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(60px, -80px, 0) scale(1.12); }
    100% { transform: translate3d(-50px, 50px, 0) scale(0.94); }
}

/* Kinetic Typography Gradient Shimmer */
body.mode-profile .text-gradient,
body:not(.mode-how-i-do):not(.mode-geeky-side):not(.mode-gamification) .text-gradient {
    background: linear-gradient(135deg, #0071e3 0%, #6830f7 35%, #d42a86 70%, #0071e3 100%);
    background-size: 250% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: appleTextShimmer 8s ease-in-out infinite alternate;
}

@keyframes appleTextShimmer {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

/* ============================================
   HERO SECTION (APPLE CLEAN LIGHT)
   ============================================ */
body.mode-profile .hero,
body:not(.mode-how-i-do):not(.mode-geeky-side):not(.mode-gamification) .hero {
    background: #ffffff;
}

body.mode-profile .hero-badge,
body:not(.mode-how-i-do):not(.mode-geeky-side):not(.mode-gamification) .hero-badge {
    background: rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.08);
    color: #1d1d1f;
}

body.mode-profile .name-first,
body:not(.mode-how-i-do):not(.mode-geeky-side):not(.mode-gamification) .name-first {
    color: #1d1d1f;
}

body.mode-profile .name-last,
body:not(.mode-how-i-do):not(.mode-geeky-side):not(.mode-gamification) .name-last {
    background: linear-gradient(135deg, #1d1d1f 35%, #0071e3 70%, #6830f7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

body.mode-profile .hero-tagline,
body:not(.mode-how-i-do):not(.mode-geeky-side):not(.mode-gamification) .hero-tagline {
    color: #1d1d1f;
}

body.mode-profile .hero-subtitle,
body:not(.mode-how-i-do):not(.mode-geeky-side):not(.mode-gamification) .hero-subtitle {
    color: #424245;
}

body.mode-profile .btn-primary,
body:not(.mode-how-i-do):not(.mode-geeky-side):not(.mode-gamification) .btn-primary {
    background: #0071e3;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(0, 113, 227, 0.28);
}

body.mode-profile .btn-primary:hover,
body:not(.mode-how-i-do):not(.mode-geeky-side):not(.mode-gamification) .btn-primary:hover {
    background: #0077ed;
    box-shadow: 0 6px 20px rgba(0, 113, 227, 0.38);
    transform: translateY(-2px);
}

body.mode-profile .btn-secondary,
body:not(.mode-how-i-do):not(.mode-geeky-side):not(.mode-gamification) .btn-secondary {
    background: rgba(0, 113, 227, 0.05);
    color: #0071e3;
    border: 1px solid rgba(0, 113, 227, 0.25);
}

body.mode-profile .btn-secondary:hover,
body:not(.mode-how-i-do):not(.mode-geeky-side):not(.mode-gamification) .btn-secondary:hover {
    background: rgba(0, 113, 227, 0.1);
    border-color: #0071e3;
    transform: translateY(-2px);
}

body.mode-profile .scroll-line,
body:not(.mode-how-i-do):not(.mode-geeky-side):not(.mode-gamification) .scroll-line {
    background: linear-gradient(to bottom, #0071e3, transparent);
}

/* ============================================
   APPLE SECTION ALTERNATION & CARDS
   ============================================ */
body.mode-profile .section-about,
body:not(.mode-how-i-do):not(.mode-geeky-side):not(.mode-gamification) .section-about {
    background-color: #f5f5f7;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

body.mode-profile .section-expertise,
body:not(.mode-how-i-do):not(.mode-geeky-side):not(.mode-gamification) .section-expertise {
    background-color: #ffffff;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

body.mode-profile .section-approach,
body:not(.mode-how-i-do):not(.mode-geeky-side):not(.mode-gamification) .section-approach {
    background-color: #f5f5f7;
}

body.mode-profile .section-ecosystem,
body:not(.mode-how-i-do):not(.mode-geeky-side):not(.mode-gamification) .section-ecosystem {
    background-color: #ffffff;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

body.mode-profile .section-value,
body:not(.mode-how-i-do):not(.mode-geeky-side):not(.mode-gamification) .section-value {
    background-color: #f5f5f7;
}

body.mode-profile .section-passion,
body:not(.mode-how-i-do):not(.mode-geeky-side):not(.mode-gamification) .section-passion {
    background-color: #ffffff;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

body.mode-profile .section-audiences,
body:not(.mode-how-i-do):not(.mode-geeky-side):not(.mode-gamification) .section-audiences {
    background-color: #f5f5f7;
}

body.mode-profile .section-connect,
body:not(.mode-how-i-do):not(.mode-geeky-side):not(.mode-gamification) .section-connect {
    background-color: #ffffff;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

body.mode-profile .footer,
body:not(.mode-how-i-do):not(.mode-geeky-side):not(.mode-gamification) .footer {
    background-color: #f5f5f7;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    color: #86868b;
}

/* Apple Squircle Cards & Subtle Elevations */
body.mode-profile .expertise-card,
body.mode-profile .eco-card,
body.mode-profile .value-card,
body.mode-profile .passion-card,
body.mode-profile .audience-card,
body.mode-profile .connect-action,
body.mode-profile .result-card,
body:not(.mode-how-i-do):not(.mode-geeky-side):not(.mode-gamification) .expertise-card,
body:not(.mode-how-i-do):not(.mode-geeky-side):not(.mode-gamification) .eco-card,
body:not(.mode-how-i-do):not(.mode-geeky-side):not(.mode-gamification) .value-card,
body:not(.mode-how-i-do):not(.mode-geeky-side):not(.mode-gamification) .passion-card,
body:not(.mode-how-i-do):not(.mode-geeky-side):not(.mode-gamification) .audience-card,
body:not(.mode-how-i-do):not(.mode-geeky-side):not(.mode-gamification) .connect-action,
body:not(.mode-how-i-do):not(.mode-geeky-side):not(.mode-gamification) .result-card {
    background-color: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 22px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03), 0 1px 2px rgba(0, 0, 0, 0.02);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.3s ease;
}

body.mode-profile .expertise-card:hover,
body.mode-profile .eco-card:hover,
body.mode-profile .value-card:hover,
body.mode-profile .passion-card:hover,
body.mode-profile .audience-card:hover,
body.mode-profile .connect-action:hover,
body:not(.mode-how-i-do):not(.mode-geeky-side):not(.mode-gamification) .expertise-card:hover,
body:not(.mode-how-i-do):not(.mode-geeky-side):not(.mode-gamification) .eco-card:hover,
body:not(.mode-how-i-do):not(.mode-geeky-side):not(.mode-gamification) .value-card:hover,
body:not(.mode-how-i-do):not(.mode-geeky-side):not(.mode-gamification) .passion-card:hover,
body:not(.mode-how-i-do):not(.mode-geeky-side):not(.mode-gamification) .audience-card:hover,
body:not(.mode-how-i-do):not(.mode-geeky-side):not(.mode-gamification) .connect-action:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 113, 227, 0.28);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08), 0 2px 4px rgba(0, 0, 0, 0.02);
}

/* Apple Card Top Specular Sheen */
body.mode-profile .expertise-card::before,
body:not(.mode-how-i-do):not(.mode-geeky-side):not(.mode-gamification) .expertise-card::before {
    background: linear-gradient(90deg, transparent, #0071e3, #6830f7, transparent);
    opacity: 0;
    height: 2px;
    border-radius: 9999px;
}

body.mode-profile .expertise-card:hover::before,
body:not(.mode-how-i-do):not(.mode-geeky-side):not(.mode-gamification) .expertise-card:hover::before {
    opacity: 0.9;
}

/* Badges & Tags */
body.mode-profile .tag,
body:not(.mode-how-i-do):not(.mode-geeky-side):not(.mode-gamification) .tag {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    color: #1d1d1f;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

body.mode-profile .tag:hover,
body:not(.mode-how-i-do):not(.mode-geeky-side):not(.mode-gamification) .tag:hover {
    border-color: #0071e3;
    color: #0071e3;
    background: rgba(0, 113, 227, 0.04);
}

body.mode-profile .card-tags span,
body:not(.mode-how-i-do):not(.mode-geeky-side):not(.mode-gamification) .card-tags span {
    background: rgba(0, 113, 227, 0.06);
    border: 1px solid rgba(0, 113, 227, 0.12);
    color: #0071e3;
}

body.mode-profile .built-with-badge,
body:not(.mode-how-i-do):not(.mode-geeky-side):not(.mode-gamification) .built-with-badge {
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.08);
    color: #6e6e73;
    box-shadow: none;
}

/* Primary Contact Launcher */
body.mode-profile .btn-send-message,
body:not(.mode-how-i-do):not(.mode-geeky-side):not(.mode-gamification) .btn-send-message {
    background: linear-gradient(135deg, #0071e3 0%, #6830f7 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 18px rgba(0, 113, 227, 0.35) !important;
}

body.mode-profile .btn-send-message:hover:not(:disabled),
body:not(.mode-how-i-do):not(.mode-geeky-side):not(.mode-gamification) .btn-send-message:hover:not(:disabled) {
    box-shadow: 0 6px 26px rgba(0, 113, 227, 0.45) !important;
    transform: translateY(-2px);
}

/* Photo Feature */
body.mode-profile .photo-frame,
body:not(.mode-how-i-do):not(.mode-geeky-side):not(.mode-gamification) .photo-frame {
    border: 3px solid #ffffff;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.1);
}

body.mode-profile .photo-ring,
body:not(.mode-how-i-do):not(.mode-geeky-side):not(.mode-gamification) .photo-ring {
    background: conic-gradient(
        from 0deg,
        #0071e3,
        #6830f7,
        transparent,
        #0071e3
    );
    opacity: 0.6;
}

body.mode-profile .photo-glow,
body:not(.mode-how-i-do):not(.mode-geeky-side):not(.mode-gamification) .photo-glow {
    background: radial-gradient(circle, rgba(0, 113, 227, 0.12) 0%, rgba(104, 48, 247, 0.06) 40%, transparent 70%);
}

/* Typography Details */
body.mode-profile .about-text-highlight,
body:not(.mode-how-i-do):not(.mode-geeky-side):not(.mode-gamification) .about-text-highlight {
    color: #1d1d1f;
    border-left-color: #0071e3;
}

body.mode-profile .about-text strong,
body:not(.mode-how-i-do):not(.mode-geeky-side):not(.mode-gamification) .about-text strong {
    color: #1d1d1f;
}

body.mode-profile .about-text em,
body:not(.mode-how-i-do):not(.mode-geeky-side):not(.mode-gamification) .about-text em {
    color: #1d1d1f;
}

body.mode-profile .step-number,
body.mode-profile .step-icon,
body.mode-profile .value-number,
body.mode-profile .audience-number,
body.mode-profile .action-cta,
body:not(.mode-how-i-do):not(.mode-geeky-side):not(.mode-gamification) .step-number,
body:not(.mode-how-i-do):not(.mode-geeky-side):not(.mode-gamification) .step-icon,
body:not(.mode-how-i-do):not(.mode-geeky-side):not(.mode-gamification) .value-number,
body:not(.mode-how-i-do):not(.mode-geeky-side):not(.mode-gamification) .audience-number,
body:not(.mode-how-i-do):not(.mode-geeky-side):not(.mode-gamification) .action-cta {
    color: #0071e3;
}

body.mode-profile .action-label,
body:not(.mode-how-i-do):not(.mode-geeky-side):not(.mode-gamification) .action-label {
    color: #1d1d1f;
}

body.mode-profile .action-value,
body:not(.mode-how-i-do):not(.mode-geeky-side):not(.mode-gamification) .action-value {
    color: #86868b;
}

body.mode-profile .action-icon,
body:not(.mode-how-i-do):not(.mode-geeky-side):not(.mode-gamification) .action-icon {
    background: rgba(0, 113, 227, 0.06);
    border: 1px solid rgba(0, 113, 227, 0.15);
    color: #0071e3;
}


/* =========================================================================
   APPLE-STYLE CLEAN UNIFORMITY: HOW I DO IT (TRANSFORMATION ARCHITECTURE)
   ========================================================================= */

body.mode-how-i-do {
    --color-bg: #ffffff;
    --color-bg-elevated: #f5f5f7;
    --color-bg-card: #ffffff;
    --color-bg-card-hover: #ffffff;
    --color-text: #1d1d1f;
    --color-text-secondary: #424245;
    --color-text-tertiary: #86868b;
    --color-accent: #0071e3;
    --color-accent-secondary: #6830f7;
    --color-gradient-start: #0071e3;
    --color-gradient-end: #6830f7;
    --color-border: rgba(0, 0, 0, 0.08);
    --color-border-hover: rgba(0, 113, 227, 0.25);
    background-color: #ffffff !important;
    color: #1d1d1f !important;
    transition: background-color 0.4s ease, color 0.4s ease;
}

body.mode-how-i-do #view-how-i-do {
    background-color: #ffffff;
}

/* Nav & Mode Switcher in How I Do It */
body.mode-how-i-do .nav.scrolled {
    background: rgba(255, 255, 255, 0.82) !important;
    backdrop-filter: saturate(180%) blur(20px) !important;
    -webkit-backdrop-filter: saturate(180%) blur(20px) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02) !important;
}

body.mode-how-i-do .nav-logo-text {
    color: #1d1d1f !important;
}

body.mode-how-i-do .nav-link {
    color: #424245 !important;
    font-weight: 500;
}

body.mode-how-i-do .nav-link:hover {
    color: #000000 !important;
}

body.mode-how-i-do .nav-link::after {
    background: #0071e3 !important;
}

body.mode-how-i-do .nav-link-cta {
    background: #0071e3 !important;
    color: #ffffff !important;
    border: 1px solid transparent !important;
    box-shadow: 0 2px 10px rgba(0, 113, 227, 0.3) !important;
}

body.mode-how-i-do .nav-toggle span {
    background: #1d1d1f !important;
}

/* Segmented mode switcher in How I Do It */
body.mode-how-i-do .mode-switch-wrapper {
    background: rgba(0, 0, 0, 0.05) !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.04) !important;
}

body.mode-how-i-do .mode-btn {
    color: #86868b !important;
}

body.mode-how-i-do .mode-btn:hover:not(.active) {
    color: #1d1d1f !important;
    background: rgba(0, 0, 0, 0.04) !important;
}

body.mode-how-i-do .mode-switch-wrapper.how-i-do-active .mode-switch-glider {
    background: #ffffff !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.06) !important;
    border: 0.5px solid rgba(0, 0, 0, 0.04) !important;
}

body.mode-how-i-do .mode-switch-wrapper.how-i-do-active #btnModeHowIDo.active {
    color: #1d1d1f !important;
    font-weight: 600 !important;
    text-shadow: none !important;
}

body.mode-how-i-do .mode-switch-wrapper.how-i-do-active #btnModeHowIDo.active .neon-bolt-svg {
    color: #0071e3 !important;
    filter: none !important;
}

/* Transformation Header & Kinetic Text */
body.mode-how-i-do .transform-header {
    margin-bottom: 40px;
}

body.mode-how-i-do .transform-title {
    color: #1d1d1f !important;
}

body.mode-how-i-do .transform-title .text-gradient {
    background: linear-gradient(135deg, #0071e3 0%, #6830f7 35%, #d42a86 70%, #0071e3 100%) !important;
    background-size: 250% auto !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    animation: appleTextShimmer 8s ease-in-out infinite alternate !important;
}

body.mode-how-i-do .transform-subtitle {
    color: #424245 !important;
}

/* Apple Squircle Cards in How I Do It */
body.mode-how-i-do .flow-rail-card {
    background-color: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    border-radius: 22px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03), 0 1px 2px rgba(0, 0, 0, 0.02) !important;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.3s ease !important;
}

body.mode-how-i-do .flow-header-flex {
    border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
}

body.mode-how-i-do .flow-header-flex h2,
body.mode-how-i-do .flow-rail-card h2,
body.mode-how-i-do .flow-rail-card h3 {
    color: #1d1d1f !important;
}

body.mode-how-i-do .rail-base-line {
    background: rgba(0, 0, 0, 0.08) !important;
}

body.mode-how-i-do .rail-animated-beam {
    background: linear-gradient(90deg, transparent, #0071e3, #6830f7, transparent) !important;
}

body.mode-how-i-do .h-flow-circle {
    background: #f5f5f7 !important;
    border: 2px solid rgba(0, 0, 0, 0.1) !important;
    color: #1d1d1f !important;
}

body.mode-how-i-do .h-flow-node:hover .h-flow-circle {
    border-color: #0071e3 !important;
    color: #0071e3 !important;
}

body.mode-how-i-do .h-flow-node.active .h-flow-circle {
    background: #0071e3 !important;
    border-color: #0071e3 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(0, 113, 227, 0.35) !important;
    transform: scale(1.1);
}

body.mode-how-i-do .h-flow-title {
    color: #1d1d1f !important;
}

body.mode-how-i-do .h-flow-sub {
    color: #86868b !important;
}

body.mode-how-i-do .h-flow-node.active .h-flow-sub {
    color: #0071e3 !important;
}

/* Dynamic Stage Detail Box (Apple Clean Card) */
body.mode-how-i-do .stage-detail-box {
    background: #f5f5f7 !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
    border-radius: 20px !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02) !important;
}

body.mode-how-i-do .stage-detail-box h4 {
    color: #1d1d1f !important;
}

body.mode-how-i-do .stage-detail-box p {
    color: #424245 !important;
}

body.mode-how-i-do .stage-pillars-grid > div {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    border-radius: 16px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02) !important;
}

body.mode-how-i-do .stage-pillars-grid span {
    color: #1d1d1f !important;
}

body.mode-how-i-do .stage-pillars-grid p {
    color: #6e6e73 !important;
}

/* Solution Viability Spectrum (Apple Clean) */
body.mode-how-i-do .spec-tabs-wrapper {
    background: rgba(0, 0, 0, 0.04) !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
    border-radius: 9999px !important;
    padding: 3px !important;
}

body.mode-how-i-do .spec-toggle-btn {
    color: #6e6e73 !important;
    border: none !important;
    background: transparent !important;
    border-radius: 9999px !important;
    transition: all 0.2s ease !important;
}

body.mode-how-i-do .spec-toggle-btn:hover:not(.active) {
    color: #1d1d1f !important;
    background: rgba(0, 0, 0, 0.04) !important;
}

body.mode-how-i-do .spec-toggle-btn.active {
    background: #0071e3 !important;
    color: #ffffff !important;
    box-shadow: 0 2px 10px rgba(0, 113, 227, 0.3) !important;
}

body.mode-how-i-do .spec-cards-grid > div {
    background: #f5f5f7 !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
    border-radius: 18px !important;
}

body.mode-how-i-do .spec-cards-grid [style*="color: #ffffff"],
body.mode-how-i-do .spec-cards-grid [style*="color:#ffffff"] {
    color: #1d1d1f !important;
}

body.mode-how-i-do .spec-cards-grid p,
body.mode-how-i-do .spec-cards-grid li span {
    color: #424245 !important;
}

/* Persona Cards Grid (Apple Squircle) */
body.mode-how-i-do .persona-cards-grid > div {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    border-radius: 20px !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03), 0 1px 2px rgba(0, 0, 0, 0.02) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease !important;
}

body.mode-how-i-do .persona-cards-grid > div:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06) !important;
    border-color: rgba(0, 113, 227, 0.25) !important;
}

body.mode-how-i-do .persona-cards-grid h4 {
    color: #1d1d1f !important;
}

body.mode-how-i-do .persona-cards-grid p {
    color: #424245 !important;
}

/* Unified Enterprise Intelligence & Semantic Fabric (Light Elevated Card) */
body.mode-how-i-do .flow-rail-card[style*="background: linear-gradient(135deg, rgba(13, 15, 24, 0.95)"] {
    background: #ffffff !important;
    border: 1px solid rgba(0, 113, 227, 0.2) !important;
    box-shadow: 0 8px 30px rgba(0, 113, 227, 0.06), 0 1px 3px rgba(0, 0, 0, 0.02) !important;
}

body.mode-how-i-do .intel-pillars-grid > div {
    background: #f5f5f7 !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    border-radius: 20px !important;
    transition: all 0.3s ease !important;
}

body.mode-how-i-do .intel-pillars-grid > div:hover {
    background: #ffffff !important;
    transform: translateY(-4px) !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06) !important;
    border-color: rgba(0, 113, 227, 0.35) !important;
}

body.mode-how-i-do .intel-pillars-grid h4 {
    color: #1d1d1f !important;
}

body.mode-how-i-do .intel-pillars-grid p {
    color: #424245 !important;
}

/* Orchestrated Strategic Partners Grid */
body.mode-how-i-do .partners-cards-grid > div {
    background: #f5f5f7 !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
    border-radius: 16px !important;
    transition: all 0.25s ease !important;
}

body.mode-how-i-do .partners-cards-grid > div:hover {
    background: #ffffff !important;
    border-color: rgba(0, 113, 227, 0.25) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05) !important;
    transform: translateY(-2px) !important;
}

body.mode-how-i-do .partners-cards-grid p {
    color: #6e6e73 !important;
}

/* Universal Text & Border Overrides in How I Do It for Complete Uniformity */
body.mode-how-i-do [style*="color: #ffffff"],
body.mode-how-i-do [style*="color:#ffffff"] {
    color: #1d1d1f !important;
}

body.mode-how-i-do [style*="color: #94a3b8"],
body.mode-how-i-do [style*="color:#94a3b8"],
body.mode-how-i-do [style*="color: #cbd5e1"] {
    color: #424245 !important;
}

body.mode-how-i-do [style*="border-bottom: 1px solid rgba(255,255,255,0.08)"],
body.mode-how-i-do [style*="border-top: 1px solid rgba(255,255,255,0.06)"],
body.mode-how-i-do [style*="border: 1px solid rgba(255,255,255,0.08)"],
body.mode-how-i-do [style*="border: 1px solid rgba(255,255,255,0.06)"] {
    border-color: rgba(0, 0, 0, 0.06) !important;
}


/* =========================================================================
   TECH BAR PREVIEW BOX IN ABOUT ME (CRISP CONTRAST & APPLE AESTHETIC)
   ========================================================================= */

.techbar-preview-box {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 20px;
    padding: 24px;
    margin-top: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03), 0 1px 2px rgba(0, 0, 0, 0.02);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.techbar-preview-box:hover {
    border-color: rgba(0, 113, 227, 0.25);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06);
}

.techbar-preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    flex-wrap: wrap;
    gap: 8px;
}

.techbar-preview-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1d1d1f;
    letter-spacing: -0.01em;
}

.techbar-preview-desc {
    font-size: 0.88rem;
    color: #424245;
    line-height: 1.55;
    margin-bottom: 16px;
}

.techbar-preview-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.tech-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.76rem;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 9999px;
    background: #f5f5f7;
    color: #1d1d1f;
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: all 0.2s ease;
}

.tech-chip:hover {
    background: rgba(0, 113, 227, 0.08);
    color: #0071e3;
    border-color: rgba(0, 113, 227, 0.25);
    transform: translateY(-1px);
}

.techbar-preview-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.techbar-launch-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 20px;
    border-radius: 9999px;
    font-size: 0.84rem;
    font-weight: 600;
    background: #0071e3;
    color: #ffffff !important;
    border: 1px solid transparent;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 113, 227, 0.25);
    transition: all 0.25s ease;
    text-decoration: none;
}

.techbar-launch-btn:hover {
    background: #0077ed;
    box-shadow: 0 4px 16px rgba(0, 113, 227, 0.38);
    transform: translateY(-1px);
    color: #ffffff !important;
}

.techbar-window-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 20px;
    border-radius: 9999px;
    font-size: 0.84rem;
    font-weight: 600;
    background: rgba(0, 113, 227, 0.06);
    color: #0071e3 !important;
    border: 1px solid rgba(0, 113, 227, 0.25);
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
}

.techbar-window-btn:hover {
    background: rgba(0, 113, 227, 0.12);
    border-color: #0071e3;
    transform: translateY(-1px);
    color: #0071e3 !important;
}


/* =========================================================================
   TECH BAR FOCUS LIGHTS, MOTION GRAPHICS & SPECULAR SHEEN
   ========================================================================= */

.techbar-flagship-station {
    position: relative;
    overflow: hidden;
}

/* Overhead Sweeping Spotlights */
.techbar-focus-light {
    position: absolute;
    width: 420px;
    height: 520px;
    pointer-events: none;
    z-index: 1;
    opacity: 0.45;
    mix-blend-mode: screen;
    will-change: transform, opacity;
}

.techbar-focus-light.focus-light-left {
    top: -120px;
    left: 6%;
    background: conic-gradient(from 140deg at 50% 0%, rgba(56, 189, 248, 0.35) 0deg, rgba(168, 85, 247, 0.2) 60deg, transparent 120deg);
    filter: blur(28px);
    animation: focusLightSweepLeft 12s ease-in-out infinite alternate;
}

.techbar-focus-light.focus-light-right {
    top: -120px;
    right: 6%;
    background: conic-gradient(from 220deg at 50% 0%, transparent 0deg, rgba(244, 114, 182, 0.25) 60deg, rgba(56, 189, 248, 0.35) 120deg);
    filter: blur(28px);
    animation: focusLightSweepRight 14s ease-in-out infinite alternate;
}

.techbar-focus-light.focus-light-center {
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    width: 520px;
    height: 420px;
    background: radial-gradient(ellipse at 50% 0%, rgba(244, 114, 182, 0.32) 0%, rgba(56, 189, 248, 0.18) 45%, transparent 70%);
    filter: blur(26px);
    animation: focusLightSweepCenter 10s ease-in-out infinite alternate;
}

@keyframes focusLightSweepLeft {
    0% {
        transform: rotate(-6deg) scale(0.96);
        opacity: 0.32;
    }
    50% {
        transform: rotate(5deg) scale(1.08);
        opacity: 0.55;
    }
    100% {
        transform: rotate(-2deg) scale(1);
        opacity: 0.4;
    }
}

@keyframes focusLightSweepRight {
    0% {
        transform: rotate(6deg) scale(0.96);
        opacity: 0.32;
    }
    50% {
        transform: rotate(-5deg) scale(1.08);
        opacity: 0.55;
    }
    100% {
        transform: rotate(2deg) scale(1);
        opacity: 0.4;
    }
}

@keyframes focusLightSweepCenter {
    0% {
        transform: translateX(-50%) scale(0.95);
        opacity: 0.35;
    }
    50% {
        transform: translateX(-50%) scale(1.05);
        opacity: 0.58;
    }
    100% {
        transform: translateX(-50%) scale(0.98);
        opacity: 0.42;
    }
}

/* Motion Laser Scanner */
.techbar-laser-scanner {
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, rgba(56, 189, 248, 0.85) 50%, rgba(244, 114, 182, 0.95) 75%, transparent 100%);
    box-shadow: 0 0 14px rgba(56, 189, 248, 0.7), 0 0 28px rgba(244, 114, 182, 0.45);
    pointer-events: none;
    z-index: 2;
    opacity: 0.55;
    animation: techbarLaserScan 9s ease-in-out infinite;
}

@keyframes techbarLaserScan {
    0% {
        top: 0%;
        opacity: 0;
    }
    15% {
        opacity: 0.7;
    }
    85% {
        opacity: 0.7;
    }
    100% {
        top: 100%;
        opacity: 0;
    }
}

/* Specular Card Focus Sheen */
.card-focus-sheen {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle 260px at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(56, 189, 248, 0.18), transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1;
}

.geeky-device-card:hover .card-focus-sheen {
    opacity: 1;
}

/* HUD Corner Crosshairs */
.card-hud-corner {
    position: absolute;
    font-family: monospace;
    font-size: 11px;
    line-height: 1;
    color: rgba(56, 189, 248, 0.35);
    pointer-events: none;
    user-select: none;
    transition: color 0.3s ease, text-shadow 0.3s ease;
    z-index: 2;
}

.card-hud-corner.corner-tl {
    top: 7px;
    left: 8px;
}

.card-hud-corner.corner-tr {
    top: 7px;
    right: 8px;
}

.geeky-device-card:hover .card-hud-corner {
    color: rgba(244, 114, 182, 0.85);
    text-shadow: 0 0 8px rgba(244, 114, 182, 0.6);
}

/* Structured Hardware Specs Pills */
.techbar-specs-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px dashed rgba(255, 255, 255, 0.08);
    position: relative;
    z-index: 2;
}

.techbar-spec-tag {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    padding: 2px 7px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.04);
    color: #94a3b8;
    border: 1px solid rgba(255, 255, 255, 0.07);
    transition: all 0.2s ease;
}

.geeky-device-card:hover .techbar-spec-tag {
    background: rgba(56, 189, 248, 0.09);
    color: #e2e8f0;
    border-color: rgba(56, 189, 248, 0.28);
}


/* =========================================================================
   LOGO & FOOTER HIGH CONTRAST IN LIGHT MODE
   ========================================================================= */

body.mode-profile .logo-sumeet,
body.mode-how-i-do .logo-sumeet,
body:not(.mode-geeky-side):not(.mode-gamification) .logo-sumeet {
    color: #1d1d1f !important;
    text-shadow: none !important;
}

body.mode-profile .logo-geeky,
body.mode-how-i-do .logo-geeky,
body:not(.mode-geeky-side):not(.mode-gamification) .logo-geeky {
    background: linear-gradient(135deg, #0071e3 0%, #6830f7 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    filter: none !important;
}

body.mode-profile .footer,
body.mode-how-i-do .footer,
body:not(.mode-geeky-side):not(.mode-gamification) .footer {
    background-color: #f5f5f7 !important;
    border-top: 1px solid rgba(0, 0, 0, 0.08) !important;
    color: #1d1d1f !important;
}

body.mode-profile .footer-logo .logo-sumeet,
body.mode-how-i-do .footer-logo .logo-sumeet,
body:not(.mode-geeky-side):not(.mode-gamification) .footer-logo .logo-sumeet {
    color: #1d1d1f !important;
    text-shadow: none !important;
}

body.mode-profile .footer-tagline,
body.mode-how-i-do .footer-tagline,
body:not(.mode-geeky-side):not(.mode-gamification) .footer-tagline,
body.mode-profile .footer-copy,
body.mode-how-i-do .footer-copy,
body:not(.mode-geeky-side):not(.mode-gamification) .footer-copy {
    color: #424245 !important;
}

body.mode-profile .built-with-badge,
body.mode-how-i-do .built-with-badge,
body:not(.mode-geeky-side):not(.mode-gamification) .built-with-badge {
    background: rgba(0, 0, 0, 0.04) !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    color: #1d1d1f !important;
}


/* =========================================================================
   NEXT STEP ENGAGEMENT CARD IN HOW I DO IT (APPLE CLEAN LIGHT)
   ========================================================================= */

.how-connect-card {
    margin-top: 40px;
    margin-bottom: 20px;
    text-align: center;
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    border-radius: 24px !important;
    padding: 44px 28px !important;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.02) !important;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.how-connect-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.07) !important;
    border-color: rgba(0, 113, 227, 0.25) !important;
}

.how-connect-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 800;
    color: #0071e3;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: rgba(0, 113, 227, 0.08);
    border: 1px solid rgba(0, 113, 227, 0.2);
    padding: 4px 14px;
    border-radius: 9999px;
    margin-bottom: 12px;
}

.how-connect-title {
    font-size: clamp(1.4rem, 3.5vw, 1.95rem);
    font-weight: 800;
    color: #1d1d1f !important;
    letter-spacing: -0.01em;
    margin-bottom: 12px;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.25;
}

.how-connect-desc {
    font-size: 0.92rem;
    color: #424245 !important;
    max-width: 660px;
    margin: 0 auto 28px;
    line-height: 1.6;
}

.how-connect-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.how-connect-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 30px;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 9999px;
    background: #0071e3;
    color: #ffffff !important;
    text-decoration: none;
    border: 1px solid transparent;
    box-shadow: 0 4px 16px rgba(0, 113, 227, 0.3);
    transition: all 0.25s ease;
    cursor: pointer;
}

.how-connect-btn-primary:hover {
    background: #0077ed;
    box-shadow: 0 6px 22px rgba(0, 113, 227, 0.42);
    transform: translateY(-2px);
    color: #ffffff !important;
}

.how-connect-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 26px;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 9999px;
    background: rgba(0, 113, 227, 0.06);
    color: #0071e3 !important;
    border: 1px solid rgba(0, 113, 227, 0.25);
    cursor: pointer;
    transition: all 0.25s ease;
}

.how-connect-btn-secondary:hover {
    background: rgba(0, 113, 227, 0.12);
    border-color: #0071e3;
    transform: translateY(-2px);
}


/* =========================================================================
   IMMERSIVE WALKTHROUGH MODAL: APPLE CLEAN LIGHT THEME
   ========================================================================= */

#execWalkthroughModal .exec-modal-aurora {
    background: radial-gradient(circle at 50% 50%, rgba(0, 113, 227, 0.22), rgba(104, 48, 247, 0.15), rgba(212, 42, 134, 0.1), transparent 70%) !important;
    opacity: 0.65;
}

#execWalkthroughModal .exec-modal-box {
    background: rgba(255, 255, 255, 0.96) !important;
    backdrop-filter: blur(30px) !important;
    -webkit-backdrop-filter: blur(30px) !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.16), 0 0 50px rgba(0, 113, 227, 0.08) !important;
    color: #1d1d1f !important;
}

#execWalkthroughModal .neural-backdrop-canvas,
#execWalkthroughModal .neural-modal-canvas {
    opacity: 0.25 !important;
}

#execWalkthroughModal .exec-modal-header {
    background: rgba(255, 255, 255, 0.85) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
}

#execWalkthroughModal .modal-title-text {
    color: #1d1d1f !important;
    font-weight: 800;
}

#execWalkthroughModal .modal-close-btn {
    color: #1d1d1f !important;
    background: rgba(0, 0, 0, 0.05) !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
}

#execWalkthroughModal .modal-close-btn:hover {
    background: rgba(0, 0, 0, 0.1) !important;
}

#execWalkthroughModal .modal-pills-scroll-rail {
    background: rgba(0, 0, 0, 0.03);
    border-radius: 9999px;
    padding: 3px;
}

#execWalkthroughModal .modal-step-jump-pill {
    color: #6e6e73 !important;
    border-radius: 9999px !important;
    background: transparent !important;
    border: none !important;
    font-weight: 600 !important;
}

#execWalkthroughModal .modal-step-jump-pill:hover:not(.active) {
    color: #1d1d1f !important;
    background: rgba(0, 0, 0, 0.05) !important;
}

#execWalkthroughModal .modal-step-jump-pill.active {
    background: #0071e3 !important;
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(0, 113, 227, 0.35) !important;
}

#execWalkthroughModal .exec-progress-rail {
    background: rgba(0, 0, 0, 0.06) !important;
}

#execWalkthroughModal .exec-progress-bar {
    background: linear-gradient(90deg, #0071e3 0%, #6830f7 100%) !important;
}

#execWalkthroughModal .exec-modal-body {
    color: #1d1d1f !important;
}

#execWalkthroughModal .modal-step-card {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    border-radius: 20px !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

#execWalkthroughModal .modal-step-card:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.07) !important;
    border-color: rgba(0, 113, 227, 0.25) !important;
}

#execWalkthroughModal .modal-step-card h4 {
    color: #1d1d1f !important;
}

#execWalkthroughModal .modal-step-card p {
    color: #424245 !important;
}

#execWalkthroughModal .exec-modal-footer {
    background: rgba(255, 255, 255, 0.85) !important;
    border-top: 1px solid rgba(0, 0, 0, 0.08) !important;
}

#execWalkthroughModal .modal-footer-nav .spec-toggle-btn {
    background: rgba(0, 0, 0, 0.04) !important;
    color: #424245 !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    border-radius: 9999px !important;
}

#execWalkthroughModal .modal-footer-nav .spec-toggle-btn:hover:not(.active) {
    background: rgba(0, 0, 0, 0.08) !important;
    color: #1d1d1f !important;
}

#execWalkthroughModal .modal-footer-nav .spec-toggle-btn.active {
    background: #0071e3 !important;
    color: #ffffff !important;
    border-color: transparent !important;
    box-shadow: 0 2px 10px rgba(0, 113, 227, 0.3) !important;
}

#execWalkthroughModal #modalStepCounter {
    color: #0071e3 !important;
    font-weight: 800 !important;
}

#execWalkthroughModal .modal-footer-status button {
    background: rgba(0, 0, 0, 0.04) !important;
    color: #424245 !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    border-radius: 9999px !important;
}

#execWalkthroughModal .modal-footer-status button:hover {
    background: rgba(0, 0, 0, 0.08) !important;
    color: #1d1d1f !important;
}


/* =========================================================================
   TECH BAR: ARCADE & BAR LOUNGE STYLING (SHORT, PUNCHY & FOCUSED)
   ========================================================================= */

/* Overhead Bar Spotlights */
.techbar-overhead-spotlights {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 260px;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.bar-spotlight-cone {
    position: absolute;
    top: -60px;
    width: 280px;
    height: 320px;
    background: conic-gradient(from 160deg at 50% 0%, rgba(56, 189, 248, 0.28) 0deg, rgba(244, 114, 182, 0.18) 50deg, transparent 95deg);
    filter: blur(24px);
    transform-origin: 50% 0%;
    animation: barSpotlightFlicker 8s ease-in-out infinite alternate;
}

.bar-spotlight-cone.cone-1 {
    left: 12%;
    animation-delay: 0s;
}

.bar-spotlight-cone.cone-2 {
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 2.5s;
}

.bar-spotlight-cone.cone-3 {
    right: 12%;
    animation-delay: 5s;
}

@keyframes barSpotlightFlicker {
    0% { opacity: 0.35; transform: scaleY(0.95) rotate(-3deg); }
    50% { opacity: 0.65; transform: scaleY(1.05) rotate(2deg); }
    100% { opacity: 0.42; transform: scaleY(1) rotate(-1deg); }
}

/* Glowing Bar Shelf Rack Rail */
.techbar-shelf-rack-rail {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 140px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.6), rgba(244, 114, 182, 0.6), transparent);
    box-shadow: 0 0 16px rgba(56, 189, 248, 0.5);
    pointer-events: none;
    z-index: 1;
}

/* Bar Tap Card Layout (Less Verbal, Punchy & Arcade Focused) */
.bar-tap-card {
    padding: 18px 20px !important;
    background: linear-gradient(135deg, rgba(16, 18, 28, 0.92) 0%, rgba(10, 12, 20, 0.95) 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.09) !important;
    border-radius: 18px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 10px;
}

.bar-tap-card:hover {
    border-color: rgba(244, 114, 182, 0.65) !important;
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(244, 114, 182, 0.22), 0 0 24px rgba(56, 189, 248, 0.16) !important;
}

.bar-tap-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.bar-slot-index {
    font-family: monospace;
    font-size: 0.64rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.25);
    padding: 2px 7px;
    border-radius: 4px;
}

.bar-tap-card:hover .bar-slot-index {
    color: #f472b6;
    border-color: rgba(244, 114, 182, 0.4);
    background: rgba(244, 114, 182, 0.12);
}

.device-highlight-punchy {
    font-size: 0.8rem;
    font-weight: 500;
    color: #cbd5e1;
    line-height: 1.45;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 8px;
}


/* =========================================================================
   GOVERNED & COGNITIVE FABRIC SECTION (APPLE CLEAN LIGHT THEME)
   ========================================================================= */

.intel-fabric-card {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    border-radius: 24px !important;
    padding: 36px 30px !important;
    margin-bottom: 40px !important;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.03), 0 1px 2px rgba(0, 0, 0, 0.02) !important;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.intel-fabric-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    padding-bottom: 20px;
    margin-bottom: 24px;
}

.intel-fabric-badge-cluster {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.intel-badge {
    background: rgba(0, 113, 227, 0.08) !important;
    border-color: rgba(0, 113, 227, 0.2) !important;
    color: #0071e3 !important;
}

.badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #0071e3;
    box-shadow: 0 0 8px rgba(0, 113, 227, 0.6);
    display: inline-block;
}

.intel-fabric-title {
    font-size: clamp(1.35rem, 3vw, 1.65rem) !important;
    font-weight: 800 !important;
    color: #1d1d1f !important;
    letter-spacing: -0.01em;
    margin-top: 4px;
    margin-bottom: 6px;
}

.intel-fabric-subtext {
    font-size: 0.86rem !important;
    color: #424245 !important;
    line-height: 1.6;
    max-width: 740px;
}

.intel-launch-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 24px;
    font-size: 0.86rem;
    font-weight: 600;
    border-radius: 9999px;
    background: #0071e3;
    color: #ffffff !important;
    border: 1px solid transparent;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0, 113, 227, 0.3);
    transition: all 0.25s ease;
    white-space: nowrap;
}

.intel-launch-btn:hover {
    background: #0077ed;
    box-shadow: 0 6px 22px rgba(0, 113, 227, 0.42);
    transform: translateY(-2px);
}

.intel-pillar-tile {
    padding: 24px;
    border-radius: 20px;
    background: #f5f5f7;
    border: 1px solid rgba(0, 0, 0, 0.07);
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.intel-pillar-tile:hover {
    background: #ffffff;
    border-color: rgba(0, 113, 227, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.07), 0 2px 6px rgba(0, 0, 0, 0.02);
}

.pillar-tile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.pillar-tile-tag {
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.tag-cyan { color: #0071e3; }
.tag-purple { color: #6830f7; }
.tag-green { color: #059669; }

.pillar-tile-badge {
    font-size: 0.65rem;
    padding: 3px 9px;
    border-radius: 9999px;
    font-weight: 700;
}

.badge-cyan { background: rgba(0, 113, 227, 0.08); color: #0071e3; }
.badge-purple { background: rgba(104, 48, 247, 0.08); color: #6830f7; }
.badge-green { background: rgba(5, 150, 105, 0.08); color: #059669; }

.pillar-tile-title {
    font-size: 1.08rem;
    font-weight: 800;
    color: #1d1d1f;
    margin-bottom: 8px;
    line-height: 1.35;
}

.pillar-tile-desc {
    font-size: 0.82rem;
    color: #424245;
    line-height: 1.6;
    margin-bottom: 16px;
}

.pillar-tile-footer {
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    padding-top: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.72rem;
    font-weight: 700;
    color: #0071e3;
}

.pillar-expand-btn {
    display: inline-flex;
    align-items: center;
    font-weight: 800;
    color: #0071e3;
    transition: transform 0.2s ease;
}

.intel-pillar-tile:hover .pillar-expand-btn {
    transform: translate(2px, -2px);
}


/* =========================================================================
   COGNITIVE ARCHITECTURE MODAL: APPLE CLEAN LIGHT THEME
   ========================================================================= */

#intelLayerModal .exec-modal-aurora {
    background: radial-gradient(circle at 50% 50%, rgba(0, 113, 227, 0.22), rgba(104, 48, 247, 0.15), rgba(52, 211, 153, 0.12), transparent 70%) !important;
    opacity: 0.65;
}

#intelLayerModal .exec-modal-box {
    background: rgba(255, 255, 255, 0.96) !important;
    backdrop-filter: blur(30px) !important;
    -webkit-backdrop-filter: blur(30px) !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.16), 0 0 50px rgba(0, 113, 227, 0.08) !important;
    color: #1d1d1f !important;
}

#intelLayerModal .exec-modal-header {
    background: rgba(255, 255, 255, 0.85) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
}

#intelLayerModal .modal-title-text {
    color: #1d1d1f !important;
    font-weight: 800;
}

#intelLayerModal .modal-close-btn {
    color: #1d1d1f !important;
    background: rgba(0, 0, 0, 0.05) !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
}

#intelLayerModal .modal-close-btn:hover {
    background: rgba(0, 0, 0, 0.1) !important;
}

#intelLayerModal .modal-pills-scroll-rail {
    background: rgba(0, 0, 0, 0.03);
    border-radius: 9999px;
    padding: 3px;
}

#intelLayerModal .modal-step-jump-pill {
    color: #6e6e73 !important;
    border-radius: 9999px !important;
    background: transparent !important;
    border: none !important;
    font-weight: 600 !important;
}

#intelLayerModal .modal-step-jump-pill:hover:not(.active) {
    color: #1d1d1f !important;
    background: rgba(0, 0, 0, 0.05) !important;
}

#intelLayerModal .modal-step-jump-pill.active {
    background: #0071e3 !important;
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(0, 113, 227, 0.35) !important;
}

#intelLayerModal .exec-modal-body {
    color: #1d1d1f !important;
}

#intelLayerModal .intel-cap-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.08) !important;
    border-color: rgba(0, 113, 227, 0.3) !important;
}

#intelLayerModal .exec-modal-footer {
    background: rgba(255, 255, 255, 0.85) !important;
    border-top: 1px solid rgba(0, 0, 0, 0.08) !important;
}

#intelLayerModal #intelTabCounter {
    color: #0071e3 !important;
    font-weight: 800 !important;
}

#intelLayerModal .exec-modal-footer button {
    background: rgba(0, 0, 0, 0.04) !important;
    color: #424245 !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    border-radius: 9999px !important;
}

#intelLayerModal .exec-modal-footer button:hover {
    background: rgba(0, 0, 0, 0.08) !important;
    color: #1d1d1f !important;
}


/* ============================================
   ARCADE GAME TILE 2: "MODEL RUN" PAC-MAN
   ============================================ */
.arcade-game-tile.pacman-simulator {
    border-color: rgba(251, 191, 36, 0.45);
    background: linear-gradient(145deg, rgba(15, 20, 36, 0.96), rgba(24, 18, 43, 0.94));
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.85), 0 0 35px rgba(251, 191, 36, 0.2), 0 0 70px rgba(236, 72, 153, 0.15);
}

.arcade-game-tile.pacman-simulator:hover {
    border-color: #fbbf24;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.92), 0 0 55px rgba(251, 191, 36, 0.5), 0 0 100px rgba(236, 72, 153, 0.3);
}

.tile-neon-border-glow.pacman-glow {
    background: linear-gradient(90deg, #fbbf24, #ec4899, #06b6d4, #fbbf24);
    background-size: 300% 300%;
}

.tile-tag-status.pacman-status {
    color: #fbbf24;
    background: rgba(251, 191, 36, 0.15);
    border-color: rgba(251, 191, 36, 0.45);
}

.neon-dot-amber {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #fbbf24;
    box-shadow: 0 0 8px #fbbf24;
    animation: neonBlink 1.5s infinite;
}

.tile-tag-featured.pacman-tag {
    color: #f472b6;
    background: rgba(244, 114, 182, 0.15);
    border-color: rgba(244, 114, 182, 0.4);
}

.tile-avatar-glow.pacman-avatar-glow {
    background: radial-gradient(circle, rgba(251, 191, 36, 0.28) 0%, rgba(236, 72, 153, 0.12) 60%, transparent 80%);
    border-color: rgba(251, 191, 36, 0.45);
    box-shadow: 0 0 25px rgba(251, 191, 36, 0.35);
}

.tile-role-badge.pacman-badge {
    color: #fbbf24;
    background: rgba(251, 191, 36, 0.12);
    border: 1px solid rgba(251, 191, 36, 0.35);
}

.tile-chip.pacman-chip {
    border-color: rgba(251, 191, 36, 0.25);
    background: rgba(15, 23, 42, 0.7);
}

.btn-play-arcade.btn-play-pacman {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%);
    color: #0f172a;
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.45);
}

.btn-play-arcade.btn-play-pacman:hover {
    background: linear-gradient(135deg, #fef08a 0%, #fbbf24 50%, #f59e0b 100%);
    box-shadow: 0 14px 40px rgba(245, 158, 11, 0.7);
    transform: translateY(-2px) scale(1.02);
}

/* ============================================
   "MODEL RUN" PAC-MAN CABINET & PLAY ARENA
   ============================================ */
.pacman-cabinet-container {
    max-width: 1040px;
    margin: 0 auto;
    padding: 30px 20px 80px;
    position: relative;
    z-index: 10;
}

.pacman-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 20px;
    padding: 16px 20px;
    background: rgba(13, 20, 40, 0.85);
    border: 1px solid rgba(56, 189, 248, 0.3);
    border-radius: 16px;
    backdrop-filter: blur(16px);
}

.pacman-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.pacman-role-pill {
    display: inline-flex;
    align-items: center;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #fbbf24;
    background: rgba(251, 191, 36, 0.15);
    border: 1px solid rgba(251, 191, 36, 0.4);
    padding: 5px 12px;
    border-radius: 9999px;
}

.pacman-title-pill {
    font-size: 0.95rem;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: 0.04em;
}

.pacman-header-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.btn-restart-game {
    border-color: rgba(251, 191, 36, 0.45) !important;
    color: #fbbf24 !important;
}

.btn-restart-game:hover {
    background: rgba(251, 191, 36, 0.2) !important;
    border-color: #fbbf24 !important;
    box-shadow: 0 0 15px rgba(251, 191, 36, 0.35) !important;
}

.btn-hub-return {
    border-color: rgba(244, 114, 182, 0.45) !important;
    color: #f472b6 !important;
}

.btn-hub-return:hover {
    background: rgba(244, 114, 182, 0.2) !important;
    border-color: #f472b6 !important;
    box-shadow: 0 0 15px rgba(244, 114, 182, 0.35) !important;
}

/* Enterprise Prompt Banner */
.pacman-prompt-banner {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 20px;
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.92), rgba(30, 27, 75, 0.92));
    border: 1px solid rgba(168, 85, 247, 0.4);
    border-radius: 14px;
    margin-bottom: 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.prompt-icon-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.72rem;
    font-weight: 800;
    color: #c084fc;
    letter-spacing: 0.08em;
    white-space: nowrap;
}

.prompt-pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #c084fc;
    box-shadow: 0 0 10px #c084fc;
    animation: neonBlink 1.2s infinite;
}

.prompt-text-scroll {
    font-size: 0.92rem;
    font-weight: 600;
    color: #e2e8f0;
    line-height: 1.45;
}

/* Telemetry HUD Bar */
.pacman-hud-bar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 14px;
    margin-bottom: 24px;
}

.hud-stat-card {
    background: rgba(11, 17, 36, 0.88);
    border: 1px solid rgba(56, 189, 248, 0.25);
    border-radius: 14px;
    padding: 12px 16px;
    text-align: left;
    backdrop-filter: blur(12px);
}

.hud-label {
    font-size: 0.65rem;
    font-weight: 800;
    color: #94a3b8;
    letter-spacing: 0.08em;
    margin-bottom: 4px;
}

.hud-value {
    font-size: 1.35rem;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: -0.01em;
}

.hud-value.neon-gold {
    color: #fbbf24;
    text-shadow: 0 0 14px rgba(251, 191, 36, 0.6);
}

.hud-progress-card {
    grid-column: span 1;
}

.hud-progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.hud-progress-pct {
    font-size: 0.85rem;
    font-weight: 900;
    color: #38bdf8;
}

.hud-progress-track {
    height: 7px;
    background: rgba(15, 23, 42, 0.8);
    border-radius: 9999px;
    overflow: hidden;
    margin-bottom: 6px;
    border: 1px solid rgba(56, 189, 248, 0.3);
}

.hud-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #0284c7, #38bdf8, #34d399);
    border-radius: 9999px;
    transition: width 0.25s ease-out;
    box-shadow: 0 0 10px #38bdf8;
}

.hud-grounding-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.68rem;
    font-weight: 700;
    color: #94a3b8;
}

.status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.dot-red {
    background: #ef4444;
    box-shadow: 0 0 8px #ef4444;
}

.dot-yellow {
    background: #fbbf24;
    box-shadow: 0 0 8px #fbbf24;
}

.dot-green {
    background: #34d399;
    box-shadow: 0 0 8px #34d399;
}

/* RAG Status HUD Card */
.hud-rag-card {
    position: relative;
}

.hud-rag-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 6px;
    margin-bottom: 6px;
    transition: all 0.3s ease;
}

.hud-rag-badge.offline {
    color: #64748b;
    background: rgba(100, 116, 139, 0.15);
    border: 1px solid rgba(100, 116, 139, 0.3);
}

.hud-rag-badge.active {
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.2);
    border: 1px solid #38bdf8;
    box-shadow: 0 0 14px rgba(56, 189, 248, 0.45);
    animation: ragPulse 1s infinite alternate;
}

@keyframes ragPulse {
    0% { transform: scale(1); filter: brightness(1); }
    100% { transform: scale(1.02); filter: brightness(1.25); }
}

.hud-rag-timer-track {
    height: 5px;
    background: rgba(15, 23, 42, 0.8);
    border-radius: 9999px;
    overflow: hidden;
}

.hud-rag-timer-fill {
    height: 100%;
    background: linear-gradient(90deg, #38bdf8, #818cf8);
    border-radius: 9999px;
    transition: width 0.1s linear;
}

.hud-lives-cluster {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
}

.life-bot {
    font-size: 1.3rem;
    filter: drop-shadow(0 0 6px rgba(250, 204, 21, 0.6));
    transition: transform 0.2s ease, opacity 0.3s ease;
}

.life-bot.depleted {
    opacity: 0.3;
    filter: grayscale(1);
}

/* Play Arena & Canvas Frame */
.pacman-arena-wrap {
    display: flex;
    gap: 24px;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.pacman-canvas-frame {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    border: 2px solid #0284c7;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9), 0 0 35px rgba(2, 132, 199, 0.35);
    background: #060a17;
    line-height: 0;
}

.screen-scanlines {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 5;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%);
    background-size: 100% 4px;
    opacity: 0.35;
}

#pacmanCanvas {
    display: block;
    max-width: 100%;
    height: auto;
    aspect-ratio: 560 / 620;
    margin: 0 auto;
}

/* Glitch Overlay */
.pacman-glitch-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 6;
    background: rgba(217, 70, 239, 0.28);
    opacity: 0;
    transition: opacity 0.08s ease;
}

.pacman-glitch-overlay.active {
    opacity: 1;
    animation: glitchStatic 0.3s steps(2) infinite;
}

@keyframes glitchStatic {
    0% { transform: translate(2px, -2px); filter: hue-rotate(90deg); }
    50% { transform: translate(-2px, 2px); filter: hue-rotate(180deg); }
    100% { transform: translate(1px, -1px); filter: hue-rotate(270deg); }
}

/* Ready / Pause Overlay Message */
.pacman-overlay-msg {
    position: absolute;
    inset: 0;
    z-index: 8;
    background: rgba(6, 10, 23, 0.85);
    backdrop-filter: blur(8px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 24px;
    cursor: pointer;
}

.msg-title {
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    color: #fbbf24;
    text-shadow: 0 0 20px rgba(251, 191, 36, 0.7);
    margin-bottom: 8px;
}

.msg-subtitle {
    font-size: 0.85rem;
    font-weight: 700;
    color: #94a3b8;
    letter-spacing: 0.06em;
    max-width: 320px;
    line-height: 1.5;
}

.btn-start-run {
    margin-top: 14px;
    padding: 12px 26px;
    font-size: 0.88rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    color: #0f172a;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    border: none;
    border-radius: 9999px;
    cursor: pointer;
    box-shadow: 0 0 25px rgba(251, 191, 36, 0.65);
    animation: startRunPulse 1.4s infinite alternate;
    transition: transform 0.15s ease;
}

.btn-start-run:hover {
    transform: scale(1.06);
    background: linear-gradient(135deg, #fef08a 0%, #fbbf24 100%);
    box-shadow: 0 0 35px rgba(251, 191, 36, 0.9);
}

@keyframes startRunPulse {
    0% { transform: scale(1); box-shadow: 0 0 15px rgba(251, 191, 36, 0.4); }
    100% { transform: scale(1.04); box-shadow: 0 0 30px rgba(251, 191, 36, 0.85); }
}

/* Constraint Legend Sidebar */
.pacman-legend-sidebar {
    width: 290px;
    background: rgba(11, 17, 36, 0.88);
    border: 1px solid rgba(56, 189, 248, 0.25);
    border-radius: 18px;
    padding: 20px 18px;
    text-align: left;
    backdrop-filter: blur(16px);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.6);
}

.sidebar-title {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #38bdf8;
    margin-bottom: 14px;
    text-transform: uppercase;
}

.legend-ghost-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
}

.ghost-badge-icon {
    font-size: 1.15rem;
    line-height: 1;
    flex-shrink: 0;
    margin-top: 2px;
}

.ghost-meta {
    flex: 1;
}

.ghost-name {
    font-size: 0.8rem;
    font-weight: 800;
    color: #f1f5f9;
    letter-spacing: 0.02em;
    margin-bottom: 2px;
}

.ghost-desc {
    font-size: 0.72rem;
    color: #94a3b8;
    line-height: 1.4;
}

.legend-divider {
    height: 1px;
    background: rgba(56, 189, 248, 0.18);
    margin: 16px 0;
}

/* Mobile Virtual Touch D-Pad */
.pacman-mobile-dpad-wrap {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.dpad-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.dpad-middle-row {
    display: flex;
    align-items: center;
    gap: 14px;
}

.dpad-btn {
    width: 62px;
    height: 62px;
    border-radius: 16px;
    background: rgba(15, 23, 42, 0.9);
    border: 1.5px solid rgba(56, 189, 248, 0.45);
    color: #38bdf8;
    font-size: 1.4rem;
    font-weight: 900;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.5), 0 0 12px rgba(56, 189, 248, 0.2);
    transition: transform 0.1s ease, background 0.1s ease, border-color 0.1s ease;
    user-select: none;
    -webkit-user-select: none;
}

.dpad-btn:active {
    transform: scale(0.92);
    background: #0284c7;
    color: #ffffff;
    border-color: #38bdf8;
    box-shadow: 0 0 20px #38bdf8;
}

.dpad-center {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(56, 189, 248, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #38bdf8;
    font-size: 0.6rem;
}

.dpad-hint {
    font-size: 0.74rem;
    color: #94a3b8;
    font-weight: 600;
}

/* Controls Footer Hint Bar */
.pacman-controls-hint {
    font-size: 0.78rem;
    color: #64748b;
    padding: 12px 20px;
    background: rgba(13, 20, 40, 0.6);
    border: 1px solid rgba(56, 189, 248, 0.18);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.pacman-controls-hint strong {
    color: #94a3b8;
}

.hint-sep {
    opacity: 0.4;
}

/* ============================================
   CXO "AHA!" MOMENT DEBRIEF MODAL
   ============================================ */
.pacman-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(3, 7, 18, 0.85);
    backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
    animation: modalFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.pacman-cxo-card {
    background: linear-gradient(145deg, rgba(11, 18, 42, 0.98), rgba(17, 24, 52, 0.96));
    border: 1.5px solid rgba(56, 189, 248, 0.55);
    border-radius: 24px;
    max-width: 680px;
    width: 100%;
    padding: 36px 32px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.95), 0 0 50px rgba(56, 189, 248, 0.35);
    text-align: left;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.cxo-card-header {
    margin-bottom: 24px;
}

.cxo-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    padding: 6px 14px;
    border-radius: 9999px;
    margin-bottom: 12px;
}

.cxo-badge-pill.win-badge {
    color: #34d399;
    background: rgba(16, 185, 129, 0.18);
    border: 1px solid rgba(16, 185, 129, 0.5);
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.25);
}

.cxo-badge-pill.loss-badge {
    color: #f43f5e;
    background: rgba(244, 63, 94, 0.18);
    border: 1px solid rgba(244, 63, 94, 0.5);
    box-shadow: 0 0 15px rgba(244, 63, 94, 0.25);
}

.cxo-pulse-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 8px currentColor;
    animation: neonBlink 1.2s infinite;
}

.cxo-title {
    font-size: 1.65rem;
    font-weight: 900;
    color: #ffffff;
    line-height: 1.25;
    margin-bottom: 8px;
}

.cxo-subtitle {
    font-size: 0.92rem;
    color: #94a3b8;
    line-height: 1.5;
}

.cxo-metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.cxo-metric-box {
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(56, 189, 248, 0.22);
    border-radius: 14px;
    padding: 12px 10px;
    text-align: center;
}

.cxo-metric-icon {
    font-size: 1.3rem;
    margin-bottom: 4px;
}

.cxo-metric-val {
    font-size: 1.25rem;
    font-weight: 900;
    color: #38bdf8;
    margin-bottom: 2px;
}

.cxo-metric-lbl {
    font-size: 0.65rem;
    font-weight: 700;
    color: #94a3b8;
    letter-spacing: 0.04em;
    line-height: 1.25;
}

.cxo-takeaway-box {
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.95), rgba(30, 27, 75, 0.9));
    border: 1.5px solid rgba(251, 191, 36, 0.45);
    border-radius: 16px;
    padding: 20px 22px;
    margin-bottom: 28px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5), 0 0 25px rgba(251, 191, 36, 0.15);
}

.takeaway-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.takeaway-icon {
    font-size: 1.2rem;
}

.takeaway-title {
    font-size: 0.95rem;
    font-weight: 900;
    color: #fbbf24;
    letter-spacing: 0.04em;
}

.takeaway-content {
    font-size: 0.86rem;
    color: #cbd5e1;
    line-height: 1.6;
}

.takeaway-content p {
    margin-bottom: 10px;
}

.takeaway-content ul {
    margin: 8px 0 12px 20px;
    padding: 0;
}

.takeaway-content li {
    margin-bottom: 6px;
}

.takeaway-quote {
    margin-top: 14px;
    padding: 10px 14px;
    background: rgba(251, 191, 36, 0.1);
    border-left: 3px solid #fbbf24;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: #fef08a;
    font-size: 0.84rem;
    line-height: 1.5;
}

.cxo-modal-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-cxo-primary {
    flex: 1.2;
    min-width: 180px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #0f172a;
    font-size: 0.85rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    padding: 14px 20px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.45);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-align: center;
}

.btn-cxo-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(245, 158, 11, 0.65);
}

.btn-cxo-secondary {
    flex: 1.5;
    min-width: 220px;
    background: linear-gradient(135deg, #0284c7 0%, #38bdf8 100%);
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    padding: 14px 20px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(2, 132, 199, 0.45);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-align: center;
}

.btn-cxo-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(56, 189, 248, 0.65);
}

.btn-cxo-outline {
    flex: 0.8;
    min-width: 120px;
    background: rgba(15, 23, 42, 0.8);
    color: #94a3b8;
    font-size: 0.85rem;
    font-weight: 800;
    padding: 14px 18px;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.btn-cxo-outline:hover {
    color: #ffffff;
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

/* ============================================
   PAC-MAN HOW-TO-PLAY MODAL
   ============================================ */
.pacman-help-card {
    background: linear-gradient(145deg, rgba(11, 18, 42, 0.98), rgba(17, 24, 52, 0.96));
    border: 1.5px solid rgba(56, 189, 248, 0.45);
    border-radius: 20px;
    max-width: 600px;
    width: 100%;
    padding: 30px 28px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.95);
    text-align: left;
    max-height: 85vh;
    overflow-y: auto;
}

.help-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.help-header h3 {
    font-size: 1.15rem;
    font-weight: 900;
    color: #ffffff;
}

.btn-close-modal {
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 1.3rem;
    cursor: pointer;
    transition: color 0.2s ease;
}

.btn-close-modal:hover {
    color: #ffffff;
}

.help-body {
    font-size: 0.86rem;
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 24px;
}

.help-body h4 {
    color: #38bdf8;
    font-size: 0.92rem;
    font-weight: 800;
    margin: 16px 0 6px;
}

.help-body h4:first-child {
    margin-top: 0;
}

.help-body ul {
    margin: 6px 0 12px 18px;
    padding: 0;
}

.help-body li {
    margin-bottom: 6px;
}

.help-footer {
    display: flex;
    justify-content: flex-end;
}

/* ============================================
   PAC-MAN RESPONSIVE STYLES
   ============================================ */
@media (max-width: 900px) {
    .pacman-legend-sidebar {
        width: 100%;
        max-width: 560px;
        margin: 0 auto;
    }

    .pacman-mobile-dpad-wrap {
        display: flex;
    }

    .cxo-metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .pacman-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .pacman-header-controls {
        width: 100%;
        justify-content: flex-start;
    }

    .pacman-prompt-banner {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .cxo-modal-actions {
        flex-direction: column;
    }

    .btn-cxo-primary,
    .btn-cxo-secondary,
    .btn-cxo-outline {
        width: 100%;
    }
}

/* ========================================================
   PAC-MAN LEGEND DOTS & GLITCH HAZARD DOTS (ENTERPRISE UI)
   ======================================================== */
.context-dot-wrap,
.hazard-dot-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.context-dot-cyan {
    display: inline-block;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #38bdf8;
    box-shadow: 0 0 10px #38bdf8, 0 0 16px rgba(56, 189, 248, 0.6);
}

.hazard-dot-glitch {
    display: inline-block;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #d946ef;
    box-shadow: 0 0 10px #f43f5e, 0 0 18px rgba(217, 70, 239, 0.85);
    position: relative;
    animation: hazardGlitchPulse 1.2s ease-in-out infinite alternate;
}

.hazard-dot-glitch::after {
    content: '+';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 9px;
    font-weight: 900;
    color: #ffffff;
    line-height: 1;
}

@keyframes hazardGlitchPulse {
    0% {
        transform: scale(0.9) rotate(0deg);
        box-shadow: 0 0 8px #f43f5e, 0 0 14px rgba(217, 70, 239, 0.7);
    }
    100% {
        transform: scale(1.15) rotate(8deg);
        box-shadow: 0 0 14px #f43f5e, 0 0 24px rgba(217, 70, 239, 0.95);
    }
}

/* Ensure distorting neon lines on Tech Bar are hidden */
.techbar-counter-beam,
.techbar-shelf-rack-rail,
.techbar-laser-scanner {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
}


/* =========================================================================
   HOW I DO: 3-SECTION MOTION DESIGN & SUB-NAVIGATION BAR (APPLE CLEAN LIGHT)
   ========================================================================= */

.how-subnav-bar {
    position: sticky;
    top: 70px;
    z-index: 95;
    margin: 0 auto 36px auto;
    width: 100%;
    max-width: 900px;
    display: flex;
    justify-content: center;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 9999px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease;
}

body:not(.mode-how-i-do) .how-subnav-bar {
    background: rgba(15, 20, 35, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.how-subnav-container {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    justify-content: center;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 2px 4px;
}

.how-subnav-container::-webkit-scrollbar {
    display: none;
}

.how-subnav-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 20px;
    border-radius: 9999px;
    font-size: 0.84rem;
    font-weight: 600;
    color: #424245;
    background: transparent;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
    text-decoration: none;
}

body:not(.mode-how-i-do) .how-subnav-pill {
    color: #94a3b8;
}

.how-subnav-pill:hover:not(.active) {
    color: #1d1d1f;
    background: rgba(0, 0, 0, 0.05);
}

body:not(.mode-how-i-do) .how-subnav-pill:hover:not(.active) {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
}

.how-subnav-pill.active {
    background: #0071e3 !important;
    color: #ffffff !important;
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(0, 113, 227, 0.32);
    border-color: #0071e3 !important;
}

.subnav-num {
    font-size: 0.72rem;
    font-weight: 800;
    opacity: 0.75;
    letter-spacing: 0.05em;
}

.how-subnav-pill.active .subnav-num {
    opacity: 1;
}

/* Motion Section Wrappers */
.how-motion-section {
    margin-bottom: 60px;
    scroll-margin-top: 135px;
    animation: fadeInSection 0.6s ease;
}

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

.section-motion-eyebrow {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 12px;
}

.motion-pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 16px;
    border-radius: 9999px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: rgba(0, 113, 227, 0.08);
    border: 1px solid rgba(0, 113, 227, 0.2);
    color: #0071e3;
}

.motion-pill-badge.badge-smart-data {
    background: rgba(104, 48, 247, 0.08);
    border-color: rgba(104, 48, 247, 0.2);
    color: #6830f7;
}

.motion-pill-badge.badge-responsible {
    background: rgba(5, 150, 105, 0.08);
    border-color: rgba(5, 150, 105, 0.2);
    color: #059669;
}

/* =========================================================================
   SECTION 2: CONTEXT ENGINE & PARADOX STYLING
   ========================================================================= */

.context-engine-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 24px;
    padding: 36px 30px;
    margin-bottom: 40px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.03), 0 1px 2px rgba(0, 0, 0, 0.02);
}

body:not(.mode-how-i-do) .context-engine-card {
    background: rgba(17, 17, 24, 0.9);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

/* Dilemma Grid: Investments vs Symptoms */
.paradox-dilemma-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 28px;
    align-items: stretch;
    margin-bottom: 36px;
}

.paradox-col-left, .paradox-col-right {
    display: flex;
    flex-direction: column;
}

.paradox-label-tag {
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #0071e3;
    margin-bottom: 8px;
}

.paradox-label-tag.tag-warning {
    color: #ef4444;
}

.paradox-col-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #1d1d1f;
    margin-bottom: 14px;
    line-height: 1.35;
}

body:not(.mode-how-i-do) .paradox-col-title {
    color: #ffffff;
}

.paradox-col-sub {
    font-size: 0.82rem;
    color: #6e6e73;
    margin-bottom: 14px;
    line-height: 1.5;
}

body:not(.mode-how-i-do) .paradox-col-sub {
    color: #94a3b8;
}

.paradox-invest-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.invest-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    background: #f5f5f7;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 14px;
    transition: all 0.25s ease;
}

body:not(.mode-how-i-do) .invest-item {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.06);
}

.invest-item:hover {
    background: #ffffff;
    border-color: rgba(0, 113, 227, 0.3);
    transform: translateX(4px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.invest-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.invest-text {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.invest-text strong {
    font-size: 0.88rem;
    font-weight: 700;
    color: #1d1d1f;
}

body:not(.mode-how-i-do) .invest-text strong {
    color: #ffffff;
}

.invest-text span {
    font-size: 0.74rem;
    color: #6e6e73;
    margin-top: 1px;
}

body:not(.mode-how-i-do) .invest-text span {
    color: #94a3b8;
}

.invest-arrow {
    font-size: 0.95rem;
    font-weight: 800;
    color: #0071e3;
    opacity: 0.6;
}

/* Divider in the Middle */
.paradox-col-divider {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 0 6px;
}

.paradox-divider-line {
    width: 2px;
    flex: 1;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.1), transparent);
}

body:not(.mode-how-i-do) .paradox-divider-line {
    background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.15), transparent);
}

.paradox-break-badge {
    padding: 6px 12px;
    border-radius: 9999px;
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.25);
    white-space: nowrap;
    margin: 12px 0;
}

/* Symptoms List */
.paradox-symptoms-list {
    display: flex;
    flex-direction: column;
    gap: 9px;
    flex: 1;
}

.symptom-card {
    padding: 10px 14px;
    background: rgba(239, 68, 68, 0.03);
    border: 1px solid rgba(239, 68, 68, 0.12);
    border-radius: 12px;
    transition: all 0.25s ease;
}

.symptom-card:hover {
    background: rgba(239, 68, 68, 0.06);
    border-color: rgba(239, 68, 68, 0.25);
    transform: translateX(4px);
}

.symptom-badge {
    font-size: 0.82rem;
    font-weight: 700;
    color: #dc2626;
    display: block;
    margin-bottom: 2px;
}

.symptom-card p {
    font-size: 0.74rem;
    color: #6e6e73;
    line-height: 1.45;
    margin: 0;
}

body:not(.mode-how-i-do) .symptom-card p {
    color: #cbd5e1;
}

/* =========================================================================
   3 DECISION ANALOGIES: F1, INCIDENT COMMANDER, CHESS GRANDMASTER
   ========================================================================= */

.decision-analogies-container {
    margin-top: 36px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    padding-top: 32px;
}

body:not(.mode-how-i-do) .decision-analogies-container {
    border-top-color: rgba(255, 255, 255, 0.08);
}

.analogies-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 28px auto;
}

.analogies-eyebrow {
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #0071e3;
    display: block;
    margin-bottom: 6px;
}

.analogies-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: #1d1d1f;
    margin-bottom: 6px;
}

body:not(.mode-how-i-do) .analogies-title {
    color: #ffffff;
}

.analogies-subtitle {
    font-size: 0.82rem;
    color: #6e6e73;
    line-height: 1.5;
}

body:not(.mode-how-i-do) .analogies-subtitle {
    color: #94a3b8;
}

.analogies-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.analogy-card {
    background: #f5f5f7;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 20px;
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

body:not(.mode-how-i-do) .analogy-card {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.08);
}

.analogy-card:hover, .analogy-card.selected-highlight {
    background: #ffffff;
    transform: translateY(-5px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08), 0 2px 6px rgba(0, 0, 0, 0.02);
    border-color: rgba(0, 113, 227, 0.35);
}

body:not(.mode-how-i-do) .analogy-card:hover, body:not(.mode-how-i-do) .analogy-card.selected-highlight {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(56, 189, 248, 0.4);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5);
}

.analogy-top {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.analogy-avatar {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

body:not(.mode-how-i-do) .analogy-avatar {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.1);
}

.analogy-meta {
    flex: 1;
}

.analogy-tag {
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #0071e3;
    display: block;
    margin-bottom: 2px;
}

.analogy-name {
    font-size: 1rem;
    font-weight: 800;
    color: #1d1d1f;
    margin: 0;
}

body:not(.mode-how-i-do) .analogy-name {
    color: #ffffff;
}

.analogy-comparison {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 18px;
}

.analogy-bloat {
    background: rgba(239, 68, 68, 0.05);
    border: 1px solid rgba(239, 68, 68, 0.14);
    border-radius: 12px;
    padding: 10px 12px;
}

.bloat-label {
    font-size: 0.68rem;
    font-weight: 800;
    color: #dc2626;
    display: block;
    margin-bottom: 3px;
    text-transform: uppercase;
}

.analogy-bloat p {
    font-size: 0.74rem;
    color: #6e6e73;
    line-height: 1.45;
    margin: 0;
}

body:not(.mode-how-i-do) .analogy-bloat p {
    color: #cbd5e1;
}

.analogy-smart {
    background: rgba(16, 185, 129, 0.06);
    border: 1px solid rgba(16, 185, 129, 0.18);
    border-radius: 12px;
    padding: 10px 12px;
}

.smart-label {
    font-size: 0.68rem;
    font-weight: 800;
    color: #059669;
    display: block;
    margin-bottom: 3px;
    text-transform: uppercase;
}

.analogy-smart p {
    font-size: 0.74rem;
    color: #1d1d1f;
    font-weight: 600;
    line-height: 1.45;
    margin: 0;
}

body:not(.mode-how-i-do) .analogy-smart p {
    color: #ffffff;
}

.analogy-quote {
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    padding-top: 12px;
    font-size: 0.76rem;
    font-style: italic;
    color: #424245;
    line-height: 1.5;
}

body:not(.mode-how-i-do) .analogy-quote {
    border-top-color: rgba(255, 255, 255, 0.08);
    color: #94a3b8;
}

/* =========================================================================
   PARADIGM SHIFT BANNER & CORE AXIOM
   ========================================================================= */

.paradigm-shift-banner {
    margin: 36px 0;
    padding: 30px 24px;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(0, 113, 227, 0.06), rgba(104, 48, 247, 0.06));
    border: 1px solid rgba(0, 113, 227, 0.18);
    text-align: center;
    position: relative;
    overflow: hidden;
}

body:not(.mode-how-i-do) .paradigm-shift-banner {
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.1), rgba(168, 85, 247, 0.1));
    border-color: rgba(56, 189, 248, 0.25);
}

.paradigm-shift-pill {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 6px 18px;
    border-radius: 9999px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    margin-bottom: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

body:not(.mode-how-i-do) .paradigm-shift-pill {
    background: rgba(15, 20, 35, 0.9);
    border-color: rgba(255, 255, 255, 0.1);
}

.from-text {
    font-size: 0.78rem;
    font-weight: 700;
    color: #ef4444;
    text-decoration: line-through;
}

.shift-arrow {
    font-size: 0.85rem;
    color: #0071e3;
    font-weight: 800;
}

.to-text {
    font-size: 0.82rem;
    font-weight: 800;
    color: #059669;
}

.axiom-box {
    max-width: 760px;
    margin: 0 auto;
}

.axiom-quote-icon {
    font-size: 2.5rem;
    line-height: 1;
    color: #0071e3;
    opacity: 0.35;
    font-family: Georgia, serif;
    display: block;
    margin-bottom: -10px;
}

.axiom-statement {
    font-size: clamp(1.05rem, 2.5vw, 1.3rem);
    font-weight: 800;
    color: #1d1d1f;
    line-height: 1.45;
    letter-spacing: -0.01em;
}

body:not(.mode-how-i-do) .axiom-statement {
    color: #ffffff;
}

/* =========================================================================
   THE 5 CONTEXT PILLARS (INTERACTIVE SELECTOR + LIVE TELEMETRY)
   ========================================================================= */

.context-pillars-wrapper {
    margin-top: 36px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    padding-top: 32px;
}

body:not(.mode-how-i-do) .context-pillars-wrapper {
    border-top-color: rgba(255, 255, 255, 0.08);
}

.pillars-masthead {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 24px auto;
}

.pillars-eyebrow {
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #0071e3;
    display: block;
    margin-bottom: 4px;
}

.pillars-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: #1d1d1f;
    margin-bottom: 6px;
}

body:not(.mode-how-i-do) .pillars-title {
    color: #ffffff;
}

.pillars-subtitle {
    font-size: 0.82rem;
    color: #6e6e73;
    line-height: 1.5;
}

body:not(.mode-how-i-do) .pillars-subtitle {
    color: #94a3b8;
}

.pillars-selector-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.cpillar-tab {
    background: #f5f5f7;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    padding: 16px 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
}

body:not(.mode-how-i-do) .cpillar-tab {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.08);
}

.cpillar-tab:hover:not(.active) {
    background: #ffffff;
    border-color: rgba(0, 113, 227, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.cpillar-tab.active {
    background: #ffffff !important;
    border-color: #0071e3 !important;
    box-shadow: 0 6px 20px rgba(0, 113, 227, 0.16);
    transform: translateY(-3px);
}

body:not(.mode-how-i-do) .cpillar-tab.active {
    background: rgba(0, 113, 227, 0.15) !important;
    border-color: #38bdf8 !important;
    box-shadow: 0 6px 20px rgba(56, 189, 248, 0.2);
}

.cpillar-pin {
    font-size: 1.1rem;
    margin-bottom: 6px;
}

.cpillar-name {
    font-size: 0.88rem;
    font-weight: 800;
    color: #1d1d1f;
    margin-bottom: 4px;
}

body:not(.mode-how-i-do) .cpillar-name {
    color: #ffffff;
}

.cpillar-tab.active .cpillar-name {
    color: #0071e3;
}

body:not(.mode-how-i-do) .cpillar-tab.active .cpillar-name {
    color: #38bdf8;
}

.cpillar-rule {
    font-size: 0.68rem;
    color: #6e6e73;
    line-height: 1.35;
}

body:not(.mode-how-i-do) .cpillar-rule {
    color: #94a3b8;
}

/* Pillar Live Telemetry Box */
.pillar-telemetry-container {
    background: #ffffff;
    border: 1px solid rgba(0, 113, 227, 0.22);
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 8px 28px rgba(0, 113, 227, 0.06);
    animation: fadeInTelemetry 0.3s ease;
}

body:not(.mode-how-i-do) .pillar-telemetry-container {
    background: rgba(15, 20, 35, 0.95);
    border-color: rgba(56, 189, 248, 0.3);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.5);
}

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

.telemetry-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 12px;
}

.telemetry-badge-group {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.telemetry-pill-badge {
    padding: 4px 12px;
    border-radius: 9999px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    background: rgba(0, 113, 227, 0.08);
    color: #0071e3;
    border: 1px solid rgba(0, 113, 227, 0.2);
}

.telemetry-metric-box {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.telemetry-metric-val {
    font-size: 1.25rem;
    font-weight: 900;
    color: #059669;
}

.telemetry-metric-lbl {
    font-size: 0.72rem;
    font-weight: 700;
    color: #6e6e73;
}

body:not(.mode-how-i-do) .telemetry-metric-lbl {
    color: #94a3b8;
}

.telemetry-pillar-name {
    font-size: 1.2rem;
    font-weight: 800;
    color: #1d1d1f;
    margin-bottom: 4px;
}

body:not(.mode-how-i-do) .telemetry-pillar-name {
    color: #ffffff;
}

.telemetry-axiom-quote {
    font-size: 0.88rem;
    font-weight: 600;
    color: #0071e3;
    font-style: italic;
    margin-bottom: 18px;
}

.telemetry-body-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    padding-top: 16px;
    margin-bottom: 18px;
}

body:not(.mode-how-i-do) .telemetry-body-grid {
    border-top-color: rgba(255, 255, 255, 0.08);
}

.telemetry-col-tag {
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #6e6e73;
    display: block;
    margin-bottom: 4px;
}

body:not(.mode-how-i-do) .telemetry-col-tag {
    color: #94a3b8;
}

.telemetry-arch-text, .telemetry-rule-text {
    font-size: 0.8rem;
    color: #424245;
    line-height: 1.6;
    margin: 0;
}

body:not(.mode-how-i-do) .telemetry-arch-text, body:not(.mode-how-i-do) .telemetry-rule-text {
    color: #cbd5e1;
}

.telemetry-readouts-bar {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    background: #f5f5f7;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 12px;
    padding: 10px 16px;
}

body:not(.mode-how-i-do) .telemetry-readouts-bar {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.08);
}

.telemetry-stat-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.74rem;
}

.stat-name {
    color: #6e6e73;
}

body:not(.mode-how-i-do) .stat-name {
    color: #94a3b8;
}

.stat-val {
    font-weight: 700;
    color: #1d1d1f;
}

body:not(.mode-how-i-do) .stat-val {
    color: #38bdf8;
}

/* Takeaway Banner */
.context-takeaway-banner {
    margin-top: 28px;
    padding: 18px 24px;
    border-radius: 16px;
    background: rgba(0, 113, 227, 0.04);
    border: 1px solid rgba(0, 113, 227, 0.15);
    display: flex;
    align-items: center;
    gap: 14px;
}

body:not(.mode-how-i-do) .context-takeaway-banner {
    background: rgba(56, 189, 248, 0.06);
    border-color: rgba(56, 189, 248, 0.2);
}

.takeaway-badge {
    padding: 4px 10px;
    border-radius: 9999px;
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    background: #0071e3;
    color: #ffffff;
    white-space: nowrap;
}

.takeaway-text {
    font-size: 0.88rem;
    font-weight: 700;
    color: #1d1d1f;
    margin: 0;
    line-height: 1.45;
}

body:not(.mode-how-i-do) .takeaway-text {
    color: #ffffff;
}

/* =========================================================================
   SECTION 3: RESPONSIBLE USAGE & FINOPS ECONOMICS
   ========================================================================= */

.finops-control-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 36px;
}

.gov-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

body:not(.mode-how-i-do) .gov-card {
    background: rgba(17, 17, 24, 0.9);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.gov-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.07);
    border-color: rgba(0, 113, 227, 0.3);
}

.gov-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.gov-tag {
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.tag-guardrails { color: #0071e3; }
.tag-finops { color: #059669; }
.tag-hitl { color: #6830f7; }
.tag-exclusion { color: #d97706; }

.gov-icon {
    font-size: 1.4rem;
}

.gov-card-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #1d1d1f;
    margin-bottom: 8px;
}

body:not(.mode-how-i-do) .gov-card-title {
    color: #ffffff;
}

.gov-card-desc {
    font-size: 0.82rem;
    color: #424245;
    line-height: 1.6;
    margin-bottom: 16px;
    flex: 1;
}

body:not(.mode-how-i-do) .gov-card-desc {
    color: #94a3b8;
}

.gov-card-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 16px;
}

.gov-chip {
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 0.68rem;
    font-weight: 700;
    background: #f5f5f7;
    color: #424245;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

body:not(.mode-how-i-do) .gov-chip {
    background: rgba(255, 255, 255, 0.05);
    color: #cbd5e1;
    border-color: rgba(255, 255, 255, 0.08);
}

.gov-card-metric {
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    padding-top: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

body:not(.mode-how-i-do) .gov-card-metric {
    border-top-color: rgba(255, 255, 255, 0.08);
}

.metric-num {
    font-size: 1.25rem;
    font-weight: 900;
    color: #0071e3;
}

.metric-label {
    font-size: 0.72rem;
    font-weight: 600;
    color: #6e6e73;
}

body:not(.mode-how-i-do) .metric-label {
    color: #94a3b8;
}

/* =========================================================================
   FINOPS & RISK SIMULATOR WIDGET
   ========================================================================= */

.finops-sim-widget {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 24px;
    padding: 32px 28px;
    margin-bottom: 40px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.03);
}

body:not(.mode-how-i-do) .finops-sim-widget {
    background: rgba(17, 17, 24, 0.9);
    border-color: rgba(255, 255, 255, 0.08);
}

.sim-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    padding-bottom: 20px;
    margin-bottom: 24px;
}

body:not(.mode-how-i-do) .sim-header {
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

.sim-badge {
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #0071e3;
    display: block;
    margin-bottom: 4px;
}

.sim-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: #1d1d1f;
    margin-bottom: 4px;
}

body:not(.mode-how-i-do) .sim-title {
    color: #ffffff;
}

.sim-sub {
    font-size: 0.82rem;
    color: #6e6e73;
    max-width: 600px;
    margin: 0;
}

body:not(.mode-how-i-do) .sim-sub {
    color: #94a3b8;
}

.sim-toggle-pill-wrapper {
    display: flex;
    gap: 8px;
    background: #f5f5f7;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 9999px;
    padding: 4px;
}

body:not(.mode-how-i-do) .sim-toggle-pill-wrapper {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.08);
}

.sim-toggle-btn {
    padding: 8px 18px;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #6e6e73;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
}

body:not(.mode-how-i-do) .sim-toggle-btn {
    color: #94a3b8;
}

.sim-toggle-btn.active {
    background: #0071e3;
    color: #ffffff !important;
    box-shadow: 0 2px 10px rgba(0, 113, 227, 0.35);
}

#sim-btn-uncontrolled.active {
    background: #ef4444 !important;
    box-shadow: 0 2px 10px rgba(239, 68, 68, 0.35);
}

.sim-metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.sim-metric-card {
    background: #f5f5f7;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 16px;
    padding: 18px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

body:not(.mode-how-i-do) .sim-metric-card {
    background: rgba(255, 255, 255, 0.02);
    border-color: rgba(255, 255, 255, 0.06);
}

.sim-metric-card.card-positive {
    border-color: rgba(16, 185, 129, 0.25);
}

.sim-metric-card.card-negative {
    border-color: rgba(239, 68, 68, 0.25);
    background: rgba(239, 68, 68, 0.02);
}

.sim-metric-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.sim-metric-title {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #6e6e73;
}

body:not(.mode-how-i-do) .sim-metric-title {
    color: #94a3b8;
}

.sim-metric-badge {
    font-size: 0.65rem;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 9999px;
}

.badge-pos {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
}

.badge-neg {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
}

.sim-metric-val {
    font-size: 1.15rem;
    font-weight: 900;
    margin-bottom: 8px;
}

.val-positive { color: #059669; }
.val-negative { color: #dc2626; }

.sim-metric-bar-track {
    width: 100%;
    height: 6px;
    border-radius: 9999px;
    background: rgba(0, 0, 0, 0.06);
    overflow: hidden;
    margin-bottom: 8px;
}

body:not(.mode-how-i-do) .sim-metric-bar-track {
    background: rgba(255, 255, 255, 0.1);
}

.sim-metric-bar-fill {
    height: 100%;
    border-radius: 9999px;
    transition: width 0.4s ease;
}

.fill-positive { background: #10b981; }
.fill-negative { background: #ef4444; }

.sim-metric-sub {
    font-size: 0.74rem;
    color: #6e6e73;
    line-height: 1.45;
    margin: 0;
}

body:not(.mode-how-i-do) .sim-metric-sub {
    color: #cbd5e1;
}

/* Responsive adjustments */
@media (max-width: 960px) {
    .paradox-dilemma-grid {
        grid-template-columns: 1fr;
    }
    .paradox-col-divider {
        flex-direction: row;
        margin: 10px 0;
    }
    .paradox-divider-line {
        height: 2px;
        width: 100%;
    }
    .analogies-grid {
        grid-template-columns: 1fr;
    }
    .pillars-selector-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .finops-control-grid {
        grid-template-columns: 1fr;
    }
    .sim-metrics-grid {
        grid-template-columns: 1fr;
    }
    .telemetry-body-grid {
        grid-template-columns: 1fr;
    }
}


/* =========================================================================
   HOW I DO: 3-CHAPTER INTERACTIVE GATING & GROUND DEFENSE VISUALS
   ========================================================================= */

/* Chapter Visibility: Unlocked ONLY via User Click */
.how-chapter {
    display: none;
    opacity: 0;
    transform: translateY(18px);
}

.how-chapter.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
    animation: chapterMotionIn 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes chapterMotionIn {
    0% {
        opacity: 0;
        transform: translateY(22px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Chapter Bottom Transition Cards */
.chapter-nav-card {
    background: #ffffff;
    border: 1px solid rgba(0, 113, 227, 0.2);
    border-radius: 20px;
    padding: 24px 28px;
    margin-top: 36px;
    margin-bottom: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;
    box-shadow: 0 8px 30px rgba(0, 113, 227, 0.06), 0 1px 3px rgba(0, 0, 0, 0.02);
}

body:not(.mode-how-i-do) .chapter-nav-card {
    background: rgba(17, 17, 24, 0.95);
    border-color: rgba(56, 189, 248, 0.25);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45);
}

.chapter-nav-card-return {
    border-color: rgba(0, 0, 0, 0.08);
}

body:not(.mode-how-i-do) .chapter-nav-card-return {
    border-color: rgba(255, 255, 255, 0.1);
}

.chapter-nav-info {
    max-width: 600px;
}

.chapter-nav-label {
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #0071e3;
    display: block;
    margin-bottom: 4px;
}

body:not(.mode-how-i-do) .chapter-nav-label {
    color: #38bdf8;
}

.chapter-nav-heading {
    font-size: 1.15rem;
    font-weight: 800;
    color: #1d1d1f;
    margin-bottom: 4px;
}

body:not(.mode-how-i-do) .chapter-nav-heading {
    color: #ffffff;
}

.chapter-nav-desc {
    font-size: 0.8rem;
    color: #6e6e73;
    line-height: 1.45;
    margin: 0;
}

body:not(.mode-how-i-do) .chapter-nav-desc {
    color: #94a3b8;
}

.chapter-nav-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.chapter-nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    border-radius: 9999px;
    font-size: 0.84rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
    text-decoration: none;
    border: none;
}

.chapter-nav-btn.primary {
    background: #0071e3;
    color: #ffffff !important;
    box-shadow: 0 4px 16px rgba(0, 113, 227, 0.35);
}

.chapter-nav-btn.primary:hover {
    background: #0077ed;
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(0, 113, 227, 0.45);
}

.chapter-nav-btn.secondary {
    background: #f5f5f7;
    color: #1d1d1f !important;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

body:not(.mode-how-i-do) .chapter-nav-btn.secondary {
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.1);
}

.chapter-nav-btn.secondary:hover {
    background: #e8e8ed;
    transform: translateY(-2px);
}

/* Ground-Level 3 Defense Cards Grid */
.ground-defense-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 36px;
}

.defense-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 20px;
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

body:not(.mode-how-i-do) .defense-card {
    background: rgba(17, 17, 24, 0.9);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.defense-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.07);
    border-color: rgba(0, 113, 227, 0.3);
}

.defense-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.defense-icon-avatar {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
}

.avatar-breach { background: rgba(239, 68, 68, 0.1); }
.avatar-injection { background: rgba(0, 113, 227, 0.1); }
.avatar-tokens { background: rgba(16, 185, 129, 0.1); }

.defense-meta {
    flex: 1;
}

.defense-status-pill {
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    display: block;
    margin-bottom: 2px;
}

.pill-blocked { color: #dc2626; }
.pill-shielded { color: #0071e3; }
.pill-optimized { color: #059669; }

.defense-title {
    font-size: 0.98rem;
    font-weight: 800;
    color: #1d1d1f;
    margin: 0;
    line-height: 1.3;
}

body:not(.mode-how-i-do) .defense-title {
    color: #ffffff;
}

.threat-scenario-box {
    background: rgba(239, 68, 68, 0.04);
    border: 1px solid rgba(239, 68, 68, 0.14);
    border-radius: 12px;
    padding: 10px 12px;
    margin-bottom: 10px;
}

.threat-label {
    font-size: 0.65rem;
    font-weight: 800;
    color: #dc2626;
    text-transform: uppercase;
    margin-bottom: 2px;
}

.threat-desc {
    font-size: 0.74rem;
    color: #6e6e73;
    line-height: 1.45;
    margin: 0;
}

body:not(.mode-how-i-do) .threat-desc {
    color: #cbd5e1;
}

.defense-solution-box {
    background: rgba(16, 185, 129, 0.05);
    border: 1px solid rgba(16, 185, 129, 0.16);
    border-radius: 12px;
    padding: 10px 12px;
    margin-bottom: 12px;
}

.defense-label {
    font-size: 0.65rem;
    font-weight: 800;
    color: #059669;
    text-transform: uppercase;
    margin-bottom: 2px;
}

.defense-desc {
    font-size: 0.74rem;
    color: #1d1d1f;
    font-weight: 600;
    line-height: 1.45;
    margin: 0;
}

body:not(.mode-how-i-do) .defense-desc {
    color: #ffffff;
}

.defense-chips-row {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 12px;
}

.defense-chip {
    padding: 3px 7px;
    border-radius: 6px;
    font-size: 0.65rem;
    font-weight: 700;
    background: #f5f5f7;
    color: #424245;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

body:not(.mode-how-i-do) .defense-chip {
    background: rgba(255, 255, 255, 0.05);
    color: #cbd5e1;
    border-color: rgba(255, 255, 255, 0.08);
}

.defense-stat-banner {
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    padding-top: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

body:not(.mode-how-i-do) .defense-stat-banner {
    border-top-color: rgba(255, 255, 255, 0.08);
}

.stat-banner-num {
    font-size: 0.92rem;
    font-weight: 900;
    color: #0071e3;
}

.stat-banner-lbl {
    font-size: 0.68rem;
    font-weight: 600;
    color: #6e6e73;
}

body:not(.mode-how-i-do) .stat-banner-lbl {
    color: #94a3b8;
}

/* Interactive Ground Incident Simulator Widget */
.incident-simulator-widget {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 22px;
    padding: 30px 26px;
    margin-bottom: 36px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.03);
}

body:not(.mode-how-i-do) .incident-simulator-widget {
    background: rgba(17, 17, 24, 0.9);
    border-color: rgba(255, 255, 255, 0.08);
}

.incident-tabs-wrapper {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.incident-tab {
    padding: 7px 16px;
    border-radius: 9999px;
    font-size: 0.78rem;
    font-weight: 700;
    background: #f5f5f7;
    border: 1px solid rgba(0, 0, 0, 0.06);
    color: #424245;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
}

body:not(.mode-how-i-do) .incident-tab {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.08);
    color: #94a3b8;
}

.incident-tab:hover:not(.active) {
    background: #e8e8ed;
    color: #1d1d1f;
}

.incident-tab.active {
    background: #0071e3 !important;
    border-color: #0071e3 !important;
    color: #ffffff !important;
    box-shadow: 0 2px 10px rgba(0, 113, 227, 0.35);
}

/* Live Incident Display Box */
.incident-live-display {
    margin-top: 20px;
    border-radius: 16px;
    background: #f5f5f7;
    border: 1px solid rgba(0, 0, 0, 0.06);
    padding: 22px;
    animation: fadeInIncident 0.3s ease;
}

body:not(.mode-how-i-do) .incident-live-display {
    background: rgba(255, 255, 255, 0.02);
    border-color: rgba(255, 255, 255, 0.06);
}

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

.inc-flow-row {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: 12px;
    align-items: center;
    margin-bottom: 18px;
}

.inc-step-box {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    padding: 12px 14px;
    text-align: center;
}

body:not(.mode-how-i-do) .inc-step-box {
    background: rgba(15, 20, 35, 0.85);
    border-color: rgba(255, 255, 255, 0.1);
}

.inc-step-badge {
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    display: block;
    margin-bottom: 2px;
}

.inc-step-title {
    font-size: 0.84rem;
    font-weight: 800;
    color: #1d1d1f;
}

body:not(.mode-how-i-do) .inc-step-title {
    color: #ffffff;
}

.inc-arrow {
    font-size: 1.1rem;
    font-weight: 800;
    color: #0071e3;
    opacity: 0.7;
}

.inc-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    padding-top: 16px;
}

body:not(.mode-how-i-do) .inc-details-grid {
    border-top-color: rgba(255, 255, 255, 0.08);
}

.inc-detail-item {
    display: flex;
    flex-direction: column;
}

.inc-detail-lbl {
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #6e6e73;
    margin-bottom: 3px;
}

body:not(.mode-how-i-do) .inc-detail-lbl {
    color: #94a3b8;
}

.inc-detail-val {
    font-size: 0.82rem;
    color: #1d1d1f;
    font-weight: 600;
    line-height: 1.45;
}

body:not(.mode-how-i-do) .inc-detail-val {
    color: #ffffff;
}

@media (max-width: 900px) {
    .ground-defense-grid {
        grid-template-columns: 1fr;
    }
    .inc-flow-row {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .inc-arrow {
        transform: rotate(90deg);
        text-align: center;
    }
    .inc-details-grid {
        grid-template-columns: 1fr;
    }
    .chapter-nav-card {
        flex-direction: column;
        align-items: flex-start;
    }
}


/* =========================================================================
   STRATEGIC ALLIANCE PARTNER CARDS IN ABOUT ME (#ecosystem)
   ========================================================================= */

.alliance-partner-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 22px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.alliance-partner-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(56, 189, 248, 0.35);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

.alliance-partner-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.alliance-badge {
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 3px 8px;
    border-radius: 9999px;
}

.alliance-partner-name {
    font-size: 1.05rem;
    font-weight: 800;
}

.alliance-partner-role {
    font-size: 0.82rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
    line-height: 1.35;
}

.alliance-partner-desc {
    font-size: 0.76rem;
    color: #94a3b8;
    line-height: 1.5;
    margin: 0;
}

/* Light Theme in case mode-profile or general */
body.mode-profile .alliance-partner-card {
    background: rgba(255, 255, 255, 0.03);
}




/* Dedicated Motion Graphics Containers for How I Deliver Chapters */
.how-motion-container {
    position: relative;
    border-radius: 28px;
    padding: 6px;
    transition: all 0.4s ease;
}

.motion-glow-blue {
    box-shadow: 0 0 80px rgba(0, 113, 227, 0.04);
}

.motion-glow-purple {
    box-shadow: 0 0 80px rgba(104, 48, 247, 0.04);
}

.motion-glow-green {
    box-shadow: 0 0 80px rgba(5, 150, 105, 0.04);
}

/* 6-Pillar Governance Grid */
.governance-6-grid {
    grid-template-columns: repeat(3, 1fr) !important;
}

/* Governed & Cognitive Fabric Pipeline Strip */
.fabric-pipeline-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 16px 20px;
    margin: 24px 0;
    gap: 12px;
}

.fabric-pipe-step {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    flex: 1;
    transition: all 0.3s ease;
}

.fabric-pipe-step.active-stage {
    background: rgba(104, 48, 247, 0.1);
    border-color: rgba(104, 48, 247, 0.35);
    box-shadow: 0 0 24px rgba(104, 48, 247, 0.15);
}

.pipe-step-icon {
    font-size: 1.4rem;
}

.pipe-step-meta {
    display: flex;
    flex-direction: column;
}

.pipe-step-num {
    font-size: 0.6rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #94a3b8;
}

.active-stage .pipe-step-num {
    color: #a78bfa;
}

.pipe-step-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: #ffffff;
}

.pipe-step-status {
    font-size: 0.72rem;
    color: #64748b;
}

.active-stage .pipe-step-status {
    color: #38bdf8;
    font-weight: 600;
}

.fabric-pipe-flow {
    display: flex;
    align-items: center;
    color: #475569;
    font-size: 1rem;
    position: relative;
    padding: 0 6px;
}

.pipe-flow-arrow {
    color: #64748b;
    animation: pulseArrow 2s infinite ease-in-out;
}

@keyframes pulseArrow {
    0%, 100% { transform: translateX(0); opacity: 0.6; }
    50% { transform: translateX(3px); opacity: 1; color: #a78bfa; }
}

@media (max-width: 1024px) {
    .alliance-motion-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .governance-6-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .fabric-pipeline-strip {
        flex-direction: column;
        align-items: stretch;
    }
    .fabric-pipe-flow {
        justify-content: center;
        transform: rotate(90deg);
        margin: 4px 0;
    }
}

@media (max-width: 640px) {
    .alliance-motion-grid {
        grid-template-columns: 1fr;
    }
    .governance-6-grid {
        grid-template-columns: 1fr !important;
    }
}


/* =========================================================================
   STRATEGIC ALLIANCE NETWORKS: SIMPLE, CRISP & HIGH-CONTRAST (LIGHT THEME)
   ========================================================================= */

.section-ecosystem {
    background-color: #f8fafc !important;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    padding: 80px 0;
}

body.mode-profile .section-ecosystem,
body:not(.mode-how-i-do):not(.mode-geeky-side):not(.mode-gamification) .section-ecosystem {
    background-color: #f8fafc !important;
}

#ecosystem .section-label {
    color: #0071e3 !important;
    font-weight: 700;
}

#ecosystem .section-title {
    color: #0f172a !important;
}

#ecosystem .section-subtitle {
    color: #475569 !important;
}

/* Ensure cards in ecosystem are immediately visible */
#ecosystem .reveal-up {
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
}

.alliance-motion-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 36px;
}

/* Crisp White Logo Showcase Card */
.alliance-card {
    position: relative;
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    border-radius: 20px !important;
    padding: 30px 18px 24px !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03), 0 1px 2px rgba(0, 0, 0, 0.02) !important;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.3s ease !important;
    overflow: hidden;
    cursor: default;
}

.alliance-card:hover {
    transform: translateY(-5px) !important;
    border-color: rgba(0, 113, 227, 0.35) !important;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08), 0 2px 4px rgba(0, 0, 0, 0.02) !important;
}

/* Centered White Logo Box with crisp border & subtle shadow */
.alliance-logo-box {
    width: 68px;
    height: 68px;
    border-radius: 18px;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    margin-bottom: 14px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.alliance-card:hover .alliance-logo-box {
    transform: scale(1.08);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.alliance-logo-img {
    width: 44px;
    height: 44px;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.05));
}

/* High-Contrast Partner Title */
.alliance-partner-title {
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    color: #0f172a !important; /* Bold deep navy/black */
    margin: 0 !important;
    letter-spacing: -0.01em;
}

/* Subtle Top Accent Sheen on Hover */
.alliance-card-glow {
    position: absolute;
    top: 0;
    left: 20px;
    right: 20px;
    height: 3px;
    border-radius: 9999px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.alliance-card:hover .alliance-card-glow {
    opacity: 1;
}

.aws-card .alliance-card-glow { background: #FF9900; }
.azure-card .alliance-card-glow { background: #0078D4; }
.gcp-card .alliance-card-glow { background: #4285F4; }
.nvidia-card .alliance-card-glow { background: #76B900; }
.databricks-card .alliance-card-glow { background: #FF3621; }
.snowflake-card .alliance-card-glow { background: #29B5E8; }
.openai-card .alliance-card-glow { background: #000000; }
.anthropic-card .alliance-card-glow { background: #1F1E1D; }

@media (max-width: 1024px) {
    .alliance-motion-grid {
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 16px;
    }
}

@media (max-width: 768px) {
    .alliance-motion-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 14px;
    }
}

@media (max-width: 480px) {
    .alliance-motion-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px;
    }
    .alliance-card {
        padding: 22px 12px 18px !important;
    }
    .alliance-logo-box {
        width: 56px;
        height: 56px;
        border-radius: 14px;
        margin-bottom: 10px;
    }
    .alliance-logo-img {
        width: 36px;
        height: 36px;
    }
    .alliance-partner-title {
        font-size: 0.95rem !important;
    }
}


/* =========================================================================
   AUTHENTIC ALLIANCE LOGO IMAGES (ABOUT ME #ecosystem)
   ========================================================================= */

.alliance-logo-img {
    width: 36px;
    height: 36px;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.06));
}

/* =========================================================================
   UPGRADED 5 CONTEXT PILLARS (NO PIN, HIGH-CONTRAST METRIC CHIPS)
   ========================================================================= */

.cpillar-tab {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 18px !important;
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    border-radius: 16px !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03) !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    cursor: pointer;
    text-align: left;
    width: 100%;
}

.cpillar-tab:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 113, 227, 0.3) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06) !important;
}

.cpillar-tab.active {
    border-color: #0071e3 !important;
    box-shadow: 0 8px 24px rgba(0, 113, 227, 0.12), 0 0 0 1px #0071e3 !important;
    background: #ffffff !important;
}

.cpillar-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 8px;
}

.cpillar-num {
    font-size: 0.72rem;
    font-weight: 800;
    color: #64748b;
    letter-spacing: 0.04em;
}

.cpillar-tab.active .cpillar-num {
    color: #0071e3;
}

.cpillar-metric-chip {
    font-size: 0.62rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 9999px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.chip-blue { background: rgba(0, 113, 227, 0.1); color: #0071e3; }
.chip-cyan { background: rgba(6, 182, 212, 0.12); color: #0891b2; }
.chip-purple { background: rgba(147, 51, 234, 0.1); color: #7c3aed; }
.chip-green { background: rgba(16, 185, 129, 0.12); color: #059669; }
.chip-amber { background: rgba(245, 158, 11, 0.12); color: #d97706; }

.cpillar-name {
    font-size: 1.05rem !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin-bottom: 4px !important;
    letter-spacing: -0.01em;
}

.cpillar-tab.active .cpillar-name {
    color: #0071e3 !important;
}

.cpillar-rule {
    font-size: 0.76rem !important;
    color: #475569 !important;
    line-height: 1.35 !important;
    font-weight: 500;
}

/* =========================================================================
   DISTINCTIVE STAGES BOX IN GOVERNED & COGNITIVE FABRIC (WHITE BG FRIENDLY)
   ========================================================================= */

.fabric-pipeline-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f1f5f9 !important; /* Distinctive cool-gray container */
    border: 1px solid #cbd5e1 !important;
    border-radius: 20px !important;
    padding: 20px 24px !important;
    margin: 24px 0 !important;
    gap: 12px !important;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02) !important;
}

.fabric-pipe-step {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px !important;
    border-radius: 14px !important;
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    flex: 1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
    transition: all 0.3s ease !important;
}

.fabric-pipe-step.active-stage {
    background: #ffffff !important;
    border: 2px solid #0071e3 !important;
    box-shadow: 0 6px 20px rgba(0, 113, 227, 0.16) !important;
}

.pipe-step-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.pipe-step-meta {
    display: flex;
    flex-direction: column;
}

.pipe-step-num {
    font-size: 0.65rem !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    color: #64748b !important;
}

.active-stage .pipe-step-num {
    color: #0071e3 !important;
}

.pipe-step-title {
    font-size: 0.94rem !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin: 2px 0 !important;
}

.active-stage .pipe-step-title {
    color: #0071e3 !important;
}

.pipe-step-status {
    font-size: 0.78rem !important;
    color: #475569 !important;
    font-weight: 600 !important;
}

.active-stage .pipe-step-status {
    color: #6830f7 !important;
    font-weight: 700 !important;
}

.fabric-pipe-flow {
    display: flex;
    align-items: center;
    color: #0071e3 !important;
    font-size: 1.25rem !important;
    font-weight: 800 !important;
    padding: 0 4px;
}

.pipe-flow-arrow {
    color: #0071e3 !important;
}

/* =========================================================================
   STREAMLINED TARGETED IMPACT CARDS (CHAPTER 01)
   ========================================================================= */

.impact-persona-card {
    padding: 24px 22px;
    border-radius: 20px;
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03) !important;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.impact-persona-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 113, 227, 0.3) !important;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.08) !important;
}

.impact-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.impact-role-tag {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.tag-blue { color: #0071e3; }
.tag-purple { color: #8b5cf6; }
.tag-green { color: #10b981; }
.tag-amber { color: #f59e0b; }

.impact-badge {
    font-size: 0.65rem;
    padding: 3px 9px;
    border-radius: 9999px;
    font-weight: 700;
}

.badge-blue { background: rgba(0, 113, 227, 0.1); color: #0071e3; }
.badge-purple { background: rgba(139, 92, 246, 0.1); color: #8b5cf6; }
.badge-green { background: rgba(16, 185, 129, 0.1); color: #059669; }
.badge-amber { background: rgba(245, 158, 11, 0.1); color: #d97706; }

.impact-card-title {
    font-size: 1.15rem !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin-bottom: 10px !important;
}

.impact-metrics-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}

.impact-stat-chip {
    font-size: 0.68rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
    background: #f1f5f9;
    color: #334155;
    border: 1px solid #e2e8f0;
}

.impact-card-sub {
    font-size: 0.82rem !important;
    color: #475569 !important;
    line-height: 1.5 !important;
    margin-bottom: 14px !important;
}

.impact-card-footer {
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    padding-top: 12px;
    font-size: 0.76rem;
    font-weight: 700;
    color: #0071e3;
}

@media (max-width: 768px) {
    .fabric-pipeline-strip {
        flex-direction: column !important;
        align-items: stretch !important;
    }
    .fabric-pipe-flow {
        justify-content: center !important;
        transform: rotate(90deg) !important;
        margin: 6px 0 !important;
    }
}


/* =========================================================================
   SUMEET'S LEGO BLOCK STRATEGY: THE ENTERPRISE AI CASTLE (LIGHT THEME & VERTICAL TOGGLE)
   ========================================================================= */

.lego-castle-showcase-section {
    margin-top: 10px;
    margin-bottom: 32px;
}

.lego-castle-container {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 26px;
    padding: 32px 28px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.03), 0 1px 2px rgba(0, 0, 0, 0.02);
}

body:not(.mode-how-i-do) .lego-castle-container {
    background: #ffffff;
    border-color: #e2e8f0;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.03);
}

.lego-castle-masthead {
    text-align: center;
    max-width: 860px;
    margin: 0 auto 28px auto;
}

.castle-eyebrow {
    margin-bottom: 10px;
}

.castle-pill {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 4px 12px;
    border-radius: 9999px;
    background: rgba(0, 113, 227, 0.06);
    color: #0071e3;
    border: 1px solid rgba(0, 113, 227, 0.18);
}

.castle-headline {
    font-size: 1.85rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.25;
    margin: 0 0 8px 0;
    letter-spacing: -0.025em;
}

body:not(.mode-how-i-do) .castle-headline {
    color: #0f172a;
}

.castle-strapline {
    font-size: 0.94rem;
    color: #475569;
    line-height: 1.55;
    margin: 0;
}

body:not(.mode-how-i-do) .castle-strapline {
    color: #475569;
}

/* Split Interactive Stage: Castle (Left) + Attached Vertical Hub (Right) */
.castle-interactive-split {
    display: grid;
    grid-template-columns: 1.05fr 1.25fr;
    gap: 24px;
    align-items: stretch;
}

/* Light Castle Visual Stage Matching White Background */
.castle-visual-stage {
    background: #ffffff;
    border-radius: 22px;
    border: 1px solid #e2e8f0;
    padding: 22px 18px 16px 18px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03), 0 1px 3px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.castle-visual-stage::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(#cbd5e1 1.2px, transparent 1.2px);
    background-size: 22px 22px;
    opacity: 0.45;
    pointer-events: none;
}

.castle-svg-wrapper {
    width: 100%;
    max-width: 510px;
    position: relative;
    z-index: 2;
}

.castle-svg {
    width: 100%;
    height: auto;
    display: block;
    overflow: visible;
}

.castle-hint {
    margin-top: 10px;
    font-size: 0.72rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    position: relative;
    z-index: 2;
}

/* SVG Tier Interactivity & Animations */
.castle-tier {
    cursor: pointer;
    opacity: 0.75;
    transition: opacity 0.35s ease, filter 0.35s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.castle-tier:hover {
    opacity: 0.95;
    filter: brightness(1.08) drop-shadow(0 4px 14px rgba(0, 113, 227, 0.3));
    transform: translateY(-2px);
}

.castle-tier.active {
    opacity: 1;
    transform: translateY(-3px);
}

.castle-tier.tier-1.active {
    filter: drop-shadow(0 8px 24px rgba(0, 113, 227, 0.45));
}

.castle-tier.tier-2.active {
    filter: drop-shadow(0 8px 24px rgba(124, 58, 237, 0.45));
}

.castle-tier.tier-3.active {
    filter: drop-shadow(0 8px 24px rgba(16, 185, 129, 0.45));
}

.brick-element {
    transition: all 0.25s ease;
}

.castle-shield-dome {
    animation: shieldBreathe 4s ease-in-out infinite;
    transform-origin: 270px 342px;
}

@keyframes shieldBreathe {
    0%, 100% { opacity: 0.45; stroke-width: 1.5; }
    50% { opacity: 0.9; stroke-width: 2.5; }
}

.beacon-ripple {
    animation: ripplePulse 2s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    transform-origin: 226px 48px;
}

@keyframes ripplePulse {
    0% { r: 5px; opacity: 1; }
    100% { r: 18px; opacity: 0; }
}

.telescope-beam-pulse {
    animation: telescopeScan 3.5s ease-in-out infinite;
    transform-origin: 304px 27px;
}

@keyframes telescopeScan {
    0%, 100% {
        opacity: 0.25;
        transform: scaleX(0.92) rotate(-1.5deg);
    }
    50% {
        opacity: 0.65;
        transform: scaleX(1.12) rotate(1.5deg);
    }
}

.lens-glow {
    animation: lensPulse 2s ease-in-out infinite;
}

@keyframes lensPulse {
    0%, 100% { r: 3.5px; opacity: 0.6; }
    50% { r: 5.5px; opacity: 1; }
}

.portal-pulse {
    animation: portalGlow 2.5s ease-in-out infinite;
}

@keyframes portalGlow {
    0%, 100% { opacity: 0.75; r: 12px; }
    50% { opacity: 1; r: 15px; }
}

.energy-connector-line {
    animation: energyDash 1.2s linear infinite;
}

@keyframes energyDash {
    to { stroke-dashoffset: -16; }
}

/* =========================================================================
   ATTACHED VERTICAL TOGGLE RAIL & 3 LINKED SECTION BOXES
   ========================================================================= */

.castle-vertical-hub {
    display: flex;
    gap: 16px;
    align-items: stretch;
    position: relative;
}

/* The Vertical Toggle Rail Attached to Right Side of Castle */
.castle-vertical-rail {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 172px;
    position: relative;
    padding: 10px 0;
}

.vrail-track-line {
    position: absolute;
    left: 20px;
    top: 25px;
    bottom: 25px;
    width: 2px;
    background: #e2e8f0;
    z-index: 1;
}

.vrail-toggle-btn {
    display: flex;
    align-items: center;
    position: relative;
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    text-align: left;
    z-index: 2;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.vrail-toggle-btn:hover {
    transform: translateX(3px) scale(1.02);
}

/* Bridge connecting castle to vertical toggle */
.vrail-bridge-left {
    position: absolute;
    left: -20px;
    width: 20px;
    height: 2px;
    background: #cbd5e1;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Bridge connecting toggle to section box */
.vrail-bridge-right {
    position: absolute;
    right: -16px;
    width: 16px;
    height: 2px;
    background: #cbd5e1;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Tactile Toggle Pill */
.vrail-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 13px;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 9999px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    width: 100%;
}

.vrail-num {
    font-size: 0.68rem;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 6px;
    background: #f1f5f9;
    color: #475569;
    transition: all 0.25s ease;
}

.vrail-label {
    font-size: 0.76rem;
    font-weight: 800;
    color: #334155;
    white-space: nowrap;
    transition: all 0.25s ease;
}

/* Active Toggle States with Motion Flow on Bridges */
.vrail-toggle-btn.vrail-btn-1.active .vrail-pill {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border-color: #0071e3;
    box-shadow: 0 4px 18px rgba(0, 113, 227, 0.2), 0 0 0 1px #0071e3;
    transform: scale(1.02);
}
.vrail-toggle-btn.vrail-btn-1.active .vrail-num {
    background: #0071e3;
    color: #ffffff;
}
.vrail-toggle-btn.vrail-btn-1.active .vrail-label {
    color: #0071e3;
}
.vrail-toggle-btn.vrail-btn-1.active .vrail-bridge-left,
.vrail-toggle-btn.vrail-btn-1.active .vrail-bridge-right {
    background: linear-gradient(90deg, #0071e3, #38bdf8, #0071e3);
    background-size: 200% 100%;
    animation: bridgeEnergyFlow 1.6s linear infinite;
    box-shadow: 0 0 8px rgba(0, 113, 227, 0.6);
}

.vrail-toggle-btn.vrail-btn-2.active .vrail-pill {
    background: linear-gradient(135deg, #fbf5ff 0%, #f3e8ff 100%);
    border-color: #7c3aed;
    box-shadow: 0 4px 18px rgba(124, 58, 237, 0.2), 0 0 0 1px #7c3aed;
    transform: scale(1.02);
}
.vrail-toggle-btn.vrail-btn-2.active .vrail-num {
    background: #7c3aed;
    color: #ffffff;
}
.vrail-toggle-btn.vrail-btn-2.active .vrail-label {
    color: #7c3aed;
}
.vrail-toggle-btn.vrail-btn-2.active .vrail-bridge-left,
.vrail-toggle-btn.vrail-btn-2.active .vrail-bridge-right {
    background: linear-gradient(90deg, #7c3aed, #c084fc, #7c3aed);
    background-size: 200% 100%;
    animation: bridgeEnergyFlow 1.6s linear infinite;
    box-shadow: 0 0 8px rgba(124, 58, 237, 0.6);
}

.vrail-toggle-btn.vrail-btn-3.active .vrail-pill {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    border-color: #10b981;
    box-shadow: 0 4px 18px rgba(16, 185, 129, 0.2), 0 0 0 1px #10b981;
    transform: scale(1.02);
}
.vrail-toggle-btn.vrail-btn-3.active .vrail-num {
    background: #10b981;
    color: #ffffff;
}
.vrail-toggle-btn.vrail-btn-3.active .vrail-label {
    color: #047857;
}
.vrail-toggle-btn.vrail-btn-3.active .vrail-bridge-left,
.vrail-toggle-btn.vrail-btn-3.active .vrail-bridge-right {
    background: linear-gradient(90deg, #10b981, #34d399, #10b981);
    background-size: 200% 100%;
    animation: bridgeEnergyFlow 1.6s linear infinite;
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.6);
}

@keyframes bridgeEnergyFlow {
    0% { background-position: 100% 0; }
    100% { background-position: -100% 0; }
}

/* 3 Foundation Blocks Section Boxes */
.castle-blocks-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.lego-castle-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 18px;
    padding: 16px 20px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.15); /* Apple-style spring */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
}

.lego-castle-card:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
    background: #ffffff;
}

body:not(.mode-how-i-do) .lego-castle-card {
    background: #ffffff;
    border-color: #e2e8f0;
}

.lego-castle-card.card-tier-1.active {
    background: #ffffff;
    border-color: rgba(0, 113, 227, 0.4);
    box-shadow: 0 12px 32px rgba(0, 113, 227, 0.15), 0 0 0 2px rgba(0, 113, 227, 0.2);
    transform: translateY(-4px) scale(1.01);
}

.lego-castle-card.card-tier-2.active {
    background: #ffffff;
    border-color: rgba(124, 58, 237, 0.4);
    box-shadow: 0 12px 32px rgba(124, 58, 237, 0.15), 0 0 0 2px rgba(124, 58, 237, 0.2);
    transform: translateY(-4px) scale(1.01);
}

.lego-castle-card.card-tier-3.active {
    background: #ffffff;
    border-color: rgba(16, 185, 129, 0.4);
    box-shadow: 0 12px 32px rgba(16, 185, 129, 0.15), 0 0 0 2px rgba(16, 185, 129, 0.2);
    transform: translateY(-4px) scale(1.01);
}

body:not(.mode-how-i-do) .lego-castle-card.card-tier-1.active {
    background: #ffffff;
    border-color: rgba(0, 113, 227, 0.4);
    box-shadow: 0 12px 32px rgba(0, 113, 227, 0.15), 0 0 0 2px rgba(0, 113, 227, 0.2);
}

body:not(.mode-how-i-do) .lego-castle-card.card-tier-2.active {
    background: #ffffff;
    border-color: rgba(124, 58, 237, 0.4);
    box-shadow: 0 12px 32px rgba(124, 58, 237, 0.15), 0 0 0 2px rgba(124, 58, 237, 0.2);
}

body:not(.mode-how-i-do) .lego-castle-card.card-tier-3.active {
    background: #ffffff;
    border-color: rgba(16, 185, 129, 0.4);
    box-shadow: 0 12px 32px rgba(16, 185, 129, 0.15), 0 0 0 2px rgba(16, 185, 129, 0.2);
}

.castle-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}

.castle-block-tag {
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    padding: 2px 8px;
    border-radius: 9999px;
}

.tag-blue { background: #dbeafe; color: #1d4ed8; }
.tag-purple { background: #f3e8ff; color: #7e22ce; }
.tag-green { background: #dcfce7; color: #15803d; }

body:not(.mode-how-i-do) .tag-blue { background: #dbeafe; color: #1d4ed8; }
body:not(.mode-how-i-do) .tag-purple { background: #f3e8ff; color: #7e22ce; }
body:not(.mode-how-i-do) .tag-green { background: #dcfce7; color: #15803d; }

.castle-card-question {
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.015em;
    color: #1d1d1f;
    margin: 4px 0 2px 0;
    line-height: 1.25;
}

body:not(.mode-how-i-do) .castle-card-question {
    color: #0f172a;
}

.castle-card-target {
    font-size: 0.72rem;
    font-weight: 600;
    color: #0071e3;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.card-tier-2 .castle-card-target { color: #7c3aed; }
.card-tier-3 .castle-card-target { color: #047857; }


/* --- New Impact Metrics for Cards --- */
.castle-card-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 10px 0 14px 0;
}
.impact-chip {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    letter-spacing: 0.01em;
    transition: transform 0.2s ease;
}
.lego-castle-card:hover .impact-chip {
    transform: translateY(-1px);
}
.chip-blue { background: rgba(0, 113, 227, 0.08); color: #0071e3; border: 1px solid rgba(0, 113, 227, 0.15); }
.chip-purple { background: rgba(124, 58, 237, 0.08); color: #7c3aed; border: 1px solid rgba(124, 58, 237, 0.15); }
.chip-green { background: rgba(16, 185, 129, 0.08); color: #10b981; border: 1px solid rgba(16, 185, 129, 0.15); }


.castle-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.74rem;
    font-weight: 800;
    color: #0071e3;
    padding-top: 6px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

body:not(.mode-how-i-do) .castle-card-footer {
    border-top-color: rgba(0, 0, 0, 0.05);
}

.card-tier-2 .castle-card-footer { color: #7c3aed; }
.card-tier-3 .castle-card-footer { color: #047857; }

.card-btn-arrow {
    transition: transform 0.2s ease;
}

.lego-castle-card:hover .card-btn-arrow {
    transform: translateX(4px);
}

/* Seamless Chapter Slide-In Animation */
.how-chapter {
    display: none;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.how-chapter.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
    animation: chapterSlideIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

@media (max-width: 1080px) {
    .castle-interactive-split {
        grid-template-columns: 1fr;
        gap: 22px;
    }
    .castle-vertical-hub {
        flex-direction: column;
        gap: 14px;
    }
    .castle-vertical-rail {
        flex-direction: row;
        min-width: auto;
        justify-content: center;
        gap: 10px;
        padding: 0;
    }
    .vrail-track-line,
    .vrail-bridge-left,
    .vrail-bridge-right {
        display: none;
    }
}


/* =========================================================================
   PLAYGROUND PAGE: IDEAS, PROTOTYPES, BLUEPRINTS & UNDER CONSTRUCTION BOARD
   ========================================================================= */

/* Desktop Mode Switcher active state for Playground */
.mode-switch-wrapper.playground-active {
    border-color: rgba(245, 158, 11, 0.55) !important;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.12),
                0 4px 20px rgba(0, 0, 0, 0.45),
                0 0 20px rgba(245, 158, 11, 0.3) !important;
}

/* Active Glider for Playground: Rich, saturated Amber-to-Orange Gradient */
.mode-switch-wrapper.playground-active .mode-switch-glider,
#modeSwitchWrapper.playground-active .mode-switch-glider {
    background: linear-gradient(135deg, #d97706 0%, #ea580c 50%, #c2410c 100%) !important;
    box-shadow: 0 2px 14px rgba(217, 119, 6, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.4) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Active Playground Button & Text: Bold, brilliant white with dark shadow for 100% contrast */
.mode-switch-wrapper.playground-active #btnModePlayground.active,
#btnModePlayground.active,
.mode-switch-wrapper #btnModePlayground.active {
    color: #ffffff !important;
    font-weight: 800 !important;
    font-size: 0.77rem !important;
    text-shadow: 0 1px 2px rgba(15, 23, 42, 0.95), 0 0 1px rgba(0, 0, 0, 0.8) !important;
    letter-spacing: 0.01em !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.mode-switch-wrapper.playground-active #btnModePlayground.active span,
#btnModePlayground.active span {
    color: #ffffff !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Active Beaker Icon */
.mode-switch-wrapper.playground-active #btnModePlayground.active .neon-beaker-svg,
#btnModePlayground.active .neon-beaker-svg {
    filter: drop-shadow(0 0 6px #fef08a) !important;
    color: #ffffff !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Hover state on Playground button when inactive */
#btnModePlayground:hover:not(.active) {
    color: #f59e0b !important;
    background: rgba(245, 158, 11, 0.12) !important;
}

#btnModePlayground:hover:not(.active) .neon-beaker-svg {
    color: #f59e0b !important;
    filter: drop-shadow(0 0 5px rgba(245, 158, 11, 0.6)) !important;
    opacity: 1 !important;
}

/* Mobile Active Button & Icon */
#mobileModeSwitchWrapper.playground-active .mode-btn.active,
#mobileModeSwitchWrapper #mobBtnModePlayground.active {
    background: linear-gradient(135deg, #d97706 0%, #ea580c 50%, #c2410c 100%) !important;
    box-shadow: 0 2px 8px rgba(217, 119, 6, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.35) !important;
    color: #ffffff !important;
    font-weight: 800 !important;
    text-shadow: 0 1px 2px rgba(15, 23, 42, 0.9) !important;
    opacity: 1 !important;
    visibility: visible !important;
}

#mobileModeSwitchWrapper.playground-active #mobBtnModePlayground.active span,
#mobileModeSwitchWrapper #mobBtnModePlayground.active span {
    color: #ffffff !important;
    opacity: 1 !important;
    visibility: visible !important;
}

#mobileModeSwitchWrapper.playground-active #mobBtnModePlayground.active .neon-beaker-svg,
#mobileModeSwitchWrapper #mobBtnModePlayground.active .neon-beaker-svg {
    color: #ffffff !important;
    filter: drop-shadow(0 0 6px #fef08a) !important;
    opacity: 1 !important;
    visibility: visible !important;
}

#mobBtnModePlayground:hover:not(.active) {
    color: #f59e0b !important;
}

/* Navigation bar styling when Playground is the active page */
body.mode-playground .nav.scrolled {
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: saturate(180%) blur(20px) !important;
    -webkit-backdrop-filter: saturate(180%) blur(20px) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02) !important;
}

body.mode-playground .nav-logo-text {
    color: #1d1d1f !important;
}

body.mode-playground .nav-link {
    color: #424245 !important;
}

body.mode-playground .nav-link:hover {
    color: #000000 !important;
}

body.mode-playground .nav-toggle span {
    background: #1d1d1f !important;
}

body.mode-playground .mode-switch-wrapper {
    background: rgba(0, 0, 0, 0.05) !important;
    border: 1px solid rgba(245, 158, 11, 0.35) !important;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.04), 0 0 16px rgba(245, 158, 11, 0.15) !important;
}

body.mode-playground .mode-btn {
    color: #86868b !important;
}

body.mode-playground .mode-btn:hover:not(.active) {
    color: #1d1d1f !important;
    background: rgba(0, 0, 0, 0.04) !important;
}

/* Playground View Container */
.playground-main-container {
    padding: 100px 24px 80px 24px;
    max-width: 1100px;
    margin: 0 auto;
    box-sizing: border-box;
}

.playground-wrapper {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* Page Masthead */
.playground-masthead {
    text-align: center;
    max-width: 820px;
    margin: 0 auto;
}

.playground-pill {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 5px 14px;
    border-radius: 9999px;
    background: rgba(245, 158, 11, 0.08);
    color: #d97706;
    border: 1px solid rgba(245, 158, 11, 0.22);
    margin-bottom: 12px;
}

.playground-headline {
    font-size: 2.4rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
    margin: 0 0 12px 0;
    letter-spacing: -0.03em;
}

body:not(.mode-how-i-do):not(.mode-playground) .playground-headline {
    color: #0f172a;
}

.playground-strapline {
    font-size: 1.02rem;
    color: #475569;
    line-height: 1.6;
    margin: 0;
}

/* =========================================================================
   UNDER CONSTRUCTION BOARD SHOWCASE (CENTERED WORKMAN PICTURE)
   ========================================================================= */

.construction-board-showcase {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 28px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.02);
    overflow: hidden;
    position: relative;
    max-width: 860px;
    margin: 0 auto;
    width: 100%;
}

/* Hazard Chevrons Strip */
.board-hazard-header,
.board-hazard-footer {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.hazard-stripes {
    height: 14px;
    background: repeating-linear-gradient(
        -45deg,
        #f59e0b,
        #f59e0b 16px,
        #0f172a 16px,
        #0f172a 32px
    );
    opacity: 0.9;
}

.hazard-badge-cluster {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 10px 16px;
    background: #0f172a;
    color: #f59e0b;
}

.hazard-header-text {
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hazard-beacon-light {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #f59e0b;
    box-shadow: 0 0 10px #f59e0b;
}

.pulse-amber {
    animation: beaconPulse 1.8s ease-in-out infinite;
}

@keyframes beaconPulse {
    0%, 100% { opacity: 0.5; transform: scale(0.9); }
    50% { opacity: 1; transform: scale(1.15); box-shadow: 0 0 16px #f59e0b; }
}

/* Center Stage: Workman Picture as Focal Point */
.construction-center-stage {
    display: flex;
    justify-content: center;
    padding: 36px 24px;
}

.workman-visual-stage {
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 24px;
    border: 1px solid #e2e8f0;
    padding: 28px 24px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.02);
    max-width: 580px;
    width: 100%;
}

.workman-svg-wrapper {
    width: 100%;
    max-width: 440px;
}

.workman-svg {
    width: 100%;
    height: auto;
    display: block;
}

.workman-caption {
    margin-top: 18px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.board-badge-cluster-inline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 14px;
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 9999px;
}

.caption-tag {
    font-size: 0.68rem;
    font-weight: 800;
    color: #b45309;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.board-title {
    font-size: 2.3rem;
    font-weight: 900;
    color: #0f172a;
    letter-spacing: -0.02em;
    margin: 4px 0 0 0;
    line-height: 1.15;
}

.caption-quote {
    font-size: 0.88rem;
    font-style: italic;
    color: #475569;
    margin: 0;
}

/* Action Buttons */
.board-action-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
    width: 100%;
    justify-content: center;
}

.board-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #0f172a;
    color: #ffffff;
    padding: 11px 22px;
    border-radius: 9999px;
    font-size: 0.82rem;
    font-weight: 800;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.2);
}

.board-btn-primary:hover {
    background: #1e293b;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.3);
}

.board-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ffffff;
    color: #334155;
    border: 1px solid #cbd5e1;
    padding: 11px 20px;
    border-radius: 9999px;
    font-size: 0.82rem;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.25s ease;
}

.board-btn-secondary:hover {
    background: #f8fafc;
    border-color: #94a3b8;
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .construction-center-stage {
        padding: 20px 14px;
    }
    .workman-visual-stage {
        padding: 18px 14px;
    }
    .board-title {
        font-size: 1.8rem;
    }
    .board-action-row {
        flex-direction: column;
        align-items: stretch;
    }
    .board-btn-primary,
    .board-btn-secondary {
        justify-content: center;
    }
}
