:root {
    --bg-dark: #07090D;
    --bg-panel: #0D111A;
    --bg-card: rgba(19, 23, 34, 0.6);
    --border-color: rgba(45, 51, 74, 0.5);
    --border-glow: rgba(0, 210, 211, 0.15);
    --accent-gold: #E5A93B;
    --accent-gold-hover: #F2C36D;
    --accent-cyan: #00D2D3;
    --text-main: #FFFFFF;
    --text-muted: #8E9BB0;
    --font-primary: 'Outfit', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --transition-smooth: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    --transition-fast: all 0.2s ease-in-out;
    --shadow-premium: 0 15px 35px rgba(0, 0, 0, 0.6);
    --gold-gradient: linear-gradient(135deg, #FFD700 0%, #E5A93B 50%, #B8860B 100%);
    --cyan-gradient: linear-gradient(135deg, #00D2D3 0%, #0097E6 100%);
    --glass-bg: rgba(20, 24, 36, 0.45);
    --glass-border: 1px solid rgba(255, 255, 255, 0.05);
}

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

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

/* --- Animated Grid Background --- */
.bg-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: 
        linear-gradient(to right, rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -2;
    pointer-events: none;
}

.bg-glow {
    position: fixed;
    top: 20%;
    left: 50%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 210, 211, 0.08) 0%, transparent 60%);
    transform: translate(-50%, -50%);
    z-index: -1;
    pointer-events: none;
    animation: pulseGlow 8s infinite alternate;
}

.bg-glow-gold {
    position: fixed;
    bottom: -10%;
    right: -10%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(229, 169, 59, 0.05) 0%, transparent 60%);
    z-index: -1;
    pointer-events: none;
}

