/* Africa Predict Investor Portal Styles */

:root {
    --bg: #080B10;
    --bg2: #0F1319;
    --bg3: #161C26;
    --card: #111722;
    --border: rgba(255, 255, 255, 0.07);
    --border2: rgba(255, 255, 255, 0.12);

    --gold: #F0B429;
    --gold-light: #FFD97D;
    --gold-dark: #C8960A;
    --green: #0ECB81;
    --red: #F6465D;
    --blue: #1B6FD8;
    --blue2: #4D9FFF;

    --primary: #080B10;
    --primary-light: #0F1319;

    --text: #E8ECF4;
    --text-light: #A0AAB8;
    --text-muted: #606878;
    --border-solid: #1E2530;

    --success: #0ECB81;
    --warning: #F0B429;
    --danger: #F6465D;
    --info: #4D9FFF;

    --font-display: 'Fraunces', Georgia, serif;
    --font-body: 'Syne', sans-serif;
    --font-mono: 'IBM Plex Mono', monospace;
}

/* ── RESET ── */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.65;
    color: var(--text);
    background: var(--bg);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Grain texture */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
    opacity: 0.6;
}

/* Scrollbar */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--text);
    line-height: 1.2;
}

a {
    color: var(--gold);
    text-decoration: none;
    transition: color .2s;
}

a:hover {
    color: var(--gold-light);
}

/* ── UTILS ── */
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.text-muted { color: var(--text-muted); }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mt-2 { margin-top: 1rem; }
.w-100 { width: 100%; }
.d-none { display: none; }

/* ─────────────────────────────────────────────
    NAVBAR
──────────────────────────────────────────────── */
.navbar {
    background: rgba(8, 11, 16, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 0 2rem;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--text);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.navbar-brand .brand-logo {
    height: 36px;
    width: auto;
    max-height: 60px;
    object-fit: contain;
    display: block;
}

.navbar-brand .brand-logo-placeholder {
    width: 36px;
    height: 36px;
    background: var(--gold);
    border-radius: 4px;
    display: block;
    flex-shrink: 0;
}

.navbar-nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    list-style: none;
}

.navbar-nav a {
    color: var(--text-light);
    font-size: 13px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 6px;
    transition: color .2s, background .2s;
}

.navbar-nav a:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.05);
}

.navbar-nav .btn {
    margin-left: 0.5rem;
}

/* ── Mobile hamburger toggle ── */
.navbar-mobile-right {
    display: none;
    align-items: center;
    gap: 0.75rem;
}

.navbar-mobile-right .btn-portal-mobile {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.9rem;
    background: var(--gold);
    color: #000;
    font-weight: 700;
    font-size: 0.82rem;
    border-radius: 6px;
    text-decoration: none;
    white-space: nowrap;
}

.hamburger {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
}

.hamburger span {
    display: block;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav-drawer {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--bg2);
    z-index: 999;
    padding: 1rem 1.5rem 1.5rem;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
    border-top: 1px solid var(--border);
    flex-direction: column;
    gap: 0.25rem;
}

.mobile-nav-drawer.open { display: flex; }

.mobile-nav-drawer a {
    color: var(--text-light);
    font-weight: 500;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    transition: background .2s;
    font-size: 0.95rem;
}

.mobile-nav-drawer a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
}

.mobile-nav-drawer .mobile-nav-divider {
    height: 1px;
    background: var(--border);
    margin: 0.5rem 0;
}

.mobile-nav-drawer .btn-primary {
    background: var(--gold);
    color: #000;
    font-weight: 700;
    justify-content: center;
    margin-top: 0.25rem;
}

/* ─────────────────────────────────────────────
    BUTTONS
──────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all .2s;
    text-decoration: none;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gold);
    color: #000;
    font-weight: 700;
}

.btn-primary:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(240, 180, 41, 0.3);
    color: #000;
}

.btn-outline {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border2);
}

.btn-outline:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: rgba(240, 180, 41, 0.05);
}

.btn-outline-light {
    border-color: var(--border2);
    color: var(--text-light);
}

.btn-outline-light:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: rgba(240, 180, 41, 0.05);
}

.btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none !important;
}

/* ─────────────────────────────────────────────
    CONTAINER
──────────────────────────────────────────────── */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ─────────────────────────────────────────────
    MAIN CONTENT
