/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #e5e7eb;
    background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 100%);
    min-height: 100vh;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    background: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #374151;
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
}

.navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #e5e7eb;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-brand:hover {
    color: #9945ff;
}

.nav-brand i {
    font-size: 0.9rem;
}

.nav-links {
    display: flex;
    gap: 1rem;
}

.external-link {
    background: linear-gradient(135deg, #9945ff, #7c3aed);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.external-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(153, 69, 255, 0.4);
}

/* Hero Section */
.hero-section {
    padding: 5rem 0;
    text-align: center;
    background: linear-gradient(135deg, #4c1d95 0%, #9945ff 50%, #4c1d95 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(153,69,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.breadcrumb {
    margin-bottom: 2rem;
    font-size: 0.9rem;
    color: #c4b5fd;
}

.breadcrumb a {
    color: #c4b5fd;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #ffffff;
}

.breadcrumb span {
    margin: 0 0.5rem;
    opacity: 0.6;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #c4b5fd, #9945ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #c4b5fd;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #c4b5fd;
    font-size: 0.9rem;
}

.meta-item i {
    color: #9945ff;
}

.stats-preview {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.stat-card {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: #c4b5fd;
}

/* Chart Section */
.chart-section {
    padding: 5rem 0;
    background: #111827;
}

.chart-container {
    max-width: 1200px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.chart-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-end;
}

.chart-toggles {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.chart-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #cbd5e1;
    cursor: pointer;
    transition: color 0.3s ease;
}

.chart-toggle:hover {
    color: #9945ff;
}

.chart-toggle input[type="checkbox"] {
    appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid #374151;
    border-radius: 4px;
    background: transparent;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.chart-toggle input[type="checkbox"]:checked {
    background: #9945ff;
    border-color: #9945ff;
}

.chart-toggle input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.export-button {
    background: linear-gradient(135deg, #7c3aed, #6d28d9);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    border: none;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.export-button:hover {
    background: linear-gradient(135deg, #6d28d9, #5b21b6);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(153, 69, 255, 0.3);
}

.chart-header h2 {
    font-size: 1.8rem;
    color: #f8fafc;
    margin: 0;
}

.chart-controls {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.time-filter {
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    color: #e5e7eb;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.time-filter:hover,
.time-filter.active {
    background: #9945ff;
    border-color: #9945ff;
    color: #ffffff;
}

.chart-wrapper {
    position: relative;
    height: 500px;
    margin-bottom: 1rem;
}

.chart-legend {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #cbd5e1;
}

.legend-color {
    width: 16px;
    height: 16px;
    border-radius: 3px;
}

/* Analysis Section */
.analysis-section {
    padding: 5rem 0;
    background: #0f0f0f;
}

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

.analysis-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #f8fafc;
}

.analysis-intro {
    font-size: 1.2rem;
    color: #cbd5e1;
    margin-bottom: 3rem;
    line-height: 1.7;
}

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

.insight-card {
    background: rgba(153, 69, 255, 0.1);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(153, 69, 255, 0.2);
    text-align: center;
    transition: all 0.3s ease;
}

.insight-card:hover {
    transform: translateY(-5px);
    background: rgba(153, 69, 255, 0.15);
    border-color: #9945ff;
}

.insight-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #9945ff, #7c3aed);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.insight-icon i {
    font-size: 1.5rem;
    color: #ffffff;
}

.insight-card h3 {
    font-size: 1.3rem;
    color: #9945ff;
    margin-bottom: 1rem;
}

.insight-card p {
    color: #cbd5e1;
    line-height: 1.6;
}

/* Insights Section */
.insights-section {
    padding: 5rem 0;
    background: #111827;
}

.insights-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #f8fafc;
}

.insights-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.insight-block {
    background: rgba(255, 255, 255, 0.05);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.insight-block h3 {
    font-size: 1.5rem;
    color: #9945ff;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.insight-list {
    list-style: none;
    space-y: 1rem;
}

.insight-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: #cbd5e1;
    line-height: 1.6;
}

.insight-list i {
    color: #9945ff;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.insight-list strong {
    color: #f8fafc;
}



/* CTA Section */
.cta-section {
    padding: 5rem 0;
    background: #111827;
}

.cta-card {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    background: rgba(153, 69, 255, 0.1);
    padding: 3rem;
    border-radius: 16px;
    border: 1px solid rgba(153, 69, 255, 0.2);
}

.cta-card h2 {
    font-size: 2.5rem;
    color: #f8fafc;
    margin-bottom: 1rem;
}

.cta-card p {
    font-size: 1.2rem;
    color: #cbd5e1;
    margin-bottom: 2.5rem;
}

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

.cta-button {
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.cta-button.primary {
    background: linear-gradient(135deg, #9945ff, #7c3aed);
    color: white;
    box-shadow: 0 4px 15px rgba(153, 69, 255, 0.3);
}

.cta-button.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(153, 69, 255, 0.4);
}

.cta-button.secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #e5e7eb;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-button.secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.cta-disclaimer {
    font-size: 0.9rem;
    color: #9ca3af;
    font-style: italic;
}

/* Footer */
.footer {
    background: #0f0f0f;
    border-top: 1px solid #374151;
    padding: 3rem 0 1rem;
    width: 100%;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    margin-bottom: 2rem;
}

.footer-brand h3 {
    color: #9945ff;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.footer-brand p {
    color: #9ca3af;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #9945ff;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #374151;
    color: #9ca3af;
    max-width: 1400px;
    margin: 0 auto;
    padding-left: 2rem;
    padding-right: 2rem;
}

.disclaimer {
    font-size: 0.8rem;
    margin-top: 0.5rem;
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-meta {
        flex-direction: column;
        gap: 1rem;
    }
    
    .stats-preview {
        flex-direction: column;
        gap: 1rem;
    }
    
    .navbar-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        padding: 1rem 2rem;
    }
    
    .chart-header {
        flex-direction: column;
        align-items: stretch;
    }
    
    .chart-options {
        align-items: stretch;
    }
    
    .chart-controls {
        justify-content: center;
    }
    
    .chart-toggles {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .chart-wrapper {
        height: 300px;
    }
    
    .insights-container {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-button {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-section {
        padding: 3rem 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .chart-container {
        padding: 1rem;
    }
    
    .insight-block {
        padding: 1.5rem;
    }
    
    .insights-container {
        grid-template-columns: 1fr;
    }
} 