/* ==========================================================================
   Tradefx Book Pro - Institutional Terminal Login & Landing Experience
   ========================================================================== */

:root {
    /* Color Palette - Dark Theme (Default) */
    --bg-base: #090d16;
    --bg-surface: #0f172a;
    --bg-card: rgba(15, 23, 42, 0.78);
    --bg-card-hover: rgba(30, 41, 59, 0.85);
    --bg-input: rgba(30, 41, 59, 0.7);
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-focus: #38bdf8;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    /* Terminal Accents */
    --accent-blue: #3b82f6;
    --accent-cyan: #38bdf8;
    --accent-emerald: #10b981;
    --accent-purple: #8b5cf6;
    --accent-amber: #f59e0b;
    --accent-rose: #f43f5e;
    
    /* Shadows & Glows */
    --card-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.7), 0 0 40px -10px rgba(56, 189, 248, 0.15);
    --glow-primary: 0 0 25px rgba(59, 130, 246, 0.4);
    
    /* Typography */
    --font-sans: 'DM Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-mono: 'DM Mono', monospace;
    
    /* Radii */
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-pill: 9999px;
}

[data-theme="light"] {
    --bg-base: #f1f5f9;
    --bg-surface: #ffffff;
    --bg-card: rgba(255, 255, 255, 0.94);
    --bg-card-hover: rgba(248, 250, 252, 0.98);
    --bg-input: #f8fafc;
    --border-subtle: rgba(0, 0, 0, 0.09);
    --border-focus: #2563eb;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --card-shadow: 0 20px 50px -10px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.05);
}

/* Base Reset */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden !important;
    max-width: 100vw !important;
    width: 100% !important;
}

body.login-body {
    font-family: var(--font-sans);
    background-color: var(--bg-base);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow-x: hidden !important;
    max-width: 100vw !important;
    width: 100% !important;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   Ambient Background Mesh & Grid
   ========================================================================== */
.ambient-mesh {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.mesh-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.25;
    animation: orbFloat 18s ease-in-out infinite alternate;
}

.mesh-orb-1 {
    width: 500px;
    height: 500px;
    top: -100px;
    left: -100px;
    background: radial-gradient(circle, #38bdf8 0%, #3b82f6 50%, transparent 80%);
}

.mesh-orb-2 {
    width: 600px;
    height: 600px;
    bottom: -150px;
    right: -100px;
    background: radial-gradient(circle, #6366f1 0%, #8b5cf6 50%, transparent 80%);
    animation-delay: -6s;
}

.mesh-orb-3 {
    width: 450px;
    height: 450px;
    top: 40%;
    left: 60%;
    background: radial-gradient(circle, #10b981 0%, #06b6d4 50%, transparent 80%);
    opacity: 0.15;
    animation-delay: -12s;
}

.grid-overlay {
    position: absolute;
    inset: 0;
    background-size: 40px 40px;
    background-image: 
        linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
}

[data-theme="light"] .grid-overlay {
    background-image: 
        linear-gradient(to right, rgba(0, 0, 0, 0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
}

[data-theme="light"] .mesh-orb {
    opacity: 0.35;
    filter: blur(120px);
}

@keyframes orbFloat {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(40px, -30px) scale(1.08); }
    100% { transform: translate(-30px, 30px) scale(0.96); }
}

/* ==========================================================================
   Terminal Minimal Navigation
   ========================================================================== */
.terminal-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    padding: 16px 24px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    background: rgba(9, 13, 22, 0.75);
    border-bottom: 1px solid var(--border-subtle);
}

[data-theme="light"] .terminal-nav {
    background: rgba(255, 255, 255, 0.85);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-mark {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    filter: drop-shadow(0 0 12px rgba(56, 189, 248, 0.4));
}

.brand-text {
    display: flex;
    align-items: center;
    gap: 8px;
}

.brand-name {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--text-primary);
}

.brand-name span {
    color: var(--accent-cyan);
}

.brand-badge {
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: var(--radius-pill);
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.3);
    color: var(--accent-cyan);
    letter-spacing: 0.5px;
}

.header-nav-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-anchor {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.15s ease;
}

.nav-anchor:hover {
    color: var(--accent-cyan);
}

.nav-status-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.live-status-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.25);
    font-size: 12px;
    font-weight: 600;
    color: var(--accent-emerald);
}

.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent-emerald);
    box-shadow: 0 0 8px var(--accent-emerald);
    animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
    0%, 100% { transform: scale(0.9); opacity: 0.7; }
    50% { transform: scale(1.2); opacity: 1; }
}

.status-ping {
    font-family: var(--font-mono);
    font-size: 11px;
    opacity: 0.8;
}

