/* Daunomania Design System */
:root {
    --dm-primary: #1e40af;
    --dm-primary-dark: #1e3a8a;
    --dm-primary-light: #3b82f6;
    --dm-primary-50: #eff6ff;
    --dm-primary-100: #dbeafe;
    --dm-accent: #0891b2;
    --dm-accent-light: #22d3ee;
    --dm-success: #059669;
    --dm-warning: #d97706;
    --dm-danger: #dc2626;
    --dm-dark: #0f172a;
    --dm-dark-soft: #1e293b;
    --dm-muted: #64748b;
    --dm-muted-light: #94a3b8;
    --dm-border: #e2e8f0;
    --dm-bg: #f8fafc;
    --dm-surface: #ffffff;
    --dm-radius: 12px;
    --dm-radius-lg: 16px;
    --dm-radius-xl: 20px;
    --dm-shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
    --dm-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.08), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
    --dm-shadow-lg: 0 20px 40px -12px rgba(15, 23, 42, 0.15);
    --dm-font: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --dm-gradient: linear-gradient(135deg, #1e3a8a 0%, #1e40af 45%, #2563eb 100%);
    --dm-gradient-soft: linear-gradient(180deg, #eff6ff 0%, #f8fafc 100%);
}

/* Layout overrides */
body {
    font-family: var(--dm-font);
    background: var(--dm-bg);
    color: var(--dm-dark);
}

main.main--landing {
    padding: 0;
    min-height: auto;
}

main.main--landing > .container,
main.main--landing > .container-fluid {
    padding: 0;
    max-width: 100%;
}

/* Navbar enhancements */
.navbar-dm .navbar-brand {
    font-weight: 800;
    font-size: 1.35rem;
    letter-spacing: -0.03em;
    gap: 0.5rem;
}

.navbar-dm .brand-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--dm-gradient);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.95rem;
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.25);
}

.navbar-dm .nav-link {
    font-weight: 600;
    font-size: 0.9rem;
}

.navbar-dm .btn-nav-cta {
    padding: 0.5rem 1.1rem;
    border-radius: 10px;
    font-size: 0.875rem;
}

/* Buttons */
.btn-dm-primary {
    background: var(--dm-gradient);
    border: none;
    color: #fff;
    font-weight: 700;
    border-radius: 10px;
    padding: 0.75rem 1.5rem;
    box-shadow: 0 4px 14px rgba(30, 64, 175, 0.3);
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-dm-primary:hover {
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(30, 64, 175, 0.35);
}

.btn-dm-outline {
    border: 1.5px solid var(--dm-border);
    background: var(--dm-surface);
    color: var(--dm-dark);
    font-weight: 600;
    border-radius: 10px;
    padding: 0.75rem 1.5rem;
    transition: all 0.2s;
}

.btn-dm-outline:hover {
    border-color: var(--dm-primary-light);
    color: var(--dm-primary);
    background: var(--dm-primary-50);
}

/* Landing: Hero */
.dm-hero {
    background: var(--dm-gradient);
    color: #fff;
    padding: 5rem 0 4.5rem;
    position: relative;
    overflow: hidden;
}

.dm-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(255,255,255,0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255,255,255,0.06) 0%, transparent 40%);
    pointer-events: none;
}

.dm-hero-grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,0.4), transparent);
    pointer-events: none;
}

.dm-hero-content {
    position: relative;
    z-index: 1;
}

.dm-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 100px;
    padding: 0.4rem 1rem;
    font-size: 0.8125rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(8px);
}

.dm-hero h1 {
    font-size: clamp(2.25rem, 5vw, 3.25rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 1.25rem;
}

.dm-hero-lead {
    font-size: 1.125rem;
    line-height: 1.7;
    opacity: 0.92;
    max-width: 540px;
    margin-bottom: 2rem;
}

.dm-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
}

.dm-hero-actions .btn-dm-primary,
.dm-hero-actions .btn-dm-outline {
    padding: 0.875rem 1.75rem;
}

.dm-hero-actions .btn-dm-outline {
    border-color: rgba(255,255,255,0.35);
    background: rgba(255,255,255,0.1);
    color: #fff;
}

.dm-hero-actions .btn-dm-outline:hover {
    background: rgba(255,255,255,0.18);
    border-color: rgba(255,255,255,0.5);
    color: #fff;
}

.dm-hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.15);
}

