/* Meridian — sandbox treasury console theme */

:root {
    --m-bg: #0a0a0d;
    --m-card: #141419;
    --m-card-2: #191921;
    --m-border: rgba(255, 255, 255, 0.07);
    --m-text: #eceae6;
    --m-muted: #8d8d99;
    --m-faint: #6d6d78;
    --m-gold: #d9b36c;
    --m-gold-strong: #e5bd73;
    --m-gold-dim: rgba(217, 179, 108, 0.14);
    --m-green: #5fce8d;
    --m-green-dim: rgba(95, 206, 141, 0.12);
    --m-red: #e57a7a;
    --m-red-dim: rgba(229, 122, 122, 0.12);
    --m-serif: "Fraunces", "Cormorant Garamond", "Georgia", serif;
    --m-sans: "Manrope", system-ui, -apple-system, sans-serif;
}

html, body {
    background: var(--m-bg);
    color: var(--m-text);
    font-family: var(--m-sans);
    font-size: 0.95rem;
    min-height: 100vh;
}

.font-serif-display, h1.display-heading, .display-heading {
    font-family: var(--m-serif);
    font-weight: 500;
    letter-spacing: 0.01em;
}

.brand-mark {
    font-family: var(--m-serif);
    font-size: 1.35rem;
    color: var(--m-gold);
    letter-spacing: 0.02em;
}

.brand-badge {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(217, 179, 108, 0.45);
    color: var(--m-gold);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--m-serif);
    font-size: 1rem;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.22em;
    font-size: 0.68rem;
    color: var(--m-faint);
    font-weight: 600;
}

.text-muted-m { color: var(--m-muted) !important; }
.text-gold { color: var(--m-gold) !important; }
.text-green { color: var(--m-green) !important; }
.text-red { color: var(--m-red) !important; }

/* ---------- navigation ---------- */

.navbar-meridian {
    background: transparent;
    border-bottom: 1px solid var(--m-border);
    padding: 0.9rem 0;
}

.navbar-meridian .nav-row {
    border-top: 1px solid var(--m-border);
    margin-top: 0.9rem;
    padding-top: 0.55rem;
}

.m-nav-link {
    color: var(--m-muted);
    text-decoration: none;
    font-size: 0.85rem;
    padding: 0.25rem 0;
    margin-right: 1.6rem;
    transition: color .15s;
}

.m-nav-link:hover { color: var(--m-text); }

.m-nav-link.active {
    color: var(--m-text);
    font-weight: 600;
    box-shadow: inset 0 -2px 0 var(--m-gold);
    padding-bottom: 0.55rem;
}