@keyframes pulseGlow {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    100% { transform: translate(-50%, -50%) scale(1.2); opacity: 1; }
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

:focus-visible {
    outline: 2px solid var(--accent-cyan);
    outline-offset: 3px;
}

button:focus-visible,
a:focus-visible {
    outline: 2px solid var(--accent-gold);
    outline-offset: 3px;
}

img {
    max-width: 100%;
    height: auto;
}

/* --- Utility Classes --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

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

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

.gold-text {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    text-shadow: 0 0 20px rgba(229, 169, 59, 0.3);
}

.cyan-text {
    color: var(--accent-cyan);
    text-shadow: 0 0 15px rgba(0, 210, 211, 0.4);
}

.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: var(--glass-border);
    border-radius: 16px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition-fast);
    border: none;
    outline: none;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: var(--gold-gradient);
    color: #000000;
    box-shadow: 0 0 20px rgba(229, 169, 59, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(229, 169, 59, 0.6);
}

.btn-secondary {
    background: rgba(0, 210, 211, 0.1);
    color: var(--accent-cyan);
    border: 1px solid var(--accent-cyan);
    box-shadow: 0 0 15px rgba(0, 210, 211, 0.2);
}

.btn-secondary:hover {
    background: rgba(0, 210, 211, 0.2);
    box-shadow: 0 0 25px rgba(0, 210, 211, 0.4);
    transform: translateY(-3px);
}

.btn-sm {
    padding: 10px 20px;
    font-size: 14px;
}

/* --- Ticker Section --- */
.ticker-wrap {
    width: 100%;
    overflow: hidden;
    background: rgba(11, 14, 20, 0.8);
    border-top: 1px solid rgba(0, 210, 211, 0.2);
    border-bottom: 1px solid rgba(0, 210, 211, 0.2);
    box-shadow: 0 0 20px rgba(0, 210, 211, 0.1);
    padding: 12px 0;
    position: absolute;
    bottom: 0;
    left: 0;
    backdrop-filter: blur(5px);
}

.ticker {
    display: flex;
    white-space: nowrap;
    animation: ticker-anim 40s linear infinite;
}

@keyframes ticker-anim {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.ticker-item {
    display: inline-block;
    padding: 0 30px;
    font-family: var(--font-mono);
    font-size: 14px;
    color: var(--text-muted);
}

.ticker-item span.profit {
    color: #00E676;
    text-shadow: 0 0 10px rgba(0, 230, 118, 0.5);
    font-weight: 700;
}

.ticker-item span.symbol {
    color: var(--text-main);
    font-weight: 700;
}

/* --- Header & Navbar --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    transition: var(--transition-smooth);
    will-change: background;
}

header.scrolled {
    padding: 10px 0;
    background: rgba(7, 9, 13, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    transition: var(--transition-smooth);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.logo span {
    color: var(--accent-gold);
    text-shadow: 0 0 10px rgba(229, 169, 59, 0.5);
}

.logo img {
    height: 32px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
    font-weight: 600;
}

.nav-links a {
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent-cyan);
    transition: var(--transition-fast);
    box-shadow: 0 0 8px var(--accent-cyan);
}

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

.nav-links a:hover {
    color: var(--text-main);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-main);
    border-radius: 2px;
    transition: var(--transition-fast);
}

/* --- Hero Section --- */
.hero {
    position: relative;
    padding: 200px 0 160px 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content h1 {
    font-size: 64px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-content p {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 520px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
}

.stat-item h3 {
    font-size: 36px;
    font-weight: 800;
    color: var(--accent-cyan);
    text-shadow: 0 0 15px rgba(0, 210, 211, 0.4);
}

.stat-item p {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* Hero Canvas Animation Container */
.hero-preview {
    position: relative;
    perspective: 1000px;
}

.preview-card {
    padding: 0;
    overflow: hidden;
    transform: rotateY(-5deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

.preview-card:hover {
    transform: rotateY(0) rotateX(0);
}

.preview-header {
    background: rgba(0, 0, 0, 0.3);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.preview-status {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--accent-cyan);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #00D2D3;
    border-radius: 50%;
    box-shadow: 0 0 12px #00D2D3;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.8); opacity: 0.5; }
    50% { transform: scale(1.5); opacity: 1; box-shadow: 0 0 20px #00D2D3; }
    100% { transform: scale(0.8); opacity: 0.5; }
}

.chart-container {
    height: 300px;
    position: relative;
    background: repeating-linear-gradient(
        to bottom,
        transparent,
        transparent 39px,
        rgba(255,255,255,0.02) 39px,
        rgba(255,255,255,0.02) 40px
    );
}

canvas#heroChart {
    width: 100%;
    height: 100%;
}

.console-mock {
    background: rgba(0,0,0,0.5);
    padding: 15px 20px;
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-muted);
    height: 100px;
    overflow: hidden;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.console-mock p {
    margin: 4px 0;
}

.console-mock .highlight {
    color: var(--accent-gold);
}

.console-mock .exec {
    color: var(--accent-cyan);
}

/* --- Features Section --- */
.features {
    position: relative;
    z-index: 1;
}

.section-header {
    max-width: 700px;
    margin: 0 auto 80px auto;
}

.section-header h2 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 18px;
}

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

.feature-card {
    padding: 40px 30px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: transparent;
    transition: var(--transition-fast);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
    border-color: rgba(229, 169, 59, 0.3);
}

.feature-card:hover::before {
    background: var(--gold-gradient);
    box-shadow: 0 0 15px var(--accent-gold);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 24px;
    display: inline-block;
    filter: drop-shadow(0 0 10px rgba(255,255,255,0.2));
}

.feature-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-main);
}

.feature-card p {
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.7;
}

/* --- Pricing Section --- */
.pricing {
    position: relative;
    padding-top: 60px;
}

.pricing-toggle-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-bottom: 60px;
}

.toggle-label {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition-fast);
}

.toggle-label.active {
    color: var(--text-main);
    text-shadow: 0 0 10px rgba(255,255,255,0.3);
}

.toggle-switch {
    position: relative;
    width: 64px;
    height: 34px;
    background-color: rgba(255,255,255,0.05);
    border-radius: 20px;
    cursor: pointer;
    border: 1px solid rgba(255,255,255,0.1);
}

.toggle-knob {
    position: absolute;
    top: 3px;
    left: 4px;
    width: 26px;
    height: 26px;
    background-color: var(--accent-gold);
    border-radius: 50%;
    transition: var(--transition-smooth);
    box-shadow: 0 0 10px rgba(229, 169, 59, 0.6);
}

.toggle-switch.active .toggle-knob {
    left: 32px;
    background-color: var(--accent-cyan);
    box-shadow: 0 0 10px rgba(0, 210, 211, 0.6);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    align-items: stretch;
}

.pricing-card {
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: var(--transition-smooth);
}

.pricing-card.popular {
    border: 1px solid rgba(229, 169, 59, 0.4);
    box-shadow: 0 0 40px rgba(229, 169, 59, 0.15);
    transform: scale(1.05);
    z-index: 2;
}

.pricing-card.popular:hover {
    box-shadow: 0 0 60px rgba(229, 169, 59, 0.25);
    transform: scale(1.06);
}

.badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gold-gradient);
    color: #000;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    box-shadow: 0 5px 15px rgba(229, 169, 59, 0.4);
}