──────────────────────────────────────────────── */
.main-content {
    padding-top: 90px;
    padding-bottom: 3rem;
}

/* ─────────────────────────────────────────────
    CARDS
──────────────────────────────────────────────── */
.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.card-header h2 {
    font-size: 1.1rem;
}

/* ─────────────────────────────────────────────
    FORMS
──────────────────────────────────────────────── */
.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 13px;
    color: var(--text-light);
    letter-spacing: 0.3px;
}

.form-group label .required {
    color: var(--danger);
}

.form-control {
    width: 100%;
    padding: 0.875rem 1rem;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    border: 1px solid var(--border2);
    border-radius: 8px;
    background: var(--bg2);
    color: var(--text);
    transition: all .2s;
}

.form-control:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(240, 180, 41, 0.12);
}

.form-control::placeholder {
    color: var(--text-muted);
}

.help-text {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.form-row.three-col {
    grid-template-columns: repeat(3, 1fr);
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

/* Password toggle */
.password-wrapper {
    position: relative;
}

.password-wrapper .form-control {
    padding-right: 3rem;
}

.toggle-password {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    transition: color .2s;
}

.toggle-password:hover {
    color: var(--text);
}

/* Checkbox */
.checkbox-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
}

.checkbox-wrapper input {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    accent-color: var(--gold);
}

.checkbox-wrapper .checkbox-label {
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--text-light);
}

.checkbox-wrapper .checkbox-label strong {
    display: block;
    margin-bottom: 0.25rem;
    color: var(--text);
}

.checkbox-wrapper .checkbox-label small {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ─────────────────────────────────────────────
    AUTH PAGES
──────────────────────────────────────────────── */
.auth-page {
    background: var(--bg);
    min-height: 100vh;
}

.auth-page .navbar {
    background: transparent;
    box-shadow: none;
}

.auth-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 70px);
    padding: 2rem;
}

