:root {
    /* Logo LPL Palette */
    --primary: #0B2347;
    --primary-hover: #132D4A;
    --primary-light: #E0F2FE;

    --accent: #2196F3;
    --accent-hover: #1976D2;
    --secondary: #B0BEC5;

    --bg-app: #F8FAFC;
    --bg-sidebar: #FFFFFF;
    --bg-card: #FFFFFF;

    --text-main: #0F172A;
    --text-muted: #64748B;
    --text-light: #475569;

    --border-light: #E2E8F0;
    --border-focus: #0B2347;

    /* Shadows - Subtle & Professional */
    --shadow-soft: 0 1px 3px rgba(0, 0, 0, 0.06);
    --shadow-hover: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-elevated: 0 8px 24px rgba(0, 0, 0, 0.1);

    /* Spacing & Radius */
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;

    --danger: #EF4444;
    --warning: #F59E0B;
    --success: #10B981;

    /* Transitions */
    --ease-smooth: cubic-bezier(0.25, 0.1, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    -webkit-font-smoothing: antialiased;
}

body {
    background: var(--bg-app);
    color: var(--text-main);
    overflow-x: hidden;
    font-size: 14px;
    /* Slightly refined base size */
    line-height: 1.5;
}

/* Layout */
.app-container {
    display: flex;
    height: 100vh;
}

/* Sidebar - Professional with Depth */
.sidebar {
    width: 280px;
    background: var(--bg-sidebar);
    color: var(--text-light);
    display: flex;
    flex-direction: column;
    padding: 24px 12px;
    transition: all 0.25s ease;
    border-right: 1px solid var(--border-light);
    z-index: 10;
    overflow-y: auto;
    position: relative;
}

.sidebar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 160px;
    background: linear-gradient(180deg, rgba(11, 35, 71, 0.03) 0%, transparent 100%);
    pointer-events: none;
    z-index: 0;
}

.sidebar > * {
    position: relative;
    z-index: 1;
}


.sidebar h2 {
    color: var(--primary);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 32px;
    padding-left: 12px;
    letter-spacing: -0.025em;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    margin-bottom: 2px;
    border-radius: var(--radius-md);
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    border-left: 3px solid transparent;
}

.nav-link i {
    font-size: 1.1rem;
    width: 22px;
    text-align: center;
    transition: all 0.25s ease;
}

.nav-link:hover {
    background: rgba(33, 150, 243, 0.06);
    color: var(--accent);
    transform: translateX(4px);
}

.nav-link.active {
    background: rgba(33, 150, 243, 0.1);
    color: var(--accent);
    border-left-color: var(--accent);
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(33, 150, 243, 0.1);
}

.nav-link.active i {
    transform: scale(1.15);
}

.sidebar.collapsed {
    width: 80px;
    align-items: center;
}

.sidebar.collapsed h2 span,
.sidebar.collapsed .nav-link span,
.sidebar.collapsed .logo-text,
.sidebar.collapsed .nav-section-title,
.sidebar.collapsed .nav-divider {
    display: none;
}

.sidebar.collapsed .logo-area {
    justify-content: center;
    padding: 0;
}

.sidebar.collapsed .nav-link {
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
}

/* Main Content */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow-y: hidden;
    background: var(--bg-app);
    position: relative;
    width: calc(100% - 280px);
}

main {
    width: 100% !important;
    display: block;
}

/* Header - Clean & Minimal */
header {
    height: 64px;
    background: var(--bg-sidebar);
    border-bottom: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    position: sticky;
    top: 0;
    z-index: 5;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.04);
}

header h1 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.025em;
}

/* Kanban Board - Spacious */
.kanban-board {
    display: flex;
    gap: 24px;
    padding: 32px;
    flex: 1;
    overflow-x: auto;
    overflow-y: hidden;
    height: calc(100vh - 70px);
}

.kanban-column {
    flex: 0 0 320px;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    max-height: 100%;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-soft);
}

.column-header {
    padding: 16px 16px 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.column-header h2 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.lead-list {
    flex: 1;
    padding: 0 12px 12px 12px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow-y: auto;
}

/* Lead Cards - Clean & Professional */
.lead-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 16px;
    cursor: grab;
    box-shadow: var(--shadow-soft);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.lead-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--accent);
}

.lead-card h3 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 6px;
}

.lead-card p {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Status Color Indicators (Subtle) */
#list-new .lead-card {
    border-left-color: #60A5FA;
}

/* Soft Blue */
#list-contacted .lead-card {
    border-left-color: #FBBF24;
}

/* Soft Amber */
#list-interested .lead-card {
    border-left-color: #F87171;
}

/* Soft Red/Orange */
#list-won .lead-card {
    border-left-color: #34D399;
}

/* Soft Emerald */

/* Forms & Inputs - Clean & Accessible */
input,
select,
textarea {
    background: white;
    border: 1px solid var(--border-light);
    color: var(--text-main);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    width: 100%;
    margin-bottom: 12px;
    font-size: 0.9rem;
    transition: all 0.2s;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--border-focus);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

/* Buttons - Modern Gradient & Tactile */
button {
    outline: none;
    border: none;
    font-family: inherit;
}

.btn-primary {
    background: var(--accent);
    color: white;
    padding: 10px 20px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    box-shadow: 0 2px 8px rgba(33, 150, 243, 0.2);
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(33, 150, 243, 0.35);
}

.btn-primary:active {
    transform: translateY(0) scale(0.97);
    box-shadow: 0 2px 6px rgba(33, 150, 243, 0.2);
}

.btn-primary:disabled {
    background: #E5E7EB;
    color: #9CA3AF;
    box-shadow: none;
    cursor: not-allowed;
    transform: none;
}

.btn-tone-pro {
    background: #EEF2FF !important;
    color: #4338CA !important;
    border: 1px solid #C6CEFF !important;
}
.btn-tone-friendly {
    background: #ECFDF5 !important;
    color: #065F46 !important;
    border: 1px solid #A7F3D0 !important;
}
.btn-tone-direct {
    background: #FFF7ED !important;
    color: #9A3412 !important;
    border: 1px solid #FED7AA !important;
}

/* Smart View & Cards */
.smart-view-container {
    padding: 24px 32px;
    background: var(--bg-app);
    overflow-y: auto;
    height: calc(100vh - 64px);
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
}

/* Limit content width and center it */
.smart-view-container>* {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    flex-shrink: 0;
}

/* Ensure 'Back' buttons stay at the left of the centered area */
.smart-view-container>button.nav-link {
    width: auto !important;
    align-self: flex-start !important;
    margin-left: 0 !important;
    margin-right: auto !important;
}

.smart-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-soft);
    margin-bottom: 28px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.smart-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.smart-tool-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)) !important;
    gap: 20px !important;
    width: 100% !important;
    max-width: 1100px !important;
    margin-bottom: 32px !important;
}

.smart-tool-grid .smart-card {
    margin-bottom: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    height: 100% !important;
    min-height: 260px !important;
    padding: 24px !important;
    box-sizing: border-box !important;
}

.smart-tool-grid .smart-card:hover {
    transform: translateY(-6px) scale(1.01) !important;
    border-color: var(--accent) !important;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12) !important;
}

.smart-badge {
    padding: 4px 10px;
    border-radius: 20px;
    /* Pill shape */
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.025em;
    text-transform: uppercase;
}

.badge-blue {
    background: #DBEAFE;
    color: #1E40AF;
}

.badge-success {
    background: #D1FAE5;
    color: #065F46;
}

/* Softer green */
.badge-red {
    background: #FEE2E2;
    color: #991B1B;
}

.badge-apto {
    background: #D1FAE5;
    color: #065F46;
}

.badge-no-apto {
    background: #FEF2F2;
    color: #991B1B;
}



/* Modals - Clean */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    animation: fadeInModern 0.2s ease;
}