.dm-hero-stat strong {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.dm-hero-stat span {
    font-size: 0.8125rem;
    opacity: 0.8;
    font-weight: 500;
}

.dm-hero-visual {
    position: relative;
    z-index: 1;
}

.dm-hero-card {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: var(--dm-radius-xl);
    padding: 1.75rem;
    backdrop-filter: blur(12px);
}

.dm-hero-card-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.dm-hero-card-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.dm-hero-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.dm-hero-card-item h6 {
    margin: 0;
    font-weight: 700;
    font-size: 0.9375rem;
}

.dm-hero-card-item p {
    margin: 0;
    font-size: 0.8125rem;
    opacity: 0.8;
}

/* Sections */
.dm-section {
    padding: 4.5rem 0;
}

.dm-section-alt {
    background: var(--dm-surface);
}

.dm-section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 3rem;
}

.dm-section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--dm-primary);
    background: var(--dm-primary-50);
    padding: 0.35rem 0.85rem;
    border-radius: 100px;
    margin-bottom: 1rem;
}

.dm-section-header h2 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
    color: var(--dm-dark);
}

.dm-section-header p {
    color: var(--dm-muted);
    font-size: 1.0625rem;
    margin: 0;
    line-height: 1.6;
}

/* Feature cards */
.dm-feature-card {
    background: var(--dm-surface);
    border: 1px solid var(--dm-border);
    border-radius: var(--dm-radius-lg);
    padding: 2rem;
    height: 100%;
    transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
}

.dm-feature-card:hover {
    box-shadow: var(--dm-shadow-lg);
    transform: translateY(-4px);
    border-color: var(--dm-primary-100);
}

.dm-feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
}

.dm-feature-icon--blue { background: var(--dm-primary-50); color: var(--dm-primary); }
.dm-feature-icon--teal { background: #ecfeff; color: var(--dm-accent); }
.dm-feature-icon--green { background: #ecfdf5; color: var(--dm-success); }
.dm-feature-icon--amber { background: #fffbeb; color: var(--dm-warning); }

.dm-feature-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--dm-dark);
}

.dm-feature-card p {
    color: var(--dm-muted);
    font-size: 0.9375rem;
    line-height: 1.65;
    margin-bottom: 1.25rem;
}

.dm-feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
}

.dm-feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--dm-muted);
    margin-bottom: 0.5rem;
}

.dm-feature-list li i {
    color: var(--dm-success);
    margin-top: 0.2rem;
    font-size: 0.75rem;
}

/* Steps */
.dm-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    counter-reset: step;
}

.dm-step {
    text-align: center;
    position: relative;
}

.dm-step-num {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--dm-gradient);
    color: #fff;
    font-weight: 800;
    font-size: 1.125rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.25);
}

.dm-step h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.dm-step p {
    font-size: 0.875rem;
    color: var(--dm-muted);
    line-height: 1.6;
    margin: 0;
}

/* Stats bar */
.dm-stats-bar {
    background: var(--dm-surface);
    border-top: 1px solid var(--dm-border);
    border-bottom: 1px solid var(--dm-border);
    padding: 2.5rem 0;
}

.dm-stat-item {
    text-align: center;
}

.dm-stat-item .number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--dm-primary);
    letter-spacing: -0.02em;
    line-height: 1;
    margin-bottom: 0.35rem;
}

.dm-stat-item .label {
    font-size: 0.875rem;
    color: var(--dm-muted);
    font-weight: 500;
}

/* Trust row */
.dm-trust-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.dm-trust-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--dm-muted);
    font-size: 0.9rem;
    font-weight: 600;
}

.dm-trust-item i {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--dm-primary-50);
    color: var(--dm-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* FAQ */
.dm-faq-item {
    background: var(--dm-surface);
    border: 1px solid var(--dm-border);
    border-radius: var(--dm-radius);
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.dm-faq-item h5 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--dm-dark);
}

.dm-faq-item p {
    font-size: 0.9375rem;
    color: var(--dm-muted);
    margin: 0;
    line-height: 1.65;
}

/* CTA band */
.dm-cta {
    background: var(--dm-gradient);
    color: #fff;
    padding: 4rem 0;
    text-align: center;
}

.dm-cta h2 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.dm-cta p {
    font-size: 1.0625rem;
    opacity: 0.9;
    max-width: 560px;
    margin: 0 auto 2rem;
    line-height: 1.65;
}