.theme-toggle-btn {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-subtle);
    background: var(--bg-surface);
    color: var(--text-primary);
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.theme-toggle-btn:hover {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.2);
}

/* ==========================================================================
   Main Layout & Card
   ========================================================================== */
.terminal-main {
    position: relative;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px 30px;
}

.login-wrapper {
    width: 100%;
    max-width: 480px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.terminal-card {
    width: 100%;
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    box-shadow: var(--card-shadow);
    padding: 32px 32px 28px 32px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-accent-bar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3.5px;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-blue), var(--accent-purple), var(--accent-emerald));
}

.card-header {
    text-align: center;
    margin-bottom: 22px;
}

.card-title {
    font-size: 23px;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.card-subtitle {
    font-size: 13.5px;
    color: var(--text-secondary);
    font-weight: 500;
}

/* ==========================================================================
   Alert Boxes
   ========================================================================== */
.alert-box {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 12px 14px;
    border-radius: var(--radius-md);
    margin-bottom: 18px;
    font-size: 13px;
    line-height: 1.45;
}

.alert-icon {
    font-size: 18px;
    line-height: 1;
    flex-shrink: 0;
    margin-top: 1px;
}

.alert-content strong {
    display: block;
    font-weight: 700;
    margin-bottom: 2px;
}

.alert-danger {
    background: rgba(244, 63, 94, 0.12);
    border: 1px solid rgba(244, 63, 94, 0.35);
    color: #fda4af;
}

[data-theme="light"] .alert-danger {
    background: #fff1f2;
    border-color: #fecdd3;
    color: #e11d48;
}

.alert-warning {
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.35);
    color: #fde68a;
}

[data-theme="light"] .alert-warning {
    background: #fffbeb;
    border-color: #fde68a;
    color: #b45309;
}

/* ==========================================================================
   Segmented Tab Controller
   ========================================================================== */
.tab-control {
    display: flex;
    gap: 4px;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    padding: 4px;
    border-radius: var(--radius-md);
    margin-bottom: 22px;
}

.tab-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 9px 8px;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    font-family: var(--font-sans);
    font-size: 12.5px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.tab-btn:hover {
    color: var(--text-primary);
}

.tab-btn.active {
    background: linear-gradient(135deg, #185eff 0%, #3b82f6 100%);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(24, 94, 255, 0.35);
}

.tab-icon {
    font-size: 13px;
}

/* ==========================================================================
   Form Groups & Inputs
   ========================================================================== */
.form-group {
    margin-bottom: 16px;
}

.label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.form-label {
    display: block;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.label-opt {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 500;
}

.label-badge {
    font-size: 11px;
    font-weight: 600;
    color: var(--accent-cyan);
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.25);
    padding: 2px 8px;
    border-radius: var(--radius-pill);
}

.label-badge.admin-badge {
    color: #a855f7;
    background: rgba(168, 85, 247, 0.1);
    border-color: rgba(168, 85, 247, 0.25);
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 14px;
    font-size: 15px;
    pointer-events: none;
    color: var(--text-muted);
    opacity: 0.8;
}

.form-input {
    width: 100%;
    padding: 12px 14px 12px 40px;
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    background: var(--bg-input);
    border: 1.5px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
    outline: none;
}

.form-input::placeholder {
    color: var(--text-muted);
    font-weight: 400;
}

.form-input:focus {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2);
    background: var(--bg-surface);
}

.form-textarea {
    resize: vertical;
    min-height: 85px;
    padding-left: 14px !important;
}

.input-with-action {
    padding-right: 42px;
}

.input-action-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 15px;
    padding: 6px;
    border-radius: var(--radius-sm);
    transition: color 0.15s;
}

.input-action-btn:hover {
    color: var(--text-primary);
}

.form-hint {
    font-size: 11.5px;
    color: var(--text-secondary);
    margin-top: 6px;
    line-height: 1.4;
}

/* ==========================================================================
   Submit Button
   ========================================================================== */
.submit-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13.5px 16px;
    font-family: var(--font-sans);
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    background: linear-gradient(135deg, #185eff 0%, #3b82f6 50%, #2563eb 100%);
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(24, 94, 255, 0.4);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    margin-top: 6px;
}

.submit-btn:hover {
    transform: translateY(-1.5px);
    box-shadow: 0 12px 30px rgba(24, 94, 255, 0.5);
    background: linear-gradient(135deg, #2563eb 0%, #38bdf8 100%);
}

.submit-btn:active {
    transform: translateY(0);
}

.btn-arrow {
    transition: transform 0.2s ease;
}

.submit-btn:hover .btn-arrow {
    transform: translateX(3px);
}

/* ==========================================================================
   Security Footer in Card
   ========================================================================== */
.card-security-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid var(--border-subtle);
    font-size: 11.5px;
    color: var(--text-muted);
}

