/* ==================== VENTAS PAGE STYLES ==================== */

/* Hero Section */
.ventas-hero {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    align-items: center;
    gap: 60px;
    min-height: 100vh;
    padding: 120px 40px 80px;
    max-width: 1300px;
    margin: 0 auto;
}

.ventas-hero-content {
    max-width: 520px;
}

.ventas-hero-title {
    font-size: clamp(40px, 5vw, 60px);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 24px;
    color: #000;
}

.ventas-hero-subtitle {
    font-size: 18px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 32px;
}

.ventas-hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 28px;
}

.ventas-hero-trust {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.ventas-hero-trust span {
    font-size: 13px;
    color: #666;
}

/* Hero Visual / Mockup */
.ventas-hero-visual {
    display: flex;
    justify-content: center;
}

.ventas-mockup-main {
    width: 100%;
    max-width: 600px;
}

.mockup-browser {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0,0,0,0.12);
}

.browser-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #f5f5f5;
    border-bottom: 1px solid #e0e0e0;
}

.browser-dots {
    display: flex;
    gap: 6px;
}

.browser-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ddd;
}

.browser-dots span:first-child { background: #ff5f57; }
.browser-dots span:nth-child(2) { background: #ffbd2e; }
.browser-dots span:last-child { background: #28c840; }

.browser-url {
    flex: 1;
    font-size: 12px;
    color: #888;
    background: #fff;
    padding: 6px 12px;
    border-radius: 6px;
    border: 1px solid #e0e0e0;
}

.browser-content {
    padding: 0;
}

/* Dashboard Preview */
.ventas-dashboard-preview {
    display: flex;
    min-height: 320px;
}

.dashboard-sidebar-mini {
    width: 50px;
    background: #f8f9fa;
    border-right: 1px solid #eee;
    padding: 12px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.sidebar-item-mini {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.sidebar-item-mini svg {
    width: 18px;
    height: 18px;
    stroke: #888;
    stroke-width: 1.5;
    fill: none;
}

.sidebar-item-mini.active {
    background: #000;
}

.sidebar-item-mini.active svg {
    stroke: #fff;
}

.dashboard-main-preview {
    flex: 1;
    padding: 20px;
}

.preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.preview-title {
    font-size: 16px;
    font-weight: 600;
    color: #000;
}

.preview-date {
    font-size: 12px;
    color: #888;
    padding: 4px 10px;
    background: #f5f5f5;
    border-radius: 4px;
}

.preview-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.preview-stat {
    background: #f8f9fa;
    padding: 16px;
    border-radius: 10px;
    text-align: center;
}

.pstat-value {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: #000;
}

.pstat-label {
    display: block;
    font-size: 11px;
    color: #888;
    margin-top: 4px;
}

.preview-chart {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 16px;
}

.chart-line {
    width: 100%;
    height: auto;
}

/* Problema Section */
.ventas-problema {
    padding: 100px 40px;
    background: #f8f9fa;
}

.problema-container {
    max-width: 1100px;
    margin: 0 auto;
}

.problema-header {
    text-align: center;
    margin-bottom: 48px;
}

.problema-header h2 {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    color: #000;
}

.problema-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 48px;
}

.problema-card {
    background: #fff;
    padding: 28px;
    border-radius: 16px;
    border: 1px solid #eee;
    text-align: center;
    transition: all 0.3s ease;
}

.problema-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.06);
}

.problema-icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.problema-card h4 {
    font-size: 16px;
    font-weight: 600;
    color: #000;
    margin-bottom: 8px;
}

.problema-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

.solucion-intro {
    text-align: center;
}

.solucion-arrow {
    width: 48px;
    height: 48px;
    background: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.solucion-arrow svg {
    width: 24px;
    height: 24px;
    stroke: #fff;
    stroke-width: 2;
    fill: none;
}

.solucion-intro h3 {
    font-size: 24px;
    font-weight: 700;
    color: #000;
}

/* Feature Sections */
.ventas-feature-section {
    padding: 100px 40px;
    background: #fff;
}

.ventas-feature-section:nth-child(even) {
    background: #f8f9fa;
}

.feature-section-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.ventas-feature-section.reverse .feature-section-container {
    grid-template-columns: 1.2fr 1fr;
}

.ventas-feature-section.reverse .feature-section-content {
    order: 2;
}

.ventas-feature-section.reverse .feature-section-visual {
    order: 1;
}

.feature-number {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    color: #3b82f6;
    margin-bottom: 16px;
}

.feature-section-content h2 {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    color: #000;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.feature-section-content p {
    font-size: 17px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 28px;
}

.feature-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-benefits li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    font-size: 15px;
    color: #333;
}

.feature-benefits li svg {
    width: 20px;
    height: 20px;
    stroke: #10b981;
    stroke-width: 2.5;
    fill: none;
    flex-shrink: 0;
    margin-top: 2px;
}

/* Pipeline Mockup */
.pipeline-mockup {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}

.pipeline-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: #f8f9fa;
    border-bottom: 1px solid #eee;
}

.pipeline-title {
    font-size: 14px;
    font-weight: 600;
    color: #000;
}

.pipeline-filters {
    display: flex;
    gap: 8px;
}

.filter-btn {
    font-size: 12px;
    padding: 6px 12px;
    border-radius: 6px;
    color: #666;
    cursor: pointer;
    transition: all 0.2s;
}

.filter-btn.active {
    background: #000;
    color: #fff;
}

.pipeline-board {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    padding: 20px;
}

.pipeline-column {
    min-height: 180px;
}

.column-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e5e5e5;
}