.sandbox-pill {
    border: 1px solid rgba(217, 179, 108, 0.5);
    color: var(--m-gold);
    border-radius: 999px;
    padding: 0.3rem 0.85rem;
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.user-block { text-align: right; line-height: 1.15; }
.user-block .u-name { color: var(--m-text); font-size: 0.9rem; }
.user-block .u-role {
    color: var(--m-gold);
    font-size: 0.62rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.icon-btn {
    color: var(--m-muted);
    background: none;
    border: 0;
    font-size: 1.05rem;
    padding: 0.25rem 0.5rem;
    transition: color .15s;
}
.icon-btn:hover { color: var(--m-text); }

.avatar-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(217, 179, 108, 0.5);
    color: var(--m-gold);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    cursor: pointer;
}

/* ---------- cards ---------- */

.m-card {
    background: var(--m-card);
    border: 1px solid var(--m-border);
    border-radius: 1rem;
    padding: 1.4rem 1.6rem;
}

.m-card .card-label {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.66rem;
    color: var(--m-faint);
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.m-card .card-value {
    font-size: 1.9rem;
    font-weight: 300;
    margin-top: 0.55rem;
    letter-spacing: 0.01em;
}

.m-card .card-sub { color: var(--m-muted); font-size: 0.82rem; margin-top: 0.15rem; }

.m-link {
    color: var(--m-gold);
    font-size: 0.8rem;
    text-decoration: none;
}
.m-link:hover { color: var(--m-gold-strong); text-decoration: underline; }

.stat-big {
    font-size: 3.6rem;
    font-weight: 200;
    letter-spacing: 0.01em;
    line-height: 1.05;
}

.unit-inline {
    font-size: 0.85rem;
    color: var(--m-muted);
    margin-left: 0.5rem;
    letter-spacing: 0.08em;
}

/* ---------- tables ---------- */

.m-table-wrap {
    background: var(--m-card);
    border: 1px solid var(--m-border);
    border-radius: 1rem;
    overflow: hidden;
}

.m-table {
    width: 100%;
    margin: 0;
    color: var(--m-text);
    border-collapse: collapse;
}

.m-table thead th {
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.64rem;
    font-weight: 600;
    color: var(--m-faint);
    padding: 0.85rem 1.4rem;
    border-bottom: 1px solid var(--m-border);
    white-space: nowrap;
}

.m-table tbody td {
    padding: 0.95rem 1.4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    vertical-align: middle;
    font-size: 0.88rem;
}

.m-table tbody tr:last-child td { border-bottom: 0; }
.m-table tbody tr:hover { background: rgba(255, 255, 255, 0.015); }

.cell-date { color: var(--m-muted); white-space: nowrap; font-size: 0.82rem; }
.cell-code { color: var(--m-gold); font-size: 0.78rem; letter-spacing: 0.04em; }
.cell-name { color: var(--m-text); font-weight: 500; }
.cell-amount-pos { color: var(--m-green); white-space: nowrap; }
.cell-amount-neg { color: var(--m-red); white-space: nowrap; }
.cell-sub { color: var(--m-faint); font-size: 0.76rem; }

/* ---------- pills & badges ---------- */

.m-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    border-radius: 999px;
    padding: 0.18rem 0.75rem;
    font-size: 0.75rem;
    border: 1px solid transparent;
}

.m-pill-green { color: var(--m-green); background: var(--m-green-dim); border-color: rgba(95, 206, 141, 0.3); }
.m-pill-red { color: var(--m-red); background: var(--m-red-dim); border-color: rgba(229, 122, 122, 0.3); }
.m-pill-gold { color: var(--m-gold); background: var(--m-gold-dim); border-color: rgba(217, 179, 108, 0.35); }
.m-pill-blue { color: #7ea8f5; background: rgba(126, 168, 245, 0.12); border-color: rgba(126, 168, 245, 0.3); }

.chat-scroll { scrollbar-width: thin; scrollbar-color: rgba(217,179,108,.35) transparent; }
.chat-scroll::-webkit-scrollbar { width: 6px; }
.chat-scroll::-webkit-scrollbar-track { background: transparent; }
.chat-scroll::-webkit-scrollbar-thumb { background: rgba(217,179,108,.3); border-radius: 3px; }
.chat-scroll::-webkit-scrollbar-thumb:hover { background: rgba(217,179,108,.5); }
.m-pill-gray { color: var(--m-muted); background: rgba(255,255,255,.04); border-color: var(--m-border); }

/* ---------- buttons ---------- */

.btn-gold {
    background: var(--m-gold-strong);
    color: #17130a;
    border: 0;
    border-radius: 0.6rem;
    font-weight: 600;
    padding: 0.55rem 1.5rem;
    font-size: 0.88rem;
}
.btn-gold:hover { background: #f0cc85; color: #17130a; }

.btn-outline-m {
    background: transparent;
    color: var(--m-text);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 0.6rem;
    padding: 0.5rem 1.3rem;
    font-size: 0.85rem;
}
.btn-outline-m:hover { border-color: rgba(255, 255, 255, 0.4); color: var(--m-text); }

.btn-dark-pill {
    background: var(--m-card-2);
    border: 1px solid var(--m-border);
    color: var(--m-text);
    border-radius: 999px;
    padding: 0.35rem 1.1rem;
    font-size: 0.8rem;
}
.btn-dark-pill:hover { border-color: rgba(255, 255, 255, 0.25); color: var(--m-text); }

.btn-link-m {
    color: var(--m-muted);
    font-size: 0.82rem;
    text-decoration: none;
    background: none;
    border: 0;
    padding: 0.35rem 0.5rem;
}
.btn-link-m:hover { color: var(--m-text); }
.btn-link-m.danger:hover { color: var(--m-red); }

/* ---------- forms ---------- */

.m-input, .m-select {
    background: var(--m-card-2);
    border: 1px solid var(--m-border);
    color: var(--m-text);
    border-radius: 0.55rem;
    padding: 0.5rem 0.9rem;
    font-size: 0.85rem;
    width: 100%;
}

.m-input::placeholder { color: var(--m-faint); }
.m-input:focus, .m-select:focus {
    outline: none;
    border-color: rgba(217, 179, 108, 0.5);
    box-shadow: 0 0 0 3px rgba(217, 179, 108, 0.08);
    background: var(--m-card-2);
    color: var(--m-text);
}

.m-select {
    appearance: none;
    background-color: var(--m-card-2);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%238e8e99' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.9rem center;
    padding-right: 2.4rem;
    color: var(--m-text);
    color-scheme: dark;
}

.m-select option { background: #17171d; color: var(--m-text); }

.m-form-label {
    font-size: 0.8rem;
    color: var(--m-muted);
    margin-bottom: 0.35rem;
    display: block;
}

input[type="date"].m-input::-webkit-calendar-picker-indicator {
    filter: invert(0.6);
    cursor: pointer;
}

/* ---------- filter bar ---------- */

.filter-bar {
    background: var(--m-card);
    border: 1px solid var(--m-border);
    border-radius: 1rem;
    padding: 1rem 1.4rem;
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    align-items: center;
}

.filter-bar .m-input, .filter-bar .m-select { width: auto; min-width: 150px; }

/* ---------- alerts ---------- */

.alert-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.9rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    text-decoration: none;
}
.alert-row:last-child { border-bottom: 0; }

.alert-row .a-title { color: var(--m-text); font-size: 0.88rem; font-weight: 500; }
.alert-row .a-detail { color: var(--m-muted); font-size: 0.78rem; margin-top: 0.15rem; }
.alert-row .a-caret { color: var(--m-faint); }
.alert-icon { color: var(--m-gold); margin-right: 0.75rem; font-size: 1rem; }

/* ---------- landing ---------- */

.hero-eyebrow {
    color: var(--m-gold);
    letter-spacing: 0.35em;
    font-size: 0.72rem;
    text-transform: uppercase;
    font-weight: 600;
}

.hero-title {
    font-family: var(--m-serif);
    font-size: clamp(2.6rem, 6vw, 4.4rem);
    font-weight: 500;
    line-height: 1.12;
    color: var(--m-text);
    max-width: 760px;
}

.hero-sub { color: var(--m-muted); max-width: 620px; font-size: 1rem; line-height: 1.7; }

.feature-card {
    border: 1px solid var(--m-border);
    background: var(--m-card);
    border-radius: 1rem;
    padding: 1.6rem 1.8rem;
    height: 100%;
}
.feature-card h3 { font-family: var(--m-serif); font-size: 1.15rem; color: var(--m-text); }
.feature-card p { color: var(--m-muted); font-size: 0.85rem; margin: 0; line-height: 1.65; }

/* ---------- wallet ---------- */

.wallet-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.55rem;
    background: none;
    border: 0;
    color: var(--m-text);
    font-size: 0.8rem;
}

.wallet-action .wa-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--m-gold);
    font-size: 1.05rem;
    transition: border-color .15s, background .15s;
}

