:root {
    --primary: #0052cc;
    --primary-dark: #003d99;
    --accent: #00d2ff;
    --bg-pattern: #f8f9fa;
    --text-main: #1a1a1a;
    --text-muted: #6c757d;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-pattern);
    background-image: radial-gradient(#e9ecef 1.5px, transparent 1.5px);
    background-size: 30px 30px;
    overflow-x: hidden;
    color: var(--text-main);
}

/* Glassmorphism Header */
.glass-effect {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

/* Gradient Text for Headlines */
.gradient-text {
    background: -webkit-linear-gradient(45deg, #1a1a1a, var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Hero Animation Setup */
.hero {
    min-height: 100vh;
    padding-top: 80px;
    transition: min-height 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.hero.compact {
    min-height: 40vh;
}

/* Card Hover Effects */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 1rem 3rem rgba(0,0,0,.075) !important;
}

/* Icons & Scores */
.icon-circle {
    width: 60px; height: 60px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
}

.score-circle {
    width: 80px; height: 80px; border-radius: 50%;
    background: conic-gradient(var(--primary) calc(var(--score) * 10%), #eee 0);
    display: flex; justify-content: center; align-items: center;
    font-weight: 800; font-size: 1.5rem; position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.score-circle::before { 
    content: ''; position: absolute; width: 68px; height: 68px; 
    background: white; border-radius: 50%; 
}
.score-val { position: relative; z-index: 2; color: #333; }
.score-circle.small { width: 50px; height: 50px; font-size: 1rem; }
.score-circle.small::before { width: 42px; height: 42px; }

/* Utilities */
.letter-spacing-2 { letter-spacing: 2px; }
.accordion-button:not(.collapsed) { background-color: #f0f7ff; color: var(--primary); }
.accordion-button:focus { box-shadow: none; border-color: rgba(0,0,0,.125); }
.asset-img { height: 100px; object-fit: cover; width: 100%; border-radius: 8px; border: 1px solid #dee2e6; }

/* --- LEGAL PAGES STANDARD --- */
.legal-page-body {
    background: white;
}
.legal-container {
    max-width: 800px;
    margin: 120px auto 100px;
    padding: 0 20px;
    line-height: 1.7;
}
.legal-container h1 {
    font-size: 2.5rem;
    color: var(--primary);
    font-weight: 800;
    margin-bottom: 0.5rem;
}
.legal-container h2 {
    font-size: 1.4rem;
    margin-top: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
    border-bottom: 2px solid #f0f4f8;
    padding-bottom: 10px;
    color: #0d1b2a;
}
.legal-meta {
    display: block;
    color: var(--text-muted);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}
.legal-container ul {
    padding-left: 20px;
    margin-bottom: 20px;
}
.legal-container a {
    color: var(--primary);
    text-decoration: none;
}
.legal-container a:hover {
    text-decoration: underline;
}

/* Standardized Back Button */
.btn-back {
    display: inline-flex;
    align-items: center;
    margin-top: 50px;
    padding: 12px 30px;
    background: var(--primary);
    color: white !important;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.2s ease;
    box-shadow: 0 4px 10px rgba(0, 82, 204, 0.2);
}
.btn-back:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 82, 204, 0.3);
}

/* --- DRAG & DROP UPLOAD --- */
.upload-area {
    border: 2px dashed #cbd5e0;
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    background: #f8fafc;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}
.upload-area:hover, .upload-area.dragover {
    border-color: var(--primary);
    background: #eff6ff;
}
.upload-area i {
    color: #a0aec0;
    transition: color 0.3s;
}
.upload-area:hover i {
    color: var(--primary);
}
.file-list-item {
    transition: all 0.2s;
}
.file-list-item:hover {
    background-color: #f8f9fa;
}

/* Animations */
@keyframes slideUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}
.animate-up { animation: slideUp 0.6s ease-out forwards; }