/* MLS9 Version: 0.0.9 - style.css */
/* Updates: Added Split-Screen Auth Layout for exciting signup pages */

:root {
    --primary: #006AFF;
    --primary-dark: #0056cf;
    --primary-soft: #e6f2ff;
    --text-main: #2a2a33;
    --text-muted: #596b82;
    --bg-body: #f9f9fb;
    --bg-card: #ffffff;
    --border: #dce0e6;
    --success: #00a862;
    --warning: #ffaa00;
    --danger: #d93c3c;
    --radius: 8px;
    --shadow: 0 2px 12px rgba(0,0,0,0.08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Inter', -apple-system, sans-serif; background: var(--bg-body); color: var(--text-main); line-height: 1.5; }
a { text-decoration: none; color: inherit; }

/* --- AUTH SPLIT LAYOUT (NEW) --- */
.auth-split-wrapper {
    display: flex;
    min-height: calc(100vh - 80px); /* Subtract header height approx */
    background: #fff;
    max-width: 1400px;
    margin: 40px auto;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
    overflow: hidden;
    border: 1px solid var(--border);
}

.auth-marketing-side {
    flex: 1;
    background: linear-gradient(135deg, #004ecc 0%, #006AFF 100%);
    color: white;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Subtle pattern overlay */
.auth-marketing-side::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at 10% 10%, rgba(255,255,255,0.1) 0%, transparent 20%),
                radial-gradient(circle at 90% 90%, rgba(255,255,255,0.1) 0%, transparent 20%);
    pointer-events: none;
}

.auth-marketing-content {
    position: relative;
    z-index: 2;
    max-width: 500px;
    margin: 0 auto;
}

.auth-marketing-title {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 25px;
    letter-spacing: -1px;
}

.auth-marketing-text {
    font-size: 1.15rem;
    opacity: 0.9;
    margin-bottom: 40px;
    line-height: 1.6;
}

.auth-feature-list {
    list-style: none;
    margin-bottom: 50px;
}

.auth-feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 1.1rem;
    font-weight: 500;
}

.auth-feature-icon {
    width: 32px;
    height: 32px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.auth-form-side {
    flex: 1;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #fff;
    max-width: 650px; /* Prevent form from getting too wide */
}

/* Responsive Auth */
@media (max-width: 900px) {
    .auth-split-wrapper {
        flex-direction: column;
        margin: 20px;
        height: auto;
    }
    .auth-marketing-side {
        padding: 40px;
        text-align: center;
    }
    .auth-feature-list {
        display: none; /* Hide detailed list on mobile to save space */
    }
    .auth-form-side {
        padding: 40px 20px;
        max-width: 100%;
    }
}

/* --- PROFESSIONAL HERO SECTION (KEPT) --- */
.pro-hero-section {
    background: radial-gradient(circle at 50% 30%, #ffffff 0%, #f1f5f9 100%);
    min-height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    border-bottom: 1px solid var(--border);
}
.pro-hero-container {
    width: 100%;
    max-width: 900px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 35px;
}
.pro-title {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -1.5px;
    color: #0f172a;
    line-height: 1.1;
    margin-bottom: 15px;
}
.pro-title .highlight {
    background: linear-gradient(135deg, #006AFF 0%, #38bdf8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.pro-subtitle {
    font-size: 1.25rem;
    color: #64748b;
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}
/* Professional Search Bar */
.pro-search {
    width: 100%;
    max-width: 700px;
    background: white;
    border: 1px solid #cbd5e1;
    border-radius: 50px;
    padding: 8px;
    display: flex;
    align-items: center;
    box-shadow: 0 10px 40px -10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}
.pro-search:focus-within {
    border-color: var(--primary);
    box-shadow: 0 15px 50px -10px rgba(0, 106, 255, 0.15);
    transform: translateY(-2px);
}
.search-icon-wrapper {
    padding-left: 20px;
    color: #94a3b8;
    font-size: 1.1rem;
}
.pro-search input {
    flex: 1;
    border: none;
    outline: none;
    padding: 15px;
    font-size: 1.1rem;
    color: #334155;
    background: transparent;
}
.pro-search button {
    background: var(--primary);
    color: white;
    border: none;
    padding: 12px 35px;
    border-radius: 40px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s;
}
.pro-search button:hover { background: var(--primary-dark); }
/* Compact Action Buttons */
.pro-actions-row {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}
.pro-action-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: white;
    border: 1px solid #e2e8f0;
    padding: 12px 25px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    color: #334155;
    box-shadow: 0 2px 5px rgba(0,0,0,0.03);
    transition: all 0.2s ease;
    min-width: 140px;
    justify-content: center;
}
.pro-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.06);
    border-color: var(--primary);
    color: var(--primary);
}
.pro-action-btn i { font-size: 1.1rem; }
/* Trust Indicators */
.pro-trust {
    margin-top: 20px;
    display: flex;
    gap: 25px;
    font-size: 0.85rem;
    color: #94a3b8;
    font-weight: 500;
}
.pro-trust i { color: var(--success); margin-right: 5px; }

/* Responsive Adjustments */
@media (max-width: 768px) {
    .pro-title { font-size: 2.5rem; }
    .pro-search { flex-direction: column; border-radius: 16px; padding: 15px; gap: 10px; }
    .pro-search input { width: 100%; text-align: center; border-bottom: 1px solid #eee; margin-bottom: 10px; }
    .pro-search button { width: 100%; }
    .search-icon-wrapper { display: none; }
    .pro-actions-row { width: 100%; }
    .pro-action-btn { flex: 1; }
}

/* --- ORIGINAL STYLES PRESERVED BELOW --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }
header { background: #fff; border-bottom: 1px solid var(--border); padding: 15px 0; position: sticky; top: 0; z-index: 1000; }
.logo-link { display: block; flex: 0 0 auto; margin-right: 20px; }
.logo-img { height: 40px; width: auto; display: block; }
.nav-links a { margin-left: 20px; font-weight: 500; color: var(--text-muted); font-size: 0.9rem; }
.nav-links a:hover { color: var(--primary); }
.nav-links a.active { color: var(--primary); background: var(--primary-soft); padding: 6px 12px; border-radius: 20px; }
.search-bar-header { flex: 1; max-width: 600px; margin: 0 auto; }
.search-form { display: flex; width: 100%; gap: 0; }
.search-input { flex: 1; padding: 10px 15px; border: 1px solid var(--border); border-right: none; border-radius: 4px 0 0 4px; font-size: 1rem; min-width: 0; }
.search-input:focus { border-color: var(--primary); outline: none; background: #f0f7ff; }
.header-search-btn { width: 60px; padding: 0 !important; font-size: 1rem; border-radius: 0 4px 4px 0; cursor: pointer; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.header-right { flex: 0 0 auto; display: flex; align-items: center; }
.user-menu-container { position: relative; margin-left: 20px; flex-shrink: 0; }
.user-avatar-btn { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--border); cursor: pointer; overflow: hidden; transition: border-color 0.2s; }
.user-avatar-btn:hover { border-color: var(--primary); }
.user-avatar-btn img { width: 100%; height: 100%; object-fit: cover; }
.dropdown-menu { display: none; position: absolute; right: 0; top: 50px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); width: 240px; z-index: 1100; overflow: hidden; }
.dropdown-menu.show { display: block; }
.dropdown-item { display: flex; align-items: center; gap: 10px; padding: 12px 15px; color: var(--text-main); font-size: 0.9rem; border-bottom: 1px solid #f0f0f0; transition: background 0.2s; }
.dropdown-item:hover { background: var(--primary-soft); color: var(--primary); }
.dropdown-item:last-child { border-bottom: none; }
.dropdown-item i { width: 25px; text-align: center; color: var(--text-muted); }
.user-email-display { display: block; padding: 12px 15px; border-bottom: 1px solid #f0f0f0; font-size: 0.8rem; font-weight: 700; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; background: #f9f9fb; }
.card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: transform 0.2s, box-shadow 0.2s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--primary); }
.card-img { height: 180px; background: #eee; position: relative; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 15px; }
.card-price { font-size: 1.4rem; font-weight: 700; color: var(--text-main); }
.card-meta { font-size: 0.9rem; color: var(--text-muted); margin: 5px 0; }
.badge { position: absolute; top: 10px; left: 10px; background: rgba(0,0,0,0.7); color: #fff; padding: 4px 8px; border-radius: 4px; font-size: 0.75rem; font-weight: 600; }
.badge.closing { background: var(--primary); }
.btn { display: inline-block; padding: 10px 20px; border-radius: 4px; font-weight: 600; text-align: center; cursor: pointer; border: none; font-size: 0.9rem; width: 100%; }
.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-outline { border: 1px solid var(--border); background: #fff; color: var(--text-main); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-auth-lg { padding: 16px 32px; font-size: 1.2rem; font-weight: 700; width: 100%; border-radius: 8px; letter-spacing: 0.5px; text-transform: uppercase; box-shadow: 0 10px 20px rgba(0, 106, 255, 0.2); transition: all 0.3s ease; }
.btn-auth-lg:hover { transform: translateY(-2px); box-shadow: 0 15px 30px rgba(0, 106, 255, 0.3); background: var(--primary-dark); }
.tabs { display: flex; border-bottom: 1px solid var(--border); margin-bottom: 20px; background: #fff; padding: 0 20px; }
.tab-btn { padding: 15px 20px; cursor: pointer; color: var(--text-muted); font-weight: 600; border-bottom: 3px solid transparent; }
.tab-btn:hover { color: var(--primary); }
.tab-btn.active { color: var(--primary); border-bottom-color: var(--primary); }
.tab-content { display: none; }
.tab-content.active { display: block; }
.auth-container { max-width: 400px; margin: 80px auto; }
.auth-card { padding: 40px; text-align: center; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
.auth-card h1 { font-size: 1.8rem; margin-bottom: 10px; color: var(--primary-dark); }
.auth-card p.subtitle { color: var(--text-muted); margin-bottom: 30px; }
.form-group { margin-bottom: 20px; text-align: left; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 8px; color: var(--text-main); }
.form-group input { width: 100%; padding: 12px; border: 1px solid var(--border); border-radius: var(--radius); font-size: 1rem; }
.form-group input:focus { border-color: var(--primary); outline: none; background: var(--primary-soft); }
.auth-switch { margin-top: 20px; font-size: 0.9rem; color: var(--text-muted); }
.auth-switch a { color: var(--primary); font-weight: 600; }
.alert { padding: 12px; border-radius: var(--radius); margin-bottom: 20px; font-size: 0.9rem; text-align: left; }
.alert-error { background: #fee2e2; color: #991b1b; border: 1px solid #fecaca; }
.alert-success { background: #dcfce7; color: #166534; border: 1px solid #bbf7d0; }
/* ... (Rest of original CSS preserved) ... */
.dc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(450px, 1fr)); gap: 20px; margin-bottom: 20px; }
.dc-card { background: #fff; border: 1px solid #e0e6ef; border-radius: 8px; padding: 20px; box-shadow: 0 2px 4px rgba(0,0,0,0.05); }
.dc-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; border-bottom: 1px solid #eee; padding-bottom: 10px; }
.dc-header h4 { margin: 0; color: var(--primary-dark); font-size: 1rem; text-transform: uppercase; font-weight: 700; letter-spacing: 0.5px; }
.dc-table { width: 100%; font-size: 0.9rem; border-collapse: collapse; }
.dc-table th { text-align: left !important; padding: 10px; background: #f9f9fb; color: var(--text-muted); font-weight: 600; border-bottom: 2px solid var(--border); }
.dc-table td { padding: 10px; border-bottom: 1px solid #f0f0f0; vertical-align: middle; text-align: left !important; }
.dc-table tr:last-child td { border-bottom: none; }
.history-container { max-height: 300px; overflow-y: auto; border: 1px solid var(--border); border-radius: 4px; }
.history-container table { margin: 0; width: 100%; }
.history-container th { position: sticky; top: 0; background: #f9f9fb; z-index: 10; text-align: left; }
.dc-input { width: 90px; padding: 5px; border: 1px solid #dce0e6; border-radius: 4px; text-align: right; font-family: inherit; color: var(--text-main); font-weight: 500; transition: border 0.2s; }
.dc-input:focus { border-color: var(--primary); outline: none; background: #f0f7ff; }
.val-pos { color: var(--success); font-weight: 600; }
.val-neg { color: var(--danger); font-weight: 600; }
.total-row td { font-weight: 800; border-top: 2px solid #e0e6ef; padding-top: 12px; font-size: 1rem; }
.chart-wrapper { position: relative; height: 180px; width: 100%; display: flex; justify-content: center; }
.strat-nav { display: flex; gap: 10px; margin-bottom: 20px; border-bottom: 1px solid #eee; padding-bottom: 10px; }
.strat-btn { padding: 8px 16px; border: 1px solid #ddd; background: #fff; border-radius: 20px; cursor: pointer; font-size: 0.9rem; color: #666; }
.strat-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.stats-row { display: flex; gap: 40px; margin-top: 25px; padding-top: 20px; border-top: 1px solid var(--border); overflow-x: auto; }
.stat-item { display: flex; flex-direction: column; padding-right: 40px; border-right: 1px solid var(--border); }
.stat-item:last-child { border-right: none; }
.stat-val { font-size: 1.4rem; font-weight: 800; color: var(--text-main); line-height: 1; }
.stat-lbl { font-size: 0.8rem; color: var(--text-muted); text-transform: uppercase; font-weight: 600; margin-top: 5px; }
.stat-highlight { color: var(--primary); }
.overview-top-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 20px; margin-bottom: 20px; }
@media (max-width: 900px) { .overview-top-grid { grid-template-columns: 1fr; } }
.map-card { position: relative; height: 100%; min-height: 350px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.map-overlay-data { position: absolute; bottom: 0; left: 0; right: 0; background: rgba(255, 255, 255, 0.95); padding: 15px; backdrop-filter: blur(4px); border-top: 1px solid rgba(0,0,0,0.1); font-size: 0.85rem; color: var(--text-main); }
.data-group-title { font-size: 0.75rem; color: var(--primary); font-weight: 700; text-transform: uppercase; margin-bottom: 8px; border-bottom: 2px solid var(--primary-soft); padding-bottom: 4px; margin-top: 20px; }
.data-group-title:first-child { margin-top: 0; }
.data-row { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px solid #f9f9fb; font-size: 0.9rem; }
.data-row:last-child { border-bottom: none; }
.data-row span:first-child { color: var(--text-muted); }
.data-row span:last-child { font-weight: 500; color: var(--text-main); text-align: right; }
.val-slider-container { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.val-slider { flex: 1; -webkit-appearance: none; height: 4px; background: #e0e6ef; border-radius: 2px; outline: none; }
.val-slider::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; background: var(--primary); border-radius: 50%; cursor: pointer; border: 2px solid #fff; box-shadow: 0 1px 3px rgba(0,0,0,0.2); transition: transform 0.1s; }
.val-slider::-webkit-slider-thumb:hover { transform: scale(1.1); }
.btn-reset-small { background: #f0f2f5; border: 1px solid #dce0e6; color: var(--text-muted); width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.7rem; cursor: pointer; transition: all 0.2s; }
.btn-reset-small:hover { background: var(--primary-soft); color: var(--primary); border-color: var(--primary-soft); }
.val-input { width: 80px; padding: 4px 8px; border: 1px solid #dce0e6; border-radius: 4px; font-size: 0.9rem; font-weight: 600; color: var(--text-main); text-align: right; -moz-appearance: textfield; }
.val-input::-webkit-outer-spin-button, .val-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.proj-table th { background: #f9f9fb; padding: 10px; font-size: 0.8rem; color: var(--text-muted); border-bottom: 2px solid #e0e6ef; }
.proj-table td { padding: 10px; text-align: center; border-bottom: 1px solid #f0f0f0; font-size: 0.9rem; }
.text-label { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; font-weight: 600; margin-bottom: 2px; }
.nav-icon-link { position: relative; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; transition: background 0.2s; }
.nav-icon-link:hover { background: #f1f5f9; }
.nav-badge { position: absolute; top: 5px; right: 5px; background: var(--danger); color: white; font-size: 0.6rem; font-weight: 700; min-width: 16px; height: 16px; border-radius: 8px; display: flex; align-items: center; justify-content: center; border: 1px solid #fff; }
.msg-layout { display: grid; grid-template-columns: 300px 1fr; height: calc(100vh - 160px); min-height: 600px; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; overflow: hidden; }
.msg-sidebar { border-right: 1px solid var(--border); background: #fcfcfd; display: flex; flex-direction: column; }
.msg-header-left { padding: 15px; border-bottom: 1px solid var(--border); background: #fff; }
.msg-header-left h3 { margin: 0; font-size: 1.1rem; }
.msg-list { flex: 1; overflow-y: auto; }
.msg-thread { display: flex; gap: 12px; padding: 15px; border-bottom: 1px solid #f0f0f0; cursor: pointer; transition: background 0.2s; position: relative; }
.msg-thread:hover { background: #f9f9fb; }
.msg-thread.active { background: var(--primary-soft); border-right: 3px solid var(--primary); }
.msg-thread.unread .thread-name { font-weight: 800; color: var(--text-main); }
.msg-thread.unread .thread-preview { font-weight: 600; color: var(--text-main); }
.unread-dot { width: 8px; height: 8px; background: var(--primary); border-radius: 50%; position: absolute; top: 20px; right: 15px; }
.thread-avatar { width: 45px; height: 45px; border-radius: 50%; overflow: hidden; flex-shrink: 0; border: 1px solid #eee; }
.thread-avatar img { width: 100%; height: 100%; object-fit: cover; }
.thread-avatar.small { width: 35px; height: 35px; }
.thread-info { flex: 1; min-width: 0; }
.thread-top { display: flex; justify-content: space-between; margin-bottom: 4px; }
.thread-name { font-size: 0.9rem; font-weight: 600; color: var(--text-main); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.thread-time { font-size: 0.75rem; color: var(--text-muted); }
.thread-preview { font-size: 0.85rem; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.msg-content { display: flex; flex-direction: column; background: #fff; }
.chat-header { padding: 15px 20px; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; background: #fff; }
.chat-user { display: flex; gap: 10px; align-items: center; }
.chat-name { font-weight: 700; font-size: 1rem; }
.chat-email { font-size: 0.8rem; color: var(--text-muted); }
.chat-body { flex: 1; overflow-y: auto; padding: 20px; display: flex; flex-direction: column; gap: 15px; background: #f9f9fb; }
.chat-divider { text-align: center; margin: 10px 0; position: relative; }
.chat-divider span { background: #eee; color: #777; padding: 3px 10px; border-radius: 10px; font-size: 0.75rem; }
.chat-row { display: flex; gap: 10px; max-width: 75%; }
.chat-row.me { align-self: flex-end; flex-direction: row-reverse; }
.chat-row.them { align-self: flex-start; }
.chat-avatar { width: 32px; height: 32px; border-radius: 50%; overflow: hidden; flex-shrink: 0; }
.chat-avatar img { width: 100%; height: 100%; }
.bubble { padding: 10px 15px; border-radius: 12px; font-size: 0.95rem; line-height: 1.4; position: relative; }
.chat-row.me .bubble { background: var(--primary); color: white; border-bottom-right-radius: 2px; }
.chat-row.them .bubble { background: #fff; border: 1px solid #e0e0e0; color: var(--text-main); border-bottom-left-radius: 2px; }
.bubble-meta { font-size: 0.65rem; margin-top: 5px; opacity: 0.7; text-align: right; }
.bubble-context { align-self: center; background: #e0f2fe; color: var(--primary-dark); font-size: 0.75rem; padding: 4px 12px; border-radius: 12px; margin-bottom: -5px; border: 1px solid #bae6fd; }
.chat-footer { padding: 15px; border-top: 1px solid var(--border); background: #fff; }
.reply-form { display: flex; gap: 10px; }
.reply-input { flex: 1; padding: 12px; border: 1px solid var(--border); border-radius: 20px; font-family: inherit; font-size: 0.95rem; resize: none; max-height: 100px; }
.reply-input:focus { outline: none; border-color: var(--primary); }
.btn-send { background: var(--primary); color: white; border: none; width: 45px; height: 45px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; transition: background 0.2s; }
.btn-send:hover { background: var(--primary-dark); }
.empty-chat { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #ccc; }
.empty-chat i { font-size: 3rem; margin-bottom: 15px; }
.empty-chat h3 { color: var(--text-muted); margin-bottom: 5px; }
.features-section { padding: 100px 20px; background: var(--lp-bg-alt); }
.section-header { text-align: center; max-width: 700px; margin: 0 auto 70px; }
.section-header h2 { font-size: 2.5rem; font-weight: 800; color: var(--lp-text); margin-bottom: 15px; letter-spacing: -0.5px; }
.section-header p { font-size: 1.15rem; color: var(--lp-text-muted); line-height: 1.6; }
.grid-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 30px; max-width: 1200px; margin: 0 auto; }
.feature-box { background: white; padding: 40px; border-radius: 16px; border: 1px solid #f1f5f9; transition: transform 0.3s, box-shadow 0.3s; }
.feature-box:hover { transform: translateY(-8px); box-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.05); border-color: var(--lp-primary); }
.icon-wrapper { width: 55px; height: 55px; border-radius: 12px; background: #f0f9ff; color: var(--lp-primary); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; margin-bottom: 25px; }
.feature-box h3 { font-size: 1.35rem; font-weight: 700; margin-bottom: 12px; color: var(--lp-text); }
.feature-box p { color: var(--lp-text-muted); line-height: 1.6; }
.preview-section { padding: 100px 20px; background: white; text-align: center; }
.browser-mockup { max-width: 1100px; margin: 40px auto 0; border-radius: 12px; box-shadow: 0 25px 100px -20px rgba(0, 0, 0, 0.15); border: 1px solid #e2e8f0; overflow: hidden; background: #f8fafc; }
.browser-bar { background: #fff; padding: 12px 20px; display: flex; gap: 8px; border-bottom: 1px solid #e2e8f0; }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.red { background: #ef4444; } .dot.yellow { background: #f59e0b; } .dot.green { background: #22c55e; }
.final-cta { padding: 100px 20px; background: #0f172a; text-align: center; color: white; }
.final-cta h2 { font-size: 3rem; font-weight: 800; margin-bottom: 20px; }
.final-cta p { font-size: 1.2rem; color: #94a3b8; margin-bottom: 40px; max-width: 600px; margin-left: auto; margin-right: auto; }
.hero-card-mockup { background: white; border-radius: 16px; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15); border: 1px solid #e2e8f0; overflow: hidden; transform: perspective(1000px) rotateY(-5deg) rotateX(2deg); transition: transform 0.5s ease; }
.hero-card-mockup:hover { transform: perspective(1000px) rotateY(0deg) rotateX(0deg); }
.stats-section { background: white; border-bottom: 1px solid #f1f5f9; padding: 40px 0; }
.stats-grid { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat-item h3 { font-size: 2rem; font-weight: 800; color: var(--lp-text); margin-bottom: 5px; }
.stat-item p { color: var(--lp-text-muted); font-size: 0.9rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }

@media print {
    @page { margin: 0.1cm; size: portrait; }
    header, .tabs, .actions-bar, footer, .strat-nav, .upload-zone, button, .btn, 
    .btn-primary, .btn-outline, .action-footer, #copy-json-btn, 
    .val-slider-container, .btn-reset-small, .pro-hero-section { display: none !important; }
    body { background: #fff; color: #000; font-size: 9pt; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
    .container { max-width: 100% !important; width: 100% !important; padding: 0 !important; margin: 0 !important; }
    .mt-20, .mb-20 { margin: 0 !important; }
    .tab-content { display: none !important; }
    #overview { display: block !important; margin-top: 0 !important; }
    .hero-wrapper { padding: 10px 0 !important; border: none !important; margin-bottom: 5px !important; }
    .hero-wrapper h1 { font-size: 1.6rem !important; margin-bottom: 5px !important; }
    .overview-top-grid { display: flex !important; gap: 10px !important; margin-bottom: 0 !important; }
    .left-col-stack { width: 35% !important; gap: 5px !important; }
    .right-col-stack { width: 65% !important; gap: 5px !important; }
    .dc-card { box-shadow: none !important; border: 1px solid #ccc !important; padding: 6px !important; margin-bottom: 6px !important; page-break-inside: avoid; }
    .dc-header { padding-bottom: 2px !important; margin-bottom: 4px !important; }
    .dc-header h4 { font-size: 0.8rem !important; color: #000 !important; }
    .data-row { padding: 1px 0 !important; font-size: 0.75rem !important; border-bottom: none !important; }
    #vis-photo { height: 200px !important; }
    .stats-row { margin-top: 5px !important; padding-top: 5px !important; gap: 10px !important; }
    .stat-item { padding-right: 10px !important; }
    .stat-val { font-size: 1rem !important; }
    .stat-lbl { font-size: 0.65rem !important; margin-top: 1px !important; }
}

@media (max-width: 768px) {
    .pro-title { font-size: 2.5rem; }
    .pro-search { flex-direction: column; border-radius: 16px; padding: 15px; gap: 10px; }
    .pro-search input { width: 100%; text-align: center; border-bottom: 1px solid #eee; margin-bottom: 10px; }
    .pro-search button { width: 100%; }
    .search-icon-wrapper { display: none; }
    .pro-actions-row { width: 100%; }
    .pro-action-btn { flex: 1; }
    .hero-container { grid-template-columns: 1fr; text-align: center; }
    .hero-content { margin: 0 auto; }
    .hero-btns { justify-content: center; }
    .stats-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media print {
    .no-print {
        display: none !important;
    }
}