/* Modern Fintech Dark UI Design System for Signatures (signatures.biz.id) */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&display=swap');

:root {
    --bg-base: #040711;
    --bg-surface: #0a0f1f;
    --bg-card: #0f172a;
    --bg-card-hover: #15223c;
    --border-color: rgba(255, 255, 255, 0.08);
    --border-highlight: rgba(56, 189, 248, 0.35);

    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --primary-glow: rgba(37, 99, 235, 0.35);

    --accent-cyan: #38bdf8;
    --accent-indigo: #6366f1;
    --accent-purple: #a855f7;

    --green-up: #10b981;
    --green-bg: rgba(16, 185, 129, 0.12);
    --green-border: rgba(16, 185, 129, 0.3);

    --red-down: #f43f5e;
    --red-bg: rgba(244, 63, 94, 0.12);
    --red-border: rgba(244, 63, 94, 0.3);

    --amber-div: #f59e0b;
    --amber-bg: rgba(245, 158, 11, 0.12);
    --amber-border: rgba(245, 158, 11, 0.3);

    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;

    --font-main: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    --font-brand: 'Outfit', 'Plus Jakarta Sans', sans-serif;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-full: 9999px;
    --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-base);
    color: var(--text-primary);
    min-height: 100vh;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    background-image: 
        radial-gradient(ellipse 80% 50% at 20% 0%, rgba(56, 189, 248, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 85% 10%, rgba(99, 102, 241, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 50% 90%, rgba(168, 85, 247, 0.05) 0%, transparent 40%);
    background-attachment: fixed;
}

a {
    color: inherit;
    text-decoration: none;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-base);
}
::-webkit-scrollbar-thumb {
    background: #1e293b;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #334155;
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header & Navbar */
.navbar {
    background: rgba(13, 19, 34, 0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}
.navbar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}
.brand-group {
    display: flex;
    align-items: center;
    gap: 14px;
}
.brand-logo {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #0ea5e9 0%, #3b82f6 50%, #8b5cf6 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 24px;
    font-family: var(--font-brand);
    color: white;
    box-shadow: 0 0 24px rgba(56, 189, 248, 0.45), inset 0 1px 1px rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.25);
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}
.brand-logo:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 0 32px rgba(99, 102, 241, 0.6);
}
.brand-logo span {
    background: linear-gradient(180deg, #ffffff 30%, #e0e7ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}
.brand-text h1 {
    font-size: 19px;
    font-weight: 800;
    font-family: var(--font-brand);
    letter-spacing: -0.01em;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.brand-domain-badge {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    font-weight: 700;
    color: var(--accent-cyan);
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.35);
    padding: 2px 10px;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    letter-spacing: 0.2px;
    transition: var(--transition);
}
.brand-domain-badge:hover {
    background: rgba(56, 189, 248, 0.22);
    border-color: var(--accent-cyan);
    color: #fff;
    box-shadow: 0 0 14px rgba(56, 189, 248, 0.3);
}
.brand-domain-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 8px #10b981;
}
.brand-badge {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    background: rgba(56, 189, 248, 0.15);
    color: var(--accent-cyan);
    border: 1px solid rgba(56, 189, 248, 0.3);
    padding: 2px 8px;
    border-radius: var(--radius-full);
}
.brand-text p {
    font-size: 12px;
    color: var(--text-secondary);
}
.gradient-text {
    background: linear-gradient(135deg, #38bdf8 0%, #818cf8 50%, #c084fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    border-radius: var(--radius-md);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
}
.btn-primary {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    box-shadow: 0 4px 14px var(--primary-glow);
}
.btn-primary:hover {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    transform: translateY(-1px);
}
.btn-amber {
    background: linear-gradient(135deg, #d97706, #b45309);
    color: white;
    box-shadow: 0 4px 14px rgba(217, 119, 6, 0.3);
}
.btn-amber:hover {
    transform: translateY(-1px);
    background: linear-gradient(135deg, #f59e0b, #d97706);
}
.btn-outline {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}
.btn-outline:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}
.btn-sm {
    padding: 6px 10px;
    font-size: 11px;
    border-radius: var(--radius-sm);
}

/* Hero / Stats Cards */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    margin: 28px 0;
}
.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 20px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.stat-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--border-highlight), transparent);
}
.stat-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.16);
    box-shadow: 0 12px 28px rgba(0,0,0,0.3);
}
.stat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 10px;
}
.stat-icon {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}
.icon-blue { background: rgba(37, 99, 235, 0.15); color: var(--accent-cyan); }
.icon-green { background: var(--green-bg); color: var(--green-up); }
.icon-red { background: var(--red-bg); color: var(--red-down); }
.icon-amber { background: var(--amber-bg); color: var(--amber-div); }

