/* BoltData — BoltKing Color Scheme */
:root {
    --primary: #0160e7;
    --primary-dark: #015ada;
    --primary-light: #28a9e0;
    --navy: #1e4c6d;
    --navy-deep: #171c22;
    --navy-mid: #253d5d;
    --accent-blue: #0b79b8;
    --accent-red: #d62628;
    --text-dark: #0e0e0d;
    --text-mid: #313131;
    --text-light: #94afc7;
    --bg-dark: #171c22;
    --bg-card: #1d1d1d;
    --bg-light: #f1f1f1;
    --bg-white: #fdfdfd;
    --border: #dee2e6;
    --border-dark: #454142;
    --surface: rgba(30, 76, 109, 0.31);
    --platinum: #e5e4e2;
    --gold: #ffd700;
    --silver: #c0c0c0;
    --bronze: #cd7f32;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-white);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.dashboard-body { background: #fdfdfd; color: #1a1a1a; }

/* ── Navigation ── */
.navbar {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);
    border-bottom: 2px solid var(--primary);
    padding: 0 2rem;
    height: 64px;
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand { display: flex; align-items: center; gap: 10px; }
.bolt-icon { font-size: 1.5rem; }
.brand-text { font-size: 1.4rem; font-weight: 700; color: var(--primary); letter-spacing: -0.5px; }
.brand-sub { font-size: 0.75rem; color: #999; text-transform: uppercase; letter-spacing: 2px; }

.nav-links { display: flex; gap: 8px; align-items: center; }
.nav-link {
    color: #555;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s;
}
.nav-link:hover { color: var(--primary); background: rgba(1, 96, 231, 0.06); }
.nav-link.active { color: #fff; background: var(--primary); }

.demo-indicator {
    background: var(--accent-red);
    color: #fff;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
}
.licensed-indicator {
    background: #28a745;
    color: #fff;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
}

/* ── Hero ── */
.hero {
    background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 50%, var(--primary-dark) 100%);
    padding: 6rem 2rem 5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(1, 96, 231, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(40, 169, 224, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 60% 80%, rgba(11, 121, 184, 0.08) 0%, transparent 40%);
    animation: pulse-bg 8s ease-in-out infinite alternate;
}

@keyframes pulse-bg {
    0% { opacity: 0.5; }
    100% { opacity: 1; }
}

.hero-content { position: relative; z-index: 1; max-width: 900px; margin: 0 auto; }

.hero-title { font-size: 3rem; font-weight: 800; color: #fff; line-height: 1.2; margin-bottom: 1.5rem; }

.gradient-text {
    background: linear-gradient(90deg, var(--primary-light) 0%, #fff 50%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: gradient-shift 4s linear infinite;
}

@keyframes gradient-shift {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

.hero-subtitle { font-size: 1.2rem; color: rgba(255,255,255,0.75); margin-bottom: 2rem; max-width: 700px; margin-left: auto; margin-right: auto; }

.hero-actions { display: flex; gap: 1rem; justify-content: center; margin-bottom: 3rem; }

.hero-stats {
    display: flex;
    gap: 3rem;
    justify-content: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.stat-item { text-align: center; }
.stat-number { display: block; font-size: 2rem; font-weight: 800; color: var(--primary-light); }
.stat-label { font-size: 0.75rem; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 1px; }

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: 0 4px 15px rgba(1, 96, 231, 0.4); }

.btn-outline {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,0.3);
}
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.1); }

.btn-lg { padding: 14px 36px; font-size: 1.05rem; }

.btn-call {
    background: #28a745;
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
}
.btn-call:hover { background: #218838; }

.btn-call-sm { background: #28a745; color: #fff; border: none; padding: 8px 16px; border-radius: 6px; cursor: pointer; width: 100%; margin-top: 8px; }

/* ── Sections ── */
.section { padding: 5rem 2rem; max-width: 1400px; margin: 0 auto; }
.section-dark { background: var(--bg-dark); color: #e0e0e0; max-width: 100%; }
.section-dark .section { max-width: 1400px; margin: 0 auto; }

.section-header { text-align: center; margin-bottom: 3rem; }
.section-header h2 { font-size: 2rem; font-weight: 700; margin-bottom: 0.5rem; }
.section-dark .section-header h2 { color: #fff; }
.section-header p { color: var(--text-light); font-size: 1rem; }

/* ── Map ── */
.map-wrapper { position: relative; border-radius: 12px; overflow: hidden; box-shadow: 0 8px 40px rgba(0,0,0,0.15); }
.map-overlay { position: absolute; bottom: 16px; left: 16px; z-index: 500; }
.map-legend { background: rgba(23, 28, 34, 0.9); padding: 12px 16px; border-radius: 8px; }
.legend-item { display: flex; align-items: center; gap: 8px; font-size: 0.8rem; color: #fff; margin: 4px 0; }
.legend-dot { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.legend-dot.platinum { background: var(--platinum); box-shadow: 0 0 6px var(--platinum); }
.legend-dot.gold { background: var(--gold); box-shadow: 0 0 6px var(--gold); }
.legend-dot.silver { background: var(--silver); }
.legend-dot.bronze { background: var(--bronze); }

/* ── ASCII Chart ── */
.chart-container { max-width: 1000px; margin: 0 auto; }
.ascii-chart, .ascii-chart-sm {
    background: var(--navy-deep);
    color: var(--primary-light);
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
    padding: 2rem;
    border-radius: 12px;
    overflow-x: auto;
    white-space: pre;
    border: 1px solid rgba(1, 96, 231, 0.2);
    line-height: 1.4;
}
.ascii-chart-sm { font-size: 0.65rem; padding: 1rem; max-height: 400px; overflow-y: auto; }

/* ── Cards ── */
.cards-container { display: grid; grid-template-columns: repeat(auto-fill, minmax(380px, 1fr)); gap: 1.5rem; }

.lead-card {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    border: 1px solid var(--border);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}
.dashboard-body .lead-card { background: #fff; border-color: #e8e8e8; }
.lead-card:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0,0,0,0.12); }

.lead-card-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 1rem; }
.lead-card-company { font-size: 1.1rem; font-weight: 700; color: var(--navy); }
.dashboard-body .lead-card-company { color: #1a1a1a; }
.lead-card-tier {
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1px;
}
.tier-PLATINUM { background: linear-gradient(135deg, #e5e4e2, #c0c0c0); color: #333; }
.tier-GOLD { background: linear-gradient(135deg, #ffd700, #daa520); color: #333; }
.tier-SILVER { background: linear-gradient(135deg, #c0c0c0, #a0a0a0); color: #333; }
.tier-BRONZE { background: linear-gradient(135deg, #cd7f32, #a0522d); color: #fff; }
.tier-PROSPECT { background: #666; color: #fff; }

.lead-card-meta { display: flex; gap: 1rem; margin-bottom: 1rem; flex-wrap: wrap; }
.meta-item { font-size: 0.8rem; color: var(--text-light); display: flex; align-items: center; gap: 4px; }
.meta-icon { font-size: 0.9rem; }

.lead-card-predictions { margin-bottom: 1rem; }
.prediction-label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 1px; color: var(--text-light); margin-bottom: 0.5rem; }
.prediction-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.prediction-tag {
    background: rgba(1, 96, 231, 0.1);
    color: var(--primary);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
}
.dashboard-body .prediction-tag { background: rgba(1, 96, 231, 0.1); }

.lead-card-spend {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}
.dashboard-body .lead-card-spend { border-color: #e8e8e8; }

.spend-amount { font-size: 1.3rem; font-weight: 700; color: var(--primary); }
.spend-label { font-size: 0.7rem; color: var(--text-light); }
.confidence-badge { font-size: 0.8rem; color: #28a745; font-weight: 600; }

.lead-card-actions { display: flex; gap: 8px; margin-top: 1rem; }
.card-action-btn {
    flex: 1;
    padding: 8px;
    border: 1px solid var(--border);
    background: transparent;
    border-radius: 6px;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.2s;
    color: var(--text-mid);
}
.dashboard-body .card-action-btn { border-color: #ddd; color: #666; }
.card-action-btn:hover { background: rgba(1, 96, 231, 0.1); border-color: var(--primary); color: var(--primary); }

/* Verification bar on card */
.verification-bar {
    height: 4px;
    border-radius: 2px;
    margin-bottom: 1rem;
    background: #e0e0e0;
    overflow: hidden;
}
.verification-fill {
    height: 100%;
    border-radius: 2px;
    transition: width 0.5s ease;
}
.verification-fill.high { background: linear-gradient(90deg, #28a745, #20c997); }
.verification-fill.medium { background: linear-gradient(90deg, #ffc107, #fd7e14); }
.verification-fill.low { background: linear-gradient(90deg, #dc3545, #e83e8c); }

/* ── Filter Bar ── */
.filter-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; }
.filter-select, .filter-select-sm {
    padding: 10px 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 0.9rem;
    background: #fff;
    color: var(--text-dark);
    cursor: pointer;
}
.filter-select-sm { padding: 6px 12px; font-size: 0.8rem; }
.dashboard-body .filter-select, .dashboard-body .filter-select-sm { background: #fff; color: #1a1a1a; border-color: #ddd; }
.demo-badge { background: rgba(214, 38, 40, 0.1); color: var(--accent-red); padding: 8px 16px; border-radius: 8px; font-size: 0.8rem; font-weight: 600; }

/* ── Lazy Loading ── */
.lazy-load-trigger { text-align: center; padding: 2rem; color: var(--text-light); }
.spinner {
    width: 30px; height: 30px;
    border: 3px solid rgba(1, 96, 231, 0.2);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto 0.5rem;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Dashboard Layout ── */
.dashboard-main { padding: 1.5rem 2rem; max-width: 1400px; margin: 0 auto; }

.dash-stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.dash-stat {
    background: #fff;
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    border: 1px solid #e8e8e8;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.dash-stat-value { font-size: 1.8rem; font-weight: 700; color: var(--primary-light); }
.dash-stat-label { font-size: 0.75rem; color: var(--text-light); text-transform: uppercase; letter-spacing: 1px; }

.dash-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-bottom: 1.5rem; }

.dash-panel {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid #e8e8e8;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.dash-panel-wide { grid-column: 1 / -1; }
.dash-panel-full { grid-column: 1 / -1; background: #fff; border-radius: 12px; padding: 1.5rem; border: 1px solid #e8e8e8; box-shadow: 0 1px 4px rgba(0,0,0,0.04); }

.dash-panel-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.dash-panel-header h3 { font-size: 1rem; font-weight: 600; color: #1a1a1a; }

.badge { padding: 3px 10px; border-radius: 20px; font-size: 0.65rem; font-weight: 600; }
.badge-fresh { background: rgba(40, 167, 69, 0.2); color: #28a745; }

.dash-weekly-list { max-height: 400px; overflow-y: auto; }
.weekly-lead-item {
    padding: 12px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.weekly-lead-item:last-child { border-bottom: none; }
.weekly-lead-products { display: flex; gap: 4px; flex-wrap: wrap; }
.weekly-lead-tag { font-size: 0.65rem; background: rgba(1, 96, 231, 0.15); color: var(--primary-light); padding: 2px 8px; border-radius: 10px; }

/* ── Pricing ── */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; max-width: 1100px; margin: 0 auto; }
.pricing-card {
    background: #fff;
    border-radius: 16px;
    padding: 2.5rem 2rem;
    text-align: center;
    border: 2px solid var(--border);
    transition: all 0.3s;
    position: relative;
}
.pricing-card.featured {
    border-color: var(--primary);
    transform: scale(1.05);
    box-shadow: 0 12px 40px rgba(1, 96, 231, 0.2);
}
.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: #fff;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
}
.pricing-tier { font-size: 1.1rem; font-weight: 600; color: var(--navy); margin-bottom: 1rem; }
.pricing-price { font-size: 3rem; font-weight: 800; color: var(--text-dark); }
.pricing-period { font-size: 0.85rem; color: var(--text-light); margin-bottom: 2rem; }
.pricing-features { list-style: none; text-align: left; margin-bottom: 2rem; }
.pricing-features li { padding: 8px 0; border-bottom: 1px solid var(--bg-light); font-size: 0.9rem; color: var(--text-mid); }
.pricing-features li::before { content: "✓ "; color: #28a745; font-weight: 700; }
.pricing-card .btn { width: 100%; justify-content: center; }
.pricing-card .btn-outline { color: var(--navy); border-color: var(--border); }
.pricing-card .btn-outline:hover { border-color: var(--primary); color: var(--primary); }

/* ── Call Widget ── */
.call-widget { max-width: 600px; margin: 0 auto; text-align: center; }
.call-display { display: flex; gap: 8px; align-items: center; margin-bottom: 1rem; }
.call-icon { font-size: 2rem; }
.call-input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid var(--border-dark);
    border-radius: 8px;
    background: var(--bg-card);
    color: #fff;
    font-size: 1rem;
}
.call-input-sm { width: 100%; padding: 8px 12px; border: 1px solid var(--border-dark); border-radius: 6px; background: var(--navy-deep); color: #fff; font-size: 0.85rem; }
.call-status, .call-status-sm { font-size: 0.85rem; color: var(--text-light); margin-top: 8px; }
.call-info { margin-top: 1.5rem; }
.call-info p { font-size: 0.85rem; color: var(--text-light); }
.call-note { margin-top: 0.5rem; }
.call-note a { color: var(--primary-light); }

/* SIP floating widget */
.sip-widget { position: fixed; bottom: 24px; right: 24px; z-index: 999; }
.sip-toggle {
    width: 56px; height: 56px;
    border-radius: 50%;
    background: #28a745;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(40,167,69,0.4);
    transition: transform 0.2s;
}
.sip-toggle:hover { transform: scale(1.1); }
.sip-panel {
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 280px;
    background: var(--bg-card);
    border: 1px solid var(--border-dark);
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}
.sip-panel h4 { color: #fff; margin-bottom: 8px; }

/* ── Demo Banner ── */
.demo-banner {
    background: linear-gradient(135deg, rgba(1, 96, 231, 0.1) 0%, rgba(214, 38, 40, 0.05) 100%);
    border: 1px solid rgba(1, 96, 231, 0.3);
    border-radius: 12px;
    padding: 2rem;
    margin-top: 2rem;
    text-align: center;
}
.demo-banner h3 { color: #fff; margin-bottom: 0.5rem; }
.demo-banner p { color: var(--text-light); margin-bottom: 1rem; }

/* ── Footer ── */
.footer {
    background: var(--navy-deep);
    padding: 3rem 2rem;
    text-align: center;
    color: rgba(255,255,255,0.5);
}
.footer-brand { font-size: 1.2rem; font-weight: 600; color: #fff; margin-bottom: 1rem; }
.footer-contact { margin-top: 1rem; }
.footer-contact a { color: var(--primary-light); text-decoration: none; }
.footer-legal { margin-top: 1rem; font-size: 0.75rem; }

/* ── Leads Grid (weekly section) ── */
.leads-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1rem; margin-top: 2rem; }

/* ── Responsive ── */
@media (max-width: 768px) {
    .hero-title { font-size: 2rem; }
    .hero-stats { flex-wrap: wrap; gap: 1.5rem; }
    .hero-actions { flex-direction: column; align-items: center; }
    .pricing-grid { grid-template-columns: 1fr; }
    .pricing-card.featured { transform: none; }
    .cards-container { grid-template-columns: 1fr; }
    .dash-grid { grid-template-columns: 1fr; }
    .dash-stats-bar { grid-template-columns: repeat(2, 1fr); }
    .nav-links { display: none; }
}

/* ── Watermark for demo ── */
.demo-watermark {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-30deg);
    font-size: 6rem;
    font-weight: 800;
    color: rgba(1, 96, 231, 0.03);
    pointer-events: none;
    z-index: 0;
    white-space: nowrap;
    letter-spacing: 20px;
}
