:root {
    --bg-dark: #05070B;
    --bg-card: rgba(13, 17, 27, 0.75);
    --bg-card-hover: rgba(19, 25, 38, 0.9);
    --border: rgba(255, 255, 255, 0.08);
    --border-light: rgba(255, 255, 255, 0.15);
    --border-glow: rgba(0, 229, 255, 0.3);
    --text-main: #F4F7FB;
    --text-muted: #8E9BAE;
    --cyan: #00E5FF;
    --cyan-dim: rgba(0, 229, 255, 0.12);
    --green: #00E676;
    --green-dim: rgba(0, 230, 118, 0.12);
    --emerald: #00F59B;
    --red: #FF5252;
    --purple: #9D4EDD;
    --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
    letter-spacing: -0.01em;
}

.container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography & Shimmers */
.accent-cyan { color: var(--cyan); }
.text-green { color: var(--green); }
.text-cyan { color: var(--cyan); }
.text-purple { color: var(--purple); }
.text-red { color: var(--red); }
.text-muted { color: var(--text-muted); }
.full-width { width: 100%; }

.gradient-text {
    background: linear-gradient(135deg, #00E5FF 0%, #7C4DFF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gradient-text-alt {
    background: linear-gradient(135deg, #00E5FF 0%, #00E676 50%, #B388FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    border: none;
    text-decoration: none;
    font-family: var(--font-main);
}

.btn-primary {
    background: linear-gradient(135deg, #00E5FF 0%, #0091EA 100%);
    color: #05070B;
    box-shadow: 0 4px 20px rgba(0, 229, 255, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 229, 255, 0.45);
}

.btn-glow {
    position: relative;
    overflow: hidden;
}

.btn-emerald {
    background: linear-gradient(135deg, #00E676 0%, #00B0FF 100%);
    color: #05070B;
    box-shadow: 0 4px 20px rgba(0, 230, 118, 0.25);
}

.btn-emerald:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 230, 118, 0.4);
}

.btn-outline {
    background: var(--bg-card);
    color: var(--text-main);
    border: 1px solid var(--border);
    backdrop-filter: blur(8px);
}

.btn-outline:hover {
    border-color: var(--cyan);
    color: var(--cyan);
    background: var(--bg-card-hover);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 7px 14px;
    font-size: 12px;
    border-radius: 8px;
}

.btn-lg {
    padding: 14px 28px;
    font-size: 15px;
    border-radius: 14px;
}

/* Top Nav */
.top-nav {
    border-bottom: 1px solid var(--border);
    background: rgba(5, 7, 11, 0.85);
    backdrop-filter: blur(16px);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1340px;
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

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

.logo-icon {
    font-size: 20px;
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.2), rgba(0, 230, 118, 0.1));
    border: 1px solid rgba(0, 229, 255, 0.4);
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.2);
}

.brand-title {
    font-size: 19px;
    font-weight: 800;
    letter-spacing: 1px;
}

.brand-tag {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--cyan);
    background: var(--cyan-dim);
    padding: 2px 7px;
    border-radius: 6px;
    margin-left: 6px;
    border: 1px solid rgba(0, 229, 255, 0.3);
    font-weight: 700;
}

.live-metrics {
    display: flex;
    align-items: center;
    gap: 10px;
}

.metric-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 11px;
    padding: 6px 12px;
    background: rgba(13, 17, 27, 0.6);
    border: 1px solid var(--border);
    border-radius: 8px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--green);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--green);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.35; transform: scale(0.75); }
    100% { opacity: 1; transform: scale(1); }
}

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

.nav-btn-nodes,
.nav-btn-bots {
    border-color: rgba(0, 230, 118, 0.4) !important;
    color: var(--green) !important;
    background: rgba(0, 230, 118, 0.06);
}

.nav-btn-nodes:hover,
.nav-btn-bots:hover {
    background: rgba(0, 230, 118, 0.15) !important;
    border-color: var(--green) !important;
    box-shadow: 0 0 15px rgba(0, 230, 118, 0.25);
}

.nav-tg-btn {
    border-color: rgba(0, 229, 255, 0.35) !important;
    color: var(--cyan) !important;
}

.nav-badge-pill {
    background: var(--green);
    color: #000;
    font-weight: 800;
    padding: 1px 6px;
    border-radius: 10px;
    font-size: 10px;
    margin-left: 4px;
}

/* Continuous Live Ticker Tape */
.live-ticker-wrap {
    background: #040609;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    white-space: nowrap;
    padding: 8px 0;
    position: relative;
}

.ticker-track {
    display: inline-flex;
    gap: 32px;
    animation: tickerMove 35s linear infinite;
}

.ticker-track:hover {
    animation-play-state: paused;
}

@keyframes tickerMove {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 12px;
    color: #A0AEC0;
}

.ticker-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}
.ticker-dot.green { background: var(--green); box-shadow: 0 0 6px var(--green); }
.ticker-dot.cyan { background: var(--cyan); box-shadow: 0 0 6px var(--cyan); }
.ticker-dot.purple { background: var(--purple); box-shadow: 0 0 6px var(--purple); }

/* Hero Section */
.hero-section {
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 50% -20%, rgba(0, 229, 255, 0.12) 0%, transparent 70%);
}

.ambient-glow {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    filter: blur(140px);
    pointer-events: none;
    opacity: 0.35;
    z-index: 0;
}

.ambient-glow.cyan {
    top: -100px;
    left: 10%;
    background: rgba(0, 229, 255, 0.3);
}

.ambient-glow.purple {
    top: 50px;
    right: 5%;
    background: rgba(157, 78, 221, 0.25);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(0, 229, 255, 0.08);
    border: 1px solid rgba(0, 229, 255, 0.25);
    border-radius: 20px;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--cyan);
    margin-bottom: 22px;
    font-weight: 700;
    box-shadow: 0 2px 15px rgba(0, 229, 255, 0.08);
}