.modal {
    background: var(--bg-card);
    padding: 28px;
    border-radius: var(--radius-lg);
    width: 90%;
    max-width: 500px;
    box-shadow: var(--shadow-elevated);
    border: 1px solid var(--border-light);
    animation: scaleInModern 0.2s ease;
}

.modal h2 {
    color: var(--primary);
    margin-bottom: 24px;
    font-weight: 700;
    font-size: 1.5rem;
}

@keyframes fadeInModern {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes scaleInModern {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Scrollbar - Modern & Minimal */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(100, 116, 139, 0.3);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(100, 116, 139, 0.5);
}

.hidden {
    display: none !important;
}

/* --- Premium Outreach UI --- */
.outreach-grid {
    display: grid;
    grid-template-columns: 1fr !important;
    /* Force single column */
    gap: 24px;
    margin-bottom: 25px;
}

.outreach-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 24px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
    position: relative;
    overflow: hidden;
}

.outreach-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
    border-color: #cbd5e1;
}

.outreach-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--card-accent, #1976D2);
}

.outreach-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.outreach-header h4 {
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--card-accent, #1976D2);
}

.outreach-textarea {
    width: 100%;
    height: 180px;
    padding: 14px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    resize: none;
    font-size: 0.9rem;
    background: #f8fafc;
    color: #1e293b;
    line-height: 1.6;
    transition: all 0.2s;
}