.security-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.sec-icon {
    font-size: 12px;
}

.security-divider {
    opacity: 0.5;
}

/* ==========================================================================
   Feature Showcase Under Login
   ========================================================================== */
.features-showcase {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 24px;
}

.feature-chip {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
}

[data-theme="light"] .feature-chip {
    background: rgba(255, 255, 255, 0.7);
    border-color: rgba(0, 0, 0, 0.06);
}

.feature-chip:hover {
    border-color: rgba(56, 189, 248, 0.3);
    transform: translateY(-1px);
}

.chip-icon {
    font-size: 20px;
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    background: rgba(56, 189, 248, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.chip-text {
    display: flex;
    flex-direction: column;
    font-size: 12px;
    line-height: 1.35;
    min-width: 0;
    flex: 1;
    overflow-wrap: break-word;
    word-break: break-word;
}

.chip-text strong {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1px;
}

.chip-text span {
    color: var(--text-secondary);
}

/* ==========================================================================
   🧠 PSYCHOLOGICAL EDGE & GOOD VIBES SECTION
   ========================================================================== */
.psychology-section {
    position: relative;
    z-index: 5;
    padding: 60px 20px;
    background: linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.4) 100%);
    border-top: 1px solid var(--border-subtle);
}

.section-container {
    max-width: 1160px;
    margin: 0 auto;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.25);
    font-size: 11.5px;
    font-weight: 700;
    color: var(--accent-cyan);
    margin-bottom: 14px;
    letter-spacing: 0.5px;
}

.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-cyan);
    box-shadow: 0 0 6px var(--accent-cyan);
}

.section-title {
    font-size: clamp(26px, 3.5vw, 36px);
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 15px;
    color: var(--text-secondary);
    max-width: 680px;
    line-height: 1.6;
    margin-bottom: 40px;
}

/* 4 Pillars Grid */
.psychology-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-bottom: 45px;
}

.psycho-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 24px 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.psycho-card:hover {
    transform: translateY(-4px);
    border-color: rgba(56, 189, 248, 0.35);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3), 0 0 20px rgba(56, 189, 248, 0.1);
}

.psycho-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 16px;
}

.psycho-card-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.psycho-card-desc {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.55;
    margin-bottom: 20px;
    flex-grow: 1;
}

.psycho-metric {
    display: flex;
    align-items: baseline;
    gap: 8px;
    border-top: 1px solid var(--border-subtle);
    padding-top: 14px;
}

.metric-val {
    font-family: var(--font-mono);
    font-size: 18px;
    font-weight: 700;
    color: var(--accent-cyan);
}

.metric-lbl {
    font-size: 11.5px;
    color: var(--text-muted);
    font-weight: 600;
}

/* Social Proof Banner */
.social-proof-bar {
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(30, 41, 59, 0.7) 100%);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 24px;
    gap: 20px;
    margin-bottom: 40px;
    box-shadow: var(--card-shadow);
}

[data-theme="light"] .social-proof-bar {
    background: #ffffff;
}

.proof-item {
    text-align: center;
}