.hero-title {
    font-size: 48px;
    font-weight: 900;
    line-height: 1.12;
    margin-bottom: 20px;
    letter-spacing: -1.2px;
}

.hero-desc {
    font-size: 16px;
    line-height: 1.65;
    color: var(--text-muted);
    margin-bottom: 32px;
    max-width: 600px;
}

.hero-cta {
    display: flex;
    gap: 14px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.hero-stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.stat-pill {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-family: var(--font-mono);
    font-size: 22px;
    font-weight: 800;
    line-height: 1.1;
}

.stat-lbl {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 4px;
}

/* Hero Live Opportunity Preview Card */
.hero-preview-card {
    background: rgba(13, 18, 28, 0.85);
    border: 1px solid rgba(0, 229, 255, 0.3);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), 0 0 35px rgba(0, 229, 255, 0.12);
    backdrop-filter: blur(16px);
    border-radius: 20px;
    padding: 26px;
    position: relative;
    transition: all 0.3s ease;
}

.hero-preview-card:hover {
    border-color: rgba(0, 229, 255, 0.5);
    box-shadow: 0 12px 50px rgba(0, 0, 0, 0.6), 0 0 45px rgba(0, 229, 255, 0.2);
}

.preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 12px;
}

.preview-tag {
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 800;
    color: var(--cyan);
    background: var(--cyan-dim);
    border: 1px solid rgba(0, 229, 255, 0.3);
    padding: 2px 8px;
    border-radius: 6px;
}

.preview-asset-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.preview-spread-pill {
    font-family: var(--font-mono);
    font-size: 18px;
    font-weight: 800;
    color: var(--green);
    background: var(--green-dim);
    border: 1px solid rgba(0, 230, 118, 0.4);
    padding: 6px 14px;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 230, 118, 0.15);
}

.preview-route-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(5, 8, 14, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 14px;
    margin-bottom: 18px;
}

.route-leg {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.route-leg.buy .leg-ex { color: #00B0FF; }
.route-leg.sell .leg-ex { color: #00E676; }

.leg-label {
    font-size: 10px;
    color: var(--text-muted);
    font-weight: 600;
}

.leg-ex {
    font-size: 14px;
    font-weight: 800;
}

.leg-price {
    font-family: var(--font-mono);
    font-size: 15px;
    font-weight: 700;
    color: #fff;
}

.route-divider {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.route-arrow-icon {
    font-size: 18px;
    color: var(--cyan);
    animation: pulse 1.2s infinite;
}

.route-latency {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--green);
    background: rgba(0, 230, 118, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
}

.preview-cycle-box {
    background: rgba(0, 0, 0, 0.25);
    border-radius: 10px;
    padding: 12px;
    margin-bottom: 20px;
}

.preview-depth-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 3px;
    overflow: hidden;
}

.depth-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--cyan), var(--green));
    border-radius: 3px;
}

/* Value Pillars Ribbon Section */
.pillars-section {
    padding: 20px 0 50px;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.pillar-card {
    background: rgba(13, 17, 26, 0.6);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    gap: 18px;
    align-items: flex-start;
    transition: all 0.25s ease;
    backdrop-filter: blur(10px);
}

.pillar-card:hover {
    border-color: rgba(0, 229, 255, 0.35);
    background: rgba(18, 24, 38, 0.75);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.pillar-icon {
    font-size: 26px;
    background: rgba(0, 229, 255, 0.1);
    border: 1px solid rgba(0, 229, 255, 0.2);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    flex-shrink: 0;
}

.pillar-content h4 {
    font-size: 16px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 6px;
}

.pillar-content p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.55;
}

/* Mode Selector Tabs */
.mode-selector {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    background: rgba(13, 17, 26, 0.8);
    padding: 6px;
    border-radius: 14px;
    border: 1px solid var(--border);
    max-width: 650px;
}

.mode-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 10px;
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.mode-tab.active {
    background: var(--cyan-dim);
    color: var(--cyan);
    border-color: rgba(0, 229, 255, 0.35);
    box-shadow: 0 2px 10px rgba(0, 229, 255, 0.1);
}

.mode-icon {
    font-size: 16px;
}

/* Scanner Section */
.scanner-section {
    padding: 30px 0 60px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 16px;
}

.section-title {
    font-size: 26px;
    font-weight: 700;
}

.section-subtitle {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 4px;
}

.scanner-controls {
    display: flex;
    align-items: center;
    gap: 16px;
}

.refresh-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-muted);
}

.spinner {
    width: 12px;
    height: 12px;
    border: 2px solid var(--border-light);
    border-top-color: var(--cyan);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.scanner-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 24px;
}

/* Scanner Table */
.scanner-table-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
}

.table-toolbar {
    padding: 14px 20px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.search-box {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 6px 12px;
    flex: 1;
    max-width: 280px;
}

.search-box input {
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-size: 12px;
    font-family: var(--font-main);
    width: 100%;
}

.filter-tabs {
    display: flex;
    gap: 8px;
}

.tab-btn {
    padding: 6px 12px;
    background: transparent;
    border: 1px solid transparent;
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.tab-btn.active {
    background: var(--cyan-dim);
    border-color: rgba(0, 229, 255, 0.4);
    color: var(--cyan);
}

.scanner-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    text-align: left;
}

.scanner-table th {
    background: rgba(27, 36, 54, 0.3);
    padding: 12px 16px;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.5px;
    border-bottom: 1px solid var(--border);
}

.scanner-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}

.scanner-table tr:hover {
    background: var(--bg-card-hover);
}