.stat-value {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 4px;
}
.stat-sub {
    font-size: 12px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Control Section */
.controls-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 20px;
    margin-bottom: 24px;
}
.controls-top {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}
.search-wrapper {
    position: relative;
    flex: 1;
    min-width: 280px;
}
.search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 15px;
    pointer-events: none;
}
.search-input {
    width: 100%;
    background: #090e18;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 11px 16px 11px 42px;
    font-size: 14px;
    color: var(--text-primary);
    font-family: inherit;
    transition: var(--transition);
}
.search-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
}
.search-input::placeholder {
    color: var(--text-muted);
}

.controls-right {
    display: flex;
    align-items: center;
    gap: 12px;
}
.select-custom {
    background: #090e18;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 10px 14px;
    font-size: 13px;
    color: var(--text-primary);
    font-family: inherit;
    cursor: pointer;
    transition: var(--transition);
}
.select-custom:focus {
    outline: none;
    border-color: var(--primary);
}

/* Filter Chips */
.filter-chips {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.chip {
    padding: 7px 14px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
}
.chip:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
}
.chip.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 2px 8px var(--primary-glow);
}

/* View Mode Toggles */
.view-switch {
    display: flex;
    background: #090e18;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 3px;
}
.view-btn {
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 13px;
    cursor: pointer;
    transition: var(--transition);
}
.view-btn.active {
    background: var(--bg-card);
    color: var(--text-primary);
    font-weight: 600;
}

/* Data Table */
.table-wrapper {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 24px;
}
.table-scroll {
    overflow-x: auto;
    overflow-y: visible;
    /* Always show scrollbar so user knows it's scrollable */
    scrollbar-width: thin;
    scrollbar-color: #2d3f5e var(--bg-base);
    -webkit-overflow-scrolling: touch;
    /* Drag cursor cue on the scroll area */
    cursor: grab;
}
.table-scroll:active {
    cursor: grabbing;
}
.table-scroll::-webkit-scrollbar {
    height: 10px;
}
.table-scroll::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.03);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}
.table-scroll::-webkit-scrollbar-thumb {
    background: #2d3f5e;
    border-radius: 4px;
}
.table-scroll::-webkit-scrollbar-thumb:hover {
    background: #3b5280;
}
table.etf-table {
    width: 100%;
    min-width: 1280px;
    border-collapse: collapse;
    text-align: left;
    font-size: 13px;
}
table.etf-table th {
    background: #0c1220;
    padding: 14px 18px;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-bottom: 1px solid var(--border-color);
    white-space: nowrap;
}
table.etf-table th.sortable {
    cursor: pointer;
    user-select: none;
    transition: var(--transition);
}
table.etf-table th.sortable:hover {
    background: #151e33;
    color: var(--text-primary);
}
table.etf-table th.sortable.active {
    color: var(--accent-cyan);
    background: rgba(56, 189, 248, 0.08);
    border-bottom-color: var(--accent-cyan);
}
.th-content {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.sort-icon {
    display: inline-block;
    font-size: 11px;
    opacity: 0.35;
    transition: var(--transition);
}
table.etf-table th.sortable:hover .sort-icon {
    opacity: 0.8;
}
table.etf-table th.sortable.active .sort-icon {
    opacity: 1;
    color: var(--accent-cyan);
    font-weight: bold;
}
table.etf-table td {
    padding: 14px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    vertical-align: middle;
}
table.etf-table tbody tr {
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease;
}
table.etf-table tbody tr:hover {
    background: rgba(56, 189, 248, 0.08);
}

/* ETF Identity in Table */
.etf-cell {
    display: flex;
    align-items: center;
    gap: 12px;
}
.etf-icon-box {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    background: #1e293b;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.etf-icon-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.etf-title-group {
    display: flex;
    flex-direction: column;
}
.symbol-row {
    display: flex;
    align-items: center;
    gap: 6px;
}
.etf-symbol, a.etf-symbol {
    font-weight: 800;
    font-size: 14px;
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.15s ease;
}
.etf-symbol:hover, a.etf-symbol:hover {
    color: var(--accent-cyan);
}
.etf-category {
    font-size: 10px;
    padding: 1px 6px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 4px;
    color: var(--text-muted);
}
.etf-name, a.etf-name {
    font-size: 12px;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 280px;
    text-decoration: none;
    transition: color 0.15s ease;
}
.etf-name:hover, a.etf-name:hover {
    color: #fff;
    text-decoration: underline;
}
.etf-table tbody tr {
    cursor: pointer;
    transition: background-color 0.15s ease;
}
.etf-table tbody tr:hover {
    background-color: rgba(255, 255, 255, 0.04);
}

/* Price & Returns Badges */
.price-value {
    font-weight: 700;
    font-size: 14px;
}
.price-closing {
    font-size: 11px;
    color: var(--text-muted);
}
.change-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 12px;
    white-space: nowrap;
}
.change-pill.positive {
    background: var(--green-bg);
    color: var(--green-up);
    border: 1px solid var(--green-border);
}
.change-pill.negative {
    background: var(--red-bg);
    color: var(--red-down);
    border: 1px solid var(--red-border);
}
.change-pill.neutral {
    background: rgba(255,255,255,0.06);
    color: var(--text-secondary);
}