.pipeline-column.success .column-header {
    border-color: #10b981;
}

.column-title {
    font-size: 12px;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.column-count {
    font-size: 11px;
    font-weight: 600;
    color: #fff;
    background: #000;
    padding: 2px 8px;
    border-radius: 10px;
}

.pipeline-column.success .column-count {
    background: #10b981;
}

.column-cards {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.deal-card {
    background: #f5f5f5;
    padding: 12px;
    border-radius: 8px;
    transition: all 0.2s;
}

.deal-card:hover {
    background: #eee;
    transform: translateY(-2px);
}

.deal-card.highlight {
    background: #dbeafe;
    border: 1px solid #3b82f6;
}

.deal-card.won {
    background: #dcfce7;
    border: 1px solid #10b981;
}

.deal-name {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #000;
}

.deal-company {
    display: block;
    font-size: 11px;
    color: #666;
    margin: 2px 0 6px;
}

.deal-value {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #10b981;
}

/* Automation Mockup */
.automation-mockup {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}

.automation-flow {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.flow-trigger {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #f0fdf4;
    border: 2px solid #10b981;
    padding: 20px 28px;
    border-radius: 12px;
    width: 100%;
}

.flow-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.flow-icon.trigger {
    background: #10b981;
}

.flow-icon.trigger svg {
    width: 22px;
    height: 22px;
    stroke: #fff;
    stroke-width: 2;
    fill: none;
}

.flow-icon.action {
    background: #f5f5f5;
    font-size: 20px;
}

.flow-label {
    display: block;
    font-size: 11px;
    color: #10b981;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.flow-text {
    font-size: 15px;
    font-weight: 600;
    color: #000;
}

.flow-line {
    width: 2px;
    height: 32px;
    background: linear-gradient(to bottom, #10b981, #3b82f6);
}

.flow-actions {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.flow-action {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #f8f9fa;
    padding: 14px 20px;
    border-radius: 10px;
    border: 1px solid #eee;
}

.flow-action span {
    font-size: 14px;
    color: #333;
}

/* Chat Mockup */
.chat-mockup {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
    max-width: 380px;
    margin: 0 auto;
}

.chat-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: #000;
    color: #fff;
}

.chat-avatar {
    width: 40px;
    height: 40px;
    background: #3b82f6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-avatar svg {
    width: 22px;
    height: 22px;
    fill: #fff;
}

.chat-info {
    flex: 1;
}

.chat-name {
    display: block;
    font-size: 14px;
    font-weight: 600;
}

.chat-status {
    display: block;
    font-size: 12px;
    color: #10b981;
}

.chat-messages {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 320px;
    overflow-y: auto;
}

.message {
    max-width: 85%;
}

.message.client {
    align-self: flex-end;
}

.message.bot {
    align-self: flex-start;
}

.message p {
    margin: 0;
    padding: 12px 16px;
    border-radius: 16px;
    font-size: 14px;
    line-height: 1.4;
}

.message.client p {
    background: #000;
    color: #fff;
    border-bottom-right-radius: 4px;
}

.message.bot p {
    background: #f5f5f5;
    color: #333;
    border-bottom-left-radius: 4px;
}

/* Reports Mockup */
.reports-mockup {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.report-card-big {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.06);
}

.report-label {
    display: block;
    font-size: 13px;
    color: #666;
    margin-bottom: 8px;
}

.report-value-big {
    display: block;
    font-size: 42px;
    font-weight: 700;
    color: #000;
    letter-spacing: -0.02em;
}

.report-change {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 6px;
    margin-top: 8px;
}

.report-change.up {
    background: #dcfce7;
    color: #166534;
}

.report-progress {
    height: 8px;
    background: #f0f0f0;
    border-radius: 4px;
    margin: 16px 0 8px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #3b82f6, #10b981);
    border-radius: 4px;
}

.report-goal {
    font-size: 12px;
    color: #888;
}

.reports-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.report-card-small {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.06);
}

.top-seller {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
}

.seller-avatar {
    width: 40px;
    height: 40px;
    background: #3b82f6;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
}

.seller-name {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #000;
}

.seller-value {
    display: block;
    font-size: 13px;
    color: #10b981;
    font-weight: 600;
}

.report-percentage {
    display: block;
    font-size: 32px;
    font-weight: 700;
    color: #000;
    margin-top: 8px;
}

/* MÃ¡s Funciones */
.ventas-mas-funciones {
    padding: 100px 40px;
    background: #fff;
}

.mas-funciones-container {
    max-width: 1100px;
    margin: 0 auto;
}

.mas-funciones-header {
    text-align: center;
    margin-bottom: 60px;
}

.mas-funciones-header h2 {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    color: #000;
    margin-bottom: 12px;
}

.mas-funciones-header p {
    font-size: 17px;
    color: #666;
}

.funciones-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.funcion-item {
    background: #f8f9fa;
    border: 1px solid #eee;
    border-radius: 16px;
    padding: 28px;
    transition: all 0.3s ease;
}

.funcion-item:hover {
    border-color: #ddd;
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.06);
}

.funcion-icon {
    width: 48px;
    height: 48px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.funcion-icon svg {
    width: 24px;
    height: 24px;
    stroke: #000;
    stroke-width: 1.5;
    fill: none;
}

.funcion-item h4 {
    font-size: 16px;
    font-weight: 600;
    color: #000;
    margin-bottom: 8px;
}

.funcion-item p {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

/* Testimonios */
.ventas-testimonios {
    padding: 100px 40px;
    background: #f8f9fa;
}

.testimonios-container {
    max-width: 1100px;
    margin: 0 auto;
}

.testimonios-header {
    text-align: center;
    margin-bottom: 60px;
}

.testimonios-header h2 {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    color: #000;
}

.testimonios-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonio-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 16px;
    padding: 32px;
}

.testimonio-card.featured {
    background: #000;
    border-color: #000;
    color: #fff;
}

.testimonio-stars {
    color: #fbbf24;
    font-size: 16px;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.testimonio-resultado {
    margin-bottom: 20px;
}

.resultado-numero {
    display: block;
    font-size: 48px;
    font-weight: 700;
    color: #10b981;
}

.resultado-texto {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
}

.testimonio-text {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 24px;
    color: #333;
}

.testimonio-card.featured .testimonio-text {
    color: rgba(255,255,255,0.9);
}

.testimonio-autor {
    display: flex;
    align-items: center;
    gap: 12px;
}

.autor-avatar {
    width: 44px;
    height: 44px;
    background: #3b82f6;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
}

.autor-nombre {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #000;
}

.testimonio-card.featured .autor-nombre {
    color: #fff;
}

.autor-empresa {
    display: block;
    font-size: 12px;
    color: #666;
}

.testimonio-card.featured .autor-empresa {
    color: rgba(255,255,255,0.6);
}

/* CTA Final */
.ventas-cta-final {
    padding: 120px 40px;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    text-align: center;
}

.cta-final-container {
    max-width: 600px;
    margin: 0 auto;
}

.cta-final-container h2 {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
}

.cta-final-container > p {
    font-size: 18px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 32px;
}

.cta-final-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 24px;
}

.btn-cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    background: #fff;
    color: #000;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-cta-primary:hover {
    background: #f5f5f5;
    transform: translateY(-2px);
}

.btn-cta-primary svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}

.btn-cta-secondary {
    display: inline-flex;
    align-items: center;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-cta-secondary:hover {
    border-color: #fff;
    background: rgba(255,255,255,0.1);
}

.cta-note {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
    .ventas-hero {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
        padding-top: 100px;
    }

    .ventas-hero-content {
        max-width: 100%;
    }

    .ventas-hero-buttons {
        justify-content: center;
    }

    .ventas-hero-trust {
        justify-content: center;
    }

    .feature-section-container,
    .ventas-feature-section.reverse .feature-section-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .ventas-feature-section.reverse .feature-section-content,
    .ventas-feature-section.reverse .feature-section-visual {
        order: unset;
    }

    .feature-section-visual {
        order: -1;
    }
}

@media (max-width: 900px) {
    .problema-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pipeline-board {
        grid-template-columns: repeat(2, 1fr);
    }

    .funciones-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonios-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .ventas-hero {
        padding: 100px 24px 60px;
    }

    .ventas-problema,
    .ventas-feature-section,
    .ventas-mas-funciones,
    .ventas-testimonios {
        padding: 80px 24px;
    }

    .ventas-cta-final {
        padding: 80px 24px;
    }

    .problema-grid {
        grid-template-columns: 1fr;
    }

    .funciones-grid {
        grid-template-columns: 1fr;
    }

    .pipeline-board {
        grid-template-columns: 1fr;
    }

    .reports-row {
        grid-template-columns: 1fr;
    }

    .preview-stats {
        grid-template-columns: 1fr;
    }

    .ventas-hero-buttons,
    .cta-final-buttons {
        flex-direction: column;
    }

    .btn-cta-primary,
    .btn-cta-secondary {
        width: 100%;
        justify-content: center;
    }
}