:root {
    --bg: #f6f8fc;
    --surface: rgba(255, 255, 255, 0.92);
    --surface-strong: #ffffff;
    --border: rgba(15, 23, 42, 0.08);
    --text: #1d3656;
    --muted: #62748b;
    --primary: #1d3656;
    --primary-deep: #13263f;
    --secondary: #f5871f;
    --danger: #e63946;
    --success: #198754;
    --shadow-lg: 0 24px 70px rgba(29, 54, 86, 0.12);
    --shadow-md: 0 14px 34px rgba(29, 54, 86, 0.08);
    --radius-xl: 28px;
    --radius-lg: 20px;
}

body {
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(29, 54, 86, 0.12), transparent 28%),
        radial-gradient(circle at top right, rgba(245, 135, 31, 0.14), transparent 24%),
        linear-gradient(180deg, #f2f5fa 0%, #fbfcfe 48%, #eef2f7 100%);
    font-family: "Segoe UI", "Trebuchet MS", Tahoma, sans-serif;
}

.site-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1 0 auto;
}

.site-nav {
    background: rgba(29, 54, 86, 0.94);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.brand-lockup {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-text-wrap {
    display: flex;
    flex-direction: column;
}

.brand-logo {
    display: block;
    max-width: 180px;
    max-height: 52px;
    width: auto;
    height: auto;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.96);
    padding: 4px 8px;
}

.brand-title {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.brand-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.hero-card,
.exam-card,
.admin-card {
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: var(--radius-xl);
    background: linear-gradient(180deg, rgba(255,255,255,0.94) 0%, rgba(255,255,255,0.88) 100%);
    box-shadow: var(--shadow-lg);
}

.soft-panel,
.feature-chip,
.metric-tile,
.landing-stat {
    border-radius: var(--radius-lg);
    background: var(--surface-strong);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
}

.hero-card .card-body,
.exam-card .card-body,
.admin-card .card-body {
    padding: 2rem;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary);
    background: rgba(245, 135, 31, 0.12);
}

.display-title {
    font-size: clamp(2rem, 3vw, 3.2rem);
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.lead-copy,
.muted-copy {
    color: var(--muted);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 14px;
}

.feature-chip,
.metric-tile,
.landing-stat {
    padding: 16px 18px;
}

.category-card {
    display: block;
    padding: 18px;
    border-radius: 20px;
    border: 1px solid rgba(29, 54, 86, 0.08);
    background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(246,248,252,0.96) 100%);
    box-shadow: var(--shadow-md);
    color: var(--text);
}

.category-card-label {
    display: block;
    font-weight: 800;
    font-size: 1.05rem;
    margin-bottom: 6px;
}

.category-card-copy {
    color: var(--muted);
    font-size: 0.92rem;
}

.status-pill {
    display: inline-flex;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
}

.status-correct {
    background: rgba(25, 135, 84, 0.12);
    color: var(--success);
}

.status-wrong {
    background: rgba(230, 57, 70, 0.12);
    color: var(--danger);
}

.site-footer {
    margin-top: auto;
}
