:root {
    --bg-dark: #07090E;
    --bg-panel: #11151F;
    --neon-green: #00ff88;
    --neon-red: #ff003c;
    --text-main: #ffffff;
    --text-muted: #8b9bb4;
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Background Atmosphere */
.background-glow {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 80vw;
    height: 80vh;
    background: radial-gradient(circle, rgba(0, 255, 136, 0.05) 0%, rgba(7, 9, 14, 0) 70%);
    transform: translate(-50%, -50%);
    z-index: -2;
    pointer-events: none;
}

.scanline {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,0) 50%, rgba(0, 0, 0, 0.1) 50%, rgba(0, 0, 0, 0.1));
    background-size: 100% 4px;
    z-index: -1;
    pointer-events: none;
    opacity: 0.3;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 5%;
    border-bottom: 1px solid rgba(0, 255, 136, 0.1);
}

.logo {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pulse-dot {
    width: 10px;
    height: 10px;
    background-color: var(--neon-green);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--neon-green);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 255, 136, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(0, 255, 136, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 255, 136, 0); }
}

.highlight {
    color: var(--neon-green);
    text-shadow: 0 0 15px rgba(0, 255, 136, 0.5);
}

.back-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.back-link:hover {
    color: var(--neon-green);
}

main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 5%;
}

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

.hero h1 {
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.hero .subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 3rem auto;
}

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

.metric-card {
    background: var(--bg-panel);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(0, 255, 136, 0.02);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.metric-card:hover {
    transform: translateY(-5px);
    border-color: var(--neon-green);
}

.metric-value {
    font-size: 3rem;
    font-weight: 900;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.metric-label {
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
}

.chart-section {
    margin-bottom: 6rem;
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 1rem;
}

.chart-header h2 {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.live-status {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--neon-green);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.chart-subtext {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.chart-container {
    position: relative;
    width: 100%;
    height: 500px;
    background: var(--bg-panel);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.6);
}

#chart-widget {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.chart-overlay-stats {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 10;
    background: rgba(7, 9, 14, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 255, 136, 0.3);
    padding: 1rem;
    border-radius: 8px;
    font-family: monospace;
    font-size: 0.9rem;
    pointer-events: none;
}

.stat-row {
    margin-bottom: 5px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

#dynamic-profit {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed rgba(255,255,255,0.2);
    color: var(--neon-green);
    font-weight: bold;
    font-size: 1.1rem;
}

.chart-loading {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--neon-green);
    font-family: monospace;
    font-size: 1.2rem;
    letter-spacing: 3px;
    z-index: 20;
    background: var(--bg-panel);
}

/* Persuasion limits */
.persuasion-section {
    display: flex;
    justify-content: center;
    text-align: center;
}

.text-block {
    max-width: 800px;
}

.text-block h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--text-main);
}

.text-block p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.cta-button {
    margin-top: 3rem;
    background: transparent;
    color: var(--neon-green);
    border: 2px solid var(--neon-green);
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 2px;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
}

.cta-button:hover {
    background: var(--neon-green);
    color: var(--bg-dark);
    box-shadow: 0 0 30px rgba(0, 255, 136, 0.6);
}

@media (max-width: 768px) {
    .hero h1 { font-size: 2.8rem; }
    .chart-container { height: 400px; }
}
