/* 
   REPORT STYLE: Modern Productivity Report 2026
   Author: Aria (Subagent)
   Task ID: 190 | Run ID: 13
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&family=Poppins:wght@400;600;800&display=swap');

:root {
    /* Color Palette - Professional Blues + Energetic Accents */
    --primary: #0052FF;
    --primary-dark: #003ECC;
    --secondary: #00D1FF;
    --accent: #7000FF;
    --success: #00E676;
    --bg-light: #F8FAFC;
    --text-main: #1E293B;
    --text-muted: #64748B;
    --white: #FFFFFF;
    --card-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

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

h1, h2, h3, h4 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

/* Layout */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 80px 0;
    width: 100%;
}

.full-width {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

/* Sticky Index / Sidebar */
#report-index {
    position: sticky;
    top: 2rem;
    height: fit-content;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 1rem;
    box-shadow: var(--card-shadow);
    display: none; /* Desktop only */
}

@media (min-width: 1024px) {
    .main-layout {
        display: grid;
        grid-template-columns: 280px 1fr;
        gap: 3rem;
        align-items: start;
    }
    #report-index {
        display: block;
    }
}

#report-index ul {
    list-style: none;
}

#report-index li a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    display: block;
    padding: 0.5rem 0;
    transition: var(--transition);
    border-left: 2px solid transparent;
    padding-left: 1rem;
}

#report-index li a:hover, #report-index li a.active {
    color: var(--primary);
    border-left-color: var(--primary);
    background: rgba(0, 82, 255, 0.05);
}

/* Cards & Components */
.card {
    background: var(--white);
    border-radius: 1.25rem;
    padding: 2rem;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

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

.animate-fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

/* Visual Highlights */
.hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--secondary) 100%);
    color: var(--white);
    padding: 120px 0;
    text-align: center;
    clip-path: polygon(0 0, 100% 0, 100% 90%, 0% 100%);
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.badge {
    display: inline-block;
    padding: 0.25rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    background: var(--secondary);
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

/* Responsive (Mobile First already implemented via clamp and auto-fit) */

/* Dark Mode (Class based) */
body.dark-mode {
    --bg-light: #0F172A;
    --text-main: #F1F5F9;
    --text-muted: #94A3B8;
    --white: #1E293B;
    --card-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
}

/* Print Styles */
@media print {
    #report-index, .no-print {
        display: none !important;
    }
    body {
        background: white;
        color: black;
    }
    .card {
        box-shadow: none;
        border: 1px solid #ddd;
        page-break-inside: avoid;
    }
    .hero {
        background: none;
        color: black;
        clip-path: none;
        padding: 40px 0;
    }
}
