:root {
    /* Color Palette - Deep Space & Neon */
    --bg-dark: #020617; /* Slate 950 base */
    --bg-card: rgba(30, 41, 59, 0.4); /* Slate 800 with opacity */
    --bg-card-hover: rgba(30, 41, 59, 0.6);
    
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;

    /* Accents */
    --accent-primary: #8b5cf6; /* Violet */
    --accent-secondary: #ec4899; /* Pink */
    --accent-success: #10b981; /* Emerald */
    --accent-danger: #ef4444; /* Red */
    --accent-glow: rgba(139, 92, 246, 0.3);

    /* Gradients */
    --gradient-main: linear-gradient(135deg, #8b5cf6 0%, #3b82f6 100%);
    --gradient-bg: radial-gradient(circle at top right, #1e1b4b, transparent 40%),
                   radial-gradient(circle at bottom left, #312e81, transparent 40%);
}

* {
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    background-image: var(--gradient-bg);
    background-attachment: fixed;
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3 {
    font-family: 'Outfit', sans-serif;
    margin: 0;
    font-weight: 700;
}

.mono {
    font-family: 'Space Grotesk', monospace;
}

/* Logic Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* Glassmorphism Cards */
.glass-panel {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-panel:hover {
    box-shadow: 0 0 25px var(--accent-glow);
    border-color: rgba(255, 255, 255, 0.1);
}

/* Header Section */
.hero-section {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.goal-label {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.2rem;
    color: var(--accent-primary);
    margin-bottom: 1rem;
    display: block;
    font-weight: 600;
}

.big-counter {
    font-size: 5rem;
    line-height: 1;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
    text-shadow: 0 0 40px rgba(139, 92, 246, 0.2);
}

@media (max-width: 768px) {
    .big-counter { font-size: 3rem; }
}

.sub-info {
    color: var(--text-secondary);
    display: flex;
    justify-content: center;
    gap: 2rem;
    font-size: 0.95rem;
}

.sub-info strong { color: var(--text-primary); }

/* Dashboard Grid */
.dashboard-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    animation: fadeIn 0.8s ease-out;
}

@media (max-width: 900px) {
    .dashboard-grid { grid-template-columns: 1fr; }
}

/* Chart Container */
.chart-container {
    position: relative;
    height: 350px;
    width: 100%;
}

/* Timeline / Milestones */
.timeline-container {
    padding-right: 10px;
    max-height: 450px;
    overflow-y: auto;
}

/* Timeline Items */
.timeline-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
    padding: 1rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid transparent;
    transition: all 0.2s;
}

.timeline-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--text-muted);
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

.timeline-item.success .status-dot {
    background: var(--accent-success);
    box-shadow: 0 0 12px var(--accent-success);
}

.timeline-item.fail .status-dot {
    background: var(--accent-danger);
    box-shadow: 0 0 12px var(--accent-danger);
}

.timeline-item.pending .status-dot {
    background: var(--accent-primary);
    animation: pulse 2s infinite;
}

.month-name {
    font-weight: 600;
    font-size: 1rem;
    flex-grow: 1;
}

.month-value {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Animations */
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(139, 92, 246, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(139, 92, 246, 0); }
    100% { box-shadow: 0 0 0 0 rgba(139, 92, 246, 0); }
}

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

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #334155; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #475569; }