.proof-number {
    font-family: var(--font-mono);
    font-size: 26px;
    font-weight: 700;
    color: var(--text-primary);
    background: linear-gradient(135deg, #ffffff 0%, #38bdf8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

[data-theme="light"] .proof-number {
    background: linear-gradient(135deg, #0f172a 0%, #2563eb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.proof-label {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 600;
    margin-top: 4px;
}

.proof-divider {
    width: 1px;
    height: 40px;
    background: var(--border-subtle);
}

/* Testimonials Grid */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.testi-card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testi-stars {
    color: #f59e0b;
    font-size: 14px;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.testi-text {
    font-size: 13.5px;
    color: var(--text-primary);
    line-height: 1.55;
    font-style: italic;
    margin-bottom: 18px;
}

.testi-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #185eff 0%, #38bdf8 100%);
    color: #fff;
    font-weight: 700;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-info strong {
    display: block;
    font-size: 13px;
    color: var(--text-primary);
}

.author-info span {
    font-size: 11.5px;
    color: var(--text-muted);
}

/* ==========================================================================
   📩 STRATEGY REQUEST & VIP EA SETUP SECTION
   ========================================================================== */
.strategy-form-section {
    position: relative;
    z-index: 5;
    padding: 40px 20px 60px;
}

.contact-card-glass {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1.5px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    box-shadow: var(--card-shadow);
    padding: 38px 36px;
}

.contact-split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.contact-title {
    font-size: 26px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.contact-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 28px;
}

.contact-methods-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.method-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.method-card:hover:not(.static-card) {
    border-color: var(--accent-cyan);
    transform: translateX(4px);
    background: rgba(56, 189, 248, 0.05);
}

.method-icon-wrap {
    font-size: 20px;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: rgba(56, 189, 248, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.method-text {
    display: flex;
    flex-direction: column;
}

.method-sub {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 600;
}

.method-main {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
}

.form-card-inner {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 28px 24px;
}

.form-heading {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.form-subheading {
    font-size: 12.5px;
    color: var(--text-secondary);
    margin-bottom: 18px;
}

.form-row-dual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.vip-submit-btn {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.35) !important;
}

.vip-submit-btn:hover {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%) !important;
    box-shadow: 0 12px 30px rgba(16, 185, 129, 0.5) !important;
}

.form-sub-note {
    font-size: 11.5px;
    color: var(--text-muted);
    text-align: center;
    margin-top: 10px;
}

/* ==========================================================================
   📄 LEGAL & REGULATORY DISCLOSURE
   ========================================================================== */
.legal-section {
    position: relative;
    z-index: 5;
    padding: 0 20px 40px;
}

.legal-box {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 24px 28px;
}

.legal-header h4 {
    font-size: 13.5px;
    font-weight: 700;
    color: #f59e0b;
    margin-bottom: 8px;
}

.legal-text {
    font-size: 11.5px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

.legal-links-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    flex-wrap: wrap;
}

.legal-links-row a {
    color: var(--accent-cyan);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.15s;
}

.legal-links-row a:hover {
    text-decoration: underline;
}

.legal-links-row span {
    color: var(--text-muted);
}

/* ==========================================================================
   Terminal Footer
   ========================================================================== */
.terminal-footer {
    text-align: center;
    padding: 24px 20px 36px;
    font-size: 11.5px;
    color: var(--text-muted);
    border-top: 1px solid var(--border-subtle);
}

.footer-pills {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 8px;
    flex-wrap: wrap;
}

.footer-pill {
    font-family: var(--font-mono);
    font-size: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    padding: 2px 8px;
    border-radius: var(--radius-pill);
    color: var(--text-muted);
}

/* ==========================================================================
   Interactive Modals (Terms, Privacy, Safety, Lead Success)
   ========================================================================== */
.app-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.app-modal-overlay.active {
    display: flex;
    opacity: 1;
}

.app-modal-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    box-shadow: 0 25px 65px rgba(0, 0, 0, 0.8);
    width: 100%;
    max-width: 560px;
    padding: 24px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
}

.app-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border-subtle);
    margin-bottom: 14px;
}

.app-modal-header h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-primary);
}

.app-modal-close {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 18px;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
}

.app-modal-close:hover {
    color: var(--text-primary);
}

.app-modal-body {
    overflow-y: auto;
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 18px;
    padding-right: 6px;
}

.app-modal-body h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    margin-top: 14px;
    margin-bottom: 4px;
}

