/* ===== CORVINA LANDING - GLOBAL STYLES ===== */
:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --accent: #06b6d4;
    --accent-dark: #0891b2;
    --bg: #0f0f23;
    --bg-card: #1a1a2e;
    --bg-card-hover: #1e1e35;
    --surface: #16213e;
    --text: #e2e8f0;
    --text-muted: #94a3b8;
    --text-heading: #f8fafc;
    --border: #334155;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #06b6d4 100%);
    --gradient-hero: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
    --shadow-lg: 0 20px 60px rgba(0,0,0,0.3);
    --shadow-card: 0 4px 20px rgba(0,0,0,0.2);
    --radius: 12px;
    --radius-lg: 20px;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 { color: var(--text-heading); font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }
p { color: var(--text-muted); }

a { color: var(--primary-light); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent); }

/* ===== LAYOUT ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 6rem 0; }
.section-alt { background: var(--surface); }

.section-header { text-align: center; max-width: 700px; margin: 0 auto 3.5rem; }
.section-header h2 { margin-bottom: 1rem; }
.section-header p { font-size: 1.15rem; }

/* ===== BUTTONS ===== */
.btn-primary-landing {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.9rem 2rem; border-radius: 50px;
    background: var(--gradient-primary); color: #fff;
    font-weight: 600; font-size: 1.05rem;
    border: none; cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
}
.btn-primary-landing:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(99,102,241,0.4); color: #fff; }

.btn-secondary-landing {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.9rem 2rem; border-radius: 50px;
    background: transparent; color: var(--text);
    font-weight: 600; font-size: 1.05rem;
    border: 2px solid var(--border); cursor: pointer;
    transition: border-color 0.2s, color 0.2s;
    text-decoration: none;
}
.btn-secondary-landing:hover { border-color: var(--primary-light); color: var(--primary-light); }

/* ===== NAV ===== */
.landing-nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    padding: 1rem 0;
    background: rgba(15,15,35,0.85); backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(51,65,85,0.5);
    transition: background 0.3s;
}
.landing-nav .container { display: flex; align-items: center; justify-content: space-between; }
.nav-logo { font-size: 1.5rem; font-weight: 800; background: var(--gradient-primary); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.nav-links { display: flex; gap: 2rem; align-items: center; list-style: none; }
.nav-links a { color: var(--text-muted); font-size: 0.95rem; font-weight: 500; }
.nav-links a:hover { color: #fff; }

/* ===== HERO ===== */
.hero {
    min-height: 100vh; display: flex; align-items: center;
    background: var(--gradient-hero);
    padding-top: 5rem;
    position: relative; overflow: hidden;
}
.hero::before {
    content: ''; position: absolute; top: -50%; right: -20%; width: 800px; height: 800px;
    background: radial-gradient(circle, rgba(99,102,241,0.15) 0%, transparent 70%);
    border-radius: 50%;
}
.hero::after {
    content: ''; position: absolute; bottom: -30%; left: -10%; width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(6,182,212,0.1) 0%, transparent 70%);
    border-radius: 50%;
}
.hero .container { position: relative; z-index: 1; }
.hero-content { text-align: center; max-width: 850px; margin: 0 auto; }
.hero-badge {
    display: inline-block; padding: 0.4rem 1.2rem; border-radius: 50px;
    background: rgba(99,102,241,0.15); color: var(--primary-light);
    font-size: 0.85rem; font-weight: 600; margin-bottom: 1.5rem;
    border: 1px solid rgba(99,102,241,0.3);
}
.hero h1 { margin-bottom: 1.5rem; }
.hero h1 span { background: var(--gradient-primary); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-subtitle { font-size: 1.25rem; color: var(--text-muted); margin-bottom: 2.5rem; max-width: 650px; margin-left: auto; margin-right: auto; }
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 3rem; }
.hero-stats { display: flex; gap: 3rem; justify-content: center; margin-top: 3rem; padding-top: 3rem; border-top: 1px solid var(--border); }
.hero-stat { text-align: center; }
.hero-stat-number { font-size: 2rem; font-weight: 800; color: var(--text-heading); }
.hero-stat-label { font-size: 0.85rem; color: var(--text-muted); }

/* ===== PLATFORM BADGES ===== */
.platform-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 1rem;
}
.platform-badge {
    display: flex; flex-direction: column; align-items: center; gap: 0.75rem;
    padding: 1.5rem 1rem; border-radius: var(--radius);
    background: var(--bg-card); border: 1px solid var(--border);
    transition: transform 0.2s, border-color 0.2s;
}
.platform-badge:hover { transform: translateY(-4px); border-color: var(--primary); }
.platform-icon { font-size: 2rem; }
.platform-name { font-weight: 600; font-size: 0.9rem; color: var(--text-heading); }