.pricing-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
}

.price-container {
    margin-bottom: 30px;
}

.price {
    font-size: 54px;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1;
}

.billing-period {
    font-size: 16px;
    color: var(--text-muted);
    display: block;
    margin-top: 5px;
}

.pricing-card ul {
    list-style: none;
    margin-bottom: 40px;
    flex-grow: 1;
}

.pricing-card li {
    margin-bottom: 16px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.4;
}

.pricing-card li::before {
    content: "✓";
    color: var(--accent-cyan);
    font-weight: bold;
    font-size: 16px;
    text-shadow: 0 0 5px rgba(0, 210, 211, 0.5);
}

.pricing-card.popular li::before {
    color: var(--accent-gold);
    text-shadow: 0 0 5px rgba(229, 169, 59, 0.5);
}

/* --- FAQ Section --- */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    transition: var(--transition-fast);
}

.faq-item:hover {
    border-color: rgba(255, 255, 255, 0.1);
}

.faq-question {
    width: 100%;
    padding: 24px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    font-size: 18px;
    background: transparent;
    border: none;
    color: inherit;
    font-family: inherit;
    text-align: left;
}

.faq-icon {
    font-size: 24px;
    transition: transform 0.3s ease;
    color: var(--accent-cyan);
}

.faq-answer {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: var(--text-muted);
    font-size: 16px;
}

.faq-item.active .faq-answer {
    padding-bottom: 24px;
    max-height: 300px;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    color: var(--accent-gold);
}

/* --- Footer --- */
footer {
    padding: 80px 0 40px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
    background: rgba(7, 9, 13, 0.9);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand h2 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 20px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-brand h2 img {
    height: 32px;
    width: auto;
    display: block;
}

.footer-brand h2 span {
    color: var(--accent-gold);
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 15px;
    max-width: 400px;
}

.footer-links h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-main);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 16px;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 15px;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--accent-cyan);
    text-shadow: 0 0 10px rgba(0, 210, 211, 0.3);
}

.footer-disclaimer {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 30px;
    font-size: 12px;
    color: rgba(142, 155, 176, 0.5);
    line-height: 1.8;
}

/* --- Responsive Adjustments --- */
@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
    .pricing-card.popular {
        transform: scale(1);
    }
    .pricing-card.popular:hover {
        transform: scale(1.02);
    }
    .calc-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    header .btn-primary {
        display: none;
    }
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 50px;
    }
    .hero-content h1 {
        font-size: 48px;
    }
    .hero-content p {
        margin: 0 auto 30px auto;
    }
    .hero-actions {
        justify-content: center;
    }
    .hero-stats {
        justify-content: center;
    }
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(7, 9, 13, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 40px;
        text-align: center;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }
    .nav-links.active {
        display: flex;
    }
    .menu-toggle {
        display: flex;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* --- Documentation Page --- */
.doc-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    margin-top: 120px;
    align-items: start;
}