.app-modal-footer {
    display: flex;
    justify-content: flex-end;
    padding-top: 14px;
    border-top: 1px solid var(--border-subtle);
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */
@media (max-width: 900px) {
    .header-nav-links {
        display: none;
    }
    .contact-split-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .form-row-dual {
        grid-template-columns: 1fr;
    }
    .proof-divider {
        display: none;
    }
}

@media (max-width: 640px) {
    html, body {
        overflow-x: hidden !important;
        max-width: 100vw !important;
        width: 100% !important;
    }
    .terminal-nav {
        padding: 10px 12px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .nav-container {
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .terminal-main {
        padding: 16px 8px !important;
        box-sizing: border-box !important;
        width: 100% !important;
        overflow-x: hidden !important;
    }
    .login-wrapper {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    .live-status-pill {
        display: none !important;
    }
    .status-text {
        display: none !important;
    }
    .terminal-card {
        padding: 18px 12px !important;
        border-radius: var(--radius-md) !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    .tab-control {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 3px !important;
        padding: 3px !important;
    }
    .tab-btn {
        flex: 1 1 30% !important;
        min-width: 85px !important;
        font-size: 10.5px !important;
        padding: 6px 3px !important;
        gap: 3px !important;
    }
    .tab-icon {
        font-size: 11px !important;
    }
    .tab-text {
        font-size: 10.5px !important;
    }
    .label-row {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 4px !important;
        justify-content: space-between !important;
    }
    .investor-pill {
        font-size: 10px !important;
        padding: 2px 6px !important;
    }
    .card-title {
        font-size: 18px !important;
    }
    .card-subtitle {
        font-size: 11.5px !important;
    }
    .contact-card-glass {
        padding: 16px 12px !important;
        box-sizing: border-box !important;
    }
}


/* Login Portal Mobile Button & Text Safety */
@media (max-width: 480px) {
    .submit-btn {
        font-size: 14px !important;
        padding: 12px 14px !important;
    }
    .tab-btn {
        padding: 8px 6px !important;
        font-size: 11.5px !important;
    }
    .card-title {
        font-size: 20px !important;
    }
    .form-input {
        font-size: 13px !important;
    }
}


/* ==========================================================================
   v3.5 Institutional Upgrades: Architecture Grid & Enhanced Elements
   ========================================================================== */
.alert-session-timeout {
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.45);
    color: #fde68a;
    border-radius: var(--radius-md);
    padding: 13px 15px;
    margin-bottom: 18px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}
[data-theme="light"] .alert-session-timeout {
    background: #fffbeb;
    border-color: #fde68a;
    color: #b45309;
}

.admin-supervisor-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(139, 92, 246, 0.12);
    border: 1px solid rgba(139, 92, 246, 0.35);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    font-size: 12px;
    font-weight: 600;
    color: #c4b5fd;
    margin-bottom: 16px;
    line-height: 1.4;
}
[data-theme="light"] .admin-supervisor-badge {
    background: #f5f3ff;
    border-color: #ddd6fe;
    color: #6d28d9;
}

.architecture-section {
    position: relative;
    z-index: 5;
    padding: 70px 20px;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.5) 0%, rgba(9, 13, 22, 0.85) 100%);
    border-top: 1px solid var(--border-subtle);
}
[data-theme="light"] .architecture-section {
    background: linear-gradient(180deg, rgba(241, 245, 249, 0.6) 0%, #ffffff 100%);
}

.architecture-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 22px;
    margin-top: 36px;
}

.arch-card {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 26px 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.arch-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.arch-card:hover {
    border-color: rgba(56, 189, 248, 0.35);
    transform: translateY(-3px);
    box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.5), 0 0 24px rgba(56, 189, 248, 0.12);
}

.arch-card:hover::before {
    opacity: 1;
}

.arch-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.arch-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.arch-tag {
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.6px;
    padding: 3px 8px;
    border-radius: var(--radius-pill);
    background: rgba(59, 130, 246, 0.12);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: var(--accent-cyan);
    text-transform: uppercase;
}

.arch-title {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.3px;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.arch-desc {
    font-size: 13.5px;
    color: var(--text-secondary);
    line-height: 1.55;
    margin-bottom: 20px;
    flex: 1;
}

.arch-metric-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid var(--border-subtle);
    font-family: var(--font-mono);
    font-size: 12px;
}

.arch-metric-label {
    color: var(--text-muted);
}

.arch-metric-value {
    color: var(--accent-emerald);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
}

.arch-metric-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-emerald);
    box-shadow: 0 0 6px var(--accent-emerald);
}

/* Quick Features Chips Grid */
.features-showcase-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 24px;
}

@media (max-width: 580px) {
    .features-showcase-grid {
        grid-template-columns: 1fr;
    }
}


/* ==========================================================================
   Split-Screen Desktop & Compact Modern Layout (Left Info / Right Login)
   ========================================================================== */
.split-login-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 44px;
    align-items: center;
}

@media (max-width: 960px) {
    .split-login-container {
        grid-template-columns: 1fr;
        gap: 28px;
        max-width: 500px;
    }
}

.split-left-panel {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.split-right-panel {
    width: 100%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 12px;
    border-radius: var(--radius-pill);
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.28);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.6px;
    color: var(--accent-cyan);
    align-self: flex-start;
}

.hero-headline {
    font-size: clamp(28px, 3.2vw, 40px);
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: -0.8px;
    color: var(--text-primary);
}

.gradient-text {
    background: linear-gradient(135deg, #38bdf8 0%, #3b82f6 50%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtext {
    font-size: 14.5px;
    color: var(--text-secondary);
    line-height: 1.55;
    max-width: 580px;
}

/* Compact 2x2 Feature Grid on Left */
.compact-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 6px;
}

@media (max-width: 600px) {
    .compact-features-grid {
        grid-template-columns: 1fr;
    }
}

.mini-feature-card {
    background: var(--bg-card);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 14px 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.2s ease;
}

.mini-feature-card:hover {
    border-color: rgba(56, 189, 248, 0.35);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px -8px rgba(0, 0, 0, 0.4);
}

.mini-card-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    border-radius: var(--radius-sm);
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.mini-card-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.mini-card-body strong {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-primary);
}

.mini-card-body span {
    font-size: 11.5px;
    color: var(--text-secondary);
    line-height: 1.3;
}