/* ===== FEATURE CARDS ===== */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1.5rem; }
.feature-card {
    padding: 2rem; border-radius: var(--radius);
    background: var(--bg-card); border: 1px solid var(--border);
    transition: transform 0.2s, border-color 0.2s;
}
.feature-card:hover { transform: translateY(-4px); border-color: var(--primary); }
.feature-icon { width: 48px; height: 48px; border-radius: 12px; background: rgba(99,102,241,0.15); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 1.25rem; }
.feature-card h3 { margin-bottom: 0.75rem; font-size: 1.15rem; }
.feature-card p { font-size: 0.95rem; }

/* ===== HOW IT WORKS ===== */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; counter-reset: step; }
.step {
    position: relative; padding: 2.5rem 2rem 2rem; border-radius: var(--radius);
    background: var(--bg-card); border: 1px solid var(--border); text-align: center;
}
.step::before {
    counter-increment: step; content: counter(step);
    position: absolute; top: -1.25rem; left: 50%; transform: translateX(-50%);
    width: 2.5rem; height: 2.5rem; border-radius: 50%;
    background: var(--gradient-primary); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 1.1rem;
}
.step h3 { margin-bottom: 0.75rem; margin-top: 0.5rem; }

/* ===== ASSETS TABLE ===== */
.assets-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.asset-group {
    padding: 2rem; border-radius: var(--radius);
    background: var(--bg-card); border: 1px solid var(--border);
}
.asset-group h3 { margin-bottom: 1rem; display: flex; align-items: center; gap: 0.5rem; }
.asset-list { list-style: none; padding: 0; }
.asset-list li {
    padding: 0.5rem 0; border-bottom: 1px solid rgba(51,65,85,0.5);
    display: flex; align-items: center; gap: 0.5rem;
    font-size: 0.95rem; color: var(--text-muted);
}
.asset-list li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--primary); flex-shrink: 0; }

/* ===== COMPARISON ===== */
.comparison-table { width: 100%; border-collapse: collapse; border-radius: var(--radius); overflow: hidden; }
.comparison-table thead { background: var(--bg-card); }
.comparison-table th, .comparison-table td {
    padding: 1rem 1.5rem; text-align: left; border-bottom: 1px solid var(--border);
}
.comparison-table th { color: var(--text-heading); font-weight: 600; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.05em; }
.comparison-table td { color: var(--text-muted); font-size: 0.95rem; }
.comparison-table tbody tr { background: var(--surface); }
.comparison-table tbody tr:nth-child(even) { background: var(--bg-card); }
.check { color: var(--success); font-weight: 700; }
.cross { color: var(--danger); font-weight: 700; }

/* ===== WORKFLOWS ===== */
.workflows-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }
.workflow-card {
    padding: 2rem; border-radius: var(--radius);
    background: var(--bg-card); border: 1px solid var(--border);
    text-align: center; transition: transform 0.2s, border-color 0.2s;
}
.workflow-card:hover { transform: translateY(-4px); border-color: var(--accent); }
.workflow-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.workflow-card h3 { margin-bottom: 0.5rem; }

/* ===== TESTIMONIALS ===== */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1.5rem; }
.testimonial-card {
    padding: 2rem; border-radius: var(--radius);
    background: var(--bg-card); border: 1px solid var(--border);
}
.testimonial-text { font-size: 1rem; font-style: italic; margin-bottom: 1.5rem; color: var(--text); line-height: 1.7; }
.testimonial-author { display: flex; align-items: center; gap: 0.75rem; }
.testimonial-avatar {
    width: 48px; height: 48px; border-radius: 50%;
    background: var(--gradient-primary); display: flex; align-items: center; justify-content: center;
    font-weight: 700; color: #fff; font-size: 1.1rem;
}
.testimonial-info strong { display: block; color: var(--text-heading); font-size: 0.95rem; }
.testimonial-info span { font-size: 0.85rem; color: var(--text-muted); }

