/* Imperial heritage Bank - visual refresh */

:root {
    --primary-color: #1f4fa8;
    --primary-dark: #112c62;
    --primary-soft: #e8f0ff;
    --accent-color: #d44343;
    --accent-soft: #fff0f0;
    --success-color: #198754;
    --info-color: #0d6efd;
    --warning-color: #f0b429;
    --danger-color: #dc3545;
    --text-strong: #10213f;
    --text-body: #5f6f8e;
    --text-muted: #7f8ca6;
    --surface-color: rgba(255, 255, 255, 0.96);
    --surface-soft: #f5f8ff;
    --surface-muted: #edf2fb;
    --border-color: rgba(17, 44, 98, 0.1);
    --border-strong: rgba(17, 44, 98, 0.16);
    --shadow-sm: 0 14px 30px rgba(10, 30, 66, 0.08);
    --shadow-md: 0 24px 55px rgba(10, 30, 66, 0.12);
    --shadow-lg: 0 36px 80px rgba(10, 30, 66, 0.16);
    --radius-sm: 0.9rem;
    --radius-md: 1.25rem;
    --radius-lg: 1.75rem;
    --transition-base: 0.25s ease;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-body);
    background:
        radial-gradient(circle at top left, rgba(31, 79, 168, 0.08), transparent 30%),
        linear-gradient(180deg, #f8fbff 0%, #eef3fb 100%);
    line-height: 1.65;
}

main {
    flex: 1 0 auto;
    padding-top: 1.5rem;
}

a {
    color: var(--primary-color);
    transition: color var(--transition-base), opacity var(--transition-base), transform var(--transition-base);
}

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    display: block;
}

.container {
    padding-left: 1.15rem;
    padding-right: 1.15rem;
}

.text-muted {
    color: var(--text-muted) !important;
}

.site-navbar {
    position: sticky;
    top: 0;
    z-index: 1030;
    padding: 0.85rem 0;
    background: rgba(8, 25, 58, 0.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 18px 40px rgba(8, 25, 58, 0.18);
}

.navbar-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
}