.dm-cta .btn-dm-primary {
    background: #fff;
    color: var(--dm-primary-dark);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.dm-cta .btn-dm-primary:hover {
    color: var(--dm-primary-dark);
    background: #f8fafc;
}

/* Page header (inner pages) */
.dm-page-header {
    margin-bottom: 2rem;
}

.dm-page-header h1 {
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 0.35rem;
}

.dm-page-header p {
    color: var(--dm-muted);
    margin: 0;
    font-size: 1rem;
}

/* DM Card (forms, livewire) */
.dm-card {
    background: var(--dm-surface);
    border: 1px solid var(--dm-border);
    border-radius: var(--dm-radius-lg);
    box-shadow: var(--dm-shadow-sm);
    overflow: hidden;
}

.dm-card-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--dm-border);
    background: var(--dm-gradient-soft);
}

.dm-card-header h4,
.dm-card-header h5 {
    margin: 0;
    font-weight: 700;
    font-size: 1.0625rem;
    color: var(--dm-dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dm-card-header h4 i,
.dm-card-header h5 i {
    color: var(--dm-primary);
}

.dm-card-body {
    padding: 1.5rem;
}

/* Auth */
.dm-auth-wrap {
    min-height: calc(100vh - 280px);
    display: flex;
    align-items: center;
    padding: 2rem 0;
}

.dm-auth-card {
    max-width: 440px;
    margin: 0 auto;
    background: var(--dm-surface);
    border: 1px solid var(--dm-border);
    border-radius: var(--dm-radius-xl);
    box-shadow: var(--dm-shadow-lg);
    overflow: hidden;
}

.dm-auth-header {
    text-align: center;
    padding: 2rem 2rem 1.25rem;
}

.dm-auth-header .auth-logo {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--dm-gradient);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    box-shadow: 0 4px 14px rgba(30, 64, 175, 0.3);
}

.dm-auth-header h4 {
    font-weight: 800;
    font-size: 1.375rem;
    margin-bottom: 0.35rem;
}

.dm-auth-header p {
    color: var(--dm-muted);
    font-size: 0.9375rem;
    margin: 0;
}

.dm-auth-body {
    padding: 0 2rem 2rem;
}

/* Dashboard */
.dm-dash-hero {
    background: var(--dm-gradient);
    color: #fff;
    border-radius: var(--dm-radius-xl);
    padding: 2.5rem;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.dm-dash-hero::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
}

.dm-dash-hero h1 {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 0.35rem;
    position: relative;
    z-index: 1;
}

.dm-dash-hero p {
    opacity: 0.9;
    margin: 0;
    position: relative;
    z-index: 1;
}

.dm-dash-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.dm-dash-stat {
    background: var(--dm-surface);
    border: 1px solid var(--dm-border);
    border-radius: var(--dm-radius-lg);
    padding: 1.5rem;
    transition: box-shadow 0.2s, border-color 0.2s;
}

.dm-dash-stat:hover {
    box-shadow: var(--dm-shadow);
    border-color: var(--dm-primary-100);
}

.dm-dash-stat-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.75rem;
}

.dm-dash-stat-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #fff;
}

.dm-dash-stat-value {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--dm-dark);
    line-height: 1;
}

.dm-dash-stat-label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--dm-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.dm-quick-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.dm-quick-action {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--dm-surface);
    border: 1px solid var(--dm-border);
    border-radius: var(--dm-radius);
    text-decoration: none;
    color: var(--dm-dark);
    transition: all 0.2s;
}

.dm-quick-action:hover {
    border-color: var(--dm-primary-light);
    background: var(--dm-primary-50);
    color: var(--dm-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--dm-shadow);
}

.dm-quick-action i {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--dm-primary-50);
    color: var(--dm-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.dm-quick-action span {
    font-weight: 600;
    font-size: 0.9375rem;
}

/* CTA banner (guest) */
.dm-guest-cta {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border: 1px solid #fde68a;
    border-radius: var(--dm-radius-lg);
    padding: 1.75rem;
    text-align: center;
}

.dm-guest-cta h5 {
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.dm-guest-cta p {
    color: var(--dm-muted);
    font-size: 0.9375rem;
    margin-bottom: 1.25rem;
}

/* Footer polish */
footer.dm-footer {
    background: var(--dm-dark);
    border-top: none;
}

/* Responsive */
@media (max-width: 991px) {
    .dm-steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .dm-hero {
        padding: 4rem 0 3rem;
    }

    .dm-hero-visual {
        margin-top: 2.5rem;
    }
}

@media (max-width: 575px) {
    .dm-steps {
        grid-template-columns: 1fr;
    }

    .dm-section {
        padding: 3rem 0;
    }

    .dm-hero-stats {
        gap: 1.25rem;
    }
}

/* ─── Inner page hero (about, badges, etc.) ─── */
.dm-inner-hero {
    background: var(--dm-gradient);
    color: #fff;
    padding: 3rem 0;
    margin: -2.5rem -1.5rem 2.5rem;
    position: relative;
    overflow: hidden;
}

@media (min-width: 576px) {
    .dm-inner-hero {
        margin-left: calc(-1.5rem - ((100vw - 100%) / 2));
        margin-right: calc(-1.5rem - ((100vw - 100%) / 2));
        padding-left: max(1.5rem, calc((100vw - 1140px) / 2 + 1.5rem));
        padding-right: max(1.5rem, calc((100vw - 1140px) / 2 + 1.5rem));
    }
}

.dm-inner-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 20%, rgba(255,255,255,0.1) 0%, transparent 50%);
    pointer-events: none;
}