.wallet-action:hover .wa-icon { border-color: var(--m-gold); background: var(--m-gold-dim); }
.wallet-action.disabled { opacity: 0.35; pointer-events: none; }
.wallet-action.disabled .wa-icon { color: var(--m-muted); }
.wallet-action.muted { opacity: 0.55; }
.wallet-action.muted .wa-icon { color: var(--m-muted); }
.wallet-action.muted:hover .wa-icon { border-color: var(--m-gold); color: var(--m-gold); background: var(--m-gold-dim); }

.activity-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.activity-item:last-child { border-bottom: 0; }

.activity-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--m-border);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.activity-icon.in { color: var(--m-green); }
.activity-icon.out { color: var(--m-red); }

.usdt-badge {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: #26a17b;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.9rem;
    font-weight: 700;
    margin: 0 auto;
}

.footer-note {
    color: var(--m-faint);
    font-size: 0.75rem;
    text-align: center;
    padding: 2.5rem 0 1.5rem;
}

/* ---------- misc ---------- */

.m-page { padding: 2.2rem 0 3rem; }
.page-title { font-family: var(--m-serif); font-size: 2.4rem; font-weight: 500; }
.page-sub { color: var(--m-muted); font-size: 0.9rem; margin-top: -0.2rem; }

.modal-content.m-modal {
    background: var(--m-card);
    border: 1px solid var(--m-border);
    border-radius: 1rem;
    color: var(--m-text);
}
.modal-content.m-modal .btn-close { filter: invert(0.7); }