.star-btn {
    background: transparent;
    border: none;
    color: #455a64;
    cursor: pointer;
    font-size: 16px;
    padding: 2px 4px;
    line-height: 1;
    transition: all 0.2s;
}

.star-btn:hover {
    color: gold;
    transform: scale(1.2);
}

.star-btn.starred {
    color: gold;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.4);
}

.symbol-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 14px;
}

.exchange-chip {
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    font-family: var(--font-mono);
    margin-right: 6px;
}

.price-num {
    font-family: var(--font-mono);
    font-weight: 600;
}

.spread-tag {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 6px;
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 12px;
}

.spread-high {
    background: var(--green-dim);
    color: var(--green);
    border: 1px solid rgba(0, 230, 118, 0.3);
    box-shadow: 0 0 10px rgba(0, 230, 118, 0.15);
}

.spread-normal {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-muted);
}

.step-chip {
    display: inline-block;
    font-size: 11px;
    font-family: var(--font-mono);
    padding: 3px 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    color: #cfd8dc;
}

/* Alert Feed Card */
.alert-feed-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.feed-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

.feed-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 16px;
}

.feed-badge {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--green);
    background: var(--green-dim);
    padding: 2px 8px;
    border-radius: 12px;
    border: 1px solid rgba(0, 230, 118, 0.3);
}

.feed-sub {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.alert-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 520px;
    overflow-y: auto;
    padding-right: 4px;
}

.alert-item {
    background: #111723;
    border: 1px solid rgba(0, 229, 255, 0.25);
    border-left: 3px solid var(--cyan);
    border-radius: 10px;
    padding: 12px;
    font-family: var(--font-mono);
    font-size: 12px;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.alert-head {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
    font-weight: 700;
}

.alert-body {
    color: var(--text-muted);
    font-size: 11px;
    line-height: 1.6;
}

.empty-alert {
    border-left: 1px solid var(--border);
    text-align: center;
    color: var(--text-muted);
    padding: 40px 10px;
}

/* Modal */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.82);
    backdrop-filter: blur(10px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    overflow-y: auto;
}

.modal-card {
    background: #0d121c;
    border: 1px solid var(--cyan);
    box-shadow: 0 12px 45px rgba(0, 0, 0, 0.85), 0 0 35px rgba(0, 229, 255, 0.25);
    border-radius: 18px;
    max-width: 520px;
    width: 100%;
    max-height: 92vh;
    overflow-y: auto;
    margin: auto;
    position: relative;
    animation: modalPop 0.25s ease;
}

