:root {
    /* --- PALETTE VITALS (Deep & Rich) --- */
    /* Indigo Profond (Base solide) */
    --primary-900: #1e1b4b;
    --primary-800: #312e81;
    --primary-600: #4f46e5;
    --primary: #6366f1;
    --primary-glow: rgba(99, 102, 241, 0.5);

    /* Violet Électrique (Accent) */
    --secondary: #8b5cf6;
    --secondary-glow: rgba(139, 92, 246, 0.5);

    /* Gold (Luxe) */
    --gold: #fbbf24;
    --gold-dim: #d97706;
    --gold-glow: rgba(251, 191, 36, 0.5);

    /* Backgrounds & Surfaces - Light Mode */
    --bg-deep: #0f172a;
    --bg-body: #f8fafc;
    --bg-surface: #ffffff;
    --bg-card: #ffffff;
    --bg-hover: #f1f5f9;
    --bg-input: #ffffff;

    /* Text - Light Mode */
    --text-main: #0f172a;
    --text-muted: #475569;
    --text-light: #64748b;

    /* Borders - Light Mode */
    --border: #e2e8f0;
    --border-light: #f1f5f9;

    /* Spacing System (Fibonacci - Dense) */
    --space-1: 8px;
    --space-2: 13px;
    --space-3: 21px;
    --space-4: 34px;
    --space-5: 55px;
    --space-6: 89px;
    --space-7: 144px;

    /* --- RICH DETAILS --- */
    --noise-texture: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");

    --glass-border: 1px solid rgba(255, 255, 255, 0.5);
    --glass-shine: linear-gradient(125deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.05));

    --shadow-deep:
        0 4px 6px -1px rgba(0, 0, 0, 0.1),
        0 2px 4px -1px rgba(0, 0, 0, 0.06),
        0 20px 25px -5px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(0, 0, 0, 0.03);
    /* micro-border */

    /* --- SACRED GEOMETRY SPACING (Fibonacci) --- */

    /* --- GOLDEN RATIO TYPOGRAPHY --- */
    --font-xs: 0.8rem;
    --font-sm: 1rem;
    --font-base: 1.25rem;
    --font-md: 1.563rem;
    --font-lg: 1.953rem;
    --font-xl: 2.441rem;
    --font-2xl: 3.052rem;
    --font-3xl: 3.815rem;

    /* --- DEPTH & SHADOWS --- */
    --shadow-subtle: 0 4px 6px -1px rgba(99, 102, 241, 0.05), 0 2px 4px -1px rgba(99, 102, 241, 0.03);
    --shadow-card: 0 10px 15px -3px rgba(99, 102, 241, 0.08), 0 4px 6px -2px rgba(99, 102, 241, 0.04);
    --shadow-float: 0 20px 25px -5px rgba(99, 102, 241, 0.1), 0 10px 10px -5px rgba(99, 102, 241, 0.04);
    --shadow-glow: 0 0 20px rgba(99, 102, 241, 0.3);

    /* --- SEMANTIC COLORS --- */
    --success: #059669;
    --success-bg: #ecfdf5;
    --warning: #d97706;
    --warning-bg: #fffbeb;
    --danger: #dc2626;
    --danger-bg: #fef2f2;
    --primary-100: #e0e7ff;

    /* --- UI ELEMENTS --- */
    --text-light: #64748b;
    --border: #e2e8f0;
    --bg-secondary: #f8fafc;

    /* --- BORDERS & RADIUS --- */
    --radius-sm: 8px;
    --radius-md: 13px;
    --radius-lg: 21px;
    --radius-full: 9999px;

    /* --- ANIMATIONS --- */
    --ease-out-back: cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);

    /* --- TRANSITIONS --- */
    --transition-fast: 150ms ease;
    --transition-base: 200ms ease;
    --transition-slow: 300ms ease;
}