.dropdown-menu.m-dropdown {
    background: var(--m-card-2);
    border: 1px solid var(--m-border);
    border-radius: 0.8rem;
    min-width: 230px;
    padding: 0.9rem;
}
.m-dropdown .dd-name { color: var(--m-text); font-weight: 600; font-size: 0.95rem; }
.m-dropdown .dd-email { color: var(--m-muted); font-size: 0.78rem; margin-bottom: 0.7rem; }
.m-dropdown .btn-dark-pill { width: 100%; }
.m-dropdown .dropdown-item {
    color: var(--m-muted);
    border-radius: 0.45rem;
    font-size: 0.82rem;
    padding: 0.5rem 0.65rem;
}
.m-dropdown .dropdown-item:hover,
.m-dropdown .dropdown-item:focus {
    color: var(--m-text);
    background: rgba(255, 255, 255, 0.06);
}
.m-dropdown .dropdown-divider { border-color: var(--m-border); }

/* Pagination — dark theme */
.pagination { --bs-pagination-padding-x: .8rem; --bs-pagination-padding-y: .42rem; gap: .3rem; }
.pagination .page-link {
    background: var(--m-card-2);
    border: 1px solid var(--m-border);
    color: var(--m-muted);
    border-radius: 8px;
    font-size: .82rem;
}
.pagination .page-link:hover { background: rgba(255, 255, 255, 0.06); color: var(--m-text); border-color: var(--m-border); }
.pagination .page-link:focus { box-shadow: none; color: var(--m-text); }
.pagination .page-item.active .page-link {
    background: var(--m-gold-dim);
    border-color: rgba(217, 179, 108, 0.45);
    color: var(--m-gold);
}
.pagination .page-item.disabled .page-link {
    background: var(--m-card);
    border-color: var(--m-border);
    color: var(--m-faint, #5c5c66);
}
.pagination .page-item:first-child .page-link,
.pagination .page-item:last-child .page-link { border-radius: 8px; }
nav[aria-label="Pagination Navigation"] p.small { color: var(--m-muted) !important; }

.chart-svg { width: 100%; height: auto; display: block; }

.empty-note {
    color: var(--m-faint);
    text-align: center;
    padding: 2.2rem 0;
    font-size: 0.88rem;
}

/* ==========================================================================
   LANDING PAGE — INSTITUTIONAL ELITE (PREMIUM & TRUST)
   ========================================================================== */

.landing-nav {
    background: rgba(10, 10, 13, 0.85);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--m-border);
    position: sticky;
    top: 0;
    z-index: 1020;
    transition: all .25s ease;
}

.landing-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none;
    color: var(--m-text);
}

.landing-brand:hover { color: var(--m-text); }

.landing-brand-text {
    font-family: var(--m-sans);
    font-weight: 700;
    letter-spacing: 0.22em;
    font-size: 1.15rem;
    color: #f7f6f4;
}

.landing-nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.landing-nav-link {
    color: #9c9ca8;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color .2s ease;
    position: relative;
    padding: 0.35rem 0;
}

.landing-nav-link:hover,
.landing-nav-link.active {
    color: #ffffff;
}

.landing-nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--m-gold);
    border-radius: 2px;
}

.btn-nav-login {
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 500;
    padding: 0.42rem 1.35rem;
    background: rgba(255, 255, 255, 0.03);
    text-decoration: none;
    transition: all .2s ease;
}

