html, body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #e7edf3;
    color: #111827;
}

:root {
    --brand-navy: #0B1C4A;
    --brand-navy-2: #132D66;
    --brand-red: #E63946;
    --brand-red-dark: #C72130;
    --brand-surface: #ffffff;
    --brand-surface-soft: #f7f9fc;
    --brand-border: rgba(11, 28, 74, 0.12);
    --brand-text: #111827;
    --brand-text-muted: #6b7280;
}

a, .btn-link {
    color: var(--brand-red);
}

a:hover, .btn-link:hover {
    color: var(--brand-red-dark);
}

.btn {
    border-radius: 12px;
    font-weight: 600;
    transition: transform 150ms ease, box-shadow 150ms ease, background-color 150ms ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--brand-red) 0%, var(--brand-red-dark) 100%);
    border-color: transparent;
    box-shadow: 0 8px 20px rgba(230, 57, 70, 0.22);
}

.btn-primary:hover {
    color: #fff;
    background: linear-gradient(135deg, #ff4b59 0%, var(--brand-red-dark) 100%);
}

.btn-outline-primary {
    color: var(--brand-red);
    border-color: var(--brand-red);
}

.btn-outline-primary:hover {
    background: var(--brand-red);
    color: #fff;
}

.btn-secondary {
    background: #334155;
    border-color: #334155;
    color: #fff;
}

.btn-outline-secondary {
    color: #334155;
    border-color: #cbd5e1;
}

.btn-outline-secondary:hover {
    background: #334155;
    color: #fff;
}

.btn-success {
    background: linear-gradient(135deg, #0ea5a5 0%, #0f766e 100%);
    border-color: transparent;
}

.btn-outline-success {
    color: #0f766e;
    border-color: #0f766e;
}

.btn-outline-success:hover {
    background: #0f766e;
    color: #fff;
}

.content {
    padding-top: 1.1rem;
}

.card {
    background: var(--brand-surface);
    border: 1px solid var(--brand-border);
    border-radius: 18px;
    box-shadow: 0 10px 28px rgba(11, 28, 74, 0.08);
}

.card-header {
    background: var(--brand-surface);
    border-bottom: 1px solid var(--brand-border);
    border-radius: 18px 18px 0 0 !important;
}

.card-body {
    color: var(--brand-text);
}

.page-shell {
    display: grid;
    gap: 1.5rem;
}

.hero-card {
    background: #232323;
    color: white;
    border: 1px solid rgba(230, 57, 70, 0.2);
    overflow: hidden;
}

.hero-card .muted {
    color: rgba(255,255,255,0.82);
}

.page-hero {
    background: #232323;
    color: white;
    padding: 3rem 2rem;
    border-radius: 24px;
    margin-bottom: 2rem;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(230, 57, 70, 0.18);
}

.page-hero .page-hero-inner {
    max-width: 960px;
    margin: 0 auto;
    text-align: center;
}

.page-hero-logo-shell {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 1.5rem;
    border-radius: 18px;
    background: #232323;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06), 0 10px 24px rgba(0,0,0,0.22);
    margin-bottom: 1.25rem;
}

.page-hero-logo-shell img {
    display: block;
    max-width: 100%;
    height: auto;
}

.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #232323 0%, #232323 100%);
    padding: 2rem;
}

.auth-panel {
    max-width: 500px;
    width: 100%;
}

.auth-logo {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-logo img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.28));
    background: #232323;
    border-radius: 18px;
    padding: 0.75rem 1rem;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.05), 0 10px 24px rgba(0,0,0,0.22);
}

.auth-card {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 44px rgba(11, 28, 74, 0.18);
}

.auth-card-header {
    background: linear-gradient(135deg, var(--brand-red) 0%, var(--brand-red-dark) 100%);
    color: white;
    text-align: center;
    padding: 1.5rem;
}

.auth-card-body {
    padding: 2rem;
}

.surface-card {
    background: var(--brand-surface);
    border: 1px solid var(--brand-border);
    border-radius: 18px;
    box-shadow: 0 10px 28px rgba(11, 28, 74, 0.08);
}

.section-title {
    margin: 0 0 0.25rem 0;
    color: var(--brand-text);
}

.section-subtitle {
    margin: 0;
    color: var(--brand-text-muted);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    padding: 1.25rem;
}

.feature-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    background: rgba(230, 57, 70, 0.1);
    color: var(--brand-red);
}

.badge-pill-brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(230,57,70,0.12);
    color: var(--brand-red-dark);
    padding: 0.25rem 0.75rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

/* keep content spacing consistent */
.content > .surface-card,
.content > .card {
    margin-bottom: 1.25rem;
}