/* Dividend Pill */
.dividend-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 700;
    background: var(--amber-bg);
    color: var(--amber-div);
    border: 1px solid var(--amber-border);
}

/* Sparkline in Table */
.sparkline-img {
    height: 28px;
    max-width: 90px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}

/* Action Buttons in Row */
.action-links {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Card Grid View */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
    margin-bottom: 24px;
}
.etf-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 20px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.etf-card:hover {
    transform: translateY(-3px);
    border-color: rgba(56, 189, 248, 0.3);
    box-shadow: 0 12px 30px rgba(0,0,0,0.4);
}
.card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 14px;
}
.card-left {
    display: flex;
    gap: 12px;
}
.card-middle {
    margin: 14px 0;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
}
.card-spark {
    width: 100%;
    height: 48px;
    margin: 10px 0;
    object-fit: contain;
}
.card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    margin-top: 10px;
}

/* Pagination */
.pagination-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 40px;
}
.page-info {
    font-size: 13px;
    color: var(--text-secondary);
}
.page-buttons {
    display: flex;
    align-items: center;
    gap: 6px;
}
.page-btn {
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border-radius: var(--radius-sm);
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.page-btn:hover:not(:disabled) {
    background: var(--bg-card-hover);
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.2);
}
.page-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}
.page-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* Modals */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(3, 7, 18, 0.85);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.modal-overlay.active {
    display: flex;
}
.modal-box {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 580px;
    padding: 28px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.6);
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}
.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}
.modal-title {
    font-size: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}
.modal-close {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 20px;
    cursor: pointer;
    padding: 4px;
    line-height: 1;
}
.modal-close:hover {
    color: var(--text-primary);
}