/* === DARK MODE === */
[data-theme="dark"] {
    --bg-body: #0f172a;
    --bg-surface: #1e293b;
    --bg-card: #1e293b;
    --bg-hover: #334155;
    --bg-input: #1e293b;
    --bg-deep: #020617;
    --bg-secondary: #1e293b;

    --text-main: #f1f5f9;
    --text-muted: #94a3b8;
    --text-light: #64748b;

    --border: #334155;
    --border-light: #1e293b;

    --glass-border: 1px solid rgba(255, 255, 255, 0.1);
    --glass-shine: linear-gradient(125deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02));

    --shadow-subtle: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    --shadow-card: 0 10px 15px -3px rgba(0, 0, 0, 0.4);
    --shadow-float: 0 20px 25px -5px rgba(0, 0, 0, 0.5);

    --noise-texture: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.02'/%3E%3C/svg%3E");
}

[data-theme="dark"] body {
    background-image: var(--noise-texture), 
                      radial-gradient(circle at 0% 0%, rgba(99, 102, 241, 0.15) 0%, transparent 50%), 
                      radial-gradient(circle at 100% 100%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
}

[data-theme="dark"] .sidebar {
    background: rgba(30, 41, 59, 0.95);
    border-right: 1px solid var(--border);
}

[data-theme="dark"] .menu-link:hover {
    background: var(--bg-hover);
}

[data-theme="dark"] .menu-link.active {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, rgba(30, 41, 59, 1) 100%);
}

[data-theme="dark"] .kpi-card,
[data-theme="dark"] .analyzer-card,
[data-theme="dark"] .feature-card,
[data-theme="dark"] .rich-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
}

[data-theme="dark"] .form-input {
    background: var(--bg-input);
    border-color: var(--border);
    color: var(--text-main);
}

[data-theme="dark"] .form-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

[data-theme="dark"] .btn-outline {
    border-color: var(--border);
    color: var(--text-main);
}

[data-theme="dark"] .btn-outline:hover {
    background: var(--bg-hover);
}

[data-theme="dark"] table tr {
    border-color: var(--border);
}

[data-theme="dark"] table th {
    background: var(--bg-surface);
}

[data-theme="dark"] .glass-panel {
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Dark mode toggle button */
.theme-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-card);
}

.theme-toggle:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-float);
}

/* === MICRO-INTERACTIONS & ANIMATIONS === */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideIn {
    from { opacity: 0; transform: translateX(-20px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.skeleton {
    background: linear-gradient(90deg, var(--bg-secondary) 25%, var(--bg-hover) 50%, var(--bg-secondary) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: var(--radius-sm);
}

/* Smooth transitions for all interactive elements */
.btn, .menu-link, .kpi-card, .form-input, a {
    transition: all var(--transition-base);
}

/* Toast notifications */
.toast {
    position: fixed;
    bottom: 80px;
    right: 20px;
    padding: 14px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-float);
    z-index: 10000;
    animation: slideIn 0.3s ease;
}

.toast.success {
    border-left: 4px solid var(--success);
}

.toast.error {
    border-left: 4px solid var(--danger);
}

.toast.warning {
    border-left: 4px solid var(--warning);
}

/* === IMPROVED SCROLLBAR === */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* === IMPROVED FOCUS STATES === */
:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Texture Overlay System */
body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-body);
    /* Ajout de texture pour supprimer l'effet 'vide' */
    background-image: var(--noise-texture), radial-gradient(circle at 0% 0%, rgba(99, 102, 241, 0.05) 0%, transparent 50%), radial-gradient(circle at 100% 100%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
    background-attachment: fixed;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Background Mesh Gradient Animation */
.bg-mesh {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
    pointer-events: none;
}

.blob {
    position: absolute;
    filter: blur(80px);
    opacity: 0.6;
    animation: floating 20s infinite alternate;
}

.blob-1 {
    top: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: var(--primary-glow);
}

.blob-2 {
    bottom: -10%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background: var(--secondary-glow);
    animation-delay: -10s;
}

.blob-3 {
    top: 40%;
    left: 40%;
    width: 30vw;
    height: 30vw;
    background: rgba(56, 189, 248, 0.3);
    animation-duration: 30s;
}

@keyframes floating {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(50px, 30px) scale(1.1);
    }
}

/* --- TYPOGRAPHY --- */
h1,
h2,
h3,
h4,
h5 {
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
    color: var(--text-main);
}

/* --- TYPOGRAPHY (Massive & Tight) --- */
h1 {
    font-size: clamp(3.5rem, 6vw, 5rem);
    /* Huge titles */
    letter-spacing: -0.04em;
    line-height: 0.95;
    font-weight: 900;
}

h2 {
    font-size: clamp(2rem, 4vw, var(--font-2xl));
}

h3 {
    font-size: var(--font-xl);
}

p {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: var(--space-3);
}

/* --- COMPONENTS --- */

/* Glassmorph Container */
.glass-panel {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: var(--glass-border);
    box-shadow: var(--shadow-card);
}

/* Container with Golden Margins */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-4);
    position: relative;
}