.brand-mark {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.brand-lockup {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-text {
    font-size: 1rem;
    color: #fff;
    letter-spacing: -0.02em;
}

.brand-subtext {
    font-size: 0.74rem;
    color: rgba(255, 255, 255, 0.68);
    font-weight: 500;
    margin-top: 0.12rem;
}

.navbar-dark .navbar-nav {
    gap: 0.35rem;
}

.navbar-dark .navbar-nav .nav-link {
    position: relative;
    padding: 0.7rem 0.95rem;
    color: rgba(255, 255, 255, 0.78);
    font-weight: 600;
    border-radius: 999px;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link:focus-visible {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.navbar-dark .navbar-nav .nav-link.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
}

.navbar-dark .navbar-nav .nav-link.active::after {
    content: "";
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 0.38rem;
    height: 2px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
}

.navbar-toggler {
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 0.85rem;
    padding: 0.45rem 0.7rem;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0.14);
}

.exchange-ticker-shell {
    position: relative;
    z-index: 1020;
    background: linear-gradient(180deg, rgba(10, 30, 66, 0.96), rgba(18, 42, 89, 0.94));
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.04);
}

.exchange-ticker {
    padding: 0.7rem 0 0.75rem;
    color: rgba(255, 255, 255, 0.86);
}

.exchange-ticker-topline,
.exchange-ticker-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.exchange-ticker-topline {
    margin-bottom: 0.5rem;
}

.exchange-ticker-labels {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    align-items: center;
}

.exchange-ticker-title,
.exchange-ticker-base {
    display: inline-flex;
    align-items: center;
    min-height: 2rem;
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.exchange-ticker-title {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.exchange-ticker-base {
    background: rgba(212, 67, 67, 0.16);
    color: #fff;
}

.exchange-ticker-status,
.exchange-ticker-observation,
.exchange-ticker-retrieved,
.exchange-ticker-source,
.exchange-ticker-disclaimer {
    font-size: 0.86rem;
    color: rgba(255, 255, 255, 0.72);
}

.exchange-ticker-viewport {
    overflow: hidden;
    width: 100%;
    padding: 0.2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    outline: none;
}

.exchange-ticker-viewport:focus-visible {
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.24);
    border-radius: 0.8rem;
}

.exchange-ticker-track {
    display: inline-flex;
    align-items: center;
    min-width: max-content;
    will-change: transform;
}

.exchange-ticker.is-ready .exchange-ticker-track {
    animation: exchangeTickerScroll var(--ticker-duration, 32s) linear infinite;
}

.exchange-ticker.is-paused .exchange-ticker-track,
.exchange-ticker:hover .exchange-ticker-track,
.exchange-ticker:focus-within .exchange-ticker-track {
    animation-play-state: paused;
}

.exchange-ticker-items {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    padding-right: 0.85rem;
    min-width: max-content;
}

.exchange-rate-item,
.exchange-rate-empty {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.8rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    white-space: nowrap;
}

.exchange-rate-code {
    font-weight: 700;
    letter-spacing: 0.03em;
}

.exchange-rate-value {
    color: rgba(255, 255, 255, 0.86);
    font-variant-numeric: tabular-nums;
}

.exchange-ticker-meta {
    margin-top: 0.5rem;
    flex-wrap: wrap;
}

.exchange-ticker-disclaimer {
    max-width: 52rem;
}

.exchange-ticker.is-error .exchange-rate-empty {
    background: rgba(220, 53, 69, 0.14);
}

.exchange-ticker.is-stale .exchange-ticker-status {
    color: #ffd76f;
}

.exchange-ticker.is-partial .exchange-ticker-status {
    color: #8fd0ff;
}

@keyframes exchangeTickerScroll {
    from {
        transform: translate3d(0, 0, 0);
    }

    to {
        transform: translate3d(calc(var(--ticker-distance, 0px) * -1), 0, 0);
    }
}

.btn {
    border-radius: 999px;
    font-weight: 600;
    padding: 0.8rem 1.35rem;
    transition: transform var(--transition-base), box-shadow var(--transition-base), background-color var(--transition-base), border-color var(--transition-base), color var(--transition-base);
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary,
.btn-success,
.btn-info,
.btn-warning,
.btn-danger {
    border: none;
    box-shadow: 0 14px 28px rgba(17, 44, 98, 0.16);
}

.btn-primary {
    background: linear-gradient(135deg, #2b66d9 0%, #1f4fa8 100%);
}

.btn-success {
    background: linear-gradient(135deg, #1ea56c 0%, #198754 100%);
}

.btn-info {
    background: linear-gradient(135deg, #2f89ff 0%, #0d6efd 100%);
    color: #fff;
}

.btn-warning {
    background: linear-gradient(135deg, #ffd15c 0%, #f0b429 100%);
    color: #1f2937;
}

.btn-danger {
    background: linear-gradient(135deg, #ef6a6a 0%, #dc3545 100%);
}

.btn-outline-primary,
.btn-outline-secondary,
.btn-outline-success,
.btn-outline-info,
.btn-outline-warning {
    border-width: 1px;
    background: rgba(255, 255, 255, 0.85);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: rgba(31, 79, 168, 0.2);
}

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

.btn-outline-secondary:hover,
.btn-outline-success:hover,
.btn-outline-info:hover,
.btn-outline-warning:hover {
    color: #fff;
}

.card {
    border: 1px solid rgba(17, 44, 98, 0.05);
    border-radius: var(--radius-lg);
    background: var(--surface-color);
    box-shadow: var(--shadow-sm);
}

.card-header {
    border-bottom: 1px solid rgba(17, 44, 98, 0.08);
    padding: 1rem 1.5rem;
    background: linear-gradient(180deg, rgba(245, 248, 255, 0.98), rgba(236, 242, 251, 0.95));
    color: var(--text-strong);
    font-weight: 700;
}

.card-body {
    padding: 1.5rem;
}

.alert {
    border: 1px solid transparent;
    border-radius: 1rem;
    padding: 1rem 1.15rem;
    box-shadow: var(--shadow-sm);
}

.alert-info {
    background: #eef6ff;
    border-color: #d6e8ff;
    color: #27548a;
}

.alert-success {
    background: #ecfbf4;
    border-color: #cdeedb;
    color: #16623d;
}

.alert-danger {
    background: #fff2f2;
    border-color: #ffd2d2;
    color: #8c2f2f;
}

.badge {
    padding: 0.5rem 0.8rem;
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.badge.bg-primary {
    background-color: rgba(31, 79, 168, 0.12) !important;
    color: var(--primary-color);
}

.badge.bg-success {
    background-color: rgba(25, 135, 84, 0.12) !important;
    color: var(--success-color);
}

.badge.bg-warning {
    background-color: rgba(240, 180, 41, 0.18) !important;
    color: #8a5a08 !important;
}

.badge.bg-danger {
    background-color: rgba(220, 53, 69, 0.12) !important;
    color: var(--danger-color);
}

.badge.bg-info {
    background-color: rgba(13, 110, 253, 0.12) !important;
    color: var(--info-color);
}

.table-responsive {
    border-radius: 1.3rem;
    border: 1px solid rgba(17, 44, 98, 0.08);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow-sm);
}

.table {
    margin-bottom: 0;
    color: var(--text-body);
}

.table th {
    background: #f3f7ff;
    border-bottom: 1px solid rgba(17, 44, 98, 0.08);
    color: var(--text-strong);
    font-size: 0.92rem;
    font-weight: 700;
    padding: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.table td {
    padding: 1rem;
    border-color: rgba(17, 44, 98, 0.05);
    vertical-align: middle;
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(245, 248, 255, 0.6);
}

.table-hover tbody tr:hover {
    background-color: rgba(232, 240, 255, 0.74);
}

.form-label {
    color: var(--text-strong);
    font-weight: 600;
    margin-bottom: 0.55rem;
}

.form-control,
.form-select,
.input-group-text,
textarea.form-control {
    border-radius: 1rem;
    border: 1px solid rgba(17, 44, 98, 0.14);
    padding: 0.82rem 1rem;
    background: rgba(255, 255, 255, 0.92);
    color: var(--text-strong);
}

.form-control:focus,
.form-select:focus,
textarea.form-control:focus {
    border-color: rgba(31, 79, 168, 0.42);
    box-shadow: 0 0 0 0.25rem rgba(31, 79, 168, 0.12);
}

.input-group-text {
    background: #f3f7ff;
    font-weight: 600;
}

.modal-content {
    border: none;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.modal-header,
.modal-footer {
    border-color: rgba(17, 44, 98, 0.08);
}

.eyebrow-badge,
.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 0.95rem;
    border-radius: 999px;
    background: rgba(31, 79, 168, 0.1);
    color: var(--primary-dark);
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.section-heading h2 {
    margin: 0.75rem 0 0;
    color: var(--text-strong);
    font-size: clamp(1.65rem, 2vw, 2.25rem);
    font-weight: 800;
    letter-spacing: -0.03em;
}

.site-footer {
    margin-top: 4rem;
    padding: 3rem 0 1.5rem;
    background: #0d1f42;
    color: rgba(255, 255, 255, 0.72);
}

.footer-brand {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.footer-heading {
    color: #fff;
    font-size: 0.95rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.footer-links,
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 0.75rem;
}

.footer-links a,
.footer-contact a,
.footer-contact span {
    color: rgba(255, 255, 255, 0.76);
    text-decoration: none;
}

.footer-contact li {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.footer-contact i {
    margin-top: 0.22rem;
    color: rgba(255, 255, 255, 0.52);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.09);
    margin-top: 2rem;
    padding-top: 1.25rem;
}

.home-page main {
    padding-top: 0;
}

.hero-section {
    position: relative;
    padding: clamp(4.5rem, 7vw, 7rem) 0 clamp(4rem, 7vw, 6rem);
    margin-bottom: 2rem;
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0) 52%),
        linear-gradient(135deg, #edf4ff 0%, #f8fbff 55%, #eef3fb 100%);
    overflow: hidden;
}

.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 85% 15%, rgba(31, 79, 168, 0.12), transparent 25%),
        radial-gradient(circle at 10% 90%, rgba(212, 67, 67, 0.08), transparent 22%);
    pointer-events: none;
}

.hero-section .container,
.features-section .container,
.about-section .container,
.contact-section .container {
    position: relative;
    z-index: 1;
}

.hero-section h1 {
    margin: 1.2rem 0 1.2rem;
    color: var(--text-strong);
    font-size: clamp(2.75rem, 5vw, 4.4rem);
    line-height: 1.02;
    letter-spacing: -0.05em;
    font-weight: 800;
}

.hero-section .lead {
    max-width: 38rem;
    margin-bottom: 1.75rem;
    color: var(--text-body);
    font-size: 1.12rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-bottom: 1.4rem;
}

.hero-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 1.75rem;
    color: var(--text-strong);
    font-weight: 600;
}

.hero-highlights span {
    display: inline-flex;
    align-items: center;
    padding: 0.72rem 0.95rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(17, 44, 98, 0.08);
    box-shadow: var(--shadow-sm);
}

.hero-highlights i,
.about-points i {
    color: var(--accent-color);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    max-width: 44rem;
}

.hero-stat-card {
    padding: 1.15rem 1.2rem;
    border-radius: 1.4rem;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(17, 44, 98, 0.08);
    box-shadow: var(--shadow-sm);
}

.hero-stat-card strong {
    display: block;
    color: var(--text-strong);
    font-size: 1.55rem;
    line-height: 1.1;
}

.hero-stat-card span {
    display: block;
    margin-top: 0.25rem;
    color: var(--text-muted);
    font-size: 0.94rem;
}

.hero-visual {
    position: relative;
    max-width: 38rem;
    margin-left: auto;
}

.hero-image {
    width: 100%;
    min-height: 31rem;
    object-fit: cover;
    border-radius: 2rem;
    box-shadow: var(--shadow-lg);
}

.floating-panel {
    position: absolute;
    z-index: 1;
    min-width: 14rem;
    padding: 1rem 1.15rem;
    border-radius: 1.25rem;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(17, 44, 98, 0.08);
    box-shadow: var(--shadow-md);
    color: var(--text-strong);
}

.floating-panel small {
    display: block;
    color: var(--text-muted);
    margin-bottom: 0.2rem;
}

.floating-panel-top {
    top: 1.5rem;
    left: -2rem;
}

.floating-panel-bottom {
    right: -1rem;
    bottom: 1.5rem;
}

.features-section,
.about-section,
.contact-section {
    padding: 5.5rem 0;
}

.features-section h2,
.about-section h2,
.contact-section h2 {
    color: var(--text-strong);
    font-size: clamp(2rem, 3vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -0.04em;
}

.section-intro {
    max-width: 44rem;
    color: var(--text-body);
    font-size: 1.05rem;
    margin-bottom: 3rem;
}

.feature-card {
    height: 100%;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.feature-card:hover,
.trust-item:hover,
.account-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 1.35rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.35rem;
    color: var(--primary-color);
    background: linear-gradient(180deg, rgba(31, 79, 168, 0.12), rgba(31, 79, 168, 0.04));
}

.feature-card .card-title {
    color: var(--text-strong);
    font-weight: 700;
}

.feature-card .card-text {
    color: var(--text-body);
}

.feature-tag {
    display: inline-flex;
    margin-top: 1.15rem;
    padding: 0.48rem 0.9rem;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent-color);
    font-size: 0.9rem;
    font-weight: 700;
}

.trust-strip {
    margin-top: 1.3rem;
}

.trust-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.4rem;
    border: 1px solid rgba(17, 44, 98, 0.06);
    border-radius: 1.35rem;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.trust-item i {
    margin-top: 0.25rem;
    color: var(--accent-color);
    font-size: 1.2rem;
}

.trust-item strong {
    display: block;
    color: var(--text-strong);
    margin-bottom: 0.2rem;
}

.about-section {
    background: linear-gradient(180deg, rgba(235, 242, 252, 0.7), rgba(255, 255, 255, 0));
}

.about-section p {
    color: var(--text-body);
}

.about-visual img,
.support-visual-image {
    width: 100%;
    object-fit: cover;
    border-radius: 1.9rem;
    box-shadow: var(--shadow-md);
}

.about-section img {
    min-height: 27rem;
}

.about-badge {
    position: absolute;
    left: 1.5rem;
    bottom: 1.5rem;
    padding: 0.8rem 1rem;
    border-radius: 999px;
    background: rgba(16, 33, 63, 0.82);
    color: #fff;
    backdrop-filter: blur(8px);
}

.about-points {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
}

.about-points li {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    margin-bottom: 0.9rem;
    color: var(--text-strong);
    font-weight: 600;
}

.contact-section {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(233, 240, 250, 0.66));
}

.support-visual-card {
    position: relative;
    overflow: hidden;
    border-radius: 1.9rem;
    background: #122a59;
    min-height: 100%;
    box-shadow: var(--shadow-lg);
}

.support-visual-image {
    height: 100%;
    min-height: 28rem;
    opacity: 0.92;
    border-radius: 0;
    box-shadow: none;
}

.support-visual-card::after,
.login-visual-panel::after,
.dashboard-hero-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(9, 23, 51, 0.06), rgba(9, 23, 51, 0.78));
}

.support-visual-copy,
.login-visual-content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    padding: 1.6rem;
    color: #fff;
}

.support-visual-copy h3,
.login-visual-content h2 {
    color: #fff;
    font-size: clamp(1.7rem, 3vw, 2.25rem);
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 0.65rem;
}

.support-label,
.login-visual-kicker,
.dashboard-kicker {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.8rem;
    margin-bottom: 0.8rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    color: rgba(255, 255, 255, 0.94);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.contact-card {
    height: 100%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 248, 255, 0.95));
}

.contact-card .card-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-strong);
}