.doc-sidebar {
    position: sticky;
    top: 100px;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    padding: 24px;
}

.doc-sidebar h3 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-main);
    margin-bottom: 20px;
    font-weight: 700;
}

.doc-sidebar ul {
    list-style: none;
}

.doc-sidebar li {
    margin-bottom: 12px;
}

.doc-sidebar a {
    color: var(--text-muted);
    font-size: 14px;
    display: block;
    transition: var(--transition-fast);
}

.doc-sidebar a:hover, .doc-sidebar a.active {
    color: var(--accent-cyan);
    padding-left: 5px;
}

.doc-content {
    padding: 40px;
    margin-bottom: 100px;
}

.doc-section {
    margin-bottom: 60px;
    scroll-margin-top: 140px;
}

.doc-section h2 {
    font-size: 28px;
    color: var(--text-main);
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 12px;
}

.doc-section h3 {
    font-size: 20px;
    color: var(--accent-cyan);
    margin-top: 30px;
    margin-bottom: 16px;
}

.doc-section p {
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 16px;
}

.doc-section ul {
    list-style: none;
    margin-bottom: 24px;
}

.doc-section li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.6;
}

.doc-section li::before {
    content: "•";
    color: var(--accent-cyan);
    position: absolute;
    left: 0;
    font-weight: bold;
    font-size: 18px;
    top: -2px;
}

.doc-tip {
    background: rgba(229, 169, 59, 0.05);
    border-left: 4px solid var(--accent-gold);
    padding: 18px 24px;
    border-radius: 0 12px 12px 0;
    margin: 24px 0;
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
}

.doc-tip strong {
    color: var(--accent-gold);
}

@media (max-width: 991px) {
    .doc-layout {
        grid-template-columns: 1fr;
        margin-top: 100px;
    }
    .doc-sidebar {
        position: static;
        max-height: none;
        padding: 20px;
        border-bottom: 1px solid var(--border-color);
    }
    .doc-content {
        padding: 24px;
    }
}

/* --- Showcase Section --- */
.showcase-container {
    padding: 30px;
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.showcase-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.showcase-tab {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition-fast);
}

.showcase-tab:hover, .showcase-tab.active {
    background: rgba(0, 210, 211, 0.1);
    border-color: var(--accent-cyan);
    color: var(--text-main);
    box-shadow: 0 0 15px rgba(0, 210, 211, 0.2);
}

.showcase-viewer {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-premium);
    background: #000;
    display: flex;
    aspect-ratio: 1024 / 656;
}

.showcase-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: opacity 0.3s ease;
}

/* --- Infographic Sections --- */
.infographic-section {
    position: relative;
}

.infographic-container {
    max-width: 1100px;
    margin: 40px auto 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-premium);
    border: 1px solid var(--border-color);
    background: #000;
}

.infographic {
    width: 100%;
    height: auto;
    display: block;
}

.infographic-container {
    cursor: zoom-in;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.infographic-container:hover {
    transform: scale(1.01);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.infographic-hint {
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 12px;
    opacity: 0.7;
}

.infographic-hint a {
    color: var(--accent-cyan);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.infographic-hint a:hover {
    color: var(--accent-gold);
}

/* --- Image Lightbox Modal --- */
.image-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0, 0, 0, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    opacity: 1;
}

.image-modal[hidden] {
    display: none;
}

.image-modal img {
    max-width: 100%;
    max-height: 90vh;
    width: auto;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 48px;
    line-height: 1;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.modal-close:hover {
    opacity: 1;
}

@media (max-width: 768px) {
    .infographic-container {
        margin-top: 24px;
    }
    .image-modal {
        padding: 20px;
    }
    .modal-close {
        top: 10px;
        right: 15px;
        font-size: 36px;
    }
}


