/* Premium Dark & Vibrant Modern Stylesheet for Apollo Leads Scraper v1.0.0 */

:root {
    --apollo-bg: transparent;
    --apollo-sidebar: rgba(18, 18, 21, 0.75);
    --apollo-card: rgba(24, 24, 27, 0.8);
    --apollo-card-hover: rgba(34, 34, 38, 0.9);
    --apollo-primary: #FCFFA8;
    --apollo-primary-hover: #f5f884;
    --apollo-primary-light: rgba(252, 255, 168, 0.12);
    --apollo-accent: #27272a;
    --apollo-text: #fafafa;
    --apollo-muted: #a1a1aa;
    --apollo-border: rgba(255, 255, 255, 0.08);
    --apollo-success: #22c55e;
    --apollo-warning: #f59e0b;
    --apollo-danger: #ef4444;
    --apollo-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    --apollo-radius: 12px;
    color-scheme: dark;
}

/* Dashboard Root */
#apollo-root {
    display: flex !important;
    flex-direction: row !important;
    width: 100% !important;
    max-width: 1320px !important;
    margin: 24px auto !important;
    min-height: 820px !important;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--apollo-text);
    background: transparent !important;
    border-radius: var(--apollo-radius) !important;
    overflow: hidden !important;
    box-shadow: var(--apollo-shadow) !important;
    border: 1px solid var(--apollo-border) !important;
    position: relative !important;
}

#apollo-root * {
    box-sizing: border-box;
}

/* Sidebar Styles */
.apollo-sidebar {
    width: 250px;
    min-width: 250px;
    background: var(--apollo-sidebar);
    border-right: 1px solid var(--apollo-border);
    display: flex;
    flex-direction: column;
    z-index: 10;
}

.apollo-logo {
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    border-bottom: 1px solid var(--apollo-border);
}

.apollo-logo-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.18rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.4px;
}

.apollo-logo-brand i {
    color: var(--apollo-primary);
    font-size: 1.3rem;
}

/* Remove icon on desktop */
@media (min-width: 1025px) {
    .apollo-logo-brand i.apollo-logo-icon,
    .apollo-logo-brand i.fa-users-rays {
        display: none !important;
    }
}

.apollo-logo-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.apollo-logo-tagline {
    font-size: 0.65rem;
    color: var(--apollo-muted);
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.apollo-logo span.badge {
    background: var(--apollo-primary-light);
    color: var(--apollo-primary);
    font-size: 0.65rem;
    padding: 2px 7px;
    border-radius: 9999px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.apollo-nav {
    display: flex;
    flex-direction: column;
    padding: 16px 12px;
    gap: 4px;
    flex: 1;
}

.apollo-nav-item {
    padding: 11px 14px;
    border-radius: 8px;
    color: var(--apollo-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.18s ease;
    cursor: pointer;
}

.apollo-nav-item:hover {
    background: var(--apollo-card);
    color: #fff;
}

.apollo-nav-item.active {
    background: var(--apollo-primary-light);
    color: var(--apollo-primary);
    font-weight: 600;
}

.apollo-nav-item i {
    font-size: 1rem;
    width: 18px;
    text-align: center;
}

/* Info tooltips on form inputs */
.apollo-info-tip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #71717a;
    font-size: 0.82rem;
    margin-left: 6px;
    cursor: pointer;
    position: relative;
    transition: color 0.18s ease;
    vertical-align: middle;
}

.apollo-info-tip:hover {
    color: var(--apollo-primary);
}

.apollo-info-tip[data-tooltip]:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 135%;
    left: 50%;
    transform: translateX(-50%);
    background: #18181b;
    color: #fafafa;
    border: 1px solid #3f3f46;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 1.4;
    white-space: normal;
    width: max-content;
    max-width: 240px;
    z-index: 9999;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.7);
    pointer-events: none;
    text-align: center;
}

/* Content Area */
.apollo-content {
    flex: 1;
    padding: 5px 30px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    overflow-y: auto;
    background: transparent !important;
}

/* Topbar */
.apollo-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--apollo-border);
    padding-bottom: 20px;
}

.apollo-topbar-left h2 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.5px;
}

.apollo-topbar-left p {
    margin: 4px 0 0;
    font-size: 0.85rem;
    color: var(--apollo-muted);
}

.apollo-topbar-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Plan Badge */
.apollo-plan-pill {
    padding: 8px 14px;
    border-radius: 8px;
    background: #18181b;
    border: 1px solid var(--apollo-border);
    font-size: 0.8rem;
    font-weight: 600;
    color: #e4e4e7;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
}