.auth-box {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2.5rem;
    width: 100%;
    max-width: 450px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

.auth-box h1 {
    text-align: center;
    margin-bottom: 0.5rem;
}

.auth-box > p {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.auth-footer {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.auth-footer p {
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

/* ─────────────────────────────────────────────
    REGISTRATION STEPS
──────────────────────────────────────────────── */
.steps-header {
    background: var(--bg2);
    border-bottom: 1px solid var(--border);
    padding: 1.5rem 0;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    z-index: 100;
}

.steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.step-number {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg3);
    color: var(--text-muted);
    border: 1px solid var(--border2);
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.9rem;
    font-family: var(--font-mono);
    transition: all .2s;
}

.step.active .step-number,
.step.completed .step-number {
    background: var(--gold);
    border-color: var(--gold);
    color: #000;
}

.step-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
    letter-spacing: 0.5px;
}

.step.active .step-label {
    color: var(--text);
}

.step-line {
    width: 40px;
    height: 1px;
    background: var(--border2);
}

.registration-container {
    padding-top: 160px;
    padding-bottom: 3rem;
}

.form-step {
    display: none;
    max-width: 700px;
    margin: 0 auto;
}

.form-step.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.step-title {
    text-align: center;
    margin-bottom: 1.5rem;
}

.step-title h2 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.step-title p {
    color: var(--text-light);
}

/* ─────────────────────────────────────────────
    INVESTMENT INFO CARDS
──────────────────────────────────────────────── */
.info-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.info-card {
    background: var(--card);
    border: 1px solid var(--border);
    padding: 1.25rem;
    border-radius: 10px;
    text-align: center;
    transition: border-color .2s;
}

.info-card:hover {
    border-color: rgba(240, 180, 41, 0.3);
}

.info-card .label {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.25rem;
}

.info-card .value {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold);
}

/* ─────────────────────────────────────────────
    BONUS TIERS
──────────────────────────────────────────────── */
.bonus-box {
    background: var(--bg2);
    border: 1px solid rgba(240, 180, 41, 0.2);
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.bonus-box h3 {
    color: var(--gold);
    font-size: 1rem;
    margin-bottom: 1rem;
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.bonus-tier {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.bonus-tier:last-child {
    margin-bottom: 0;
}

.tier-badge {
    background: rgba(240, 180, 41, 0.15);
    color: var(--gold);
    border: 1px solid rgba(240, 180, 41, 0.3);
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tier-badge.gold {
    background: var(--gold);
    color: #000;
    border-color: var(--gold);
}

.tier-info strong {
    display: block;
    color: var(--text);
}

.tier-info span {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ─────────────────────────────────────────────
    CALCULATOR
──────────────────────────────────────────────── */
.calculator-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.calculator-tabs button {
    flex: 1;
    padding: 0.875rem;
    background: var(--bg3);
    border: 1px solid var(--border2);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    transition: all .2s;
}

.calculator-tabs button.active {
    background: rgba(240, 180, 41, 0.1);
    border-color: var(--gold);
    color: var(--gold);
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

.number-input {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.number-input input {
    flex: 1;
    text-align: center;
    font-size: 1.25rem;
    font-weight: 700;
    font-family: var(--font-mono);
}

.btn-adjust {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg3);
    border: 1px solid var(--border2);
    color: var(--text);
    border-radius: 8px;
    font-size: 1.25rem;
    cursor: pointer;
    transition: all .2s;
}

.btn-adjust:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: #000;
}

.range-slider {
    width: 100%;
    margin-top: 1rem;
    -webkit-appearance: none;
    height: 4px;
    background: var(--border2);
    border-radius: 2px;
    outline: none;
}

.range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    background: var(--gold);
    border-radius: 50%;
    cursor: pointer;
}

/* ─────────────────────────────────────────────
    SUMMARY BOX
──────────────────────────────────────────────── */
.summary-box {
    background: var(--bg2);
    border: 1px solid var(--border);
    padding: 1.25rem;
    border-radius: 10px;
    margin-top: 1.5rem;
}

.summary-box h4 {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    font-size: 0.9rem;
    color: var(--text-light);
}

.summary-row.bonus {
    color: var(--gold);
}

.summary-row.total {
    padding-top: 0.75rem;
    margin-top: 0.5rem;
    border-top: 1px solid var(--border2);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
}

.summary-row.total .amount {
    color: var(--gold);
    font-family: var(--font-mono);
    font-size: 1.25rem;
}

/* ─────────────────────────────────────────────
    CONSENT ITEMS
──────────────────────────────────────────────── */
.consent-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.consent-item {
    background: var(--card);
    border: 1px solid var(--border2);
    border-radius: 10px;
    padding: 1.25rem;
    transition: border-color .2s;
}

.consent-item.required {
    border-color: rgba(240, 180, 41, 0.3);
}

.consent-header {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.consent-title {
    font-weight: 700;
    color: var(--text);
}

.badge {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-left: 0.5rem;
}

.badge-required {
    background: rgba(240, 180, 41, 0.15);
    color: var(--gold);
    border: 1px solid rgba(240, 180, 41, 0.3);
}

.badge-optional {
    background: var(--bg3);
    color: var(--text-muted);
    border: 1px solid var(--border2);
}

.consent-text {
    font-size: 0.88rem;
    color: var(--text-muted);
    padding-left: 2rem;
    line-height: 1.6;
}

/* ─────────────────────────────────────────────
    REVIEW SECTION
──────────────────────────────────────────────── */
.review-section {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 10px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    background: var(--bg2);
    border-bottom: 1px solid var(--border);
}

.review-header h4 {
    font-size: 0.95rem;
    margin: 0;
}

.review-body {
    padding: 1rem 1.25rem;
}

.review-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
}

.review-item:last-child {
    border-bottom: none;
}

.review-item .label {
    color: var(--text-muted);
}

/* ─────────────────────────────────────────────
    SUCCESS STATE
──────────────────────────────────────────────── */
.success-state {
    text-align: center;
    padding: 3rem 1.5rem;
}

.success-icon {
    font-size: 5rem;
    color: var(--green);
    margin-bottom: 1.5rem;
}

.success-state h2 {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.success-state > p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.next-steps {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
    max-width: 450px;
    margin: 0 auto 1.5rem;
    text-align: left;
}

.next-steps h3 {
    margin-bottom: 1rem;
}

.next-steps ol {
    padding-left: 1.25rem;
}

.next-steps li {
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

/* ─────────────────────────────────────────────
    DASHBOARD
──────────────────────────────────────────────── */
.dashboard-header {
    background: var(--bg2);
    border-bottom: 1px solid var(--border);
    padding: 2rem 0;
    margin-bottom: 2rem;
}

.dashboard-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dashboard-header h1 {
    font-size: 1.75rem;
    margin-bottom: 0.25rem;
}

.dashboard-header p {
    color: var(--text-muted);
}

.kyc-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.kyc-badge.verified {
    background: rgba(14, 203, 129, 0.1);
    color: var(--green);
    border: 1px solid rgba(14, 203, 129, 0.25);
}

.kyc-badge.pending {
    background: rgba(240, 180, 41, 0.1);
    color: var(--gold);
    border: 1px solid rgba(240, 180, 41, 0.25);
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: border-color .2s;
}

.stat-card:hover {
    border-color: rgba(240, 180, 41, 0.3);
}

.stat-icon {
    width: 48px;
    height: 48px;
    background: rgba(240, 180, 41, 0.1);
    border: 1px solid rgba(240, 180, 41, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--gold);
    flex-shrink: 0;
}

.stat-info .label {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.stat-info .value {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
}

.stat-info .sub {
    font-size: 0.85rem;
    color: var(--gold);
}

/* Progress Section */
.progress-section {
    margin-bottom: 2rem;
}

.progress-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
}

.progress-stats-row {
    display: flex;
    justify-content: space-around;
    margin-bottom: 1.5rem;
}

.progress-stat {
    text-align: center;
}

.progress-stat .value {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text);
}

.progress-stat .label {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.progress-bar-wrap {
    margin-top: 1rem;
}

.progress-bar {
    height: 8px;
    background: var(--bg3);
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 100%);
    border-radius: 4px;
    transition: width 0.5s ease;
}

.progress-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
}

/* Investments List */
.investments-section {
    margin-bottom: 2rem;
}

.section-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.investment-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.investment-item {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.25rem;
    border-left: 3px solid var(--border2);
    transition: border-color .2s;
}

.investment-item.pending_payment {
    border-left-color: var(--warning);
}

.investment-item.completed {
    border-left-color: var(--green);
}

.investment-item.pending_documents {
    border-left-color: var(--blue2);
}

.investment-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.75rem;
}

.investment-header h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.investment-date {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-muted);
}

.status-pill {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.status-pill.pending_payment {
    background: rgba(240, 180, 41, 0.12);
    color: var(--gold);
    border: 1px solid rgba(240, 180, 41, 0.25);
}

.status-pill.completed {
    background: rgba(14, 203, 129, 0.1);
    color: var(--green);
    border: 1px solid rgba(14, 203, 129, 0.25);
}

.status-pill.pending_documents {
    background: rgba(77, 159, 255, 0.1);
    color: var(--blue2);
    border: 1px solid rgba(77, 159, 255, 0.25);
}

.investment-details {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    padding: 0.75rem 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    margin-bottom: 0.75rem;
}

.detail-item {
    display: flex;
    flex-direction: column;
}

.detail-item .label {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0.2rem;
}

.detail-item .value {
    font-weight: 700;
    color: var(--text);
}

.detail-item .bonus {
    font-size: 0.8rem;
    color: var(--gold);
}

.investment-actions {
    display: flex;
    gap: 0.75rem;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 3rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
}

.empty-icon {
    font-size: 4rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.empty-state h3 {
    margin-bottom: 0.5rem;
}

.empty-state p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

/* Sidebar */
.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 1.5rem;
}

.sidebar-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.sidebar-card .card-header {
    padding: 1rem 1.25rem;
}

.sidebar-card .card-header h3 {
    font-size: 0.95rem;
}

.profile-info {
    padding: 0.75rem 1.25rem;
}

.profile-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border);
}

.profile-row:last-child {
    border-bottom: none;
}

.profile-row .label {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.profile-row .value {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
}

.quick-links {
    padding: 0.5rem 0;
}

.quick-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    color: var(--text-light);
    transition: all .2s;
}

.quick-link:hover {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
}

.quick-link i {
    color: var(--gold);
    font-size: 1rem;
}

/* ─────────────────────────────────────────────
    CHECKOUT PAGE
──────────────────────────────────────────────── */
.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 1.5rem;
}

.bank-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.bank-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--bg2);
    border-bottom: 1px solid var(--border);
    color: var(--text);
}