/* ===== FAQ ===== */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
    border-bottom: 1px solid var(--border); padding: 1.5rem 0;
}
.faq-question {
    font-size: 1.1rem; font-weight: 600; color: var(--text-heading);
    cursor: pointer; display: flex; justify-content: space-between; align-items: center;
    background: none; border: none; width: 100%; text-align: left; padding: 0;
}
.faq-question:hover { color: var(--primary-light); }
.faq-answer { margin-top: 1rem; color: var(--text-muted); line-height: 1.7; display: none; }
.faq-item.open .faq-answer { display: block; }
.faq-toggle { font-size: 1.5rem; color: var(--primary-light); transition: transform 0.2s; flex-shrink: 0; }
.faq-item.open .faq-toggle { transform: rotate(45deg); }

/* ===== BENEFITS ===== */
.benefits-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }
.benefit-card {
    padding: 2rem; border-radius: var(--radius);
    background: var(--bg-card); border: 1px solid var(--border); text-align: center;
}
.benefit-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.benefit-card h3 { margin-bottom: 0.5rem; font-size: 1.1rem; }

/* ===== LEAD FORM ===== */
.lead-form-section {
    background: var(--gradient-primary); padding: 5rem 0;
}
.lead-form-card {
    max-width: 600px; margin: 0 auto; padding: 3rem;
    background: rgba(255,255,255,0.08); backdrop-filter: blur(20px);
    border-radius: var(--radius-lg); border: 1px solid rgba(255,255,255,0.15);
}
.lead-form-card h2 { color: #fff; text-align: center; margin-bottom: 0.5rem; }
.lead-form-card .subtitle { color: rgba(255,255,255,0.8); text-align: center; margin-bottom: 2rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-weight: 600; color: rgba(255,255,255,0.9); margin-bottom: 0.4rem; font-size: 0.9rem; }
.form-input {
    width: 100%; padding: 0.85rem 1rem; border-radius: 10px;
    background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
    color: #fff; font-size: 1rem; transition: border-color 0.2s;
}
.form-input::placeholder { color: rgba(255,255,255,0.4); }
.form-input:focus { outline: none; border-color: rgba(255,255,255,0.5); }
.form-select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.75rem center; background-size: 1.5rem; }
.form-select option { background: var(--bg); color: var(--text); }
.form-submit {
    width: 100%; padding: 1rem; border-radius: 50px;
    background: #fff; color: var(--primary-dark);
    font-weight: 700; font-size: 1.1rem; border: none; cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}