/* Sticky Header Premium */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    border-bottom-color: rgba(99, 102, 241, 0.1);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 120px;
    /* Increased height for larger logo */
}

/* Logo VITALS */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.02);
}

.logo img {
    height: 144px;
    /* Significantly larger (x3 from 48px) */
    width: auto;
    object-fit: contain;
}

/* Premium Navigation Menu */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 0;
    /* No gap, using margins or padding interactions */
    align-items: center;
    background: transparent;
    /* Remove container styling if it looks cluttered */
    padding: 0;
    border: none;
}

.nav-link {
    display: block;
    padding: 8px 16px;
    font-weight: 500;
    color: var(--text-muted);
    font-size: 0.95rem;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
    margin: 0 4px;
}

.nav-link:hover {
    color: var(--primary);
    background: rgba(99, 102, 241, 0.05);
}

.nav-link.active,
.nav-link[aria-current="page"] {
    color: var(--primary);
    background: rgba(99, 102, 241, 0.1);
}

/* Call to Action in Menu */
.nav-menu .btn {
    margin-left: 12px;
    padding: 10px 24px;
    border-radius: 99px;
    font-size: 0.95rem;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

.nav-menu .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(79, 70, 229, 0.4);
}

/* Buttons - "Interactive Gems" */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    /* Fibonacci-ish */
    font-weight: 600;
    border-radius: var(--radius-lg);
    transition: all 0.3s var(--ease-out-back);
    font-size: 1rem;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-600), var(--secondary));
    color: white;
    box-shadow: 0 10px 20px -10px rgba(99, 102, 241, 0.5);
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--secondary), var(--primary-900));
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: var(--glass-shine);
    transform: rotate(45deg) translateY(-100%);
    transition: transform 0.6s ease;
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 15px 30px -10px rgba(99, 102, 241, 0.6);
}

.btn-primary:hover::after {
    transform: rotate(45deg) translateY(100%);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-100);
    color: var(--primary-900);
}

.btn-outline:hover {
    border-color: var(--primary);
    background: var(--primary-100);
}

.btn-lg {
    padding: 16px 40px;
    font-size: 1.125rem;
}

/* Hero Section with Golden Gradient */
.hero {
    padding-top: 200px;
    /* More space */
    padding-bottom: var(--space-7);
    position: relative;
    /* Mesh blobs provide the background now */
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 890px;
    /* Fibonacci approximation */
    margin: 0 auto;
}

.badge {
    padding: 6px 16px;
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: var(--space-3);
    border: 1px solid rgba(99, 102, 241, 0.2);
    display: inline-block;
}

/* Rich Card (Glass + Depth + Border Gradient) */
.rich-card,
.feature-card,
.kpi-card,
.login-card,
.analyzer-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--radius-lg);
    padding: var(--space-4);
    position: relative;
    box-shadow: var(--shadow-deep);
    z-index: 1;
    transition: transform 0.3s var(--ease-out-back), box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.6);
}

/* Gradient Border Effect via pseudo-element */
.rich-card::after,
.feature-card::after {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: var(--radius-lg);
    padding: 1px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(99, 102, 241, 0.2), rgba(255, 255, 255, 0.1));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: -1;
}