/* Ticker Bar on Left */
.hero-stats-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 18px;
    border-radius: var(--radius-md);
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid var(--border-subtle);
    align-self: flex-start;
    margin-top: 4px;
}

[data-theme="light"] .hero-stats-row {
    background: rgba(255, 255, 255, 0.8);
}

.stat-pill {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-family: var(--font-mono);
    font-size: 15px;
    font-weight: 700;
    color: var(--accent-cyan);
}

.stat-label {
    font-size: 10.5px;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.stat-separator {
    width: 1px;
    height: 22px;
    background: var(--border-subtle);
}

/* Right-Side Compact Login Card */
.split-right-panel .terminal-card {
    padding: 26px 26px 22px 26px;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 50px -12px rgba(0, 0, 0, 0.6), 0 0 35px -5px rgba(56, 189, 248, 0.12);
}

.split-right-panel .card-header {
    margin-bottom: 18px;
}

.split-right-panel .card-title {
    font-size: 21px;
    margin-bottom: 4px;
}

.split-right-panel .card-subtitle {
    font-size: 12.5px;
}

.split-right-panel .tab-control {
    margin-bottom: 18px;
}

.split-right-panel .form-group {
    margin-bottom: 14px;
}


/* ============================================================== */
/* 🚀 PAGE 2: PLATFORM ECOSYSTEM & ARCHITECTURE SHOWCASE CSS      */
/* ============================================================== */

.platform-ecosystem-section {
    padding: 70px 20px 80px 20px;
    position: relative;
    z-index: 5;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.ecosystem-header {
    max-width: 780px;
    margin: 0 auto 46px auto;
}

.eco-center-badge {
    margin: 0 auto 16px auto;
    display: inline-flex;
}

.ecosystem-headline {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 14px;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.ecosystem-subtext {
    font-size: 14.5px;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 680px;
    margin: 0 auto;
}

/* 2x2 Grid Layout */
.ecosystem-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 1240px;
    margin: 0 auto 40px auto;
}

@media (max-width: 960px) {
    .ecosystem-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .ecosystem-headline {
        font-size: 26px;
    }
}

/* Ecosystem Showcase Cards */
.eco-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 26px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--card-shadow);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease;
}

.eco-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 50px -10px rgba(0, 0, 0, 0.5), 0 0 25px rgba(56, 189, 248, 0.15);
    border-color: rgba(56, 189, 248, 0.35);
}

.eco-card-header {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 12px;
}