@keyframes modalPop {
    from { transform: scale(0.92); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 24px;
    border-bottom: 1px solid var(--border);
}

.modal-header h3 {
    font-size: 18px;
    color: #fff;
}

.close-btn {
    background: transparent;
    border: none;
    font-size: 24px;
    color: var(--text-muted);
    cursor: pointer;
}

.close-btn:hover {
    color: #fff;
}

.modal-body {
    padding: 24px;
    font-size: 14px;
}

.modal-footer {
    padding: 16px 24px;
    border-top: 1px solid var(--border);
    background: rgba(0, 0, 0, 0.2);
}

.step-box {
    background: var(--bg-card-hover);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 14px;
    margin-bottom: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Calculator Section */
.calculator-section {
    padding: 40px 0;
}

.calc-card {
    background: linear-gradient(180deg, #0e1422 0%, #080c14 100%);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 36px;
}

.calc-header {
    margin-bottom: 28px;
}

.calc-header h2 {
    font-size: 22px;
    font-weight: 700;
}

.calc-header p {
    color: var(--text-muted);
    font-size: 14px;
}

.calc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    align-items: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input[type="number"] {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: #fff;
    font-family: var(--font-mono);
    font-size: 18px;
    font-weight: 700;
}

.form-group input[type="range"] {
    width: 100%;
    accent-color: var(--cyan);
}

.range-val {
    font-family: var(--font-mono);
    color: var(--cyan);
    font-size: 14px;
    font-weight: 700;
    margin-top: 6px;
    text-align: right;
}

.calc-results {
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 24px;
}

.res-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
}

.res-val {
    font-family: var(--font-mono);
    font-weight: 700;
}

.highlight-row {
    border-bottom: none;
    padding-top: 14px;
    font-size: 16px;
    font-weight: 700;
}

.calc-note {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
}

.api-tab {
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    color: var(--text-muted);
    padding: 12px 16px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
}

.api-tab:hover {
    color: #fff;
}

.api-tab.active {
    color: var(--cyan);
    border-bottom-color: var(--cyan);
}

.badge-count {
    background: var(--cyan-dim);
    color: var(--cyan);
    border-radius: 10px;
    font-size: 10px;
    font-family: var(--font-mono);
    padding: 2px 6px;
}

.key-card {
    background: #101622;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.2s;
}

.key-card:hover {
    border-color: rgba(0, 229, 255, 0.3);
    background: #121927;
}

.perm-pill {
    font-size: 10px;
    font-family: var(--font-mono);
    padding: 2px 6px;
    border-radius: 4px;
    margin-right: 4px;
}

.perm-ok {
    background: rgba(0, 230, 118, 0.12);
    color: var(--green);
}

.perm-blocked {
    background: rgba(255, 82, 82, 0.12);
    color: var(--red);
}

/* Pricing Section */
.pricing-section {
    padding: 60px 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    transition: all 0.3s;
}

.pricing-card:hover {
    border-color: var(--border-light);
    transform: translateY(-4px);
}

.pricing-card.featured {
    border-color: var(--cyan);
    box-shadow: 0 0 30px rgba(0, 229, 255, 0.15);
    background: linear-gradient(180deg, #101929 0%, #0d121c 100%);
}

.featured-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--cyan), #0091ea);
    color: #000;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 14px;
    border-radius: 20px;
    letter-spacing: 0.5px;
}

.plan-header h3 {
    font-size: 20px;
    margin-bottom: 6px;
}

.plan-header p {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.plan-price {
    font-size: 38px;
    font-weight: 800;
    font-family: var(--font-mono);
    color: #fff;
    margin-bottom: 24px;
}

.plan-price .period {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 400;
}

.plan-features {
    list-style: none;
    margin-bottom: 30px;
}

.plan-features li {
    font-size: 13px;
    color: #cfd8dc;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

/* Footer */
.site-footer {
    border-top: 1px solid var(--border);
    background: #040609;
    padding: 60px 0 30px;
    margin-top: 60px;
    font-size: 13px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-about .footer-text {
    color: var(--text-muted);
    margin-top: 12px;
    max-width: 400px;
}

.footer-subtext {
    font-family: var(--font-mono);
    font-size: 11px;
    color: #546e7a;
    margin-top: 8px;
}

.footer-links h4 {
    color: #fff;
    margin-bottom: 14px;
    font-size: 14px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--cyan);
}

.footer-disclaimer {
    border-top: 1px solid var(--border);
    padding-top: 24px;
    color: #607d8b;
    font-size: 11px;
    line-height: 1.7;
}

.footer-disclaimer h4 {
    color: #90a4ae;
    font-size: 12px;
    margin-bottom: 6px;
}

.copyright {
    margin-top: 14px;
    font-family: var(--font-mono);
}

/* Stream Nodes Management & KPIs */
.node-kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-bottom: 24px;
}

.node-kpi-card {
    background: #090e17;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.node-kpi-title {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.node-kpi-val {
    font-family: var(--font-mono);
    font-size: 20px;
    font-weight: 800;
    color: #fff;
}

.node-card {
    background: linear-gradient(180deg, #101726 0%, #0a0f1a 100%);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 20px;
    margin-bottom: 16px;
    position: relative;
    transition: all 0.2s ease;
}

.node-card:hover {
    border-color: rgba(0, 230, 118, 0.4);
    box-shadow: 0 4px 20px rgba(0, 230, 118, 0.08);
}

.node-card.exited {
    opacity: 0.7;
    background: #080c13;
    border-color: var(--border);
}

.node-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 12px;
}

.node-id-pill {
    font-family: var(--font-mono);
    font-size: 12px;
    background: rgba(0, 229, 255, 0.1);
    color: var(--cyan);
    padding: 3px 8px;
    border-radius: 6px;
    border: 1px solid rgba(0, 229, 255, 0.2);
}

.node-status-badge {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.status-running {
    background: var(--green-dim);
    color: var(--green);
    border: 1px solid rgba(0, 230, 118, 0.3);
}

.status-exited {
    background: rgba(131, 145, 168, 0.12);
    color: var(--text-muted);
    border: 1px solid var(--border);
}

.node-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 12px;
    margin-bottom: 16px;
}

.node-stat-item {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 8px;
    padding: 10px 12px;
}

.node-stat-label {
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.node-stat-num {
    font-family: var(--font-mono);
    font-size: 15px;
    font-weight: 700;
}

.node-trade-stream {
    background: #06090e;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 10px 12px;
    font-family: var(--font-mono);
    font-size: 11px;
    color: #90a4ae;
    max-height: 110px;
    overflow-y: auto;
    margin-bottom: 16px;
}

.trade-stream-item {
    display: flex;
    justify-content: space-between;
    padding: 4px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.trade-stream-item:last-child {
    border-bottom: none;
}

.tier-select-card {
    background: #090e18;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 16px;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}

.tier-select-card:hover, .tier-select-card.selected {
    border-color: var(--green);
    background: rgba(0, 230, 118, 0.06);
}

/* ==========================================================================
   3-Step Visual Funnel ("How It Works")
   ========================================================================== */
.how-it-works-section {
    padding: 60px 0 30px;
    position: relative;
}

.section-tag-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 229, 255, 0.08);
    border: 1px solid rgba(0, 229, 255, 0.25);
    padding: 5px 14px;
    border-radius: 20px;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--cyan);
    font-weight: 700;
    margin-bottom: 12px;
}

.steps-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: center;
    gap: 16px;
    margin-top: 36px;
}

.step-card {
    background: linear-gradient(145deg, rgba(14, 20, 32, 0.8) 0%, rgba(8, 12, 20, 0.95) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 28px 24px;
    position: relative;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.step-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 229, 255, 0.4);
    box-shadow: 0 12px 35px rgba(0, 229, 255, 0.12);
}

.step-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.step-number-badge {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.15), rgba(118, 77, 255, 0.2));
    border: 1px solid rgba(0, 229, 255, 0.4);
    color: #fff;
    font-family: var(--font-mono);
    font-size: 15px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-icon-wrap {
    font-size: 32px;
    line-height: 1;
}

.step-title {
    font-size: 18px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 8px;
    letter-spacing: -0.3px;
}

.step-desc {
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.55;
    margin-bottom: 16px;
    flex-grow: 1;
}

.step-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 8px;
    font-family: var(--font-mono);
}

.step-pill.cyan {
    background: rgba(0, 229, 255, 0.1);
    color: var(--cyan);
    border: 1px solid rgba(0, 229, 255, 0.25);
}

.step-pill.green {
    background: rgba(0, 230, 118, 0.1);
    color: var(--green);
    border: 1px solid rgba(0, 230, 118, 0.25);
}

.step-pill.purple {
    background: rgba(179, 136, 255, 0.1);
    color: #b388ff;
    border: 1px solid rgba(179, 136, 255, 0.25);
}

.step-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cyan);
    font-size: 24px;
    opacity: 0.7;
    animation: pulseArrow 2s infinite;
}