.form-submit:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0,0,0,0.3); }
.form-submit:disabled { opacity: 0.7; cursor: not-allowed; transform: none; }
.form-message { text-align: center; margin-top: 1rem; font-weight: 600; }
.form-message.success { color: #a7f3d0; }
.form-message.error { color: #fca5a5; }

/* ===== ROADMAP ===== */
.roadmap-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
.roadmap-card {
    display: flex; flex-direction: column; align-items: flex-start;
    padding: 2rem; border-radius: var(--radius);
    background: var(--bg-card); border: 1px solid var(--border);
    transition: transform 0.2s, border-color 0.2s;
}
.roadmap-card:hover { transform: translateY(-4px); }
.roadmap-card.rm-done { border-top: 3px solid var(--success); }
.roadmap-card.rm-progress { border-top: 3px solid var(--warning); }
.roadmap-card.rm-planned { border-top: 3px solid var(--primary); }
.rm-icon { font-size: 2rem; margin-bottom: 1rem; line-height: 1; }
.rm-badge {
    display: inline-block; padding: 0.25rem 0.85rem; border-radius: 50px;
    font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em;
    margin-bottom: 1rem;
}
.rm-badge-done { background: rgba(16,185,129,0.15); color: var(--success); }
.rm-badge-progress { background: rgba(245,158,11,0.15); color: var(--warning); }
.rm-badge-planned { background: rgba(99,102,241,0.15); color: var(--primary-light); }
.roadmap-card h3 { color: var(--text-heading); font-size: 1.15rem; margin-bottom: 0.5rem; }
.roadmap-card p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 1rem; line-height: 1.6; }
.rm-features {
    list-style: none; padding: 0; margin: 0; width: 100%;
    border-top: 1px solid var(--border); padding-top: 1rem;
}
.rm-features li {
    padding: 0.35rem 0; color: var(--text-muted); font-size: 0.85rem;
    display: flex; align-items: center; gap: 0.5rem;
}
.rm-features li::before {
    content: ''; width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0;
}
.rm-done .rm-features li::before { background: var(--success); }
.rm-progress .rm-features li::before { background: var(--warning); }
.rm-planned .rm-features li::before { background: var(--primary); }
@media (max-width: 900px) { .roadmap-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .roadmap-grid { grid-template-columns: 1fr; } }

/* ===== BLOG SECTION ===== */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1.5rem; }
.blog-card {
    border-radius: var(--radius); background: var(--bg-card); border: 1px solid var(--border);
    overflow: hidden; transition: transform 0.2s;
}
.blog-card:hover { transform: translateY(-4px); }
.blog-thumb {
    width: 100%; height: 200px; display: flex; align-items: center; justify-content: center;
    overflow: hidden; position: relative;
}
.blog-thumb svg { width: 100%; height: 100%; display: block; }
.blog-thumb-1 { background: linear-gradient(135deg, #6366f1, #06b6d4); }
.blog-thumb-2 { background: linear-gradient(135deg, #8b5cf6, #6366f1); }
.blog-thumb-3 { background: linear-gradient(135deg, #10b981, #06b6d4); }
.blog-body { padding: 1.5rem; }
.blog-tag { display: inline-block; padding: 0.2rem 0.6rem; border-radius: 50px; background: rgba(99,102,241,0.15); color: var(--primary-light); font-size: 0.75rem; font-weight: 600; margin-bottom: 0.75rem; }
.blog-card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.blog-card p { font-size: 0.9rem; }

/* ===== CTA FINAL ===== */
.final-cta {
    text-align: center; padding: 6rem 0;
    background: var(--gradient-hero); position: relative;
}
.final-cta h2 { margin-bottom: 1rem; }
.final-cta p { margin-bottom: 2rem; font-size: 1.15rem; }

/* ===== FOOTER ===== */
.landing-footer {
    background: var(--bg-card); border-top: 1px solid var(--border); padding: 3rem 0 2rem;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; margin-bottom: 2rem; }
.footer-brand p { margin-top: 0.75rem; font-size: 0.9rem; }
.footer-col h4 { color: var(--text-heading); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 1rem; }
.footer-col ul { list-style: none; padding: 0; }
.footer-col li { margin-bottom: 0.5rem; }
.footer-col a { color: var(--text-muted); font-size: 0.9rem; }
.footer-col a:hover { color: var(--primary-light); }
.footer-bottom { text-align: center; padding-top: 2rem; border-top: 1px solid var(--border); color: var(--text-muted); font-size: 0.85rem; }

/* ===== ADMIN STYLES ===== */
.admin-layout { display: flex; min-height: 100vh; }
.admin-sidebar {
    width: 260px; background: var(--bg-card); border-right: 1px solid var(--border);
    padding: 2rem 1.5rem; flex-shrink: 0;
}
.admin-sidebar .logo { font-size: 1.3rem; font-weight: 800; background: var(--gradient-primary); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; margin-bottom: 2rem; }
.admin-nav { list-style: none; padding: 0; }
.admin-nav li { margin-bottom: 0.25rem; }
.admin-nav a {
    display: flex; align-items: center; gap: 0.75rem;
    padding: 0.75rem 1rem; border-radius: 8px;
    color: var(--text-muted); font-weight: 500; font-size: 0.95rem;
    transition: background 0.2s, color 0.2s;
}
.admin-nav a:hover, .admin-nav a.active { background: rgba(99,102,241,0.15); color: var(--primary-light); }
.admin-main { flex: 1; padding: 2rem; overflow-y: auto; }
.admin-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; }
.admin-header h1 { font-size: 1.8rem; }

.stat-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; margin-bottom: 2rem; }
.stat-card {
    padding: 1.5rem; border-radius: var(--radius);
    background: var(--bg-card); border: 1px solid var(--border);
}
.stat-card .label { font-size: 0.85rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; }
.stat-card .value { font-size: 2rem; font-weight: 800; color: var(--text-heading); margin-top: 0.25rem; }
.stat-card .change { font-size: 0.85rem; margin-top: 0.25rem; }
.stat-card .change.up { color: var(--success); }

.data-table { width: 100%; border-collapse: collapse; background: var(--bg-card); border-radius: var(--radius); overflow: hidden; }
.data-table th, .data-table td { padding: 0.85rem 1rem; text-align: left; border-bottom: 1px solid var(--border); }
.data-table th { background: var(--surface); color: var(--text-heading); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; font-weight: 600; }
.data-table td { color: var(--text-muted); font-size: 0.9rem; }
.data-table tbody tr:hover { background: var(--bg-card-hover); }

.admin-btn {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.6rem 1.25rem; border-radius: 8px;
    font-weight: 600; font-size: 0.9rem; cursor: pointer;
    border: 1px solid var(--border); background: var(--bg-card); color: var(--text);
    transition: border-color 0.2s;
}
.admin-btn:hover { border-color: var(--primary); }
.admin-btn-primary { background: var(--gradient-primary); border: none; color: #fff; }
.admin-btn-primary:hover { box-shadow: 0 4px 15px rgba(99,102,241,0.3); }

/* Login page */
.login-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--gradient-hero); }
.login-card {
    width: 100%; max-width: 420px; padding: 3rem;
    background: var(--bg-card); border-radius: var(--radius-lg);
    border: 1px solid var(--border); box-shadow: var(--shadow-lg);
}
.login-card h1 { text-align: center; margin-bottom: 0.5rem; font-size: 1.5rem; }
.login-card .subtitle { text-align: center; color: var(--text-muted); margin-bottom: 2rem; }
.login-input {
    width: 100%; padding: 0.85rem 1rem; border-radius: 10px;
    background: var(--surface); border: 1px solid var(--border);
    color: var(--text); font-size: 1rem; margin-bottom: 1rem;
}
.login-input:focus { outline: none; border-color: var(--primary); }
.login-btn {
    width: 100%; padding: 0.9rem; border-radius: 50px;
    background: var(--gradient-primary); color: #fff;
    font-weight: 700; font-size: 1rem; border: none; cursor: pointer;
}
.login-error { color: var(--danger); text-align: center; margin-top: 1rem; font-size: 0.9rem; }

/* ===== CHART (simple CSS bar chart) ===== */
.bar-chart { display: flex; align-items: flex-end; gap: 4px; height: 200px; padding: 1rem 0; }
.bar-chart .bar {
    flex: 1; background: var(--gradient-primary); border-radius: 4px 4px 0 0;
    min-width: 8px; position: relative; transition: height 0.3s;
}
.bar-chart .bar:hover { opacity: 0.8; }
.bar-chart .bar .bar-label {
    position: absolute; bottom: -1.5rem; left: 50%; transform: translateX(-50%);
    font-size: 0.6rem; color: var(--text-muted); white-space: nowrap;
}
.bar-chart .bar .bar-value {
    position: absolute; top: -1.5rem; left: 50%; transform: translateX(-50%);
    font-size: 0.7rem; color: var(--text); font-weight: 600;
}
.chart-container { background: var(--bg-card); border-radius: var(--radius); padding: 1.5rem; border: 1px solid var(--border); margin-bottom: 1.5rem; }
.chart-container h3 { margin-bottom: 1rem; font-size: 1rem; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero-stats { flex-direction: column; gap: 1.5rem; }
    .footer-grid { grid-template-columns: 1fr; }
    .admin-sidebar { display: none; }
    .admin-main { padding: 1rem; }
    .stat-cards { grid-template-columns: 1fr 1fr; }
    .comparison-table { font-size: 0.85rem; }
    .comparison-table th, .comparison-table td { padding: 0.75rem; }
}

@media (max-width: 480px) {
    .hero-actions { flex-direction: column; align-items: center; }
    .stat-cards { grid-template-columns: 1fr; }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.animate-in { animation: fadeInUp 0.6s ease forwards; }

/* Blazor specific overrides */
.blazor-error-boundary { background: var(--danger); padding: 1rem; color: #fff; border-radius: var(--radius); }
.blazor-error-boundary::after { content: "An error has occurred."; }
#blazor-error-ui { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999; padding: 0.75rem; background: var(--danger); color: #fff; text-align: center; }