.dm-inner-hero-content {
    position: relative;
    z-index: 1;
    max-width: 720px;
}

.dm-inner-hero h1 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 0.75rem;
}

.dm-inner-hero p {
    font-size: 1.0625rem;
    opacity: 0.9;
    margin: 0;
    line-height: 1.65;
}

.dm-inner-hero--center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

/* ─── Tables ─── */
.dm-table-wrap {
    overflow-x: auto;
    border-radius: var(--dm-radius);
    border: 1px solid var(--dm-border);
}

.dm-table {
    width: 100%;
    margin: 0;
    font-size: 0.9375rem;
}

.dm-table thead th {
    background: var(--dm-bg);
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--dm-muted);
    padding: 0.875rem 1.25rem;
    border-bottom: 1px solid var(--dm-border);
    white-space: nowrap;
}

.dm-table tbody td {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--dm-border);
    vertical-align: middle;
    color: var(--dm-dark-soft);
}

.dm-table tbody tr:last-child td {
    border-bottom: none;
}

.dm-table tbody tr:hover {
    background: var(--dm-primary-50);
}

.dm-table tbody tr.dm-table-row--highlight {
    background: #fffbeb;
}

.dm-rank {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2rem;
    font-weight: 700;
    color: var(--dm-muted);
}

.dm-rank--gold { color: #ca8a04; }
.dm-rank--silver { color: #64748b; }
.dm-rank--bronze { color: #b45309; }

/* ─── Tabs ─── */
.dm-tabs .nav-link {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--dm-muted);
    border: none;
    border-radius: 8px;
    padding: 0.625rem 1.125rem;
    margin-right: 0.25rem;
    transition: all 0.2s;
}

.dm-tabs .nav-link:hover {
    color: var(--dm-primary);
    background: var(--dm-primary-50);
}

.dm-tabs .nav-link.active {
    color: var(--dm-primary);
    background: var(--dm-primary-50);
    font-weight: 700;
}

/* ─── List items ─── */
.dm-list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.125rem 1.25rem;
    background: var(--dm-bg);
    border: 1px solid var(--dm-border);
    border-radius: var(--dm-radius);
    margin-bottom: 0.75rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    flex-wrap: wrap;
}

.dm-list-item:hover {
    border-color: var(--dm-primary-100);
    box-shadow: var(--dm-shadow-sm);
}

.dm-list-item--pending {
    border-color: #67e8f9;
    background: linear-gradient(135deg, #ecfeff 0%, #f0f9ff 100%);
}

.dm-list-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--dm-primary-50);
    color: var(--dm-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1rem;
}

.dm-list-icon--pending {
    background: #cffafe;
    color: var(--dm-accent);
}

/* ─── Profile ─── */
.dm-profile-avatar {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: var(--dm-gradient);
    color: #fff;
    font-size: 2.25rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    box-shadow: 0 8px 24px rgba(30, 64, 175, 0.25);
    border: 3px solid #fff;
}

.dm-stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--dm-border);
    font-size: 0.9375rem;
}

.dm-stat-row:last-child {
    border-bottom: none;
}

.dm-stat-row strong {
    font-weight: 700;
    color: var(--dm-primary);
}

/* ─── Badges page ─── */
.dm-badge-card {
    background: var(--dm-surface);
    border: 1px solid var(--dm-border);
    border-radius: var(--dm-radius-lg);
    padding: 1.5rem;
    height: 100%;
    text-align: center;
    transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
}

.dm-badge-card:hover {
    box-shadow: var(--dm-shadow);
    transform: translateY(-3px);
}