.btn-nav-login:hover {
    border-color: rgba(255, 255, 255, 0.45);
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.btn-nav-start {
    background: linear-gradient(135deg, #f5d799 0%, #d9b36c 50%, #b8893d 100%);
    border: 0;
    border-radius: 999px;
    color: #14110b;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.45rem 1.45rem;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(217, 179, 108, 0.25);
    transition: all .2s ease;
}

.btn-nav-start:hover {
    background: linear-gradient(135deg, #fff0cc 0%, #e5bd73 50%, #c49646 100%);
    box-shadow: 0 6px 20px rgba(217, 179, 108, 0.4);
    color: #14110b;
    transform: translateY(-1px);
}

/* Hero Section with Full Background Image */
.hero-wrapper {
    position: relative;
    padding-top: 5.5rem;
    padding-bottom: 3.5rem;
    background-color: #0a0a0d;
    background-image:
        linear-gradient(to right, #0a0a0d 0%, rgba(10, 10, 13, 0.97) 42%, rgba(10, 10, 13, 0.55) 62%, rgba(10, 10, 13, 0.1) 85%, rgba(10, 10, 13, 0.35) 100%),
        linear-gradient(to bottom, #0a0a0d 0%, rgba(10, 10, 13, 0.3) 12%, transparent 55%, rgba(10, 10, 13, 0.92) 86%, #0a0a0d 100%),
        url('/images/hero-bg-widescreen.jpg');
    background-position: right center;
    background-repeat: no-repeat;
    background-size: cover;
    overflow: hidden;
}

@media (max-width: 991px) {
    .hero-wrapper {
        background-position: 70% center;
        background-image:
            linear-gradient(to bottom, rgba(10, 10, 13, 0.88) 0%, rgba(10, 10, 13, 0.94) 60%, #0a0a0d 100%),
            url('/images/hero-bg-widescreen.jpg');
    }
}

.hero-right-badges {
    min-height: 360px;
    position: relative;
}

.hero-floating-badge {
    position: absolute;
    background: rgba(14, 14, 18, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(217, 179, 108, 0.3);
    border-radius: 0.75rem;
    padding: 0.55rem 0.9rem;
    color: #ffffff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    font-size: 0.78rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    z-index: 2;
}

.hero-floating-badge.top-badge {
    top: 0.5rem;
    left: 2rem;
}

.hero-floating-badge.bottom-badge {
    bottom: 2rem;
    left: 1.5rem;
}

.hero-right-meta {
    position: absolute;
    bottom: -1rem;
    left: 1.5rem;
    right: 1.5rem;
    font-size: 0.76rem;
    color: #9e9ea8;
}

.hero-eyebrow-elite {
    color: var(--m-gold);
    letter-spacing: 0.28em;
    font-size: 0.76rem;
    text-transform: uppercase;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-title-elite {
    font-family: var(--m-serif);
    font-size: clamp(2.7rem, 5.2vw, 4.4rem);
    font-weight: 600;
    line-height: 1.12;
    color: #ffffff;
    letter-spacing: -0.015em;
    margin-top: 1rem;
    margin-bottom: 1.25rem;
}

.hero-desc-elite {
    color: #9e9ea8;
    font-size: 1.08rem;
    line-height: 1.7;
    max-width: 530px;
    margin-bottom: 2rem;
}

.btn-hero-invest {
    background: linear-gradient(135deg, #f5d799 0%, #d9b36c 50%, #b8893d 100%);
    border: 0;
    border-radius: 999px;
    color: #14110b;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.72rem 1.9rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 6px 22px rgba(217, 179, 108, 0.3);
    transition: all .2s ease;
}

.btn-hero-invest:hover {
    background: linear-gradient(135deg, #fff0cc 0%, #e5bd73 50%, #c49646 100%);
    box-shadow: 0 8px 28px rgba(217, 179, 108, 0.45);
    color: #14110b;
    transform: translateY(-2px);
}

.btn-hero-learn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    color: #eceae6;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.7rem 1.8rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all .2s ease;
}

.btn-hero-learn:hover {
    border-color: rgba(255, 255, 255, 0.38);
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

/* Hero Right Visual */
.hero-visual-card {
    position: relative;
    border-radius: 1.5rem;
    background: linear-gradient(145deg, rgba(25, 25, 32, 0.7) 0%, rgba(14, 14, 18, 0.9) 100%);
    border: 1px solid rgba(217, 179, 108, 0.2);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    overflow: hidden;
    padding: 1.25rem;
}

.hero-visual-card::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(217, 179, 108, 0.22) 0%, transparent 70%);
    pointer-events: none;
    filter: blur(25px);
}

.hero-metals-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 1rem;
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.7));
}

.hero-floating-badge {
    position: absolute;
    background: rgba(14, 14, 18, 0.88);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(217, 179, 108, 0.3);
    border-radius: 0.75rem;
    padding: 0.55rem 0.9rem;
    color: #ffffff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    font-size: 0.78rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    z-index: 2;
}

.hero-floating-badge.top-badge {
    top: 1.25rem;
    left: 1.25rem;
}

.hero-floating-badge.bottom-badge {
    bottom: 1.25rem;
    left: 1.25rem;
}

.badge-element-cu {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: linear-gradient(135deg, #c97a3e 0%, #874116 100%);
    color: #fff;
    font-weight: 700;
    font-size: 0.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.badge-element-ni {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: linear-gradient(135deg, #b0b7c2 0%, #5d6672 100%);
    color: #fff;
    font-weight: 700;
    font-size: 0.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* 5 Hero Metric Pillars Bar */
.hero-pillars-bar {
    margin-top: 4.5rem;
    padding-top: 2.2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.pillar-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0.5rem 1.25rem;
    position: relative;
}

.pillar-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 15%;
    height: 70%;
    width: 1px;
    background: rgba(255, 255, 255, 0.07);
}

.pillar-icon {
    color: var(--m-gold);
    font-size: 1.35rem;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.pillar-value {
    font-family: var(--m-sans);
    font-size: 1.55rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

.pillar-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #eceae6;
    margin-top: 0.25rem;
}

.pillar-sub {
    font-size: 0.75rem;
    color: var(--m-muted);
}

/* Section Headings */
.section-tag {
    color: var(--m-gold);
    letter-spacing: 0.25em;
    font-size: 0.72rem;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 0.65rem;
}

.section-title {
    font-family: var(--m-serif);
    font-size: clamp(2rem, 3.8vw, 2.9rem);
    font-weight: 500;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.section-desc {
    color: #9e9ea8;
    font-size: 1rem;
    line-height: 1.65;
    max-width: 620px;
}

/* Pool Cards */
.pool-card-elite {
    background: var(--m-card);
    border: 1px solid var(--m-border);
    border-radius: 1.25rem;
    padding: 2rem 1.75rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all .25s ease;
}

.pool-card-elite:hover {
    border-color: rgba(217, 179, 108, 0.45);
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5);
}

.pool-card-elite.featured {
    background: linear-gradient(160deg, #18171f 0%, #121217 100%);
    border-color: rgba(217, 179, 108, 0.5);
    box-shadow: 0 10px 30px rgba(217, 179, 108, 0.12);
}

.pool-yield-badge {
    font-family: var(--m-sans);
    font-size: 2.3rem;
    font-weight: 700;
    color: var(--m-gold);
    line-height: 1;
}

.pool-spec-row {
    display: flex;
    justify-content: space-between;
    padding: 0.55rem 0;
    font-size: 0.85rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.pool-spec-row:last-child {
    border-bottom: 0;
}

.pool-spec-label { color: var(--m-muted); }
.pool-spec-value { color: var(--m-text); font-weight: 500; }

/* Interactive Calculator */
.calc-container {
    background: linear-gradient(145deg, #16161c 0%, #111116 100%);
    border: 1px solid rgba(217, 179, 108, 0.25);
    border-radius: 1.5rem;
    padding: 2.5rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.calc-range {
    width: 100%;
    accent-color: var(--m-gold);
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    cursor: pointer;
}

.calc-preset-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #9e9ea8;
    border-radius: 0.5rem;
    padding: 0.35rem 0.85rem;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all .15s ease;
    cursor: pointer;
}

.calc-preset-btn:hover,
.calc-preset-btn.active {
    background: var(--m-gold-dim);
    border-color: var(--m-gold);
    color: var(--m-gold);
}

.calc-term-btn {
    flex: 1;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    padding: 0.85rem 0.5rem;
    text-align: center;
    color: var(--m-text);
    cursor: pointer;
    transition: all .2s ease;
}

.calc-term-btn:hover {
    border-color: rgba(217, 179, 108, 0.4);
}

.calc-term-btn.active {
    background: linear-gradient(135deg, rgba(217, 179, 108, 0.16) 0%, rgba(217, 179, 108, 0.04) 100%);
    border-color: var(--m-gold);
    box-shadow: 0 4px 15px rgba(217, 179, 108, 0.15);
}

.calc-result-box {
    background: #0d0d12;
    border: 1px solid rgba(217, 179, 108, 0.2);
    border-radius: 1.25rem;
    padding: 1.8rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Process / Arbitrage Engine */
.process-step-card {
    background: var(--m-card);
    border: 1px solid var(--m-border);
    border-radius: 1.25rem;
    padding: 1.8rem;
    height: 100%;
    position: relative;
    transition: border-color .2s;
}

.process-step-card:hover {
    border-color: rgba(217, 179, 108, 0.35);
}

.step-num-badge {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--m-gold-dim);
    border: 1px solid var(--m-gold);
    color: var(--m-gold);
    font-weight: 700;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
}

/* Comparison Table */
.comparison-table-wrap {
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid var(--m-border);
    background: var(--m-card);
}

.comparison-table {
    width: 100%;
    margin: 0;
    color: var(--m-text);
    border-collapse: collapse;
}

.comparison-table th {
    padding: 1.1rem 1.4rem;
    font-size: 0.85rem;
    font-weight: 600;
    background: #0d0d12;
    border-bottom: 1px solid var(--m-border);
}

.comparison-table td {
    padding: 1.1rem 1.4rem;
    font-size: 0.88rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.comparison-table tr:last-child td {
    border-bottom: 0;
}

.comparison-table td.col-highlight,
.comparison-table th.col-highlight {
    background: rgba(217, 179, 108, 0.05);
    border-left: 1px solid rgba(217, 179, 108, 0.25);
    border-right: 1px solid rgba(217, 179, 108, 0.25);
    color: #ffffff;
    font-weight: 500;
}

/* FAQ Accordion */
.m-accordion .accordion-item {
    background: var(--m-card);
    border: 1px solid var(--m-border);
    border-radius: 0.85rem !important;
    margin-bottom: 0.85rem;
    overflow: hidden;
}

.m-accordion .accordion-button {
    background: transparent;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 500;
    padding: 1.2rem 1.4rem;
    box-shadow: none;
}

.m-accordion .accordion-button:not(.collapsed) {
    color: var(--m-gold);
    background: rgba(217, 179, 108, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.m-accordion .accordion-button::after {
    filter: invert(0.8);
}

.m-accordion .accordion-body {
    padding: 1.25rem 1.4rem;
    color: #9e9ea8;
    font-size: 0.92rem;
    line-height: 1.7;
}

/* Live Market Feed Ticker */
.live-pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--m-green);
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 8px var(--m-green);
    animation: pulseLive 2s infinite;
}

@keyframes pulseLive {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(1.2); }
    100% { opacity: 1; transform: scale(1); }
}

/* CTA Banner */
.cta-banner-card {
    background: radial-gradient(ellipse at 80% 20%, rgba(217, 179, 108, 0.18) 0%, transparent 60%),
                linear-gradient(145deg, #18171f 0%, #101015 100%);
    border: 1px solid rgba(217, 179, 108, 0.35);
    border-radius: 1.75rem;
    padding: 4rem 3rem;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
}

/* Footer */
.landing-footer {
    background: #070709;
    border-top: 1px solid var(--m-border);
    padding: 4.5rem 0 2.5rem;
    color: #8c8c96;
}

.footer-link {
    color: #8c8c96;
    text-decoration: none;
    font-size: 0.88rem;
    display: block;
    margin-bottom: 0.65rem;
    transition: color .2s;
}

.footer-link:hover {
    color: #ffffff;
}

/* Responsive tweaks */
@media (max-width: 991px) {
    .pillar-item:not(:last-child)::after { display: none; }
    .hero-pillars-bar { padding-top: 1.5rem; }
    .pillar-item { padding: 1rem 0; }
    .calc-container { padding: 1.75rem; }
    .cta-banner-card { padding: 2.5rem 1.75rem; }
}

@media (max-width: 576px) {
    .btn-nav-login { padding: 0.32rem 0.75rem; font-size: 0.78rem; }
    .btn-nav-start { padding: 0.32rem 0.85rem; font-size: 0.78rem; }
    .landing-brand-text { font-size: 0.95rem; letter-spacing: 0.14em; }
    .hero-title-elite { font-size: 2.35rem; }
    .hero-desc-elite { font-size: 0.95rem; }
    .btn-hero-invest, .btn-hero-learn { width: 100%; justify-content: center; text-align: center; }
}

