/* 
   Sirmium OS Root Shared Styles 
   Centralized design system for landing and core pages
*/

:root {
    --ai-glow: rgba(197, 160, 89, 0.2);
    --terminal-bg: rgba(10, 15, 28, 0.95);
    --terminal-header-bg: rgba(15, 23, 42, 0.8);
    --dot-red: #ff5f56;
    --dot-yellow: #ffbd2e;
    --dot-green: #27c93f;
    --status-green: #22c55e;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-300: #cbd5e1;
}

/* --- System Status Bar --- */
.system-status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 1.5rem;
    background: var(--navy-900);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    letter-spacing: 1px;
    position: relative;
    z-index: 1000;
}

.system-status-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.status-label-bold {
    opacity: 0.8;
    font-weight: 600;
}

.status-separator {
    opacity: 0.4;
    font-size: 0.6rem;
}

.status-label-gold {
    color: var(--gold-300);
}

.status-label-muted {
    color: var(--slate-500);
}

#statusClock {
    font-weight: 500;
    font-variant-numeric: tabular-nums;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: var(--status-green);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--status-green);
    display: inline-block;
}

.status-dot.u-pulse {
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(34, 197, 94, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
    }
}

/* --- News Ticker --- */
.news-ticker {
    background: #0f172a;
    border-bottom: 1px solid var(--gold-300);
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 999;
    position: relative;
    overflow: hidden;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.news-ticker.ticker-hidden {
    display: none;
}

.ticker-live-badge {
    background: #ef4444;
    color: white;
    padding: 4px 10px;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.ticker-live-dot {
    width: 6px;
    height: 6px;
    background: white;
    border-radius: 50%;
    animation: ticker-blink 1.5s ease-in-out infinite;
}

@keyframes ticker-blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

.ticker-scroll-container {
    flex: 1;
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.ticker-scroll-content {
    display: flex;
    white-space: nowrap;
    animation: ticker-scroll 30s linear infinite;
}

.ticker-scroll-content:hover {
    animation-play-state: paused;
}

@keyframes ticker-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.ticker-headline {
    color: white;
    font-size: 0.85rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 15px;
    padding-right: 50px;
    text-decoration: none;
}

.ticker-date {
    color: var(--gold-300);
    font-weight: 700;
    font-family: 'JetBrains Mono', monospace;
}

.ticker-separator {
    opacity: 0.3;
    color: var(--slate-500);
}

.ticker-updated {
    font-size: 0.65rem;
    color: var(--slate-500);
    opacity: 0.8;
    white-space: nowrap;
    font-family: 'JetBrains Mono', monospace;
}

.ticker-dismiss {
    background: none;
    border: none;
    color: var(--slate-500);
    cursor: pointer;
    font-size: 1.2rem;
    padding: 0 5px;
    transition: color 0.2s;
    line-height: 1;
}

.ticker-dismiss:hover {
    color: white;
}

/* --- Hero Cinematic --- */
.hero-new.cinematic {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-premium-bg {
    background-image: url('../images/hero_premium.webp');
    background-size: cover;
    background-position: center;
}

.hero-overlay-radial {
    background: radial-gradient(circle at center, rgba(15, 23, 42, 0.4) 0%, rgba(15, 23, 42, 0.9) 100%);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-system-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.6rem 1.4rem;
    border-radius: 50px;
    border: 1px solid rgba(197, 160, 89, 0.4);
    margin: 0 auto 2rem;
}

.hero-badge-text {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    color: var(--gold-300);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* --- Terminal UI Component --- */
.system-os-section {
    background: rgba(2, 6, 32, 0.3);
    border-top: 1px solid rgba(197, 160, 89, 0.1);
    border-bottom: 1px solid rgba(197, 160, 89, 0.1);
}

.system-os-section .section-subtitle {
    text-transform: none;
    font-size: 1.1rem;
    letter-spacing: 0.01em;
    line-height: 1.6;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

.os-terminal {
    border-radius: 12px;
    border: 1px solid rgba(197, 160, 89, 0.2);
    overflow: clip;
    /* Kevin Powell fix: clip instead of hidden avoids mobile side-effects */
    max-width: 1100px;
    margin: 0 auto;
}

.terminal-header {
    background: var(--terminal-header-bg);
    padding: 0.8rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(197, 160, 89, 0.1);
}

.terminal-controls {
    display: flex;
    gap: 8px;
}

.control-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot-red {
    background: var(--dot-red);
}

.dot-yellow {
    background: var(--dot-yellow);
}

.dot-green {
    background: var(--dot-green);
}

.terminal-title {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    color: var(--gold-300);
    opacity: 0.8;
}

.terminal-body {
    padding: 2.5rem;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    background: var(--terminal-bg);
    position: relative;
    box-sizing: border-box;
    width: 100%;
}

@media (max-width: 991px) {
    .terminal-body {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.terminal-title-h3 {
    font-family: 'Playfair Display', serif;
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.terminal-p {
    color: var(--slate-400);
    line-height: 1.8;
    margin-bottom: 2rem;
    font-size: 1rem;
}

.terminal-col-right {
    border-left: 1px solid rgba(197, 160, 89, 0.1);
    padding-left: 2rem;
}

@media (max-width: 991px) {
    .terminal-col-right {
        border-left: none;
        padding-left: 0;
        border-top: 1px solid rgba(197, 160, 89, 0.1);
        padding-top: 2rem;
    }
}

.nodes-label {
    margin-bottom: 1.5rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    color: var(--slate-600);
}

/* --- Agent Cards --- */
.agent-grid {
    display: grid;
    gap: 1.2rem;
    min-width: 0;
    /* Prevent grid blowout on mobile */
    width: 100%;
    box-sizing: border-box;
}

.agent-status-card {
    padding: 1.2rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    min-width: 0;
    /* Prevent card from overflowing parent grid */
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
}

.agent-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.6rem;
}

.agent-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    color: var(--gold-300);
}

.agent-status-indicator {
    display: flex;
    align-items: center;
    gap: 5px;
}

.status-pulse-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--status-green);
    box-shadow: 0 0 10px var(--status-green);
}

.status-text {
    font-size: 0.65rem;
    color: var(--status-green);
    font-weight: 700;
}

.agent-task {
    font-size: 0.85rem;
    color: var(--slate-300);
    font-weight: 300;
}

.agent-task-detail {
    font-size: 0.75rem;
    color: var(--gold-300);
    font-weight: 400;
    font-style: italic;
    margin-top: 0.35rem;
    opacity: 0.85;
    line-height: 1.4;
}

.agent-progress-wrapper {
    height: 2px;
    background: rgba(255, 255, 255, 0.05);
    margin-top: 1rem;
    border-radius: 1px;
    overflow: hidden;
}

.agent-progress-fill {
    height: 100%;
    background: var(--gold-300);
    box-shadow: 0 0 10px var(--gold-300);
}

/* --- Capability Items --- */
.os-capabilities {
    display: grid;
    gap: 1.8rem;
}

.cap-item {
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
}

.cap-icon {
    color: var(--gold-300);
    margin-top: 4px;
}

.cap-title {
    color: white;
    font-size: 1.05rem;
    margin-bottom: 0.3rem;
}

.cap-desc {
    font-size: 0.85rem;
    color: var(--slate-500);
}

/* --- Intelligence Hub Cards --- */
.intelligence-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.intelligence-card {
    position: relative;
    padding: 2.5rem;
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 320px;
    transition: transform var(--transition-base);
}

.intelligence-card:hover {
    transform: translateY(-5px);
}

.intelligence-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.intelligence-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(2, 6, 23, 0.6), rgba(2, 6, 23, 0.95));
    z-index: 2;
}

.intelligence-card-content {
    position: relative;
    z-index: 3;
}

.card-title-heavy {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: white;
    margin-bottom: 0.5rem;
}

.card-desc-muted {
    color: var(--slate-300);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.card-link-gold {
    color: var(--gold-300);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.75rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

/* --- Briefing Form & Footer --- */
.briefing-label span {
    opacity: 0.5;
    font-weight: 400;
}

.briefing-select {
    appearance: auto;
    cursor: pointer;
}

.briefing-disclaimer {
    text-align: center;
    margin-top: 0.75rem;
    font-size: 0.7rem;
    color: var(--slate-500);
    line-height: 1.4;
}

.briefing-footer-alt {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}

.briefing-login-link {
    color: var(--gold-300);
    font-weight: 600;
    text-decoration: none;
}

.footer-compliance {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.72rem;
    color: var(--slate-500);
    line-height: 1.6;
    max-width: 1000px;
}

.terminal-action-wrapper {
    margin-top: 2rem;
    text-align: right;
}

.btn-mono {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 1px;
}

/* --- About Page Specifics --- */
.hero-about-bg {
    background-image: url('../images/about_premium.webp');
    background-size: cover;
    background-repeat: no-repeat;
}

.hero-badge-about {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.6rem 1.4rem;
    border-radius: 50px;
    margin-bottom: 2.5rem;
    border: 1px solid rgba(197, 160, 89, 0.4);
}

.hero-title-about {
    margin-bottom: 1.5rem;
}

.hero-title-main {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    letter-spacing: -1px;
}

.hero-title-sub {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    display: block;
}

.hero-subtitle-about {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
}

.btn-hero-primary {
    border-radius: 4px;
    padding: 1.2rem 2.8rem;
    font-weight: 800;
}

.btn-hero-secondary {
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(197, 160, 89, 0.5);
    color: #fff;
    border-radius: 4px;
    padding: 1.2rem 2.8rem;
    font-weight: 700;
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}

.btn-hero-secondary:hover {
    background: rgba(197, 160, 89, 0.15);
    border-color: var(--gold-300);
    color: var(--gold-300);
}

.mission-overview {
    padding: 8rem 0;
    background: white;
}

.mission-title {
    color: var(--navy-900);
    font-family: var(--font-display);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.mission-text {
    margin-bottom: 1rem;
    color: var(--navy-800);
}

.mission-quote-box {
    margin-top: 2rem;
    padding-left: 1.5rem;
    border-left: 2px solid var(--accent);
}

.mission-quote-text {
    font-size: 1.1rem;
    color: var(--navy-700);
    font-style: italic;
}

.independent-standard-box {
    background: var(--navy-900);
    padding: 3rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.independent-standard-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: #f1f5f9;
    border-left: 4px solid var(--gold-300);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    line-height: 1.4;
}

.independent-desc {
    font-size: 1rem;
    color: var(--gray-400);
    margin-bottom: 2rem;
}

.independent-footer {
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.independent-footer-p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--gray-400);
}

.courage-section {
    background: var(--navy-900);
    padding: 10rem 0;
    position: relative;
    overflow: hidden;
}

.courage-header {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.courage-title {
    color: var(--white);
    font-family: var(--font-display);
    font-size: 2.5rem;
}

.courage-text {
    color: var(--gray-300);
    font-size: 1.15rem;
    line-height: 1.8;
}

.fiduciary-standard-section {
    padding: 8rem 0;
    background: white;
}

.container-narrow {
    max-width: 900px;
    margin: 0 auto !important;
}

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

.fiduciary-title {
    font-family: var(--font-display);
    font-size: 2.2rem;
    color: var(--navy-900);
}

.fiduciary-block {
    margin-bottom: 2.5rem;
}

.fiduciary-block-title {
    color: var(--navy-900);
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
}

.fiduciary-block-p {
    color: var(--navy-700);
    line-height: 1.7;
}

.text-white {
    color: var(--white) !important;
}

.premium-footer {
    padding: 4rem 0;
    background: var(--gray-50);
    border-top: 1px solid var(--gray-200);
}

.impact-card {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--gray-200);
}

.impact-icon-wrapper {
    width: 48px;
    height: 48px;
    background: var(--navy-900);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.impact-title {
    color: var(--navy-900);
    margin: 0;
    font-size: 1.2rem;
}

.impact-p {
    color: var(--navy-700);
    font-size: 0.95rem;
    line-height: 1.7;
}

.impact-link {
    display: inline-block;
    margin-top: 1.25rem;
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
}

.u-max-w-900 {
    max-width: 900px !important;
}

.u-max-w-600 {
    max-width: 600px !important;
}

.u-text-center {
    text-align: center !important;
}

.u-margin-bottom-3 {
    margin-bottom: 3rem !important;
}

.u-margin-bottom-2-5 {
    margin-bottom: 2.5rem !important;
}

.u-margin-top-1-25 {
    margin-top: 1.25rem !important;
}

.u-margin-x-auto {
    margin-left: auto !important;
    margin-right: auto !important;
}

.u-gap-1 {
    gap: 1rem !important;
}

/* ======================================================
   STRATEGIES PAGE
   ====================================================== */

/* --- Strategies Hero --- */
.hero-strat-bg {
    background-image: url('../images/strategies_premium.webp');
    background-size: cover;
    background-repeat: no-repeat;
}

.hero-overlay-strat {
    background: radial-gradient(circle at center, rgba(15, 23, 42, 0.4) 0%, rgba(15, 23, 42, 0.9) 100%);
}

.hero-badge-strat {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.6rem 1.4rem;
    border-radius: 50px;
    margin-bottom: 2.5rem;
    border: 1px solid rgba(197, 160, 89, 0.4);
}

.badge-divider {
    height: 12px;
    width: 1px;
    background: rgba(255, 255, 255, 0.3);
    display: inline-block;
}

.badge-text-white {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    color: #fff;
    opacity: 1;
}

.hero-kicker {
    margin-bottom: 0.5rem;
    letter-spacing: 0.2rem;
    text-transform: uppercase;
    font-size: 0.85rem;
    color: var(--gold-300);
    font-weight: 700;
}

.hero-title-strat {
    margin-bottom: 1.5rem;
}

.hero-title-line {
    font-size: clamp(2.5rem, 6vw, 4rem);
    letter-spacing: -1px;
}

.hero-title-accent {
    font-size: clamp(2.5rem, 6vw, 4rem);
    display: block;
}

.hero-desc-strat {
    color: rgba(255, 255, 255, 0.9);
    max-width: 850px;
    margin: 0 auto;
    font-size: 1.15rem;
    line-height: 1.6;
    font-weight: 300;
}

.hero-actions-center {
    justify-content: center;
    margin-top: 3rem;
}

.btn-strat-primary {
    border-radius: 4px;
    padding: 1.2rem 2.8rem;
    font-weight: 800;
}

.btn-strat-outline {
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    border-radius: 4px;
    padding: 1.2rem 2.8rem;
}

/* --- Portfolio desc auto center --- */
.strat-desc-centered {
    margin: 0 auto;
}

/* --- Chart Wrapper --- */
.chart-wrapper-strat {
    border-radius: 12px;
    padding: 3rem;
    border: 1px solid rgba(197, 160, 89, 0.3);
    background: rgba(15, 23, 42, 0.6);
}

.chart-risk-label-strat {
    font-family: 'JetBrains Mono', monospace;
    color: var(--gold-300);
    letter-spacing: 1px;
    font-size: 0.8rem;
    margin-bottom: 1.5rem;
    display: block;
    text-transform: uppercase;
}

.chart-area-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

@media (max-width: 768px) {
    .chart-area-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.pie-chart-glow {
    filter: drop-shadow(0 0 30px rgba(197, 160, 89, 0.2));
}

.pie-legend-grid {
    margin-top: 2rem;
    display: grid;
    gap: 0.8rem;
}

.model-detail-title-strat {
    font-weight: 800;
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.model-detail-desc-strat {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.stats-grid-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.stat-box-strat {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 8px;
}

.stat-label-strat {
    text-transform: uppercase;
    font-size: 0.65rem;
    letter-spacing: 2px;
    color: #94a3b8;
    margin-bottom: 0.5rem;
}

.stat-value-strat {
    color: var(--gold-300);
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.2rem;
    font-weight: 700;
}

/* --- Risk section inline overrides --- */
.strat-subtitle-primary {
    color: var(--primary);
}

.strat-title-navy {
    color: var(--navy-900);
}

/* --- Niche Cards --- */
.niche-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.niche-card-title {
    margin-bottom: 1rem;
}

.niche-card-text {
    font-size: 0.95rem;
    line-height: 1.6;
}

.niche-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.niche-link {
    color: var(--gold-300);
    font-size: 0.85rem;
    text-decoration: none;
}

.niche-link-block {
    color: var(--gold-300);
    font-size: 0.85rem;
    text-decoration: none;
    display: inline-block;
    margin-top: 1rem;
}

/* --- Intel Cards (strategies) --- */
.intel-card-bg-img {
    background-size: cover;
    background-position: center;
    border-radius: 12px;
}

.intel-card-bg-usvsst {
    background-image: linear-gradient(rgba(2, 6, 23, 0.85), rgba(2, 6, 23, 0.85)),
        url('../images/usvsst_round_6_hero.webp');
}

.intel-card-bg-btc {
    background-image: linear-gradient(rgba(2, 6, 23, 0.85), rgba(2, 6, 23, 0.85)),
        url('../images/bitcoin_recovery_premium.webp');
}

.intel-card-bg-responders {
    background-image: linear-gradient(rgba(2, 6, 23, 0.85), rgba(2, 6, 23, 0.85)),
        url('../images/nypd_fdny_pension_hero.webp');
}

.intel-card-title-heavy {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.intel-card-desc {
    color: #cbd5e1;
    font-size: 0.95rem;
}

.intel-link-gold {
    color: var(--gold-300);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.75rem;
}

/* --- Factsheet CTA --- */
.factsheet-cta-section {
    padding: 100px 0;
}

.factsheet-card {
    border-radius: 8px;
    border: var(--border-gold-soft);
    padding: 4rem;
    text-align: center;
}

.factsheet-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.factsheet-desc {
    font-size: 1.2rem;
    opacity: 0.8;
    margin-bottom: 2.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.btn-factsheet {
    border-radius: 4px;
    padding: 1.2rem 2.5rem;
}

/* --- Footer --- */
.footer-logo-strat {
    height: 40px;
    margin-bottom: 1rem;
}

.footer-disclosure-strat {
    margin-top: 2.5rem;
    padding-top: 2rem;
    font-size: 0.72rem;
    color: #64748b;
    line-height: 1.6;
    max-width: 1000px;
}

/* --- Floating CTA --- */
.floating-cta-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--gold);
    color: var(--navy);
    padding: 1.1rem 1.8rem;
    border-radius: 50px;
    font-weight: 800;
    text-decoration: none;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.85rem;
    border: 2px solid white;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

/* --- Risk Section Overrides (Strategies) --- */
.risk-section {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
}

.risk-section .risk-text {
    margin-bottom: 1.5rem;
}

.risk-card {
    background: var(--navy-900) !important;
    border: 1px solid rgba(197, 160, 89, 0.2) !important;
}

.risk-card .risk-number {
    color: rgba(197, 160, 89, 0.15) !important;
}

.risk-card .risk-card-title {
    color: var(--gold-300) !important;
}

.risk-card .risk-card-text {
    color: #cbd5e1 !important;
}

.risk-card:hover {
    border-color: var(--gold-300) !important;
    background: rgba(197, 160, 89, 0.08) !important;
}

.risk-card:hover .risk-card-title,
.risk-card:hover .risk-card-text {
    color: #FFFFFF !important;
}

.risk-card:hover .risk-number {
    color: rgba(255, 255, 255, 0.1) !important;
}

.legend-item {
    color: #e2e8f0;
}

/* --- Services Page Hero --- */
.hero-services-bg {
    background-image: url('../../assets/images/services_premium.webp');
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* --- Financial Planning Page --- */
.hero-fp-bg {
    background-image: url('../../assets/images/financial_planning_premium.webp');
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.hero-kicker {
    margin-bottom: 0.5rem;
    letter-spacing: 0.2rem;
    text-transform: uppercase;
    font-size: 0.85rem;
    color: var(--gold-300);
    font-weight: 700;
}

.hero-title-mb {
    margin-bottom: 1.5rem;
}

.hero-title-responsive {
    font-size: clamp(2.5rem, 6vw, 4rem);
    letter-spacing: -1px;
}

.hero-title-accent-block {
    font-size: clamp(2.5rem, 6vw, 4rem);
    display: block;
}

.btn-strat-primary-lg {
    padding: 1.2rem 2.5rem;
    font-weight: 700;
}

.btn-strat-outline-gold {
    border-radius: 4px;
    border: 1px solid var(--gold-300);
    color: var(--gold-300);
    padding: 1.2rem 2.5rem;
    font-weight: 700;
}

/* FP Card (Dark Variant) */
.fp-card-dark {
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid rgba(197, 160, 89, 0.2);
}

.fp-card-title-gold {
    font-weight: 700;
}

.fp-card-text-light {
    color: rgba(255, 255, 255, 0.8);
}

.fp-card-link-gold {
    color: var(--gold-300);
    font-weight: 600;
}

.fp-card-icon-sm {
    width: 20px;
}

/* FP CTA Section */
.fp-cta-section {
    padding: 100px 0;
}

.fp-cta-card {
    border-radius: 12px;
    border: 1px solid rgba(197, 160, 89, 0.3);
    padding: 5rem;
    text-align: center;
}

.fp-cta-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.fp-cta-desc {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.btn-fp-primary {
    border-radius: 4px;
    padding: 1.3rem 3rem;
    font-weight: 700;
}

/* --- FAQ Page --- */
.hero-faq-bg {
    background-image: url('../../assets/images/faq_premium.webp');
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.faq-link-gold {
    color: var(--gold-300);
    text-decoration: underline;
}

/* --- Analytics Dashboard --- */
.dash-nav-styled {
    border-bottom: 1px solid rgba(197, 160, 89, 0.2);
    background: rgba(10, 15, 29, 0.9);
}

.dash-nav-logo-flex {
    display: flex;
    align-items: center;
    gap: 10px;
}

.dash-logo-img {
    height: 24px;
    filter: brightness(0) invert(1);
}

.dash-logo-text {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    color: var(--gold-300);
}

.dash-badge-internal {
    background: rgba(197, 160, 89, 0.1);
    border: 1px solid rgba(197, 160, 89, 0.3);
    color: var(--gold-300);
}

.dash-header-hero {
    padding: 3rem;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(197, 160, 89, 0.2);
    margin-bottom: 4rem;
}

.dash-header-bg {
    position: absolute;
    inset: 0;
    background-image: url('../../assets/images/analytics_premium.webp');
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    pointer-events: none;
    mix-blend-mode: overlay;
}

.dash-header-inner {
    position: relative;
    z-index: 1;
}

.dash-badge-inline {
    margin-bottom: 1.5rem;
    display: inline-block;
}

.dash-title-hero {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -2px;
}

.dash-subtitle-hero {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 750px;
    line-height: 1.6;
}

.dash-updated-hero {
    margin-top: 2rem;
    font-weight: 700;
    color: var(--gold-300);
    text-shadow: 0 0 10px rgba(197, 160, 89, 0.3);
}

.kpi-change-muted {
    font-size: 0.7rem;
    color: #94A3B8;
}

.raw-events-scroll {
    max-height: 400px;
    overflow-y: auto;
}

/* ===== MOBILE RESPONSIVENESS FIXES ===== */
@media (max-width: 768px) {

    /* -- Floating CTA button (root-shared class version) -- */
    .floating-cta-btn {
        padding: 0.5rem 0.85rem;
        font-size: 0.65rem;
        bottom: 0.75rem;
        right: 0.75rem;
        max-width: 150px;
        letter-spacing: 0.5px;
        gap: 0.3rem;
        line-height: 1.3;
    }

    /* -- Chat FAB & Nudge -- */
    .chat-fab {
        width: 44px !important;
        height: 44px !important;
        bottom: 0.75rem !important;
        right: 0.75rem !important;
    }

    .chat-nudge {
        bottom: 4rem !important;
        right: 0.5rem !important;
        max-width: 200px !important;
        font-size: 0.75rem !important;
        padding: 0.5rem 0.75rem !important;
    }

    /* -- Services page: fix dark-on-dark contrast -- */
    .page-content h2,
    .page-content h3 {
        color: #ffffff !important;
    }

    .page-content p,
    .page-content li {
        color: #cbd5e1 !important;
    }

    .page-content strong {
        color: #f1f5f9 !important;
    }

    /* -- Page content: better spacing and readability -- */
    .page-content {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .page-content ul {
        padding-left: 1.25rem;
    }

    /* -- Financial Planning: table responsiveness -- */
    .page-content table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        font-size: 0.8rem;
    }

    .page-content table td,
    .page-content table th {
        padding: 0.5rem;
        white-space: nowrap;
    }

    /* -- Analytics hero -- */
    .dash-header-hero {
        padding: 2rem 1rem;
        margin-bottom: 2rem;
    }

    .dash-title-hero {
        font-size: 2rem;
        letter-spacing: -1px;
    }

    .dash-subtitle-hero {
        font-size: 0.9rem;
    }

    /* -- Hero subtitle on subpages -- */
    .hero-subtitle-new,
    .hero-desc-strat {
        font-size: 0.9rem !important;
        line-height: 1.5;
    }

    /* -- Authority ribbon wrapping -- */
    .authority-track {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
    }

    .authority-item {
        font-size: 0.7rem;
    }

    /* -- Fix #4: Bitcoin Recovery Case card — bulletproof mobile -- */
    .os-terminal {
        overflow: clip;
        border-radius: 8px;
    }

    .terminal-body {
        padding: 1.2rem;
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .terminal-col-right {
        width: 100%;
        min-width: 0;
        max-width: 100%;
        overflow: visible;
    }

    .agent-grid {
        width: 100%;
        min-width: 0;
    }

    .agent-status-card {
        padding: 0.9rem;
        width: 100%;
        max-width: 100%;
    }

    .agent-task-detail {
        font-size: 0.7rem;
    }

    .terminal-title-h3 {
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {

    /* -- Extra-small screens: tighter layout -- */
    .floating-cta-btn {
        padding: 0.4rem 0.7rem;
        font-size: 0.6rem;
        max-width: 130px;
    }

    .chat-fab {
        width: 38px !important;
        height: 38px !important;
    }

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

    .dash-title-hero {
        font-size: 1.5rem;
    }

    .page-content h2 {
        font-size: 1.4rem !important;
    }

    .page-content h3 {
        font-size: 1.1rem !important;
    }
}