/* Form inputs in Modal */
.form-group {
    margin-bottom: 16px;
}
.form-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 6px;
}
.form-control {
    width: 100%;
    background: #090e18;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 10px 14px;
    font-size: 13px;
    color: var(--text-primary);
    font-family: inherit;
}
.form-control:focus {
    outline: none;
    border-color: var(--primary);
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

/* Toast Notification */
.toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1100;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.toast {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 12px 20px;
    border-radius: var(--radius-md);
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    gap: 10px;
    animation: slideIn 0.3s ease;
}
.toast.success { border-left: 4px solid var(--green-up); }
.toast.error { border-left: 4px solid var(--red-down); }
.toast.info { border-left: 4px solid var(--accent-cyan); }

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .navbar-content { height: auto; padding: 14px 0; flex-direction: column; gap: 12px; }
    .controls-top { flex-direction: column; align-items: stretch; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .form-row { grid-template-columns: 1fr; }
}

/* Dividend Frequency Badges */
.freq-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}
.freq-weekly {
    background: rgba(168, 85, 247, 0.15);
    color: #c084fc;
    border: 1px solid rgba(168, 85, 247, 0.35);
}
.freq-monthly {
    background: rgba(56, 189, 248, 0.15);
    color: #38bdf8;
    border: 1px solid rgba(56, 189, 248, 0.35);
}
.freq-quarterly {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.35);
}
.freq-semiannual {
    background: rgba(245, 158, 11, 0.15);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.35);
}
.freq-annual {
    background: rgba(148, 163, 184, 0.15);
    color: #cbd5e1;
    border: 1px solid rgba(148, 163, 184, 0.35);
}
.freq-default {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-secondary);
}

/* Category Tabs (Semua Pasar AS / Saham AS / ETF AS) */
.category-tabs {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.cat-tab {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    padding: 12px 20px;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-secondary);
    font-family: inherit;
}
.cat-tab:hover {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.04);
    transform: translateY(-1px);
}
.cat-tab.active {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.2), rgba(56, 189, 248, 0.1));
    border-color: var(--primary);
    color: var(--text-primary);
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.25);
}
.cat-icon {
    font-size: 18px;
}
.cat-title {
    font-size: 14px;
    font-weight: 700;
}
.cat-count {
    background: rgba(255, 255, 255, 0.08);
    padding: 2px 8px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 700;
    color: var(--accent-cyan);
}
.cat-tab.active .cat-count {
    background: var(--primary);
    color: white;
}

/* Asset Type Badges */
.asset-type-badge {
    display: inline-block;
    padding: 2px 7px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.badge-stock {
    background: rgba(14, 165, 233, 0.15);
    color: #38bdf8;
    border: 1px solid rgba(14, 165, 233, 0.35);
}
.badge-etf {
    background: rgba(168, 85, 247, 0.15);
    color: #c084fc;
    border: 1px solid rgba(168, 85, 247, 0.35);
}

/* Sync Target Options */
.sync-target-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 18px;
}
.sync-target-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: #090e18;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
}
.sync-target-option:hover {
    border-color: rgba(255, 255, 255, 0.2);
    background: #0e1626;
}
.sync-target-option input[type="radio"] {
    accent-color: var(--primary);
    width: 16px;
    height: 16px;
}
.sync-target-info {
    display: flex;
    flex-direction: column;
}
.sync-target-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
}
.sync-target-desc {
    font-size: 11px;
    color: var(--text-muted);
}

/* ==========================================================================
   Comprehensive Asset Detail Modal (Pluang + Investing.com)
   ========================================================================== */
.modal-detail-box {
    max-width: 980px;
    width: 95vw;
    max-height: 92vh;
    padding: 24px;
    background: #0b1120;
    border: 1px solid rgba(56, 189, 248, 0.25);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.75), 0 0 35px rgba(37, 99, 235, 0.15);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Header */
.detail-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--border-color);
    flex-wrap: wrap;
}

.detail-asset-info {
    display: flex;
    align-items: center;
    gap: 14px;
}

.detail-icon-wrap {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-md);
    background: #17223b;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    flex-shrink: 0;
}

.detail-icon-wrap img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.detail-title-line {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.detail-symbol {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.detail-sector-badge {
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    color: var(--text-secondary);
}

.detail-rank-badge {
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.3);
    border-radius: 4px;
    color: var(--accent-cyan);
}

.detail-name {
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 2px;
}

.detail-price-box {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.detail-price-val {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-primary);
    font-family: inherit;
}

.detail-change-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 2px;
}

.detail-prev-close {
    font-size: 11px;
    color: var(--text-muted);
}

.detail-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Tabs Navigation */
.detail-tab-nav {
    display: flex;
    gap: 6px;
    padding: 12px 0 0 0;
    border-bottom: 1px solid var(--border-color);
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
}
.detail-tab-nav::-webkit-scrollbar {
    display: none;
}

