/* ==========================================================================
   MCQ ELITE PREMIUM DESIGN SYSTEM
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

:root {
    /* --- Premium Color Palette --- */
    --primary: #0f172a;
    /* Deep Blue */
    --primary-indigo: #3b82f6;
    /* Accent Blue */
    --accent: #10b981;
    /* Emerald */
    --warning: #f59e0b;
    /* Amber */
    --danger: #ef4444;
    /* Red */

    --bg-light: #F5F7FA;
    /* Refined Light Gray */
    --bg-white: #ffffff;
    /* Clean White */

    --text-main: #0f172a;
    /* Deep Blue Text */
    --text-muted: #64748b;
    /* Slate 500 */
    --text-light: #94a3b8;
    /* Slate 400 */

    --border: #f1f5f9;
    --border-light: #f8fafc;

    /* --- Typography (Standardized) --- */
    --font-main: 'Outfit', system-ui, -apple-system, sans-serif;

    /* Headings: 22-24px */
    --h1-size: 24px;
    --h2-size: 22px;
    --h3-size: 18px;

    /* Body: 14-16px */
    --body-size: 16px;
    --body-small: 14px;
    --body-tiny: 12px;

    /* --- Elevation & Shape --- */
    --radius-lg: 20px;
    --radius-md: 16px;
    --radius-sm: 10px;

    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.05);
    --shadow-premium: 0 20px 40px -5px rgba(15, 23, 42, 0.08);

    /* --- Transitions --- */
    --transition-fast: 200ms ease-in-out;
}

/* --- Base Reset --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-light);
    color: var(--text-main);
    font-family: var(--font-main);
    font-size: var(--body-size);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* --- Typography Hierarchy --- */
h1 {
    font-size: var(--h1-size);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h2 {
    font-size: var(--h2-size);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

h3 {
    font-size: var(--h3-size);
    font-weight: 700;
    line-height: 1.3;
}

p {
    font-size: var(--body-size);
    color: var(--text-muted);
}

.text-semi-bold {
    font-weight: 600;
}

/* --- Layout Components --- */
.premium-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    padding: 1.5rem;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.premium-card.interactive:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-premium);
    border-color: var(--primary-indigo);
}

/* --- Micro Animations --- */
.hover-lift {
    transition: transform var(--transition-fast);
}

.hover-lift:hover {
    transform: translateY(-2px);
}

.tab-transition {
    transition: all var(--transition-fast);
}

/* --- Skeleton Loading --- */
@keyframes shimmer {
    0% {
        background-position: -468px 0;
    }

    100% {
        background-position: 468px 0;
    }
}

.skeleton {
    background: #f6f7f8;
    background-image: linear-gradient(to right, #f6f7f8 0%, #edeef1 20%, #f6f7f8 40%, #f6f7f8 100%);
    background-repeat: no-repeat;
    background-size: 800px 104px;
    display: inline-block;
    position: relative;
    animation: shimmer 1.5s infinite linear;
    border-radius: 4px;
}

/* --- Global Utilities --- */
.container-7xl {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-premium {
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: var(--body-small);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all var(--transition-fast);
    cursor: pointer;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-indigo);
    transform: translateY(-1px);
    box-shadow: 0 10px 15px -3px rgba(79, 70, 229, 0.4);
}

.badge {
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: var(--body-tiny);
    font-weight: 800;
    text-transform: uppercase;
}