.feature-card:hover,
.rich-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 30px 60px -12px rgba(99, 102, 241, 0.2);
    background: #ffffff;
}

/* Hero Title with Gradient */
.hero h1 {
    margin-bottom: var(--space-4);
    background: linear-gradient(135deg, var(--text-main) 30%, var(--primary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Dashboard Mockup - The "Float" Effect */
.dashboard-preview {
    margin-top: var(--space-6);
    border-radius: var(--radius-lg);
    box-shadow:
        0 50px 100px -20px rgba(50, 50, 93, 0.25),
        0 30px 60px -30px rgba(0, 0, 0, 0.3),
        inset 0 -2px 6px 0 rgba(10, 37, 64, 0.35);
    /* Inner bezel */
    border: 8px solid rgba(255, 255, 255, 0.8);
    position: relative;
    z-index: 10;
    background: white;
    transform: perspective(1000px) rotateX(2deg);
    transition: transform 0.6s var(--ease-out-back);
    max-width: 100%;
}

.dashboard-preview:hover {
    transform: perspective(1000px) rotateX(0deg) translateY(-10px);
}

/* Features Grid - Golden Ratio Cards */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-4);
    margin-top: var(--space-6);
    position: relative;
    z-index: 2;
}

.icon-box {
    width: 64px;
    /* Fibonacci-ish */
    height: 64px;
    border-radius: 20px;
    background: white;
    box-shadow: var(--shadow-deep);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: var(--space-3);
    color: var(--primary);
    position: relative;
    overflow: hidden;
}

.icon-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-100), transparent);
    opacity: 0.5;
}

/* Pricing Section - The "Offer" */
.pricing-section {
    padding: var(--space-7) 0;
    background: transparent;
    /* Transparent to show texture */
    position: relative;
}

.pricing-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gray-200), transparent);
}

.price {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -2px;
}

.currency {
    font-size: 1.5rem;
    vertical-align: top;
    position: relative;
    top: 8px;
    color: var(--text-muted);
}

.period {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 500;
}

/* Footer - Solid Foundation */
.footer {
    background: #0f172a;
    /* Slate 900 */
    color: #94a3b8;
    /* Slate 400 */
    padding: var(--space-6) 0 var(--space-4);
    margin-top: var(--space-7);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer h4 {
    color: white;
    margin-bottom: var(--space-3);
    font-size: 1.1rem;
}

.footer a {
    color: #94a3b8;
    transition: color 0.2s;
}

.footer a:hover {
    color: white;
}

/* Form inputs */
.form-input {
    padding: 12px 18px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-family: inherit;
    background: white;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}
.form-input::placeholder {
    color: #94a3b8;
}

/* Grid utilities */
.grid { display: grid; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Utilities */
.text-center {
    text-align: center;
}

.text-muted {
    color: var(--text-muted);
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.mb-huge {
    margin-bottom: var(--space-6);
}

/* Responsive */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .nav-menu {
        display: none;
    }
}

/* Animation Classes */
.fade-up {
    animation: fadeUp 0.8s var(--ease-out-back) forwards;
    opacity: 0;
    transform: translateY(30px);
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.delay-1 {
    animation-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.2s;
}

.delay-3 {
    animation-delay: 0.3s;
}

/* Loading Spinner */
.spinner {
    border: 4px solid var(--primary-100);
    border-top: 4px solid var(--primary);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* --- DASHBOARD POLISH --- */
.kpi-card {
    transition: transform 0.25s var(--ease-smooth), box-shadow 0.25s ease;
}
.kpi-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px -8px rgba(99, 102, 241, 0.15);
}

.analyzer-card {
    border: 1px solid rgba(99, 102, 241, 0.08);
}
.analyzer-card h3 {
    letter-spacing: -0.02em;
}

/* Score circles */
.score-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.5rem;
    margin: 0 auto 8px;
}

/* Audit cards refinement */
#detailedResults .analyzer-card {
    transition: box-shadow 0.2s ease;
}
#detailedResults .analyzer-card:hover {
    box-shadow: 0 8px 20px -6px rgba(0, 0, 0, 0.08);
}