.bank-icon {
    width: 50px;
    height: 50px;
    background: rgba(240, 180, 41, 0.12);
    border: 1px solid rgba(240, 180, 41, 0.25);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--gold);
}

.bank-header h3 {
    color: var(--text);
    margin: 0;
}

.bank-details {
    padding: 1.25rem;
}

.bank-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
}

.bank-row:last-child {
    border-bottom: none;
}

.bank-row.highlight {
    background: var(--bg2);
    margin: 0.75rem -1.25rem;
    padding: 0.75rem 1.25rem;
}

.bank-row .label {
    color: var(--text-muted);
    font-size: 0.88rem;
}

.bank-row .value {
    font-family: var(--font-mono);
    font-weight: 600;
    color: var(--text);
}

.bank-row .value.gold {
    color: var(--gold);
    font-weight: 700;
}

.btn-copy {
    background: none;
    border: none;
    color: var(--gold);
    cursor: pointer;
    padding: 0.25rem;
    display: flex;
    align-items: center;
    transition: color .2s;
}

.btn-copy:hover {
    color: var(--gold-light);
}

.notice-box {
    display: flex;
    gap: 1rem;
    background: rgba(240, 180, 41, 0.06);
    border: 1px solid rgba(240, 180, 41, 0.25);
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.notice-box i {
    color: var(--gold);
    font-size: 1.25rem;
}

.notice-box p {
    font-size: 0.88rem;
    color: var(--text-muted);
}

/* Upload Section */
.upload-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
}