@keyframes pulseArrow {
    0%, 100% { transform: translateX(0); opacity: 0.5; }
    50% { transform: translateX(4px); opacity: 1; }
}

/* ==========================================================================
   Interactive Slider Spread & Activity Calculator
   ========================================================================== */
.slider-calc-wrap {
    background: linear-gradient(145deg, rgba(14, 21, 35, 0.9) 0%, rgba(8, 12, 20, 0.95) 100%);
    border: 1px solid rgba(0, 229, 255, 0.25);
    border-radius: 24px;
    padding: 38px 42px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.4), 0 0 35px rgba(0, 229, 255, 0.06);
    margin: 40px 0;
}

.slider-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 30px;
}

.slider-controls-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 36px;
    align-items: center;
}

.slider-track-box {
    background: rgba(5, 8, 14, 0.7);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 26px;
}

.slider-val-display {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 14px;
}

.slider-amount-huge {
    font-size: 38px;
    font-weight: 900;
    font-family: var(--font-mono);
    color: #fff;
    letter-spacing: -1px;
}

.slider-amount-huge .currency {
    color: var(--green);
    font-size: 24px;
    margin-right: 2px;
}

.custom-range {
    width: 100%;
    -webkit-appearance: none;
    height: 10px;
    border-radius: 6px;
    background: linear-gradient(90deg, var(--green) 0%, var(--cyan) 50%, #7c4dff 100%);
    outline: none;
    margin: 18px 0 10px;
    cursor: pointer;
}

.custom-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid var(--cyan);
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.7);
    cursor: pointer;
    transition: transform 0.15s;
}

.custom-range::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}

.slider-presets {
    display: flex;
    gap: 8px;
    margin-top: 14px;
}

.preset-btn {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    color: #cfd8dc;
    border-radius: 8px;
    padding: 6px 0;
    font-family: var(--font-mono);
    font-size: 11.5px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}

.preset-btn:hover, .preset-btn.active {
    background: rgba(0, 229, 255, 0.15);
    border-color: var(--cyan);
    color: #fff;
}