.dm-badge-card--earned {
    border-color: var(--dm-primary-light);
    background: linear-gradient(180deg, var(--dm-primary-50) 0%, var(--dm-surface) 100%);
}

.dm-badge-card--locked {
    opacity: 0.65;
    filter: grayscale(0.4);
}

.dm-badge-card .dm-badge-icon {
    font-size: 2.5rem;
    color: var(--dm-primary);
    margin-bottom: 0.75rem;
    display: block;
}

.dm-badge-card--locked .dm-badge-icon {
    color: var(--dm-muted-light);
}

.dm-badge-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.dm-badge-card p {
    font-size: 0.8125rem;
    color: var(--dm-muted);
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

.dm-badge-req {
    background: var(--dm-bg);
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
    color: var(--dm-muted);
    margin-bottom: 0.75rem;
}

.dm-category-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--dm-dark);
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--dm-primary-100);
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.dm-category-title i {
    color: var(--dm-primary);
}

.dm-progress-ring {
    position: relative;
    display: inline-block;
}

.dm-progress-ring-label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--dm-primary);
}

/* ─── Legal / prose ─── */
.dm-prose h4 {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--dm-primary-dark);
    margin: 2rem 0 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dm-prose h4:first-child {
    margin-top: 0;
}

.dm-prose h5 {
    font-size: 0.9375rem;
    font-weight: 700;
    margin: 1.25rem 0 0.5rem;
    color: var(--dm-dark-soft);
}

.dm-prose p,
.dm-prose li {
    color: var(--dm-muted);
    line-height: 1.75;
    font-size: 0.9375rem;
}

.dm-prose ul {
    padding-left: 1.25rem;
    margin-bottom: 1rem;
}

/* ─── Report detail ─── */
.dm-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.dm-detail-item {
    background: var(--dm-bg);
    border-radius: var(--dm-radius);
    padding: 1rem 1.25rem;
    border: 1px solid var(--dm-border);
}

.dm-detail-item label {
    display: block;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--dm-muted);
    margin-bottom: 0.35rem;
}

.dm-detail-item span {
    font-weight: 600;
    color: var(--dm-dark);
    font-size: 0.9375rem;
}

/* ─── Empty state ─── */
.dm-empty {
    text-align: center;
    padding: 3rem 1.5rem;
    color: var(--dm-muted);
}

.dm-empty i {
    font-size: 2.5rem;
    opacity: 0.2;
    margin-bottom: 1rem;
    display: block;
}

.dm-empty p {
    margin-bottom: 1rem;
}

/* ─── Card header override (subtle, not gradient) ─── */
.dm-card .card-header,
.card.dm-card-legacy .card-header {
    background: var(--dm-gradient-soft) !important;
    color: var(--dm-dark) !important;
    border-bottom: 1px solid var(--dm-border);
    font-weight: 700;
}

/* ─── Mission block ─── */
.dm-mission {
    background: var(--dm-surface);
    border: 1px solid var(--dm-border);
    border-radius: var(--dm-radius-xl);
    padding: 2.5rem;
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.dm-mission-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: var(--dm-primary-50);
    color: var(--dm-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.dm-mission h2 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.dm-mission p {
    color: var(--dm-muted);
    line-height: 1.7;
    margin-bottom: 0.75rem;
}

.dm-mission p:last-child {
    margin-bottom: 0;
}

@media (max-width: 767px) {
    .dm-mission {
        flex-direction: column;
        padding: 1.75rem;
    }

    .dm-inner-hero {
        margin: -1.5rem -1.5rem 2rem;
        padding: 2.5rem 1.5rem;
    }
}

/* ─── Global polish ─── */
.btn-primary {
    background: var(--dm-gradient) !important;
    border: none !important;
    font-weight: 600;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(30, 64, 175, 0.2);
}

.btn-primary:hover {
    box-shadow: 0 4px 14px rgba(30, 64, 175, 0.3);
    transform: translateY(-1px);
}

.btn-outline-primary {
    border-color: var(--dm-primary-light) !important;
    color: var(--dm-primary) !important;
    font-weight: 600;
    border-radius: 10px;
}

.btn-outline-primary:hover {
    background: var(--dm-primary-50) !important;
}

.card {
    border-color: var(--dm-border) !important;
    border-radius: var(--dm-radius-lg) !important;
    box-shadow: var(--dm-shadow-sm) !important;
}

.card:hover {
    transform: none;
}

.badge {
    font-weight: 600;
    border-radius: 6px;
}