.eco-icon-glow {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.icon-blue {
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.icon-purple {
    background: rgba(139, 92, 246, 0.15);
    border: 1px solid rgba(139, 92, 246, 0.3);
}

.icon-emerald {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.icon-amber {
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.eco-header-meta {
    flex: 1;
}

.eco-tag {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 3px;
    font-family: var(--font-mono);
}

.tag-blue { color: #38bdf8; }
.tag-purple { color: #a78bfa; }
.tag-emerald { color: #34d399; }
.tag-amber { color: #fbbf24; }

.eco-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.25;
}

.eco-live-badge {
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: var(--radius-pill);
    font-family: var(--font-mono);
    white-space: nowrap;
}

.live-pulse {
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.35);
    color: #60a5fa;
    animation: livePillPulse 2s infinite ease-in-out;
}

.live-sync {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.35);
    color: #34d399;
}

.live-whale {
    background: rgba(168, 85, 247, 0.15);
    border: 1px solid rgba(168, 85, 247, 0.35);
    color: #c084fc;
}

.live-guard {
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.35);
    color: #fbbf24;
}

@keyframes livePillPulse {
    0%, 100% { box-shadow: 0 0 0 rgba(59, 130, 246, 0); }
    50% { box-shadow: 0 0 10px rgba(59, 130, 246, 0.45); }
}

.eco-desc {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0 0 16px 0;
}

/* Visualizer Canvas */
.eco-visualizer {
    background: var(--bg-input);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 14px;
    margin-bottom: 16px;
    position: relative;
    overflow: hidden;
}

/* Card 1: Slot Pipe Visualizer */
.slot-pipe-stream {
    height: 4px;
    width: 100%;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 2px;
    position: relative;
    overflow: hidden;
    margin-bottom: 14px;
}

.stream-beam {
    position: absolute;
    top: 0;
    left: -30%;
    width: 40%;
    height: 100%;
    background: linear-gradient(90deg, transparent, #38bdf8, #818cf8, transparent);
    animation: beamSweep 2.2s infinite cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes beamSweep {
    0% { left: -30%; }
    100% { left: 110%; }
}

.slot-nodes-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.slot-node {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    border-radius: 6px;
    padding: 6px 4px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    position: relative;
    transition: all 0.2s ease;
}

.slot-node.active {
    border-color: rgba(56, 189, 248, 0.3);
    background: rgba(56, 189, 248, 0.06);
}

.slot-node .slot-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 6px #10b981;
}

.slot-node .slot-dot.dot-amber {
    background: #f59e0b;
    box-shadow: 0 0 6px #f59e0b;
}

.slot-node .slot-id {
    font-size: 10.5px;
    font-weight: 700;
    color: var(--text-primary);
    font-family: var(--font-mono);
}

.slot-node .slot-ms {
    font-size: 9px;
    color: var(--text-muted);
    font-family: var(--font-mono);
}

/* Card 2: Copier Visualizer */
.copier-flow-diagram {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.copier-box {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: 8px 10px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.copier-box.master-box {
    border-color: rgba(139, 92, 246, 0.4);
    background: rgba(139, 92, 246, 0.08);
}

.broker-badge {
    font-size: 8.5px;
    font-weight: 800;
    padding: 1px 4px;
    border-radius: 3px;
    background: rgba(139, 92, 246, 0.25);
    color: #c084fc;
    display: inline-block;
    align-self: flex-start;
}

.broker-badge.badge-green {
    background: rgba(16, 185, 129, 0.2);
    color: #34d399;
}

.broker-badge.badge-cyan {
    background: rgba(6, 182, 212, 0.2);
    color: #22d3ee;
}

.broker-name {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-primary);
}

.broker-order {
    font-size: 9.5px;
    color: #38bdf8;
    font-family: var(--font-mono);
}

.copier-arrows {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    flex: 1;
}

.flow-line {
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.12);
    position: relative;
    overflow: hidden;
}

.flow-particle {
    position: absolute;
    top: 0;
    left: 0;
    width: 20px;
    height: 100%;
    background: #a855f7;
    animation: flowAcross 1.5s infinite linear;
}

.flow-particle.delay {
    animation-delay: 0.75s;
    background: #38bdf8;
}

@keyframes flowAcross {
    0% { left: 0%; opacity: 0; }
    50% { opacity: 1; }
    100% { left: 100%; opacity: 0; }
}

.copier-latency-tag {
    font-size: 9px;
    font-weight: 700;
    color: #a855f7;
    font-family: var(--font-mono);
}

.copier-slaves-stack {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.slave-sub-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    border-radius: 6px;
    padding: 4px 8px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

/* Card 3: Footprint Visualizer */
.mini-fp-ladder {
    display: flex;
    flex-direction: column;
    gap: 3px;
    font-family: var(--font-mono);
    font-size: 10.5px;
}

.fp-rung {
    display: grid;
    grid-template-columns: 1fr 1.4fr 1fr;
    align-items: center;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 4px;
    padding: 3px 6px;
    text-align: center;
}

.fp-rung.poc-rung {
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.35);
}

.fp-bid { color: #ef4444; font-weight: 700; text-align: left; }
.fp-price { color: var(--text-primary); font-weight: 600; font-size: 10px; }
.fp-ask { color: #10b981; font-weight: 700; text-align: right; }

.poc-cell { color: #fbbf24 !important; font-weight: 800; }
.poc-price { color: #fbbf24 !important; font-weight: 800; }

.delta-up { animation: flashDeltaUp 2s infinite ease-in-out; }
.delta-down { animation: flashDeltaDown 2s infinite ease-in-out; }

@keyframes flashDeltaUp {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; transform: scale(1.05); }
}

@keyframes flashDeltaDown {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; transform: scale(1.05); }
}

.fp-live-ticker {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    color: var(--text-secondary);
    margin-top: 8px;
    padding-top: 6px;
    border-top: 1px dashed var(--border-subtle);
}

.live-pulse-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10b981;
    animation: pulseDot 1.5s infinite;
}

/* Card 4: VPS Guard Visualizer */
.guard-telemetry-row {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.telemetry-bar-wrap {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.telemetry-lbl {
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    color: var(--text-secondary);
}

.telemetry-lbl strong {
    color: var(--text-primary);
    font-family: var(--font-mono);
}

.telemetry-bar {
    width: 100%;
    height: 5px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 3px;
    overflow: hidden;
}

.telemetry-progress {
    height: 100%;
    border-radius: 3px;
    transition: width 0.4s ease;
}

.bar-blue { background: #3b82f6; }
.bar-green { background: #10b981; }
.bar-amber { background: #f59e0b; }

/* Metrics Footer */
.eco-footer-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding-top: 14px;
    border-top: 1px solid var(--border-subtle);
}

.eco-metric {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.m-val {
    font-size: 14px;
    font-weight: 800;
    color: var(--text-primary);
    font-family: var(--font-mono);
}

.m-lbl {
    font-size: 10px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* Call-to-action Strip */
.ecosystem-cta-strip {
    max-width: 1240px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 20px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    box-shadow: var(--card-shadow);
}

@media (max-width: 768px) {
    .ecosystem-cta-strip {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
}

.cta-strip-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.cta-strip-text strong {
    font-size: 15px;
    color: var(--text-primary);
}

.cta-strip-text span {
    font-size: 13px;
    color: var(--text-secondary);
}

.cta-strip-actions {
    display: flex;
    gap: 12px;
}

.eco-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 18px;
    border-radius: var(--radius-md);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}

.primary-eco-btn {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

.primary-eco-btn:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
}

.secondary-eco-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
}

.secondary-eco-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

/* Light Mode Overrides for Platform Ecosystem */
[data-theme="light"] .eco-card {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .eco-card:hover {
    box-shadow: 0 20px 40px rgba(14, 165, 233, 0.15);
    border-color: rgba(14, 165, 233, 0.4);
}

[data-theme="light"] .eco-visualizer {
    background: #f8fafc;
    border-color: #e2e8f0;
}

[data-theme="light"] .slot-node {
    background: #ffffff;
    border-color: #e2e8f0;
}

[data-theme="light"] .slot-node.active {
    background: rgba(56, 189, 248, 0.08);
    border-color: rgba(56, 189, 248, 0.35);
}

[data-theme="light"] .slot-pipe-stream {
    background: #e2e8f0;
}

[data-theme="light"] .copier-box {
    background: #ffffff;
    border-color: #e2e8f0;
}

[data-theme="light"] .copier-box.master-box {
    background: rgba(139, 92, 246, 0.08);
    border-color: rgba(139, 92, 246, 0.3);
}

[data-theme="light"] .slave-sub-box {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

[data-theme="light"] .flow-line {
    background: #cbd5e1;
}

[data-theme="light"] .fp-rung {
    background: #ffffff;
}

[data-theme="light"] .fp-rung.poc-rung {
    background: #fef3c7;
    border-color: #f59e0b;
}

[data-theme="light"] .telemetry-bar {
    background: #e2e8f0;
}

[data-theme="light"] .ecosystem-cta-strip {
    background: #ffffff;
    border-color: #e2e8f0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .secondary-eco-btn {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

/* ===========================================
   MOBILE VIEW NAVIGATION & CLEAN TABBED STAGES
   =========================================== */
.mobile-nav-bar {
    display: none;
    position: sticky;
    top: 56px;
    z-index: 100;
    padding: 8px 12px;
    background: rgba(10, 15, 29, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

[data-theme="light"] .mobile-nav-bar {
    background: rgba(248, 250, 252, 0.95);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.mobile-nav-pills {
    display: flex;
    gap: 6px;
    max-width: 440px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.04);
    padding: 3px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.07);
}

[data-theme="light"] .mobile-nav-pills {
    background: rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.mobile-nav-pill {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 10px;
    font-size: 12.5px;
    font-weight: 600;
    font-family: inherit;
    border: none;
    border-radius: 7px;
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-nav-pill:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.mobile-nav-pill.active {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.4);
}

@media (max-width: 900px) {
    .mobile-nav-bar {
        display: block !important;
    }
    
    /* On mobile, only the selected section is displayed */
    #hero-login {
        display: block;
        padding-top: 15px !important;
    }
    #platform-ecosystem {
        display: none;
        padding: 20px 14px 40px !important;
    }
    #vip-strategy-form {
        display: none;
        padding: 20px 14px 40px !important;
    }
    
    /* Reverse split-container order so Login Form card is at the top on mobile */
    .split-login-container {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
        padding: 10px 14px 40px !important;
        max-width: 480px !important;
        margin: 0 auto !important;
    }
    .split-right-panel {
        order: 1 !important;
        width: 100% !important;
    }
    .split-left-panel {
        order: 2 !important;
        width: 100% !important;
        padding-top: 10px !important;
    }
    .hero-headline {
        font-size: 24px !important;
        line-height: 1.25 !important;
        text-align: center !important;
    }
    .hero-subtext {
        font-size: 13px !important;
        text-align: center !important;
        margin-bottom: 16px !important;
    }
    .hero-badge {
        margin: 0 auto 12px auto !important;
    }
    .hero-stats-row {
        justify-content: center !important;
    }
    .terminal-card {
        padding: 22px 18px !important;
        border-radius: 16px !important;
        box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45) !important;
    }
}

@media (min-width: 901px) {
    .mobile-nav-bar {
        display: none !important;
    }
    #hero-login,
    #platform-ecosystem,
    #vip-strategy-form {
        display: block !important;
    }
}