.calc-metrics-card {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 18px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.metric-strip-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.metric-strip-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.metric-strip-label {
    font-size: 13px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.metric-strip-value {
    font-size: 16px;
    font-family: var(--font-mono);
    font-weight: 800;
    color: #fff;
}

.metric-strip-value.green {
    color: var(--green);
    font-size: 20px;
}

.slider-cta-box {
    margin-top: 8px;
}

/* ==========================================================================
   Trust Badges & Anti-Friction Objection Killers
   ========================================================================== */
.trust-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 28px 0;
}

.trust-item-card {
    background: rgba(10, 15, 25, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 14px;
    padding: 16px 18px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.trust-item-icon {
    font-size: 24px;
    line-height: 1;
    background: rgba(255, 255, 255, 0.04);
    padding: 8px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.trust-item-text h5 {
    font-size: 14px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 4px;
}

.trust-item-text p {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.45;
    margin: 0;
}

/* ==========================================================================
   Floating Social Proof / Live Activity Toast
   ========================================================================== */
.social-proof-toast {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 9999;
    background: linear-gradient(135deg, rgba(14, 21, 33, 0.95), rgba(7, 11, 18, 0.98));
    border: 1px solid rgba(0, 230, 118, 0.35);
    border-radius: 16px;
    padding: 14px 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 230, 118, 0.15);
    display: flex;
    align-items: center;
    gap: 14px;
    max-width: 380px;
    backdrop-filter: blur(12px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    transform: translateY(120px);
    opacity: 0;
    pointer-events: none;
}

.social-proof-toast.visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.toast-avatar {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(0, 230, 118, 0.15);
    border: 1px solid rgba(0, 230, 118, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.toast-body {
    flex-grow: 1;
}

.toast-line1 {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 2px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.toast-line2 {
    font-size: 11.5px;
    color: var(--text-muted);
}

.toast-close {
    background: none;
    border: none;
    color: #78909c;
    font-size: 16px;
    cursor: pointer;
    padding: 2px;
    line-height: 1;
}

.toast-close:hover {
    color: #fff;
}

.nodes-main-wrap {
    padding: 40px 0 80px;
}

/* ==========================================================================
   COMPREHENSIVE RESPONSIVE STYLES (Tablets & Mobile Devices)
   ========================================================================== */

/* Tablets & Small Laptops (<= 992px) */
@media (max-width: 992px) {
    .nodes-main-wrap {
        padding: 24px 0 50px;
    }
    .container {
        padding: 0 16px;
    }
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .hero-title {
        font-size: 32px;
    }
    .pillars-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .step-connector {
        transform: rotate(90deg);
        margin: -4px auto;
    }
    .trust-strip {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .slider-controls-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .slider-calc-wrap {
        padding: 26px 20px;
    }
    .scanner-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }
    .node-kpi-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .node-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .hide-mobile {
        display: none !important;
    }
}

/* ==========================================================================
   MOBILE NAVIGATION DRAWER & HAMBURGER STYLES
   ========================================================================== */
.mobile-menu-btn {
    display: none;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    width: 38px;
    height: 38px;
    border-radius: 10px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
    padding: 8px;
    transition: all 0.2s ease;
    z-index: 101;
}

.mobile-menu-btn span {
    display: block;
    width: 20px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
    background: var(--cyan);
}
.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
    background: var(--cyan);
}

.mobile-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    z-index: 99998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-drawer-overlay.open {
    opacity: 1;
    visibility: visible;
}

.mobile-drawer {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    height: 100vh;
    background: linear-gradient(180deg, #090e18 0%, #05070b 100%);
    border-left: 1px solid var(--border);
    z-index: 99999;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
}

.mobile-drawer.open {
    right: 0;
}

.drawer-header {
    padding: 20px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.drawer-close-btn {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border);
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.drawer-body {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.drawer-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 10px;
    color: #cfd8dc;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid transparent;
    transition: all 0.2s ease;
}

.drawer-link:hover, .drawer-link.active {
    background: rgba(0, 229, 255, 0.08);
    border-color: rgba(0, 229, 255, 0.3);
    color: var(--cyan);
}

.drawer-link-icon {
    font-size: 18px;
}

.drawer-footer {
    padding: 20px;
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* ==========================================================================
   COMPREHENSIVE MOBILE RESPONSIVE RULES (<= 768px & <= 480px)
   ========================================================================== */

@keyframes pulseArrowVertical {
    0%, 100% { transform: rotate(90deg) translateY(0); opacity: 0.5; }
    50% { transform: rotate(90deg) translateY(6px); opacity: 1; }
}

@media (max-width: 768px) {
    body {
        font-size: 14px;
        overflow-x: hidden !important;
        width: 100%;
    }
    
    .container {
        padding: 0 14px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    /* Sleek 1-Line Top Navigation */
    .top-nav {
        padding: 8px 0;
        position: sticky;
        top: 0;
        z-index: 1000;
    }
    
    .nav-container {
        padding: 0 14px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: nowrap !important;
        gap: 8px;
    }
    
    .brand {
        gap: 8px;
    }
    
    .logo-icon {
        width: 32px;
        height: 32px;
        font-size: 16px;
        border-radius: 8px;
    }
    
    .brand-title {
        font-size: 16px;
    }
    
    .brand-tag {
        font-size: 9px;
        padding: 1px 5px;
    }
    
    .live-metrics {
        display: none !important;
    }
    
    .mobile-menu-btn {
        display: inline-flex !important;
    }
    
    .nav-actions {
        display: flex;
        align-items: center;
        gap: 8px;
        width: auto !important;
        overflow-x: visible !important;
        padding-bottom: 0 !important;
    }
    
    .radar-nav-links,
    .nav-actions > a:not(#navDashboardBtn),
    .nav-actions > button:not([onclick*="openAuthModal"]):not(.mobile-menu-btn):not(#mobileMenuBtn),
    .user-badge-nav,
    .user-logout-btn {
        display: none !important;
    }
    
    .nav-actions .btn {
        padding: 7px 12px;
        font-size: 12px;
        border-radius: 8px;
    }
    
    /* Hero Section */
    .hero-section {
        padding: 24px 0 20px;
    }
    
    .hero-badge {
        font-size: 9px;
        padding: 4px 8px;
        margin-bottom: 12px;
        letter-spacing: 0.2px;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .hero-title {
        font-size: 24px;
        line-height: 1.25;
        letter-spacing: -0.4px;
        margin-bottom: 12px;
        word-break: break-word;
    }
    
    .hero-desc {
        font-size: 13px;
        line-height: 1.55;
        margin-bottom: 18px;
    }
    
    .hero-cta {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 10px;
        margin-bottom: 20px;
    }
    
    .hero-cta .btn {
        width: 100%;
        padding: 13px 16px;
        font-size: 14px;
        justify-content: center;
    }
    
    .hero-risk-badge {
        width: 100%;
        box-sizing: border-box;
        font-size: 11px !important;
        padding: 8px 12px !important;
    }
    
    /* Hero Statistics: Clean 2x2 Grid */
    .hero-stats-row {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
        margin-top: 16px;
        padding-top: 16px;
    }
    
    .stat-pill {
        padding: 8px 10px;
        background: rgba(255, 255, 255, 0.02);
        border: 1px solid rgba(255, 255, 255, 0.05);
        border-radius: 10px;
    }
    
    .stat-num {
        font-size: 18px;
    }
    
    .stat-lbl {
        font-size: 10px;
    }
    
    /* Hero Live Opportunity Preview Card */
    .hero-preview-card {
        padding: 16px 14px;
        border-radius: 16px;
        margin-top: 10px;
    }
    
    .preview-asset-row {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 10px;
        margin-bottom: 14px;
    }
    
    .preview-spread-pill {
        font-size: 15px;
        padding: 4px 10px;
    }
    
    .preview-route-box {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 8px !important;
        padding: 12px !important;
    }
    
    .route-divider {
        flex-direction: row !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 10px !important;
        transform: none !important;
        margin: 2px 0 !important;
    }
    
    .route-arrow-icon {
        transform: rotate(90deg) !important;
        display: inline-block !important;
        font-size: 16px;
    }
    
    .route-latency {
        transform: none !important;
        display: inline-block !important;
    }
    
    /* Value Pillars */
    .pillars-section {
        padding: 10px 0 30px;
    }
    
    .pillars-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .pillar-card {
        padding: 16px;
        border-radius: 14px;
        gap: 14px;
    }
    
    .pillar-icon {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .pillar-content h4 {
        font-size: 15px;
    }
    
    .pillar-content p {
        font-size: 12px;
    }
    
    /* 3-Step Funnel: Vertical Connectors that point DOWN */
    .how-it-works-section {
        padding: 30px 0 20px;
    }
    
    .how-it-works-section h2 {
        font-size: 22px !important;
    }
    
    .steps-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
        margin-top: 20px !important;
    }
    
    .step-card {
        padding: 18px 16px;
        border-radius: 14px;
    }
    
    .step-connector {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        transform: rotate(90deg) !important;
        animation: pulseArrowVertical 2s infinite !important;
        margin: 4px auto !important;
        font-size: 24px !important;
    }
    
    .trust-strip {
        grid-template-columns: 1fr;
        gap: 10px;
        margin: 20px 0;
    }
    
    .trust-item-card {
        padding: 14px;
    }
    
    /* ==========================================================================
       RADICALLY RESPONSIVE LIVE SCANNER FOR MOBILE (Native Card Layout)
       ========================================================================== */
    .scanner-section {
        padding: 24px 0 40px;
    }
    
    .scanner-layout {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        margin-bottom: 14px;
    }
    
    .section-title {
        font-size: 20px;
    }
    
    .mode-selector {
        flex-direction: column;
        width: 100%;
        gap: 6px;
        padding: 4px;
    }
    
    .mode-tab {
        width: 100%;
        padding: 8px 10px;
        font-size: 11.5px;
        text-align: center;
        justify-content: center;
    }
    
    .table-toolbar {
        padding: 12px;
        flex-direction: column;
        gap: 10px;
    }
    
    .search-box {
        max-width: 100%;
        width: 100%;
    }
    
    .filter-tabs {
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        gap: 6px;
        padding-bottom: 4px;
    }
    
    .filter-tabs .tab-btn {
        padding: 5px 10px;
        font-size: 11px;
        white-space: nowrap;
        flex-shrink: 0;
    }
    
    /* Seamless Card Transformation of Scanner Table on Mobile */
    .table-responsive {
        overflow-x: visible !important;
        width: 100% !important;
    }
    
    .scanner-table-card {
        background: transparent !important;
        border: none !important;
        border-radius: 0 !important;
    }
    
    .scanner-table {
        min-width: 100% !important;
        width: 100% !important;
        display: block !important;
        border-collapse: separate !important;
    }
    
    .scanner-table thead {
        display: none !important;
    }
    
    .scanner-table tbody {
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
        width: 100% !important;
    }
    
    .scanner-table tr {
        display: flex !important;
        flex-direction: column !important;
        background: rgba(13, 18, 28, 0.85) !important;
        border: 1px solid rgba(255, 255, 255, 0.08) !important;
        border-radius: 14px !important;
        padding: 14px 14px !important;
        gap: 10px !important;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25) !important;
        box-sizing: border-box !important;
        width: 100% !important;
    }
    
    .scanner-table tr:hover {
        border-color: rgba(0, 229, 255, 0.35) !important;
        background: rgba(16, 23, 36, 0.95) !important;
    }
    
    .scanner-table td {
        display: block !important;
        padding: 0 !important;
        border: none !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    /* Loading / Empty Cell Fallback */
    .scanner-table td.loading-cell {
        padding: 24px 14px !important;
        text-align: center !important;
    }
    
    /* Internal Card Row Alignments */
    .mobile-card-top {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        padding-bottom: 8px;
    }
    
    .mobile-card-route {
        display: flex;
        align-items: center;
        justify-content: space-between;
        background: rgba(5, 8, 14, 0.7);
        border: 1px solid rgba(255, 255, 255, 0.05);
        border-radius: 10px;
        padding: 10px 12px;
        width: 100%;
        box-sizing: border-box;
    }
    
    .mobile-route-leg {
        display: flex;
        flex-direction: column;
        gap: 2px;
    }
    
    .mobile-route-leg.buy { text-align: left; }
    .mobile-route-leg.sell { text-align: right; }
    
    .mobile-card-footer {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        gap: 10px;
    }
    
    .mobile-card-footer .btn {
        flex: 1;
        padding: 9px 12px;
        font-size: 12.5px;
        justify-content: center;
    }
    
    /* Slider Calculator on Mobile */
    .slider-calc-wrap {
        padding: 20px 14px;
        border-radius: 16px;
        margin: 20px 0;
    }
    
    .slider-header h2 {
        font-size: 20px !important;
    }
    
    .slider-controls-grid {
        grid-template-columns: 1fr !important;
        gap: 18px !important;
    }
    
    .slider-track-box {
        padding: 18px 14px;
    }
    
    .slider-amount-huge {
        font-size: 28px;
    }
    
    .slider-presets {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .calc-metrics-card {
        padding: 16px 14px;
        gap: 12px;
    }
    
    .metric-strip-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    
    .metric-strip-label {
        font-size: 11.5px;
    }
    
    .metric-strip-value {
        font-size: 14px;
    }
    
    .metric-strip-value.green {
        font-size: 16px;
    }
    
    /* Nodes / Pricing Grids on Mobile */
    .pricing-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
    
    .node-kpi-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
    }
    
    .node-kpi-card {
        padding: 12px 10px;
    }
    
    .node-kpi-title {
        font-size: 10px;
    }
    
    .node-kpi-val {
        font-size: 16px;
    }
    
    /* Node Cards */
    .node-card {
        padding: 16px 12px;
    }
    
    .node-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .node-card > div:last-child {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }
    
    .node-card > div:last-child button {
        width: 100%;
        justify-content: center;
    }
    
    /* Modals on Mobile: Perfectly Centered and Responsive */
    .modal-backdrop[style*="display: none"],
    .modal-backdrop[style*="display:none"] {
        display: none !important;
    }
    
    .modal-backdrop {
        padding: 10px !important;
        box-sizing: border-box !important;
    }
    
    .modal-backdrop:not([style*="display: none"]):not([style*="display:none"]) {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .modal-card {
        max-width: 480px !important;
        width: 95% !important;
        max-height: 90vh !important;
        margin: auto !important;
        border-radius: 16px !important;
        overflow-y: auto !important;
        box-sizing: border-box !important;
    }
    
    .modal-body {
        padding: 16px 14px !important;
    }
    
    .modal-body [style*="grid-template-columns:repeat(4, 1fr)"] {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
    }
    
    .modal-body [style*="grid-template-columns:repeat(3, 1fr)"] {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }
    
    .modal-body [style*="grid-template-columns:1.2fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }
    
    .modal-body [style*="grid-template-columns:1fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }
    
    .tier-select-card {
        padding: 8px 6px;
    }
    
    .tier-select-card [style*="font-size:18px"] {
        font-size: 15px !important;
    }
    
    /* Toast on Mobile */
    .social-proof-toast {
        left: 10px;
        right: 10px;
        bottom: 12px;
        max-width: calc(100% - 20px);
        padding: 10px 12px;
        border-radius: 12px;
    }
    
    .toast-avatar {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }
    
    .toast-line1 { font-size: 12px; }
    .toast-line2 { font-size: 10.5px; }
    
    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .footer-disclaimer p {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 22px;
    }
    
    .hero-stats-row {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 6px !important;
    }
    
    .stat-pill {
        padding: 8px 6px;
    }
    
    .stat-num {
        font-size: 16px;
    }
    
    .stat-lbl {
        font-size: 9.5px;
    }
    
    .slider-presets {
        grid-template-columns: 1fr 1fr;
        gap: 6px;
    }
    
    .container {
        padding: 0 10px;
    }
}

/* ==========================================================================
   INTERACTIVE SPREAD & PROFIT SIMULATOR STYLES (CFTC 4.41 COMPLIANT)
   ========================================================================== */
.sim-container-card {
    background: linear-gradient(135deg, rgba(13, 22, 38, 0.95), rgba(7, 12, 20, 0.95));
    border: 1px solid rgba(0, 229, 255, 0.3);
    border-radius: 20px;
    padding: 24px;
    margin-bottom: 28px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.45);
    position: relative;
    overflow: hidden;
}

.sim-container-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--cyan), var(--green), #00b0ff);
}

.sim-live-spread-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 230, 118, 0.1);
    border: 1px solid rgba(0, 230, 118, 0.25);
    padding: 5px 12px;
    border-radius: 14px;
    font-size: 11.5px;
    color: #cfd8dc;
    font-family: var(--font-mono);
}

.sim-body-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 24px;
    margin-top: 20px;
}

.sim-control-group {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    padding: 16px;
}

.sim-label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.sim-label-row label {
    font-size: 12.5px;
    font-weight: 700;
    color: #eceff1;
    margin: 0;
}

.sim-val-badge {
    font-family: var(--font-mono);
    font-size: 15px;
    font-weight: 800;
    color: var(--green);
    background: rgba(0, 230, 118, 0.12);
    border: 1px solid rgba(0, 230, 118, 0.3);
    padding: 3px 10px;
    border-radius: 8px;
}

.sim-range-input {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.12);
    outline: none;
    margin: 12px 0 14px;
    cursor: pointer;
}

.sim-range-input::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--green);
    border: 2px solid #fff;
    box-shadow: 0 0 12px rgba(0, 230, 118, 0.8);
    cursor: pointer;
    transition: transform 0.15s ease;
}

.sim-range-input::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}

.sim-range-input::-moz-range-thumb {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--green);
    border: 2px solid #fff;
    box-shadow: 0 0 12px rgba(0, 230, 118, 0.8);
    cursor: pointer;
}

.sim-presets-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.sim-preset-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #b0bec5;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 11px;
    font-family: var(--font-mono);
    cursor: pointer;
    transition: all 0.2s ease;
}

.sim-preset-btn:hover {
    background: rgba(0, 229, 255, 0.1);
    color: #fff;
    border-color: rgba(0, 229, 255, 0.4);
}

.sim-preset-btn.active {
    background: rgba(0, 229, 255, 0.18);
    border-color: var(--cyan);
    color: #fff;
    font-weight: 700;
    box-shadow: 0 0 10px rgba(0, 229, 255, 0.3);
}

.sim-results-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 12px;
}

.sim-result-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 14px;
    padding: 14px;
    text-align: center;
}

.sim-box-lbl {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 4px;
}

.sim-box-val {
    font-family: var(--font-mono);
    font-size: 19px;
    font-weight: 900;
    margin-bottom: 4px;
}

.sim-box-sub {
    font-size: 10.5px;
    color: #78909c;
}

.sim-net-card {
    background: radial-gradient(circle at top left, rgba(0, 230, 118, 0.12), rgba(6, 10, 18, 0.8));
    border: 1px solid rgba(0, 230, 118, 0.35);
    border-radius: 14px;
    padding: 16px;
    box-shadow: 0 4px 20px rgba(0, 230, 118, 0.1);
}

.sim-multiplier-pill {
    background: rgba(0, 230, 118, 0.2);
    border: 1px solid rgba(0, 230, 118, 0.4);
    color: var(--green);
    font-size: 10.5px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 10px;
    font-family: var(--font-mono);
}

.sim-net-val {
    font-family: var(--font-mono);
    font-size: 26px;
    font-weight: 900;
    color: var(--green);
    letter-spacing: -0.5px;
}

.sim-cta-btn {
    padding: 13px 20px;
    font-size: 14px;
    font-weight: 800;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--green), #00b0ff);
    color: #000;
    border: none;
    box-shadow: 0 4px 20px rgba(0, 230, 118, 0.3);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    cursor: pointer;
}

.sim-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 230, 118, 0.45);
}

.sim-disclaimer-strip {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    font-size: 10.5px;
    color: #607d8b;
    line-height: 1.55;
}

@media (max-width: 860px) {
    .sim-body-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
}

.sim-server-specs-box {
    background: rgba(0, 229, 255, 0.04);
    border: 1px solid rgba(0, 229, 255, 0.18);
    border-radius: 14px;
    padding: 14px 16px;
    margin-top: 16px;
}

.sim-specs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 10px;
}

.sim-spec-item {
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    padding: 8px 10px;
}

.sim-spec-title {
    font-size: 10px;
    color: #90a4ae;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 700;
    margin-bottom: 2px;
}

.sim-spec-value {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 800;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 640px) {
    .sim-specs-grid {
        grid-template-columns: 1fr 1fr;
    }
}