.detail-nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 16px;
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: var(--transition);
    border-radius: 6px 6px 0 0;
}

.detail-nav-btn:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.03);
}

.detail-nav-btn.active {
    color: var(--accent-cyan);
    border-bottom-color: var(--accent-cyan);
    background: rgba(56, 189, 248, 0.08);
}

.detail-nav-btn .tab-icon {
    font-size: 14px;
}

/* Body & Panes */
.detail-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px 4px 10px 0;
}

.detail-tab-pane {
    display: none;
}

.detail-tab-pane.active {
    display: block;
    animation: fadeIn 0.2s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}

.detail-loading-box {
    text-align: center;
    padding: 60px 20px;
}

/* Section Subheading */
.section-subheading {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Range Meter Card (52-Week Range) */
.range-meter-card {
    background: #0f172a;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 18px 20px;
    margin-bottom: 16px;
}

.range-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.range-card-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-primary);
}

.range-badge {
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: var(--radius-full);
    background: rgba(16, 185, 129, 0.15);
    color: var(--green-up);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.range-meter-track {
    position: relative;
    height: 8px;
    background: #1e293b;
    border-radius: 4px;
    margin-bottom: 14px;
}

.range-meter-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: linear-gradient(90deg, #2563eb, #38bdf8);
    border-radius: 4px;
}

.range-meter-pin {
    position: absolute;
    top: -5px;
    width: 18px;
    height: 18px;
    background: #ffffff;
    border: 3px solid #0284c7;
    border-radius: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.8);
    transition: left 0.3s ease;
}

.range-meter-labels {
    display: flex;
    justify-content: space-between;
}

.range-lbl {
    font-size: 10px;
    color: var(--text-muted);
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.range-val {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-primary);
    margin-top: 2px;
}

.range-date {
    font-size: 10px;
    color: var(--text-muted);
}

/* Day Range Card */
.day-range-card {
    background: #0f172a;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 14px 18px;
    margin-bottom: 20px;
}

.day-range-header {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.day-range-values {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-primary);
}

.day-range-bar {
    flex: 1;
    height: 6px;
    background: #1e293b;
    border-radius: 3px;
    position: relative;
    overflow: hidden;
}

.day-range-fill {
    height: 100%;
    background: var(--accent-cyan);
    border-radius: 3px;
}

/* Key Stats Grid */
.key-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
}

.stat-tile {
    background: #0f172a;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    transition: var(--transition);
}

.stat-tile:hover {
    border-color: rgba(255, 255, 255, 0.15);
    background: #141e34;
}

.stat-tile-title {
    font-size: 11px;
    color: var(--text-muted);
    display: block;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.stat-tile-val {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
}

.stat-tile-sub {
    font-size: 11px;
    color: var(--text-secondary);
    margin-top: 2px;
}

/* Trading Activity Bar */
.trading-act-wrap {
    margin-top: 6px;
}

.trading-act-bar {
    display: flex;
    height: 6px;
    border-radius: 3px;
    overflow: hidden;
    background: #334155;
}

.trading-act-buy {
    background: var(--green-up);
}

.trading-act-sell {
    background: var(--red-down);
}

/* Investing.com Hub Banner & Cards */
.investing-hub-banner {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.08) 0%, rgba(37, 99, 235, 0.08) 100%);
    border: 1px solid rgba(245, 158, 11, 0.25);
    border-radius: var(--radius-md);
    padding: 20px;
    margin-bottom: 24px;
}

.hub-badge {
    font-size: 10px;
    font-weight: 800;
    color: #fbbf24;
    letter-spacing: 0.05em;
    background: rgba(245, 158, 11, 0.15);
    padding: 3px 8px;
    border-radius: var(--radius-full);
    display: inline-block;
    margin-bottom: 8px;
}

.hub-title {
    font-size: 17px;
    font-weight: 700;
    color: #f8fafc;
    margin-bottom: 4px;
}

.hub-desc {
    font-size: 12px;
    color: var(--text-secondary);
    max-width: 650px;
    line-height: 1.5;
    margin-bottom: 16px;
}