.apollo-plan-pill:hover {
    border-color: rgba(252, 255, 168, 0.35);
    background: rgba(252, 255, 168, 0.08);
}

.apollo-plan-pill.plan-vip,
.apollo-plan-pill.plan-unlimited,
.apollo-plan-pill.plan-agency {
    background: rgba(252, 255, 168, 0.08);
    border-color: rgba(252, 255, 168, 0.25);
    color: var(--apollo-primary);
}

/* Stats Cards */
.apollo-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.apollo-stat-card {
    background: var(--apollo-card);
    border: 1px solid var(--apollo-border);
    border-radius: 10px;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: transform 0.2s, border-color 0.2s;
}

.apollo-stat-card:hover {
    transform: translateY(-2px);
    border-color: #3f3f46;
}

.apollo-stat-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(21, 110, 246, 0.12);
    color: var(--apollo-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.apollo-stat-meta .stat-label {
    font-size: 0.75rem;
    color: var(--apollo-muted);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.apollo-stat-meta .stat-val {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-top: 3px;
}

/* Panels */
.apollo-panel {
    display: none;
    flex-direction: column;
    gap: 24px;
}

.apollo-panel.active {
    display: flex;
}

/* Campaign Launcher Card */
.apollo-campaign-card {
    background: var(--apollo-card);
    border: 1px solid var(--apollo-border);
    border-radius: var(--apollo-radius);
    padding: 26px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.apollo-card-header {
    margin-bottom: 22px;
    border-bottom: 1px solid var(--apollo-border);
    padding-bottom: 14px;
}

.apollo-card-header h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.apollo-card-header h3 i {
    color: var(--apollo-primary);
}

.apollo-card-header p {
    margin: 6px 0 0;
    font-size: 0.85rem;
    color: var(--apollo-muted);
}

/* Form Styles */
.apollo-form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.apollo-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.apollo-form-group.full-width {
    grid-column: 1 / -1;
}

.apollo-form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #e4e4e7;
    display: flex;
    align-items: center;
    gap: 6px;
}

.apollo-form-group label i {
    color: var(--apollo-primary);
    font-size: 0.85rem;
}

.apollo-form-group .form-hint {
    font-size: 0.75rem;
    color: #71717a;
    margin-top: 2px;
}

.apollo-input {
    background: #09090b !important;
    border: 1px solid var(--apollo-border) !important;
    border-radius: 8px !important;
    color: #fafafa !important;
    padding: 11px 14px !important;
    font-size: 0.9rem !important;
    font-family: inherit !important;
    outline: none !important;
    transition: all 0.2s ease !important;
    width: 100%;
}

.apollo-input:focus {
    border-color: var(--apollo-primary) !important;
    box-shadow: 0 0 0 2px rgba(21, 110, 246, 0.2) !important;
}

/* Tag Inputs / Chips */
.apollo-tag-container {
    background: #09090b;
    border: 1px solid var(--apollo-border);
    border-radius: 8px;
    padding: 6px 10px;
    min-height: 44px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.apollo-tag {
    background: #27272a;
    color: #fafafa;
    border-radius: 6px;
    padding: 4px 10px;
    font-size: 0.8rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.apollo-tag .tag-remove {
    cursor: pointer;
    color: #a1a1aa;
    font-size: 0.75rem;
    transition: color 0.15s;
}

.apollo-tag .tag-remove:hover {
    color: #ef4444;
}

.apollo-tag-input {
    background: transparent !important;
    border: none !important;
    color: #fafafa !important;
    outline: none !important;
    font-size: 0.85rem !important;
    padding: 4px !important;
    flex: 1;
    min-width: 120px;
}

/* Employee Size Range Buttons */
.apollo-pills-selector {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.apollo-pill-option {
    background: #09090b;
    border: 1px solid var(--apollo-border);
    color: var(--apollo-muted);
    padding: 7px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s ease;
    user-select: none;
}

.apollo-pill-option:hover {
    background: #18181b;
    color: #fff;
    border-color: #3f3f46;
}

.apollo-pill-option.selected {
    background: var(--apollo-primary);
    color: #fff;
    border-color: var(--apollo-primary);
    font-weight: 600;
    box-shadow: 0 0 10px rgba(21, 110, 246, 0.4);
}

/* Buttons */
.apollo-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 18px;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    cursor: pointer;
    transition: all 0.18s cubic-bezier(0.4, 0, 0.2, 1);
    border: none !important;
    text-decoration: none;
    line-height: 1.35;
    user-select: none;
}

.apollo-btn:active {
    transform: scale(0.98);
}

.apollo-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none !important;
}

.apollo-btn-primary {
    background: linear-gradient(180deg, #27272a 0%, #18181b 100%);
    color: #ffffff !important;
    border: none !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.apollo-btn-primary:hover:not(:disabled) {
    background: linear-gradient(180deg, #323238 0%, #202024 100%);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
    color: #ffffff !important;
}

/* Eye-Catchy & Focused Launch Campaign Hero Button */
.apollo-launch-hero-btn {
    background: linear-gradient(135deg, #FCFFA8 0%, #ecef75 100%) !important;
    color: #121200 !important;
    font-weight: 700 !important;
    font-size: 0.95rem !important;
    padding: 12px 28px !important;
    border-radius: 8px !important;
    border: none !important;
    box-shadow: 0 0 20px rgba(252, 255, 168, 0.35), 0 4px 12px rgba(0, 0, 0, 0.4) !important;
    letter-spacing: 0.01em !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.apollo-launch-hero-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #ffffff 0%, #FCFFA8 100%) !important;
    color: #0a0a00 !important;
    box-shadow: 0 0 28px rgba(252, 255, 168, 0.55), 0 6px 16px rgba(0, 0, 0, 0.5) !important;
    transform: translateY(-1px);
}

.apollo-launch-hero-btn i {
    color: #121200 !important;
}

.apollo-btn-secondary {
    background: linear-gradient(180deg, #202024 0%, #141416 100%);
    color: #ffffff !important;
    border: none !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.apollo-btn-secondary:hover:not(:disabled) {
    background: linear-gradient(180deg, #2a2a30 0%, #1c1c20 100%);
    color: #ffffff !important;
}

.apollo-btn-success {
    background: linear-gradient(180deg, #16a34a 0%, #15803d 100%);
    color: #ffffff;
    border: none !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.apollo-btn-success:hover:not(:disabled) {
    background: linear-gradient(180deg, #22c55e 0%, #16a34a 100%);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    color: #ffffff;
}

.apollo-btn-outline {
    background: rgba(255, 255, 255, 0.05);
    border: none !important;
    color: #d4d4d8;
}

.apollo-btn-outline:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

/* Leads Table Section */
.apollo-table-card {
    background: var(--apollo-card);
    border: 1px solid var(--apollo-border);
    border-radius: var(--apollo-radius);
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.apollo-table-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
    flex-wrap: wrap;
    gap: 12px;
}

.apollo-toolbar-left,
.apollo-toolbar-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.apollo-table-wrapper {
    overflow-x: auto;
    border-radius: 8px;
    border: 1px solid var(--apollo-border);
}

.apollo-leads-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
    text-align: left;
    white-space: nowrap;
}

.apollo-leads-table th {
    background: #09090b;
    color: var(--apollo-muted);
    font-weight: 600;
    padding: 12px 14px;
    border-bottom: 1px solid var(--apollo-border);
    position: sticky;
    top: 0;
    z-index: 2;
}

.apollo-leads-table td {
    padding: 12px 14px;
    border-bottom: 1px solid var(--apollo-border);
    color: #fafafa;
    background: var(--apollo-card);
}

.apollo-leads-table tr:hover td {
    background: var(--apollo-card-hover);
}

/* Lead Row Elements */
.apollo-lead-name {
    font-weight: 600;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 8px;
}

.apollo-lead-company {
    color: #60a5fa;
    text-decoration: none;
    font-weight: 500;
}

.apollo-lead-company:hover {
    text-decoration: underline;
}

.apollo-email-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
}

.apollo-email-badge.verified {
    background: rgba(34, 197, 94, 0.15);
    color: #4ade80;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.apollo-email-badge.unavailable {
    background: rgba(161, 161, 170, 0.15);
    color: #a1a1aa;
}

.apollo-social-icons {
    display: inline-flex;
    gap: 6px;
}

.apollo-social-icon {
    width: 26px;
    height: 26px;
    border-radius: 6px;
    background: #27272a;
    color: #a1a1aa;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    text-decoration: none;
    transition: all 0.15s ease;
}

.apollo-social-icon:hover {
    background: var(--apollo-primary);
    color: #121200;
}

/* Status Badges */
.apollo-job-badge {
    padding: 4px 10px;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.apollo-job-badge.status-completed {
    background: rgba(34, 197, 94, 0.15);
    color: #4ade80;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.apollo-job-badge.status-processing {
    background: var(--apollo-primary-light);
    color: var(--apollo-primary);
    border: 1px solid rgba(252, 255, 168, 0.3);
}

.apollo-job-badge.status-pending {
    background: rgba(245, 158, 11, 0.15);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.apollo-job-badge.status-failed {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* Progress bar */
.apollo-progress-track {
    width: 100%;
    height: 6px;
    background: #27272a;
    border-radius: 9999px;
    overflow: hidden;
    margin-top: 8px;
}

.apollo-progress-fill {
    height: 100%;
    background: var(--apollo-primary);
    transition: width 0.3s ease;
}

/* Toast System */
.apollo-toast {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 99999;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.apollo-toast.show {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.apollo-toast-content {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.apollo-toast-content.toast-success {
    background: #18181b;
    border: 1px solid #22c55e;
    color: #ffffff;
}

.apollo-toast-content.toast-error {
    background: #18181b;
    border: 1px solid #ef4444;
    color: #ffffff;
}

/* Lead Drawer Modal */
.apollo-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.apollo-modal-backdrop.active {
    display: flex;
}

.apollo-modal-card {
    background: #141417;
    border: 1px solid var(--apollo-border);
    border-radius: 12px;
    width: 90%;
    max-width: 650px;
    max-height: 85vh;
    overflow-y: auto;
    padding: 24px;
    position: relative;
    box-shadow: var(--apollo-shadow);
}

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

.apollo-modal-close {
    background: transparent;
    border: none;
    color: var(--apollo-muted);
    font-size: 1.25rem;
    cursor: pointer;
}

.apollo-modal-close:hover {
    color: #fff;
}

/* Responsive */
@media (max-width: 1024px) {
    #apollo-root {
        flex-direction: column !important;
    }

    .apollo-sidebar {
        width: 100%;
        min-width: 100%;
        border-right: none;
        border-bottom: 1px solid var(--apollo-border);
    }

    /* Single row touch-scrolling menu on mobile / tablet */
    .apollo-nav {
        flex-direction: row;
        overflow-x: auto;
        white-space: nowrap;
        padding: 10px 14px;
        gap: 6px;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .apollo-nav::-webkit-scrollbar {
        display: none;
    }

    .apollo-nav-item {
        flex-shrink: 0;
        padding: 8px 14px;
        font-size: 0.85rem;
    }

    .apollo-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .apollo-form-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    #apollo-root {
        margin: 0 !important;
        border-radius: 0 !important;
        border-left: none !important;
        border-right: none !important;
        width: 100% !important;
        max-width: 100% !important;
        box-shadow: none !important;
    }

    .apollo-content {
        padding: 12px !important;
    }

    .apollo-table-card,
    .apollo-campaign-card {
        padding: 14px !important;
        border-radius: 8px !important;
    }

    .apollo-stats-grid {
        grid-template-columns: 1fr;
    }
}

/* ─── BEP USAGE STAT ROW & QUOTA BANNER ───────────────────────────────────────── */
/* Use all available space across desktop instead of leaving blank area on left */
.bep-usage-stat-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    width: 100%;
    margin-bottom: 20px;
}

@media (max-width: 900px) {
    .bep-usage-stat-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .bep-usage-stat-row {
        grid-template-columns: 1fr;
    }
}

.bep-mini-stat-card {
    background: rgba(24, 24, 27, 0.65);
    backdrop-filter: blur(10px);
    border: 1px solid var(--apollo-border);
    border-radius: 10px;
    padding: 10px 16px;
    min-width: 0;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.bep-mini-stat-card:hover {
    border-color: rgba(255, 255, 255, 0.16);
    background: rgba(32, 32, 36, 0.85);
}

.bep-stat-title {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #a1a1aa;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.bep-stat-title i {
    color: var(--apollo-primary);
    font-size: 0.75rem;
}

.bep-stat-rows {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.bep-stat-line {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 8px;
    font-size: 0.75rem;
}

.bep-stat-line .lbl {
    color: #71717a;
    font-size: 0.7rem;
    font-weight: 500;
}

.bep-stat-line .val {
    color: #ffffff;
    font-weight: 700;
    font-size: 0.92rem;
    font-variant-numeric: tabular-nums;
}

.bep-stat-line.month .lbl {
    color: var(--apollo-primary);
    opacity: 0.8;
}

.bep-stat-line.month .val {
    color: var(--apollo-primary);
    font-size: 0.85rem;
    font-weight: 600;
}

/* ─── CHECKOUT POPUP MODAL (REDUCED WIDTH ON DESKTOP) ───────────────────────── */
.apollo-checkout-modal-dialog {
    max-width: 480px;
    width: 92%;
    height: 80vh;
    max-height: 680px;
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
    border-radius: 14px;
    background: #141417;
    border: 1px solid var(--apollo-border);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
    margin: auto;
}

.apollo-checkout-modal-header {
    padding: 14px 20px;
    background: #18181b;
    border-bottom: 1px solid var(--apollo-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.apollo-checkout-modal-header h3 {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
}

.apollo-checkout-modal-close {
    background: transparent;
    border: none;
    color: #a1a1aa;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    padding: 0 4px;
    transition: color 0.18s;
}

.apollo-checkout-modal-close:hover {
    color: #fff;
}

.apollo-checkout-modal-body {
    flex: 1;
    padding: 0;
    overflow: hidden;
    background: transparent;
}

.apollo-checkout-modal-body iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* URL + Enrich row on desktop */
.apollo-url-enrich-row {
    padding: 0;
}

.apollo-url-enrich-inner {
    display: flex;
    align-items: flex-end;
    gap: 16px;
    width: 100%;
}

@media (max-width: 640px) {
    .apollo-url-enrich-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

.bep-quota-banner {
    background: #121215;
    border: 1px solid var(--apollo-border);
    border-radius: 8px;
    padding: 12px 18px;
    margin-bottom: 20px;
}

/* ─── GUEST LANDING PAGE HERO & SECTIONS ────────────────────────────────────── */
.bep-landing {
    padding: 10px 0 30px;
}

.bep-landing-hero {
    text-align: center;
    padding: 36px 20px 28px;
    background: radial-gradient(ellipse at top, rgba(252, 255, 168, 0.12), transparent 70%);
    border-radius: var(--apollo-radius);
    margin-bottom: 28px;
}

.bep-landing-hero .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--apollo-primary-light);
    color: var(--apollo-primary);
    border: 1px solid rgba(252, 255, 168, 0.3);
    border-radius: 9999px;
    padding: 5px 14px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.bep-landing-hero h1 {
    font-size: 2.2rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.25;
    margin: 0 0 14px;
}

.bep-landing-hero h1 .hero-highlight {
    background: linear-gradient(135deg, #FCFFA8 0%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bep-landing-hero .hero-sub {
    font-size: 0.95rem;
    color: #a1a1aa;
    max-width: 680px;
    margin: 0 auto 24px;
    line-height: 1.6;
}

.bep-landing-hero .hero-cta-row {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.bep-landing-hero .hero-trust {
    display: flex;
    justify-content: center;
    gap: 18px;
    font-size: 0.8rem;
    color: #71717a;
    flex-wrap: wrap;
}

.bep-landing-hero .hero-trust span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Stats strip */
.bep-landing-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-bottom: 36px;
}

.bep-landing-stat {
    background: #121215;
    border: 1px solid var(--apollo-border);
    border-radius: 10px;
    padding: 16px;
    text-align: center;
}

.bep-landing-stat .stat-num {
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--apollo-primary);
    margin-bottom: 4px;
}

.bep-landing-stat .stat-lbl {
    font-size: 0.78rem;
    color: var(--apollo-muted);
    font-weight: 500;
}

/* Features */
.bep-landing-features {
    margin-bottom: 40px;
}

.bep-landing-features h2,
.bep-demo-section h2,
.bep-landing-pricing h2,
.bep-landing-cta h2 {
    text-align: center;
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 6px;
}

.section-sub {
    text-align: center;
    font-size: 0.9rem;
    color: #a1a1aa;
    margin: 0 auto 24px;
    max-width: 600px;
}

.bep-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.bep-feature-card {
    background: #121215;
    border: 1px solid var(--apollo-border);
    border-radius: 10px;
    padding: 20px;
    transition: transform 0.2s, border-color 0.2s;
}

.bep-feature-card:hover {
    transform: translateY(-2px);
    border-color: rgba(252, 255, 168, 0.3);
}

.bep-feature-card .fc-icon {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: var(--apollo-primary-light);
    color: var(--apollo-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.bep-feature-card h4 {
    margin: 0 0 6px 0;
    font-size: 1rem;
    color: #fff;
}

.bep-feature-card p {
    margin: 0 0 12px 0;
    font-size: 0.82rem;
    color: #a1a1aa;
    line-height: 1.5;
}

.bep-feature-card .fc-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.bep-feature-card .fc-tag {
    font-size: 0.7rem;
    background: #1c1c21;
    color: var(--apollo-primary);
    padding: 2px 8px;
    border-radius: 4px;
    font-family: monospace;
}

/* Live Data Preview */
.bep-demo-section {
    margin-bottom: 40px;
}

.bep-demo-table-wrap {
    position: relative;
    background: #121215;
    border: 1px solid var(--apollo-border);
    border-radius: 10px;
    overflow: hidden;
}

.bep-demo-table {
    margin: 0;
    width: 100%;
}

.bep-email-pill {
    background: rgba(34, 197, 94, 0.12);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.78rem;
    font-weight: 500;
}

.bep-demo-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 65%;
    background: linear-gradient(to top, rgba(9, 9, 11, 0.98) 35%, rgba(9, 9, 11, 0.6) 80%, transparent 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding-bottom: 28px;
}

/* ─── BILLING TOGGLE & PLANS ─────────────────────────────────────────────────── */
.bep-billing-toggle-container {
    display: flex;
    justify-content: center;
    margin: 16px 0 20px;
}

.bep-billing-toggle {
    display: inline-flex;
    background: #18181b;
    border: 1px solid var(--apollo-border);
    border-radius: 9999px;
    padding: 3px;
    gap: 4px;
}

.bep-billing-toggle-btn {
    background: transparent;
    border: none;
    color: #a1a1aa;
    padding: 7px 18px;
    border-radius: 9999px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.bep-billing-toggle-btn.active {
    background: var(--apollo-primary);
    color: #121200;
}

.bep-billing-toggle-btn .save-tag {
    background: #22c55e;
    color: #000;
    font-size: 0.68rem;
    font-weight: 800;
    padding: 1px 6px;
    border-radius: 9999px;
}

.bep-plans-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.bep-plan-card {
    background: #121215;
    border: 1px solid var(--apollo-border);
    border-radius: 12px;
    padding: 24px 18px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.2s, border-color 0.2s;
}

.bep-plan-card:hover {
    transform: translateY(-3px);
    border-color: rgba(252, 255, 168, 0.35);
}

.bep-plan-card.bep-plan-featured {
    border: 1.5px solid var(--apollo-primary);
    background: #15151a;
}

.bep-plan-card .plan-badge-top {
    position: absolute;
    top: -11px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--apollo-primary);
    color: #121200;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 2px 10px;
    border-radius: 9999px;
    letter-spacing: 0.04em;
}

.bep-plan-card .plan-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
    text-align: center;
}

.bep-plan-card .plan-price-display {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    text-align: center;
    margin-bottom: 4px;
}

.bep-plan-card .plan-price-display span {
    font-size: 0.85rem;
    color: #71717a;
    font-weight: 500;
}

.bep-plan-card .plan-leads-badge {
    text-align: center;
    font-size: 0.82rem;
    color: var(--apollo-primary);
    font-weight: 600;
    margin-bottom: 16px;
}

.bep-plan-card .plan-features {
    list-style: none;
    padding: 0;
    margin: 18px 0 20px 0;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bep-plan-card .plan-features li {
    font-size: 0.8rem;
    color: #a1a1aa;
    display: flex;
    align-items: center;
    gap: 8px;
}

.bep-plan-card .plan-features li i {
    color: #22c55e;
    font-size: 0.75rem;
    flex-shrink: 0;
}

.bep-plan-card .plan-cta {
    margin-top: auto;
}

/* Bottom CTA */
.bep-landing-cta {
    text-align: center;
    padding: 40px 20px;
    background: radial-gradient(ellipse at bottom, rgba(252, 255, 168, 0.1), transparent 70%);
    border: 1px solid var(--apollo-border);
    border-radius: var(--apollo-radius);
    margin-top: 36px;
}

.bep-landing-cta p {
    color: #a1a1aa;
    font-size: 0.95rem;
    margin: 0 auto 20px;
    max-width: 500px;
}

@media (max-width: 1024px) {
    .bep-landing-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .bep-features-grid {
        grid-template-columns: 1fr;
    }

    .bep-plans-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 640px) {
    .bep-plans-grid {
        grid-template-columns: 1fr !important;
    }
}