.login-page main {
    display: flex;
    align-items: center;
}

.login-shell {
    padding-top: 1rem;
    padding-bottom: 2rem;
}

.login-layout {
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.login-visual-panel {
    position: relative;
    height: 100%;
    min-height: 100%;
    background: #0f2857;
}

.login-visual-image {
    width: 100%;
    height: 100%;
    min-height: 100%;
    object-fit: cover;
}

.login-visual-points {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
}

.login-visual-points li {
    display: flex;
    gap: 0.65rem;
    align-items: center;
    margin-bottom: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
}

.login-visual-points i {
    color: #fff;
}

.login-copy h1 {
    margin: 1rem 0 0.85rem;
    color: var(--text-strong);
    font-size: clamp(2rem, 3vw, 2.8rem);
    line-height: 1.08;
    letter-spacing: -0.04em;
    font-weight: 800;
}

.login-copy p,
.login-support p {
    color: var(--text-body);
}

.login-support {
    padding-top: 1.25rem;
    border-top: 1px solid rgba(17, 44, 98, 0.08);
}

.dashboard-page {
    background:
        radial-gradient(circle at top right, rgba(31, 79, 168, 0.12), transparent 28%),
        linear-gradient(180deg, #f7faff 0%, #eef3fb 100%);
}

.dashboard-hero-card {
    overflow: hidden;
    background: linear-gradient(135deg, #132d61 0%, #1f4fa8 100%);
    color: #fff;
}

.dashboard-hero-copy {
    color: rgba(255, 255, 255, 0.9);
}

.dashboard-hero-copy h1 {
    color: #fff;
    font-size: clamp(2rem, 3vw, 2.9rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.08;
    margin: 0 0 0.85rem;
}

.dashboard-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 1.2rem;
}

.dashboard-hero-meta span {
    display: inline-flex;
    align-items: center;
    padding: 0.65rem 0.9rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.9);
}

.dashboard-hero-visual {
    position: relative;
    height: 100%;
    min-height: 100%;
}

.dashboard-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.account-card {
    height: 100%;
    border: 1px solid rgba(17, 44, 98, 0.08);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.account-card .card-title,
.login-card h2 {
    color: var(--text-strong);
}

.account-card .h3 {
    color: var(--primary-dark);
    font-weight: 800;
}

.currency-display {
    letter-spacing: -0.03em;
}

.area-admin {
    background:
        radial-gradient(circle at top left, rgba(212, 67, 67, 0.08), transparent 25%),
        linear-gradient(180deg, #f7faff 0%, #edf2fb 100%);
}

.area-admin main > .container > .row.mb-4:first-child {
    position: relative;
    overflow: hidden;
    margin-bottom: 2rem !important;
    padding: 2rem;
    border-radius: 2rem;
    background:
        linear-gradient(135deg, rgba(12, 35, 78, 0.92), rgba(31, 79, 168, 0.85)),
        url("/assets/images/advisory-team-meeting.webp") center/cover;
    color: #fff;
    box-shadow: var(--shadow-lg);
}

.area-admin main > .container > .row.mb-4:first-child::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(7, 22, 51, 0.16), rgba(7, 22, 51, 0.42));
}

.area-admin main > .container > .row.mb-4:first-child > * {
    position: relative;
    z-index: 1;
}

.area-admin main > .container > .row.mb-4:first-child h1,
.area-admin .admin-hero h1,
.area-admin main > .container > .row.mb-4:first-child .lead {
    color: #fff;
}

.area-admin main > .container > .row.mb-4:first-child .btn-outline-primary {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.24);
    color: #fff;
}

.area-admin main > .container > .row.mb-4:first-child .btn-outline-primary:hover {
    background: #fff;
    color: var(--primary-dark);
    border-color: #fff;
}

.admin-hero {
    max-width: 48rem;
}

.metric-card {
    color: #fff;
    border: none;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.metric-card .card-body {
    padding: 1.65rem;
}

.metric-card .card-title {
    color: rgba(255, 255, 255, 0.82);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 0.9rem;
}

.metric-card .display-4 {
    font-size: clamp(2rem, 3vw, 3.1rem);
    font-weight: 800;
    letter-spacing: -0.04em;
}

.metric-card .card-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
}

.metric-card .card-footer a,
.metric-card .card-footer .small {
    color: #fff;
}

.metric-card-primary {
    background: linear-gradient(135deg, #255bc2, #173d88);
}

.metric-card-success {
    background: linear-gradient(135deg, #1ea56c, #167953);
}

.metric-card-info {
    background: linear-gradient(135deg, #2b84ff, #0e5fd8);
}

.area-admin .card:not(.metric-card),
.dashboard-page .card:not(.dashboard-hero-card),
.home-page .card,
.login-page .card {
    border: 1px solid rgba(17, 44, 98, 0.06);
}

.area-admin .card-header.bg-primary,
.area-admin .card-header.bg-success,
.area-admin .card-header.bg-info,
.area-admin .card-header.bg-warning,
.area-admin .card-header.bg-dark {
    color: #fff;
    border-bottom: none;
}

.area-admin .card-header.bg-primary {
    background: linear-gradient(135deg, #255bc2, #173d88);
}

.area-admin .card-header.bg-success {
    background: linear-gradient(135deg, #1ea56c, #167953);
}

.area-admin .card-header.bg-info {
    background: linear-gradient(135deg, #2b84ff, #0e5fd8);
}

.area-admin .card-header.bg-warning {
    background: linear-gradient(135deg, #ffd76f, #f0b429);
    color: #3e2a03;
}

.area-admin .card-header.bg-dark {
    background: linear-gradient(135deg, #14274d, #0b1731);
}

.area-admin .btn-sm {
    padding: 0.52rem 0.9rem;
}

footer a:hover,
.footer-links a:hover,
.footer-contact a:hover {
    color: #fff;
}

@media (max-width: 1199px) {
    .hero-image {
        min-height: 27rem;
    }

    .brand-subtext {
        display: none;
    }
}

@media (max-width: 991px) {
    .navbar-dark .navbar-nav {
        padding-top: 0.75rem;
        gap: 0.15rem;
    }

    .hero-section {
        padding-top: 3.5rem;
    }

    .hero-visual {
        margin: 2rem auto 0;
    }

    .floating-panel {
        position: static;
        margin-top: 1rem;
    }

    .login-page main {
        display: block;
    }

    .dashboard-hero-card .row > div:last-child {
        min-height: 16rem;
    }
}

@media (max-width: 767px) {
    main {
        padding-top: 1rem;
    }

    .exchange-ticker-topline,
    .exchange-ticker-meta {
        align-items: flex-start;
        flex-direction: column;
    }

    .exchange-rate-item,
    .exchange-rate-empty {
        padding: 0.72rem 0.92rem;
    }

    .site-navbar {
        padding: 0.7rem 0;
    }

    .hero-section,
    .features-section,
    .about-section,
    .contact-section {
        padding-top: 3.75rem;
        padding-bottom: 3.75rem;
    }

    .hero-section {
        text-align: center;
    }

    .hero-actions,
    .hero-highlights,
    .dashboard-hero-meta {
        justify-content: center;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }

    .hero-image {
        min-height: 22rem;
    }

    .about-section img,
    .support-visual-image {
        min-height: 22rem;
    }

    .area-admin main > .container > .row.mb-4:first-child {
        padding: 1.5rem;
    }

    .footer-brand {
        flex-direction: column;
    }
}

@media (max-width: 575px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .exchange-ticker {
        padding-top: 0.6rem;
        padding-bottom: 0.65rem;
    }

    .exchange-ticker-title,
    .exchange-ticker-base {
        min-height: 1.8rem;
        padding: 0.35rem 0.65rem;
    }

    .btn,
    .btn-sm {
        width: 100%;
    }

    .hero-actions .btn,
    .d-flex .btn,
    .text-end .btn {
        width: 100%;
    }

    .hero-section h1,
    .login-copy h1,
    .dashboard-hero-copy h1 {
        font-size: 2.2rem;
    }

    .floating-panel {
        min-width: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .exchange-ticker-viewport {
        overflow-x: auto;
        border-radius: 0.8rem;
        -webkit-overflow-scrolling: touch;
    }

    .exchange-ticker-track,
    .exchange-ticker.is-ready .exchange-ticker-track {
        display: block;
        animation: none !important;
        transform: none !important;
    }

    .exchange-ticker-items-clone {
        display: none;
    }

    *,
    *::before,
    *::after {
        transition: none !important;
        animation: none !important;
    }
}

@media print {
    .navbar,
    .btn,
    form,
    .site-footer {
        display: none !important;
    }

    .container {
        width: 100% !important;
        max-width: 100% !important;
    }

    .card,
    .table-responsive {
        border: none !important;
        box-shadow: none !important;
    }

    table {
        width: 100% !important;
        border-collapse: collapse !important;
    }

    th,
    td {
        border: 1px solid #ddd !important;
        padding: 8px !important;
    }
}