.upload-box {
    border: 1px dashed var(--border2);
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    transition: border-color .2s;
}

.upload-box:hover {
    border-color: rgba(240, 180, 41, 0.4);
}

.upload-box i {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 0.75rem;
}

.upload-box h4 {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.upload-box p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.file-input-wrapper {
    position: relative;
}

.file-input-wrapper input {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.file-name {
    display: block;
    margin-top: 0.5rem;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Order Summary */
.order-summary {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
    position: sticky;
    top: 90px;
}

.order-summary h3 {
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border);
}

.summary-line {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    font-size: 0.9rem;
    color: var(--text-light);
}

.summary-line.bonus {
    color: var(--gold);
}

.summary-line.total {
    padding-top: 0.75rem;
    margin-top: 0.5rem;
    border-top: 1px solid var(--border2);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
}

.summary-line.total .amount {
    color: var(--gold);
    font-family: var(--font-mono);
    font-size: 1.35rem;
}

.summary-footer {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
    text-align: center;
}

/* ─────────────────────────────────────────────
    FOOTER
──────────────────────────────────────────────── */
.footer {
    background: var(--bg2);
    border-top: 1px solid var(--border);
    padding: 1.5rem 0;
    text-align: center;
}

.footer p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 0.5rem;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.85rem;
    transition: color .2s;
}

.footer-links a:hover {
    color: var(--gold);
}

/* ─────────────────────────────────────────────
    RESPONSIVE
──────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .dashboard-grid,
    .checkout-grid,
    .invest-grid {
        grid-template-columns: 1fr;
    }

    .order-summary {
        position: relative;
        top: 0;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 0 1rem;
    }

    .navbar-nav {
        display: none;
    }

    .navbar-mobile-right {
        display: flex;
    }

    .form-row,
    .form-row.three-col {
        grid-template-columns: 1fr;
    }

    .info-cards,
    .stats-grid,
    .investment-details,
    .upload-grid {
        grid-template-columns: 1fr;
    }

    .steps {
        flex-wrap: wrap;
    }

    .step-line {
        display: none;
    }

    .auth-container {
        padding: 1rem;
    }

    .auth-box {
        padding: 1.5rem;
    }
}