.investing-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 12px;
}

.inv-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 12px 14px;
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
}

.inv-card:hover {
    border-color: rgba(56, 189, 248, 0.4);
    background: #141e34;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.inv-card-icon {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.inv-card-title {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-primary);
}

.inv-card-sub {
    font-size: 10px;
    color: var(--text-muted);
    margin-top: 2px;
    line-height: 1.3;
}

/* Dividend Metrics Card */
.dividend-metrics-card {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
    background: #0f172a;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px;
}

.div-metric-item {
    padding: 12px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.02);
    display: flex;
    flex-direction: column;
}

.div-metric-item.highlight {
    background: rgba(56, 189, 248, 0.08);
    border: 1px solid rgba(56, 189, 248, 0.25);
}

.div-metric-label {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.div-metric-value {
    font-size: 16px;
    font-weight: 800;
    color: var(--text-primary);
    margin: 4px 0 2px 0;
}

.div-metric-sub {
    font-size: 10px;
    color: var(--text-secondary);
}

/* AI Insights */
.ai-header-box {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(56, 189, 248, 0.08) 100%);
    border: 1px solid rgba(99, 102, 241, 0.25);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    margin-bottom: 20px;
}

.ai-badge-group {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
}

.ai-spark-icon {
    font-size: 16px;
}

.ai-badge-text {
    font-size: 11px;
    font-weight: 800;
    color: #a5b4fc;
    letter-spacing: 0.05em;
}

.ai-subtitle {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.ai-insights-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ai-insight-item {
    background: #0f172a;
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--accent-cyan);
    border-radius: var(--radius-md);
    padding: 14px 18px;
}

.ai-insight-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.ai-insight-desc {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Peers / Also Bought */
.peers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 10px;
}

.peer-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #0f172a;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 10px 12px;
    cursor: pointer;
    transition: var(--transition);
}

.peer-chip:hover {
    background: #141e34;
    border-color: rgba(56, 189, 248, 0.3);
    transform: translateY(-1px);
}

.peer-icon {
    width: 26px;
    height: 26px;
    border-radius: 4px;
    object-fit: contain;
}

.peer-symbol {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-primary);
}

.peer-name {
    font-size: 10px;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 90px;
}

.peer-change {
    margin-left: auto;
    font-size: 11px;
    font-weight: 700;
}

/* Chart Embed */
.chart-embed-wrapper {
    width: 100%;
    height: 460px;
    background: #070a12;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.chart-embed-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.chart-notice {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    font-size: 11px;
    color: var(--text-muted);
}

/* News List */
.news-list-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.news-card {
    background: #0f172a;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px;
    transition: var(--transition);
}

.news-card:hover {
    background: #141e34;
    border-color: rgba(255, 255, 255, 0.15);
}

.news-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.news-pub-time {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 500;
}

.signal-pill {
    font-size: 10px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 4px;
}

.news-card-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.4;
    margin-bottom: 6px;
}

.news-card-summary {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.news-card-footer {
    margin-top: 10px;
    display: flex;
    justify-content: flex-end;
}

.news-card-footer a {
    font-size: 11px;
    color: var(--accent-cyan);
    font-weight: 600;
}
.news-card-footer a:hover {
    text-decoration: underline;
}

/* Profile Card */
.profile-card {
    background: #0f172a;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 22px;
}

.profile-heading {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.profile-desc {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
    white-space: pre-line;
}

.profile-meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
}

.profile-meta-item {
    display: flex;
    flex-direction: column;
}

.profile-meta-label {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 4px;
}

.profile-meta-val {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
}

@media (max-width: 768px) {
    .modal-detail-box {
        padding: 16px;
    }
    .detail-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .detail-price-box {
        align-items: flex-start;
    }
    .detail-header-actions {
        width: 100%;
        justify-content: flex-end;
    }
    .investing-links-grid {
        grid-template-columns: 1fr;
    }
    .dividend-metrics-card,
    .key-stats-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* ==========================================================================
   Cross-Platform Availability (Pluang & Ajaib)
   ========================================================================== */
.platform-chips {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.platform-chip {
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.platform-chip:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.2);
}
.platform-chip.active {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    border-color: #10b981;
    box-shadow: 0 0 14px rgba(16, 185, 129, 0.25);
}

.platform-badges-wrapper {
    display: flex;
    gap: 5px;
    align-items: center;
    flex-wrap: wrap;
}
.p-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.02em;
    white-space: nowrap;
}
.p-pluang {
    background: rgba(37, 99, 235, 0.16);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.35);
}
.p-ajaib {
    background: rgba(16, 185, 129, 0.16);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.35);
}