.outreach-textarea:focus {
    background: #ffffff;
    border-color: var(--card-accent, #1976D2);
    box-shadow: 0 0 0 3px rgba(25, 118, 210, 0.1);
}

.outreach-actions {
    margin-top: 15px;
    display: flex;
    gap: 10px;
}

/* Animations */
@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

.animate-shimmer {
    background: linear-gradient(90deg, #f1f5f9 25%, #f8fafc 50%, #f1f5f9 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.4s ease-out forwards;
}

/* Specific Channel Accents */
.card-linkedin {
    --card-accent: #0077b5;
}

.card-whatsapp {
    --card-accent: #10b981;
}

.card-email {
    --card-accent: #ef4444;
}

/* ============================================
   CV BUILDER AI — INTEGRATED STYLES
   ============================================ */

#cvBuilderView {
    background: #0a0a0f;
    color: #f0f0f8;
    height: calc(100vh - 70px);
    overflow: hidden;
}

.builder-layout {
    display: flex;
    height: 100%;
    overflow: hidden;
}

.builder-form-panel {
    width: 420px;
    flex-shrink: 0;
    background: #12121a;
    border-right: 1px solid rgba(99,102,241,0.15);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.builder-preview-panel {
    flex: 1;
    background: #1a1a24;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.builder-header {
    padding: 20px 24px 16px;
    border-bottom: 1px solid rgba(99,102,241,0.15);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.builder-title { font-size: 1.1rem; font-weight: 700; color: #f0f0f8; }

.steps-tabs {
    display: flex;
    padding: 12px 16px;
    gap: 4px;
    overflow-x: auto;
    border-bottom: 1px solid rgba(99,102,241,0.15);
    background: #12121a;
}

.step-tab {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: #8888aa;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.step-tab:hover { background: rgba(99,102,241,0.1); color: #f0f0f8; }
.step-tab.active { background: rgba(99,102,241,0.15); color: #90CAF9; }

.step-content { display: none; padding: 20px 24px; flex: 1; }
.step-content.active { display: flex; flex-direction: column; gap: 16px; }

/* Forms in Builder */
.builder-form-panel .form-group { display: flex; flex-direction: column; gap: 6px; }
.builder-form-panel .form-label { font-size: 0.75rem; font-weight: 600; color: #8888aa; text-transform: uppercase; letter-spacing: 0.5px; }
.builder-form-panel .form-input {
    background: #0a0a0f;
    border: 1px solid rgba(99,102,241,0.15);
    border-radius: 8px;
    color: #f0f0f8;
    padding: 10px 14px;
    font-size: 0.875rem;
    transition: all 0.2s;
    outline: none;
}
.builder-form-panel .form-input:focus { border-color: #1976D2; box-shadow: 0 0 0 3px rgba(99,102,241,0.1); }
.builder-form-panel .form-textarea { resize: vertical; min-height: 80px; }

.personal-grid { display: grid; grid-template-columns: 100px 1fr; gap: 20px; align-items: flex-start; }
.photo-preview {
    width: 100px;
    height: 100px;
    background: #0a0a0f;
    border: 2px dashed rgba(99,102,241,0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4a4a6a;
    cursor: pointer;
    overflow: hidden;
}
.photo-preview img { width: 100%; height: 100%; object-fit: cover; }

/* Preview Container */
.preview-container {
    flex: 1;
    overflow-y: auto;
    padding: 40px;
    display: flex;
    justify-content: center;
    background: #1a1a24;
}

.cv-document {
    width: 210mm;
    min-height: 297mm;
    background: white;
    color: #1a1a1a;
    padding: 20mm;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    transform-origin: top center;
}

/* CV TEMPLATES */
.cv-document.modern { font-family: 'Inter', sans-serif; }
.cv-document.modern h1 { font-size: 2.5rem; font-weight: 800; color: #1a1a1a; margin-bottom: 5px; }
.cv-document.modern .cv-header { border-bottom: 2px solid #1976D2; padding-bottom: 20px; margin-bottom: 20px; }
.cv-document.modern .cv-section-title { font-size: 1.1rem; font-weight: 700; color: #1976D2; text-transform: uppercase; margin-top: 20px; margin-bottom: 10px; border-bottom: 1px solid #eee; padding-bottom: 5px; }

/* AI Comparison Modal */
.variant-comparison-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    z-index: 5000;
    display: flex;
    flex-direction: column;
    padding: 40px;
}

.comparison-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.variant-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    flex: 1;
    overflow-x: auto;
}

.variant-card {
    background: #12121a;
    border: 1px solid rgba(99,102,241,0.2);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: all 0.3s;
}

.variant-card:hover { border-color: var(--accent); }

.variant-preview {
    flex: 1;
    background: white;
    margin: 15px;
    border-radius: 10px;
    overflow-y: auto;
    padding: 20px;
    font-size: 0.6rem;
    color: #333;
}

.variant-info { padding: 20px; border-top: 1px solid rgba(99,102,241,0.1); }
.variant-tag { background: #1976D2; color: white; padding: 4px 12px; border-radius: 20px; font-size: 0.7rem; font-weight: 700; margin-bottom: 10px; display: inline-block; }

.btn-variant {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 10px;
}
.btn-apply { background: #1976D2; color: white; border: none; }
.btn-preview { background: transparent; color: #90CAF9; border: 1px solid #1976D2; }

/* Buttons & Utilities */
.btn-add-item {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 10px 14px;
    background: transparent;
    border: 2px dashed rgba(99,102,241,0.15);
    border-radius: 8px;
    color: #8888aa;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 10px;
}

.btn-add-item:hover { border-color: #1976D2; color: #90CAF9; }

.skills-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.skill-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    background: rgba(99,102,241,0.12);
    border: 1px solid rgba(99,102,241,0.2);
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #90CAF9;
}

.skill-tag-remove { margin-left: 5px; cursor: pointer; color: #f87171; }

.exp-item-card {
    background: #0a0a0f;
    border: 1px solid rgba(99,102,241,0.15);
    border-radius: 10px;
    padding: 16px;
    position: relative;
    margin-bottom: 12px;
}

.exp-item-delete {
    position: absolute;
    top: 10px;
    right: 10px;
    color: #f87171;
    cursor: pointer;
    background: none;
    border: none;
}

/* ============================================================
   OUTREACH MOCKUPS & INTERACTIVE REFINEMENT
   ============================================================ */

/* LinkedIn Invite Mockup */
.mockup-linkedin {
    background: #ffffff !important;
    border: 1px solid #dee2e6 !important;
    border-radius: 12px !important;
    padding: 16px !important;
    font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    width: 100% !important;
    max-width: 900px !important;
    margin: 10px auto !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05) !important;
    box-sizing: border-box !important;
    text-align: left !important;
}
.mockup-linkedin-header {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    margin-bottom: 12px !important;
    border-bottom: 1px solid #f3f3f3 !important;
    padding-bottom: 10px !important;
}
.mockup-linkedin-avatar {
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    background: #e9ecef !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-weight: 800 !important;
    color: #495057 !important;
    font-size: 0.85rem !important;
    border: 1px solid #dee2e6 !important;
    flex-shrink: 0 !important;
}
.mockup-linkedin-name {
    font-weight: 600 !important;
    color: #212529 !important;
    font-size: 0.95rem !important;
    line-height: 1.2 !important;
}
.mockup-linkedin-subtext {
    font-size: 0.78rem !important;
    color: #6c757d !important;
    margin-top: 2px !important;
}
.mockup-linkedin-text {
    font-size: 1.05rem !important;
    color: #495057 !important;
    line-height: 1.5 !important;
    background: #f8f9fa !important;
    border: 1px dashed #ced4da !important;
    border-radius: 8px !important;
    padding: 12px !important;
    min-height: 250px !important;
    white-space: pre-wrap !important;
    width: 100% !important;
    box-sizing: border-box !important;
    font-family: inherit !important;
    margin-bottom: 4px !important;
    resize: vertical !important;
}
.mockup-linkedin-counter {
    text-align: right !important;
    font-size: 0.78rem !important;
    margin-top: 6px !important;
    color: #6c757d !important;
    font-weight: 700 !important;
}
.mockup-linkedin-counter.exceeded {
    color: #dc3545 !important;
}

/* WhatsApp Mockup */
.mockup-whatsapp {
    background-color: #efeae2 !important;
    border: 1px solid #d1d7db !important;
    border-radius: 16px !important;
    padding: 20px !important;
    width: 100% !important;
    max-width: 900px !important;
    margin: 10px auto !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05) !important;
    box-sizing: border-box !important;
    background-image: url('https://user-images.githubusercontent.com/15075759/28719144-86dc0f70-73b1-11e7-911d-60d70fcded21.png') !important;
    background-repeat: repeat !important;
    min-height: 300px !important;
    text-align: left !important;
}
.mockup-whatsapp-bubble {
    background: #d9fdd3 !important;
    border-radius: 8px 0px 8px 8px !important;
    padding: 8px 12px 22px 12px !important;
    font-size: 1.05rem !important;
    color: #111b21 !important;
    line-height: 1.5 !important;
    position: relative !important;
    max-width: 95% !important;
    margin-left: auto !important;
    box-shadow: 0 1px 0.5px rgba(0,0,0,0.13) !important;
    word-break: break-word !important;
    white-space: pre-wrap !important;
    box-sizing: border-box !important;
    width: 100% !important;
    font-family: inherit !important;
    border: none !important;
    min-height: 250px !important;
    resize: vertical !important;
    outline: none !important;
}
.mockup-whatsapp-time {
    position: absolute !important;
    bottom: 3px !important;
    right: 7px !important;
    font-size: 0.68rem !important;
    color: #667781 !important;
    display: flex !important;
    align-items: center !important;
    gap: 3px !important;
}
.mockup-whatsapp-check {
    color: #53bdeb !important;
    font-size: 0.72rem !important;
}

/* Gmail/Outlook Mockup */
.mockup-email {
    background: #ffffff !important;
    border: 1px solid #dcdcdc !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06) !important;
    overflow: hidden !important;
    width: 100% !important;
    max-width: 900px !important;
    margin: 10px auto !important;
    font-family: Roboto, Arial, sans-serif !important;
    text-align: left !important;
}
.mockup-email-header {
    background: #f2f6fc !important;
    padding: 10px 16px !important;
    border-bottom: 1px solid #e2e8f0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}
.mockup-email-title {
    font-weight: 600 !important;
    font-size: 0.95rem !important;
    color: #202124 !important;
}
.mockup-email-fields {
    padding: 12px 16px !important;
    border-bottom: 1px solid #f1f3f4 !important;
    background: #ffffff !important;
}
.mockup-email-field {
    display: flex !important;
    align-items: center !important;
    margin-bottom: 8px !important;
    font-size: 0.95rem !important;
}
.mockup-email-field:last-child {
    margin-bottom: 0 !important;
}
.mockup-email-label {
    width: 60px !important;
    color: #5f6368 !important;
    font-weight: 500 !important;
}
.mockup-email-input {
    flex: 1 !important;
    border: none !important;
    background: transparent !important;
    padding: 4px 0 !important;
    font-size: 0.95rem !important;
    color: #202124 !important;
    font-weight: 700 !important;
    outline: none !important;
    margin-bottom: 0 !important;
}
.mockup-email-body {
    padding: 20px 16px !important;
    font-size: 1.05rem !important;
    color: #202124 !important;
    line-height: 1.6 !important;
    min-height: 400px !important;
    white-space: pre-wrap !important;
    width: 100% !important;
    box-sizing: border-box !important;
    background: #ffffff !important;
    border: none !important;
    font-family: inherit !important;
    resize: vertical !important;
}
.mockup-email-footer {
    background: #ffffff !important;
    padding: 12px 16px !important;
    border-top: 1px solid #f1f3f4 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}
.mockup-email-send-btn {
    background: #1a73e8 !important;
    color: #ffffff !important;
    border-radius: 20px !important;
    padding: 8px 24px !important;
    font-size: 0.82rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    box-shadow: 0 1px 2px 0 rgba(60,64,67,0.3) !important;
    transition: all 0.2s !important;
}
.mockup-email-send-btn:hover {
    background: #1557b0 !important;
    box-shadow: 0 1px 3px 0 rgba(60,64,67,0.4) !important;
}

/* Variant Tabs */
.variant-tabs {
    display: flex !important;
    gap: 4px !important;
    margin-bottom: 12px !important;
    background: #f1f5f9 !important;
    padding: 3px !important;
    border-radius: 20px !important;
    width: fit-content !important;
}
.variant-tab-btn {
    background: transparent !important;
    border: none !important;
    border-radius: 18px !important;
    padding: 4px 14px !important;
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    color: #64748b !important;
    cursor: pointer !important;
    transition: all 0.2s !important;
}
.variant-tab-btn.active {
    background: #ffffff !important;
    color: #4f46e5 !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.06) !important;
}

/* Interactive refinement panel */
.refinement-area {
    margin-top: 15px !important;
    border-top: 1px solid #f1f5f9 !important;
    padding-top: 12px !important;
    text-align: left !important;
}
.refinement-chips {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    margin-bottom: 8px !important;
}
.refinement-chip-btn {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 4px 10px !important;
    font-size: 0.7rem !important;
    font-weight: 600 !important;
    color: #64748b !important;
    cursor: pointer !important;
    transition: all 0.2s !important;
}
.refinement-chip-btn:hover {
    background: #eef2ff !important;
    color: #4f46e5 !important;
    border-color: #c7d2fe !important;
}
.refinement-input-wrapper {
    display: flex !important;
    gap: 8px !important;
    align-items: center !important;
}
.refinement-input {
    flex: 1 !important;
    padding: 8px 12px !important;
    font-size: 0.78rem !important;
    border-radius: 8px !important;
    border: 1px solid #cbd5e1 !important;
    background: #ffffff !important;
    margin-bottom: 0 !important;
    color: #0f172a !important;
}
.refinement-send-btn {
    background: #4f46e5 !important;
    color: white !important;
    border-radius: 8px !important;
    width: 34px !important;
    height: 34px !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.2s !important;
    flex-shrink: 0 !important;
}
.refinement-send-btn:hover {
    background: #4338ca !important;
}

/* AI Copilot Insights */
.ai-copilot-insights {
    background: #faf5ff !important;
    border: 1px solid #f3e8ff !important;
    border-radius: 8px !important;
    padding: 8px 12px !important;
    margin-top: 10px !important;
    font-size: 0.72rem !important;
    color: #6b21a8 !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    font-weight: 500 !important;
}

/* --- Premium Skeleton Loaders --- */
@keyframes pulse-skeleton {
    0% {
        background-color: var(--primary-light);
        opacity: 0.35;
    }
    50% {
        background-color: var(--primary-light);
        opacity: 0.75;
    }
    100% {
        background-color: var(--primary-light);
        opacity: 0.35;
    }
}

.skeleton {
    animation: pulse-skeleton 1.5s infinite ease-in-out;
    border-radius: var(--radius-sm);
    display: inline-block;
}

.skeleton-text {
    width: 100%;
    height: 14px;
    margin-bottom: 8px;
}

.skeleton-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

/* --- Radar Pulsing Logo Loader --- */
@keyframes radar-scan {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(15, 46, 89, 0.35), 0 0 0 10px rgba(15, 46, 89, 0.15);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 20px rgba(15, 46, 89, 0), 0 0 0 40px rgba(15, 46, 89, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(15, 46, 89, 0), 0 0 0 0 rgba(15, 46, 89, 0);
    }
}

.radar-logo-loader {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: radar-scan 2s infinite ease-in-out;
    margin: 0 auto 20px;
    border: 1px solid rgba(15, 46, 89, 0.1);
    box-shadow: var(--shadow-soft);
}

/* ========================================== */
/* LANDING PAGE ESTILOS TECNOLÓGICOS          */
/* ========================================== */

.landing-wrapper {
    background-color: var(--bg-app);
    color: var(--text-main);
    min-height: 100vh;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    overflow-x: hidden;
    scroll-behavior: smooth;
    position: relative;
}

/* Header & Navigation */
.landing-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 5%;
    position: sticky;
    top: 0;
    z-index: 100;
    background: #ffffff;
    border-bottom: 1px solid var(--border-light);
}

.landing-logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
}

.landing-logo-svg {
    width: 44px;
    height: 44px;
    overflow: visible;
}

.landing-logo-text {
    display: flex;
    flex-direction: column;
    font-family: 'Inter', sans-serif;
}

.landing-nav {
    display: flex;
    gap: 28px;
}

@media (max-width: 768px) {
    .landing-nav {
        display: none; /* Hide nav on mobile for simplicity */
    }
}

.landing-nav a {
    color: var(--primary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: color 0.2s ease;
}

.landing-nav a:hover {
    color: var(--primary-hover);
}

.landing-auth-buttons {
    display: flex;
    gap: 12px;
}

/* Buttons */
.btn-landing-primary {
    background: var(--primary);
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(15, 46, 89, 0.2);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-landing-primary:hover {
    transform: translateY(-2px);
    background: var(--primary-hover);
    box-shadow: 0 6px 20px rgba(15, 46, 89, 0.35);
}

.btn-landing-primary.lg-btn {
    padding: 16px 32px;
    font-size: 1.05rem;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 800;
    background: var(--primary);
    box-shadow: 0 6px 20px rgba(15, 46, 89, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-landing-primary.lg-btn:hover {
    transform: translateY(-3px) scale(1.02);
    background: var(--accent);
    box-shadow: 0 10px 25px rgba(15, 46, 89, 0.35);
}

.btn-landing-secondary {
    background: var(--bg-card);
    color: var(--primary);
    border: 1px solid rgba(15, 46, 89, 0.15);
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow-soft);
}

.btn-landing-secondary:hover {
    background: var(--primary-light);
    border-color: var(--primary);
}

.btn-landing-secondary.lg-btn {
    padding: 14px 28px;
    font-size: 1rem;
    border-radius: 12px;
}

/* Hero Section */
.landing-hero {
    position: relative;
    padding: 120px 5% 80px 5%;
    overflow: hidden;
    min-height: calc(100vh - 76px);
    display: flex;
    align-items: center;
}

.hero-grid-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 1px 1px, rgba(15, 46, 89, 0.04) 1px, transparent 0);
    background-size: 28px 28px;
    mask-image: radial-gradient(circle at 50% 50%, black 60%, transparent 100%);
    -webkit-mask-image: radial-gradient(circle at 50% 50%, black 60%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}

.hero-glow-1 {
    position: absolute;
    top: 20%;
    left: 10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(15, 46, 89, 0.04) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}

.hero-glow-2 {
    position: absolute;
    bottom: 10%;
    right: 10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(15, 46, 89, 0.04) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 5;
    align-items: center;
}

@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    .hero-actions {
        justify-content: center;
    }
    .hero-stats {
        justify-content: center;
    }
}
.badge-tech {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: var(--primary-light);
    border: 1px solid rgba(15, 46, 89, 0.1);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 20px;
    margin-bottom: 20px;
}

.landing-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
    background: var(--primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-sub {
    font-size: 1.15rem;
    line-height: 1.6;
    color: var(--text-light);
    margin-bottom: 35px;
    max-width: 580px;
}

@media (max-width: 992px) {
    .hero-sub {
        margin-left: auto;
        margin-right: auto;
    }
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 50px;
}

.hero-stats {
    display: flex;
    gap: 30px;
    border-top: 1px solid rgba(15, 46, 89, 0.1);
    padding-top: 24px;
}

.hero-stat-item {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.2;
}

.stat-lbl {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 2px;
}

/* Radar Animation Styles */
.radar-container {
    display: flex;
    justify-content: center;
    position: relative;
}.radar-screen {
    position: relative;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    background: radial-gradient(circle, #ffffff 0%, var(--primary-light) 100%);
    border: 2px solid rgba(15, 46, 89, 0.15);
    box-shadow: 0 0 50px rgba(15, 46, 89, 0.05), inset 0 0 30px rgba(15, 46, 89, 0.05);
    overflow: hidden;
}
.radar-grid-rings {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}
.ring {
    position: absolute;
    border-radius: 50%;
    border: 1px dashed rgba(15, 46, 89, 0.08);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.ring.r-1 { width: 25%; height: 25%; }
.ring.r-2 { width: 50%; height: 50%; }
.ring.r-3 { width: 75%; height: 75%; }
.ring.r-4 { width: 100%; height: 100%; border-style: solid; border-color: rgba(15, 46, 89, 0.1); }
.radar-crosshairs {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}
.radar-crosshairs::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    background: rgba(15, 46, 89, 0.08);
    top: 50%;
    left: 0;
}
.radar-crosshairs::after {
    content: '';
    position: absolute;
    width: 1px;
    height: 100%;
    background: rgba(15, 46, 89, 0.08);
    left: 50%;
    top: 0;
}
.radar-sweep-line {
    position: absolute;
    width: 50%;
    height: 100%;
    top: 0;
    right: 50%;
    background: linear-gradient(to right, rgba(15, 46, 89, 0.15) 0%, transparent 100%);
    transform-origin: 100% 50%;
    animation: radar-sweep 5s linear infinite;
    z-index: 2;
}
@keyframes radar-sweep {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
.radar-center-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 52px;
    height: 52px;
    background: var(--bg-card);
    border: 1px solid rgba(15, 46, 89, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px rgba(15, 46, 89, 0.1);
    z-index: 10;
}

/* Radar Targets */
.radar-target {
    position: absolute;
    width: 12px;
    height: 12px;
    z-index: 5;
    cursor: pointer;
}

.radar-target .dot {
    display: block;
    width: 6px;
    height: 6px;
    background-color: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 8px #10b981;
}

.radar-target.target-4 .dot {
    background-color: #a78bfa;
    box-shadow: 0 0 8px #a78bfa;
}

.radar-target .pulse {
    position: absolute;
    top: -6px;
    left: -6px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1px solid #10b981;
    animation: radar-pulse 2.5s infinite ease-out;
}

.radar-target.target-4 .pulse {
    border-color: #a78bfa;
}

@keyframes radar-pulse {
    0% { transform: scale(0.4); opacity: 1; }
    100% { transform: scale(2.2); opacity: 0; }
}

/* Tooltip on targets */
.target-tooltip {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) scale(0.9);
    background: rgba(3, 7, 18, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #e2e8f0;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.7rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 50;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
}

.radar-target:hover .target-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) scale(1);
}

/* Features grid section */
.landing-features {
    padding: 80px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.landing-section-header {
    text-align: center;
    margin-bottom: 60px;
}

.landing-section-header h2 {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.02em;
    margin-bottom: 15px;
}

.landing-section-header p {
    font-size: 1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid rgba(15, 46, 89, 0.08);
    padding: 30px;
    border-radius: 16px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-soft);
}

.feature-card:hover {
    background: var(--bg-card);
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-light);
    font-size: 0.85rem;
    line-height: 1.5;
}

/* Cascade Section */
.landing-cascade {
    padding: 80px 5%;
    background: var(--bg-sidebar);
    border-top: 1px solid rgba(15, 46, 89, 0.05);
    border-bottom: 1px solid rgba(15, 46, 89, 0.05);
}

.cascade-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

@media (max-width: 992px) {
    .cascade-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.cascade-flow-chart {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 400px;
    margin: 0 auto;
}

.flow-step {
    background: var(--bg-card);
    border: 1px solid rgba(15, 46, 89, 0.08);
    padding: 20px;
    border-radius: 16px;
    text-align: center;
    position: relative;
    box-shadow: var(--shadow-soft);
}

.flow-step i {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    color: #475569;
    font-size: 0.85rem;
    z-index: 5;
}

.flow-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.flow-badge.badge-green { background: rgba(16, 185, 129, 0.1); color: #34d399; border: 1px solid rgba(16, 185, 129, 0.2); }
.flow-badge.badge-blue { background: rgba(59, 130, 246, 0.1); color: #60a5fa; border: 1px solid rgba(59, 130, 246, 0.2); }
.flow-badge.badge-purple { background: rgba(167, 139, 250, 0.1); color: #c084fc; border: 1px solid rgba(167, 139, 250, 0.2); }

.flow-step p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-light);
}

.cascade-text h2 {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 20px;
}

.cascade-text p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.95rem;
}

.cascade-text ul {
    list-style: none;
    padding: 0;
    margin: 25px 0 0 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cascade-text ul li {
    display: flex;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-main);
}

/* Simulator Section Styles */
.landing-simulator {
    padding: 80px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.simulator-box {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 28px;
}

.sim-input-area {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 15px;
    max-width: 600px;
    margin: 0 auto 40px auto;
}

@media (max-width: 576px) {
    .sim-input-area {
        grid-template-columns: 1fr;
    }
}

.sim-input {
    background: rgba(3, 7, 18, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #ffffff;
    padding: 12px 16px;
    font-size: 0.9rem;
    margin-bottom: 0;
}

.sim-input:focus {
    border-color: #1976D2;
    box-shadow: 0 0 0 2px rgba(25, 118, 210, 0.2);
}

.sim-interface {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 30px;
}

@media (max-width: 768px) {
    .sim-interface {
        grid-template-columns: 1fr;
    }
}

.sim-terminal {
    background: #090d16;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 320px;
}

.terminal-header {
    background: #0e1320;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.terminal-header .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.terminal-header .dot.red { background: #ef4444; }
.terminal-header .dot.yellow { background: #f59e0b; }
.terminal-header .dot.green { background: #10b981; }

.terminal-title {
    font-family: monospace;
    font-size: 0.7rem;
    color: #64748b;
    margin-left: 8px;
    font-weight: 700;
}

.terminal-body {
    padding: 15px;
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.terminal-line {
    font-family: monospace;
    font-size: 0.8rem;
    color: #cbd5e1;
    line-height: 1.4;
}

.terminal-line.muted {
    color: #475569;
}

.sim-preview {
    background: rgba(3, 7, 18, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    overflow: hidden;
    height: 320px;
    display: flex;
    flex-direction: column;
}

.preview-header {
    background: rgba(255, 255, 255, 0.02);
    padding: 10px 15px;
    font-size: 0.7rem;
    font-weight: 700;
    color: #64748b;
    letter-spacing: 0.05em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.sim-card-placeholder {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.placeholder-content {
    text-align: center;
    color: #475569;
    max-width: 250px;
}

.placeholder-content p {
    font-size: 0.8rem;
    margin: 0;
    line-height: 1.4;
}

.fa-spin-slow {
    animation: fa-spin 10s infinite linear;
}

/* Brain / AI Section Styles */
.landing-brain {
    padding: 80px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.brain-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

@media (max-width: 992px) {
    .brain-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.brain-text h2 {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 20px;
}

.brain-text p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.95rem;
}

.brain-visual {
    display: flex;
    justify-content: center;
}

.brain-mesh-container {
    position: relative;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(15, 46, 89, 0.06) 0%, transparent 70%);
}

.brain-node {
    position: absolute;
    background: var(--bg-card);
    border: 1px solid rgba(15, 46, 89, 0.1);
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow-soft);
}

.brain-node.source-node {
    border-color: rgba(15, 46, 89, 0.2);
}

.brain-node.output-node {
    border-color: rgba(16, 185, 129, 0.2);
}

.brain-node.ai-center {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
    font-size: 0.9rem;
    padding: 16px 22px;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(15, 46, 89, 0.2);
    z-index: 10;
}

.brain-node i {
    font-size: 1.1em;
}

.brain-node.ai-center i {
    color: #a5b4fc;
}

/* Footer Section */
.landing-footer {
    border-top: 1px solid rgba(15, 46, 89, 0.08);
    background: var(--bg-sidebar);
    padding: 60px 5% 30px 5%;
}

.footer-top {
    max-width: 1200px;
    margin: 0 auto 40px auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
}

@media (max-width: 768px) {
    .footer-top {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.footer-brand .footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 15px;
}

.footer-brand p {
    color: var(--text-light);
    font-size: 0.85rem;
    line-height: 1.5;
    max-width: 320px;
}

.footer-links h4,
.footer-legal h4 {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 18px;
}

.footer-links a,
.footer-legal a {
    display: block;
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.85rem;
    margin-bottom: 10px;
    transition: color 0.2s;
}

.footer-links a:hover,
.footer-legal a:hover {
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid rgba(15, 46, 89, 0.05);
    padding-top: 25px;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-bottom p {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin: 0;
}

/* Apollo style filter chips */
.filter-group-title {
    font-size: 0.78rem;
    font-weight: 700;
    color: #475569;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.filter-chips-container {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 12px;
}

.filter-chip {
    padding: 6px 8px;
    background: transparent;
    color: #334155;
    border: 1px solid transparent;
    border-radius: 4px;
    font-size: 0.78rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s ease;
    user-select: none;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    width: 100%;
    gap: 8px;
}

.filter-chip:hover {
    background: #f1f5f9;
}

.filter-chip.active {
    background: #f0f6ff;
    color: #0a66c2;
    font-weight: 600;
    border-color: #bfdbfe;
}

.filter-chip i {
    font-size: 0.7rem;
    opacity: 0.7;
}

.custom-filter-input {
    border-radius: 20px !important;
    padding: 4px 12px !important;
    font-size: 0.75rem !important;
    width: 150px !important;
    height: 28px !important;
    margin-bottom: 0 !important;
    border: 1px solid #e2e8f0 !important;
}

.custom-filter-input:focus {
    border-color: #0a66c2 !important;
    outline: none !important;
}

/* Apollo Results Table Premium Styling */
.apollo-results-table {
    font-size: 0.78rem !important;
    color: #334155 !important;
    border-collapse: collapse !important;
}
.apollo-results-table th {
    background: #f8fafc !important;
    color: #64748b !important;
    font-weight: 700 !important;
    font-size: 0.74rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    padding: 10px 12px !important;
    border-bottom: 1px solid #e2e8f0 !important;
    user-select: none !important;
}
.apollo-results-table td {
    border-bottom: 1px solid #f1f5f9 !important;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.apollo-table-row:hover {
    background-color: #f8fafc !important;
}

/* Resizable Columns CSS */
.resizable-table {
    table-layout: fixed;
    width: 100%;
}
.resizable-th {
    position: relative;
}
.col-resize-handle {
    position: absolute;
    top: 0;
    right: 0;
    width: 5px;
    height: 100%;
    cursor: col-resize;
    user-select: none;
    z-index: 1;
}
.col-resize-handle:hover,
.col-resize-handle:active {
    background-color: rgba(10, 102, 194, 0.5); /* Highlight on hover/drag */
}
.is-resizing {
    cursor: col-resize;
    user-select: none;
}

/* Apollo Accordion Sidebar */
.apollo-accordion {
    border-bottom: 1px solid #e2e8f0;
}
.apollo-accordion:last-child {
    border-bottom: none;
}
.apollo-accordion-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 14px;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 700;
    color: #334155;
    transition: background 0.25s;
    user-select: none;
}
.apollo-accordion-header:hover {
    background: #f8fafc;
}
.apollo-accordion-content {
    padding: 10px 14px 14px;
    background: #fafafa;
    display: block;
}

/* Apollo Metric Tabs */
.apollo-metric-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 18px 10px;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 600;
    gap: 2px;
    border-radius: 4px 4px 0 0;
}
.apollo-metric-tab:hover {
    background: #f8fafc;
    color: #334155;
}
.apollo-metric-tab.active {
    border-bottom-color: #0a66c2;
    color: #0a66c2;
}
.apollo-metric-tab .title {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
}
.apollo-metric-tab .count {
    font-size: 1.1rem;
    font-weight: 800;
    color: #0f172a;
}
.apollo-metric-tab.active .count {
    color: #0a66c2;
}

/* Ensure table cells vertically center content */
.apollo-results-table td {
    vertical-align: middle;
}

/* ============================================
   MODERN ANIMATIONS
   ============================================ */

/* Stagger Fade In - For lists and cards */
@keyframes staggerFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-stagger-in {
    animation: staggerFadeIn 0.5s var(--ease-smooth) forwards;
    opacity: 0;
}

/* Pulse - For status badges */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.6;
    }
}

.animate-pulse {
    animation: pulse 2s var(--ease-smooth) infinite;
}

/* Float - For featured elements */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

/* Scale In - For modals and popups */
@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.animate-scale-in {
    animation: scaleIn 0.2s ease forwards;
}

/* Slide Up - For notifications */
@keyframes slideUpModern {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-slide-up {
    animation: slideUpModern 0.4s var(--ease-smooth) forwards;
}

/* Shimmer - For loading states */
@keyframes shimmerModern {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.animate-shimmer {
    background: linear-gradient(90deg, #f1f5f9 25%, #f8fafc 50%, #f1f5f9 75%);
    background-size: 200% 100%;
    animation: shimmerModern 1.5s infinite;
}

/* Glow - For focus states */
@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(30, 64, 175, 0.3);
    }
    50% {
        box-shadow: 0 0 20px rgba(30, 64, 175, 0.5);
    }
}

.animate-glow {
    animation: glow 2s ease-in-out infinite;
}

/* Spin Slow - For loading icons */
@keyframes spinSlow {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.animate-spin-slow {
    animation: spinSlow 3s linear infinite;
}

/* Bounce Subtle - For CTAs */
@keyframes bounceSubtle {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-4px);
    }
}

.animate-bounce-subtle {
    animation: bounceSubtle 1.5s ease-in-out infinite;
}

/* ============================================
   AI WIZARD STYLES
   ============================================ */

/* Wizard Modal */
.ai-wizard-modal {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    width: 92%;
    max-width: 680px;
    max-height: 88vh;
    overflow-y: auto;
    box-shadow: var(--shadow-elevated);
    border: 1px solid var(--border-light);
    animation: scaleInModern 0.2s ease;
    display: flex;
    flex-direction: column;
}

/* Header */
.wizard-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 24px 28px 16px;
    border-bottom: 1px solid var(--border-light);
}

.wizard-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-app);
    border: 1px solid var(--border-light);
    color: var(--text-muted);
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    flex-shrink: 0;
}

.wizard-close:hover {
    background: #FEE2E2;
    border-color: #FECACA;
    color: #DC2626;
}

/* Progress Bar */
.wizard-progress {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    padding: 20px 28px;
    background: var(--bg-app);
}

.wizard-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    opacity: 0.4;
    transition: all 0.25s ease;
}

.wizard-step.active {
    opacity: 1;
}

.wizard-step.completed {
    opacity: 1;
}

.wizard-step.completed .step-number {
    background: var(--success);
    color: white;
    border-color: var(--success);
}

.step-number {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: white;
    border: 2px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--text-muted);
    transition: all 0.25s ease;
}

.wizard-step.active .step-number {
    background: var(--accent);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(33, 150, 243, 0.4);
    transform: scale(1.1);
}

.step-label {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.wizard-step.active .step-label {
    color: #2196F3;
}

.wizard-connector {
    width: 60px;
    height: 2px;
    background: var(--border-light);
    margin: 0 8px;
    margin-bottom: 20px;
    transition: background 0.4s;
}

.wizard-step.completed + .wizard-connector {
    background: var(--success);
}

/* Wizard Content */
.wizard-content {
    padding: 20px 28px;
    flex: 1;
    overflow-y: auto;
}

.wizard-content h3 {
    font-size: 0.95rem;
    margin: 0 0 16px;
}

/* Source Selection */
.source-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.source-card {
    background: white;
    border: 2px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 20px 16px;
    text-align: center;
    cursor: pointer;
    transition: all 0.25s ease;
}

.source-card:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(33, 150, 243, 0.15);
}

.source-card.active {
    border-color: #2196F3;
    background: var(--primary-light);
}

.source-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--bg-app);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-size: 1.3rem;
    color: #2196F3;
    transition: all 0.3s;
}

.source-card.active .source-icon {
    background: var(--accent);
    color: white;
}

.source-card h4 {
    margin: 0 0 4px;
    font-size: 0.85rem;
    color: var(--primary);
}

.source-card p {
    margin: 0;
    font-size: 0.72rem;
    color: var(--text-muted);
}

.source-count {
    display: inline-block;
    margin-top: 8px;
    padding: 3px 10px;
    background: #DBEAFE;
    color: #1E40AF;
    border-radius: 20px;
    font-size: 0.68rem;
    font-weight: 700;
}

/* Loading Animation */
.wizard-loading {
    text-align: center;
    padding: 40px 20px;
}

.brain-animation {
    margin-bottom: 20px;
}

.brain-animation i {
    font-size: 3.5rem;
    background: var(--accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: wizardPulse 2s ease-in-out infinite;
}

@keyframes wizardPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.wizard-loading h3 {
    color: var(--primary);
    margin-bottom: 8px;
}

.wizard-loading p {
    color: var(--text-muted);
    margin-bottom: 20px;
}

.progress-bar {
    width: 100%;
    max-width: 300px;
    height: 6px;
    background: var(--border-light);
    border-radius: 3px;
    overflow: hidden;
    margin: 0 auto;
}

.progress-fill {
    height: 100%;
    background: var(--accent);
    background-size: 200% 100%;
    border-radius: 3px;
    transition: width 0.5s var(--ease-smooth);
    width: 0%;
    animation: shimmerProgress 1.5s linear infinite;
}

@keyframes shimmerProgress {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Analysis Grid */
.analysis-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.analysis-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.analysis-item.full-width {
    grid-column: 1 / -1;
}

.analysis-item label {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.analysis-item label i {
    margin-right: 4px;
    color: #2196F3;
}

.analysis-item input,
.analysis-item textarea,
.analysis-item select {
    padding: 10px 12px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    color: var(--text-main);
    background: white;
    transition: all 0.2s;
    font-family: inherit;
}

.analysis-item input:focus,
.analysis-item textarea:focus,
.analysis-item select:focus {
    outline: none;
    border-color: #2196F3;
    box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.1);
}

.analysis-item textarea {
    resize: vertical;
    min-height: 60px;
}

/* Prompt Cards */
.prompts-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.prompt-card {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all 0.3s;
}

.prompt-card.approved {
    border-color: var(--success);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.prompt-card.approved .prompt-header {
    background: #F0FDF4;
}

.prompt-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: var(--bg-app);
    border-bottom: 1px solid var(--border-light);
}

.prompt-header i {
    font-size: 1.1rem;
}

.prompt-header span {
    font-weight: 700;
    font-size: 0.85rem;
    flex: 1;
}

.prompt-status {
    font-size: 0.72rem;
    font-weight: 600;
}

.prompt-card.approved .prompt-status::after {
    content: '✓ Aprobado';
    color: var(--success);
}

.prompt-actions {
    display: flex;
    gap: 4px;
}

.prompt-actions button {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.75rem;
}

.btn-approve {
    background: #D1FAE5;
    color: #065F46;
}

.btn-approve:hover {
    background: #10B981;
    color: white;
    transform: scale(1.1);
}

.btn-edit {
    background: #DBEAFE;
    color: #1E40AF;
}

.btn-edit:hover {
    background: #3B82F6;
    color: white;
    transform: scale(1.1);
}

.btn-regenerate {
    background: #FEF3C7;
    color: #92400E;
}

.btn-regenerate:hover {
    background: #F59E0B;
    color: white;
    transform: scale(1.1);
}

.wizard-prompt-textarea {
    width: 100%;
    padding: 12px 14px;
    border: none;
    font-size: 0.82rem;
    line-height: 1.5;
    color: var(--text-main);
    resize: vertical;
    min-height: 70px;
    font-family: inherit;
}

.wizard-prompt-textarea:focus {
    outline: none;
    background: #FAFAFA;
}

/* Approve All Button */
.btn-approve-all {
    background: linear-gradient(135deg, #10B981, #059669);
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-approve-all:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.3);
}

/* Regenerate All Button */
.btn-regenerate-all {
    background: white;
    color: #2196F3;
    border: 1px solid #C4B5FD;
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-regenerate-all:hover {
    background: #F5F3FF;
    border-color: #2196F3;
}

/* Wizard Footer */
.wizard-footer {
    display: flex;
    justify-content: space-between;
    padding: 16px 28px;
    border-top: 1px solid var(--border-light);
    background: var(--bg-app);
}

.btn-wizard-primary {
    background: var(--accent);
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-wizard-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(33, 150, 243, 0.3);
}

.btn-wizard-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-wizard-secondary {
    background: white;
    color: var(--text-main);
    border: 1px solid var(--border-light);
    padding: 10px 24px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-wizard-secondary:hover {
    background: var(--bg-app);
    border-color: #CBD5E1;
}

/* Toast notification for wizard */
.wizard-toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: white;
    border-radius: var(--radius-md);
    padding: 14px 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-left: 4px solid var(--success);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 10000;
    animation: slideUpModern 0.2s ease;
    font-size: 0.85rem;
    font-weight: 600;
}

.wizard-toast.error {
    border-left-color: var(--danger);
}

/* Spinner for regenerate buttons */
.btn-regenerate.loading i,
.btn-regenerate-all.loading i {
    animation: spinSlow 1s linear infinite;
}

/* --- PROMPTS CONFIG SECTION --- */
.prompt-config-card {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    overflow: hidden;
    transition: border-color 0.2s;
}

.prompt-config-card:focus-within {
    border-color: #2196F3;
    box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.1);
}

.prompt-config-header {
    background: linear-gradient(135deg, rgba(33, 150, 243, 0.05), rgba(25, 118, 210, 0.03));
    padding: 12px 16px;
    border-bottom: 1px solid #E2E8F0;
}

.prompt-config-card textarea {
    border: none;
    border-radius: 0;
    background: transparent;
}

.prompt-config-card textarea:focus {
    outline: none;
    background: rgba(33, 150, 243, 0.02);
}

/* --- INLINE PROMPT EDITOR (en outreach cards) --- */
.prompt-editor-inline {
    margin-top: 15px;
    border-top: 1px dashed #E2E8F0;
    padding-top: 15px;
    animation: fadeIn 0.2s ease-out;
}

.prompt-editor-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #475569;
}

.prompt-editor-close {
    background: none;
    border: none;
    color: #94A3B8;
    cursor: pointer;
    font-size: 0.85rem;
    padding: 4px;
    transition: color 0.2s;
}

.prompt-editor-close:hover {
    color: #EF4444;
}

.prompt-editor-textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    font-size: 0.8rem;
    resize: vertical;
    background: #F8FAFC;
    color: #1E293B;
    font-family: inherit;
    box-sizing: border-box;
}

.prompt-editor-textarea:focus {
    outline: none;
    border-color: #2196F3;
    box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.1);
}

.prompt-framework-badge {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    color: #2196F3;
    background: rgba(33, 150, 243, 0.1);
    padding: 2px 8px;
    border-radius: 10px;
    margin-left: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* --- PROMPT ACCORDION --- */
.prompt-accordion {
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.2s;
}

.prompt-accordion:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.prompt-accordion-header:hover {
    background: #F8FAFC !important;
    border-color: #CBD5E1 !important;
}

.prompt-accordion-header.open {
    border-radius: 8px 8px 0 0;
    border-bottom-color: transparent !important;
}

.prompt-accordion-body {
    transition: max-height 0.3s ease;
    overflow: hidden;
}

.prompt-chevron {
    transition: transform 0.2s ease;
}

/* --- VARIABLE CHIPS --- */
.prompt-variable-chips {
    background: #F1F5F9;
}

.chip-var {
    display: inline-block;
    padding: 3px 8px;
    font-size: 0.65rem;
    font-weight: 600;
    font-family: 'SF Mono', 'Fira Code', monospace;
    color: #2196F3;
    background: rgba(33, 150, 243, 0.08);
    border: 1px solid rgba(33, 150, 243, 0.15);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.25s;
    user-select: none;
}

.chip-var:hover {
    background: rgba(33, 150, 243, 0.15);
    border-color: rgba(33, 150, 243, 0.3);
    transform: translateY(-1px);
}

.chip-var:active {
    transform: translateY(0);
}

/* --- AI IMPROVE BUTTON --- */
.btn-ai-improve {
    transition: all 0.2s;
    box-shadow: 0 1px 3px rgba(33, 150, 243, 0.2);
}

.btn-ai-improve:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(33, 150, 243, 0.3);
}

.btn-ai-improve:active {
    transform: translateY(0);
}

.btn-ai-improve.loading {
    opacity: 0.7;
    pointer-events: none;
}

.btn-ai-improve.loading i {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* --- PROMPT TOAST NOTIFICATION --- */
.prompt-toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    color: white;
    z-index: 10000;
    animation: slideUp 0.3s ease-out;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.prompt-toast.success { background: #10B981; }
.prompt-toast.error { background: #EF4444; }
.prompt-toast.info { background: #6366F1; }

@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- COMPANY ROW HIGHLIGHT --- */
.row-highlighted {
    background: #EFF6FF !important;
    border-left: 3px solid #3B82F6 !important;
}

.row-highlighted td:first-child {
    padding-left: 9px !important;
}

#liCompanyTableBody tr {
    cursor: pointer;
    transition: background 0.25s, border-left 0.25s;
}

#liCompanyTableBody tr:hover {
    background: #F8FAFC;
}

/* --- EMPLOYEE CARDS --- */
.employee-card {
    background: white;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    transition: all 0.2s;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.employee-card:hover {
    border-color: #3B82F6;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
    transform: translateY(-2px);
}

/* --- PROSPECT LIST PANEL --- */
.prospect-list-item:hover {
    background: #F1F5F9 !important;
}

.prospect-list-item {
    transition: background 0.25s;
}\n
\n
/* --- ANIMATED GRADIENT BUTTONS (BLUE) --- */
.btn-primary {
  position: relative !important;
  appearance: none !important;
  cursor: pointer !important;
  background: linear-gradient(270deg, #00c6ff, #061161, #00c6ff) !important;
  background-size: 200% 200% !important;
  animation: btnGradientAnim 3s ease infinite !important;
  color: white !important;
  border: none !important;
  font-weight: 600 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 4px 15px rgba(0, 114, 255, 0.4) !important;
  transition: transform 0.2s, box-shadow 0.2s !important;
  z-index: 1 !important;
}

.btn-primary:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(0, 114, 255, 0.6) !important;
}

.btn-primary:active {
  transform: translateY(0) scale(0.98) !important;
}

.btn-primary * {
  color: white !important;
  z-index: 2;
}

@keyframes btnGradientAnim {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
\n\n
/* --- ORIGINAL HOUDINI GRADIENT COMPONENT (BLUE THEME) --- */

@property --pos-x {
  syntax: '<percentage>';
  initial-value: 11.14%;
  inherits: false;
}

@property --pos-y {
  syntax: '<percentage>';
  initial-value: 140%;
  inherits: false;
}

@property --spread-x {
  syntax: '<percentage>';
  initial-value: 150%;
  inherits: false;
}

@property --spread-y {
  syntax: '<percentage>';
  initial-value: 180.06%;
  inherits: false;
}

@property --color-1 {
  syntax: '<color>';
  initial-value: #00c6ff;
  inherits: false;
}

@property --color-2 {
  syntax: '<color>';
  initial-value: #0072ff;
  inherits: false;
}

@property --color-3 {
  syntax: '<color>';
  initial-value: #0052D4;
  inherits: false;
}

@property --color-4 {
  syntax: '<color>';
  initial-value: #061161;
  inherits: false;
}

@property --color-5 {
  syntax: '<color>';
  initial-value: #000000;
  inherits: false;
}

@property --border-angle {
  syntax: '<angle>';
  initial-value: 20deg;
  inherits: true;
}

@property --border-color-1 {
  syntax: '<color>';
  initial-value: hsla(210, 100%, 60%, 0.2);
  inherits: true;
}

@property --border-color-2 {
  syntax: '<color>';
  initial-value: hsla(210, 100%, 40%, 0.75);
  inherits: true;
}

@property --stop-1 {
  syntax: '<percentage>';
  initial-value: 37.35%;
  inherits: false;
}

@property --stop-2 {
  syntax: '<percentage>';
  initial-value: 61.36%;
  inherits: false;
}

@property --stop-3 {
  syntax: '<percentage>';
  initial-value: 78.42%;
  inherits: false;
}

@property --stop-4 {
  syntax: '<percentage>';
  initial-value: 89.52%;
  inherits: false;
}

@property --stop-5 {
  syntax: '<percentage>';
  initial-value: 100%;
  inherits: false;
}

.btn-primary {
  position: relative !important;
  appearance: none !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 11px !important;
  min-width: 132px !important;
  color: white !important;
  font-weight: 500 !important;
  border: none !important;
  
  /* The core radial gradient from the prompt */
  background: #0072ff !important; /* Fallback for browsers that fail completely */
  background: radial-gradient(
    var(--spread-x, 150%) var(--spread-y, 180.06%) at var(--pos-x, 11.14%) var(--pos-y, 140%),
    var(--color-1, #00c6ff) var(--stop-1, 37.35%),
    var(--color-2, #0072ff) var(--stop-2, 61.36%),
    var(--color-3, #0052D4) var(--stop-3, 78.42%),
    var(--color-4, #061161) var(--stop-4, 89.52%),
    var(--color-5, #000000) var(--stop-5, 100%)
  ) !important;
  
  transition:
    --pos-x 0.5s,
    --pos-y 0.5s,
    --spread-x 0.5s,
    --spread-y 0.5s,
    --color-1 0.5s,
    --color-2 0.5s,
    --color-3 0.5s,
    --color-4 0.5s,
    --color-5 0.5s,
    --border-angle 0.5s,
    --border-color-1 0.5s,
    --border-color-2 0.5s,
    --stop-1 0.5s,
    --stop-2 0.5s,
    --stop-3 0.5s,
    --stop-4 0.5s,
    --stop-5 0.5s;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    var(--border-angle, 20deg),
    var(--border-color-1, hsla(210, 100%, 60%, 0.2)),
    var(--border-color-2, hsla(210, 100%, 40%, 0.75))
  );
  /* Use proper vendor prefixes for mask */
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* Ensure text and icons are above the before element */
.btn-primary * {
  z-index: 2;
  position: relative;
}

.btn-primary:hover {
  --pos-x: 0%;
  --pos-y: 91.51%;
  --spread-x: 120.24%;
  --spread-y: 103.18%;
  --color-1: #89f7fe;
  --color-2: #66a6ff;
  --color-3: #0072ff;
  --color-4: #0052D4;
  --color-5: #061161;
  --border-angle: 190deg;
  --border-color-1: hsla(210, 100%, 80%, 0.1);
  --border-color-2: hsla(210, 100%, 80%, 0.6);
  --stop-1: 0%;
  --stop-2: 8.8%;
  --stop-3: 21.44%;
  --stop-4: 71.34%;
  --stop-5: 85.76%;
}

/* SAVED SEARCHES AND CRM TRACKING SYSTEM STYLES */

.saved-search-card {
    background: #ffffff;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    transition: all 0.2s ease-in-out;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 180px;
}

.saved-search-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
    border-color: #cbd5e1;
}

/* Status Badges */
.badge-status {
    padding: 3px 8px;
    border-radius: 9999px;
    font-size: 0.7rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.badge-status.pending { background: #F1F5F9; color: #475569; }
.badge-status.contacted { background: #FEF3C7; color: #D97706; }
.badge-status.responded { background: #DBEAFE; color: #2563EB; }
.badge-status.interested { background: #D1FAE5; color: #059669; }
.badge-status.rejected { background: #FEE2E2; color: #DC2626; }
.badge-status.closed { background: #ECFDF5; color: #047857; border: 1px solid #A7F3D0; }

/* Priority Badges */
.badge-priority {
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
}

.badge-priority.low { background: #F1F5F9; color: #475569; }
.badge-priority.medium { background: #EFF6FF; color: #3B82F6; }
.badge-priority.high { background: #FEF2F2; color: #EF4444; }

/* Timeline history */
.timeline-item {
    position: relative;
    padding-left: 24px;
    padding-bottom: 20px;
}

.timeline-item:last-child {
    padding-bottom: 5px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 15px;
    bottom: 0;
    width: 2px;
    background: #E2E8F0;
}

.timeline-item:last-child::before {
    display: none;
}

.timeline-dot {
    position: absolute;
    left: 0;
    top: 2px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #94A3B8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.5rem;
    color: #475569;
}

.timeline-dot.note { border-color: #94A3B8; color: #475569; }
.timeline-dot.email_sent { border-color: #EF4444; color: #EF4444; }
.timeline-dot.whatsapp_message { border-color: #10B981; color: #10B981; }
.timeline-dot.call { border-color: #3B82F6; color: #3B82F6; }
.timeline-dot.meeting { border-color: #8B5CF6; color: #8B5CF6; }
.timeline-dot.status_change { border-color: #F59E0B; color: #F59E0B; }

.timeline-content {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 0.8rem;
    color: #1E293B;
}

.timeline-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    color: #64748B;
    margin-bottom: 4px;
}

/* EMPLOYEE VISUAL CARDS & ACTIONS IN MODAL */

.employee-card {
    transition: all 0.2s ease;
    border: 1px solid #E2E8F0;
}

.employee-card:hover {
    border-color: #7C3AED !important;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.08);
}

.btn-analyze-emp {
    background: linear-gradient(135deg, #7C3AED, #6D28D9);
    color: white !important;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-analyze-emp:hover {
    background: linear-gradient(135deg, #6D28D9, #5B21B6);
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(109, 40, 217, 0.2);
}

.btn-analyze-emp:active {
    transform: translateY(0);
}