.btn-ajaib {
    background: rgba(16, 185, 129, 0.16);
    border: 1px solid rgba(16, 185, 129, 0.4);
    color: #34d399 !important;
}
.btn-ajaib:hover {
    background: #10b981;
    color: #fff !important;
    border-color: #10b981;
}

.btn-pluang {
    background: var(--blue-primary);
    border: 1px solid var(--blue-primary);
    color: #fff !important;
}
.btn-pluang:hover {
    background: #1d4ed8;
}

.modal-platform-badges {
    display: flex;
    gap: 6px;
    align-items: center;
    margin-top: 4px;
}

/* Signatures Hero Intelligence Banner */
.signatures-hero {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(10, 15, 30, 0.95) 100%);
    border: 1px solid rgba(56, 189, 248, 0.22);
    border-radius: var(--radius-lg);
    padding: 24px 28px;
    margin-top: 24px;
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4), 0 0 50px rgba(56, 189, 248, 0.06);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}
.signatures-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #38bdf8 0%, #818cf8 35%, #c084fc 70%, #10b981 100%);
}
.hero-brand-meta {
    max-width: 800px;
}
.hero-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.8px;
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.25);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    margin-bottom: 12px;
}
.hero-status-pill .pulse-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 8px #10b981;
    animation: pulse 1.5s infinite;
}
.hero-heading {
    font-family: var(--font-brand);
    font-size: 26px;
    font-weight: 900;
    letter-spacing: -0.02em;
    color: #f8fafc;
    margin-bottom: 8px;
    line-height: 1.25;
}
.hero-subtext {
    font-size: 13.5px;
    color: var(--text-secondary);
    line-height: 1.6;
}
.hero-link {
    color: #38bdf8;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: var(--transition);
}
.hero-link:hover {
    color: #7dd3fc;
}
.hero-badges {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.hero-mini-stat {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 12px 18px;
    text-align: center;
    min-width: 105px;
    transition: var(--transition);
}
.hero-mini-stat:hover {
    background: rgba(56, 189, 248, 0.08);
    border-color: rgba(56, 189, 248, 0.35);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}
.hero-mini-stat .stat-num {
    font-family: var(--font-brand);
    font-size: 20px;
    font-weight: 900;
    color: #fff;
}
.hero-mini-stat .stat-lbl {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 600;
    margin-top: 3px;
}

/* Signatures Elite Footer */
.signatures-footer {
    background: rgba(5, 8, 16, 0.98);
    border-top: 1px solid var(--border-color);
    margin-top: 60px;
    padding: 50px 0 28px;
    position: relative;
}
.signatures-footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.3), transparent);
}
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    flex-wrap: wrap;
    padding-bottom: 36px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.footer-brand {
    max-width: 460px;
}
.footer-desc {
    font-size: 12.5px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-top: 14px;
}
.footer-links-group {
    display: flex;
    gap: 48px;
    flex-wrap: wrap;
}
.footer-col h4 {
    font-family: var(--font-brand);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #94a3b8;
    margin-bottom: 14px;
}
.footer-col a {
    display: block;
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 9px;
    transition: var(--transition);
}
.footer-col a:hover {
    color: #38bdf8;
    transform: translateX(3px);
}
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    padding-top: 24px;
    font-size: 12px;
    color: var(--text-muted);
}
.footer-badge {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10.5px;
    font-weight: 700;
    padding: 4px 12px;
    background: rgba(56, 189, 248, 0.1);
    color: #38bdf8;
    border: 1px solid rgba(56, 189, 248, 0.25);
    border-radius: var(--radius-sm);
    letter-spacing: 0.5px;
}

