/* === NPS SECTION === */
.nps-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #fefefe 0%, #f8fafc 100%);
    position: relative;
    overflow: hidden;
}

.nps-section::before {
    content: '';
    position: absolute;
    top: -40%;
    left: -30%;
    width: 80%;
    height: 180%;
    background: radial-gradient(ellipse at center, rgba(168, 85, 247, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.nps-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.badge-icon {
    font-size: 1.1rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 20px;
    line-height: 1.2;
}

.highlight-text {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #64748b;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.6;
}

/* === CONTEÚDO NPS === */
.nps-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-bottom: 60px;
}

.nps-top-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: stretch;
}

/* === EXPLICAÇÃO DO NPS === */
.nps-explanation {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.what-is-nps h3 {
    color: #1e293b;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.what-is-nps p {
    color: #475569;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* === ESCALA NPS === */
.nps-scale {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 15px;
    margin-bottom: 30px;
}

.scale-section {
    text-align: center;
    padding: 20px 15px;
    border-radius: 12px;
    border: 2px solid;
}

.scale-section.detractors {
    background: linear-gradient(135deg, #fee2e2, #fecaca);
    border-color: #ef4444;
}

.scale-section.neutrals {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border-color: #f59e0b;
}

.scale-section.promoters {
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
    border-color: #10b981;
}

.scale-range {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.scale-label {
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 0.9rem;
}

.scale-description {
    font-size: 0.8rem;
    color: #64748b;
    line-height: 1.4;
}

/* === FÓRMULA NPS === */
.nps-formula {
    background: linear-gradient(135deg, #e0e7ff, #c7d2fe);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
}

.nps-formula h4 {
    color: #1e293b;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.formula {
    background: white;
    padding: 15px;
    border-radius: 8px;
    border: 2px solid #3b82f6;
}

.formula-text {
    font-family: 'Fira Code', monospace;
    font-weight: 600;
    color: #3b82f6;
    font-size: 1.1rem;
}

/* === INTERFACE NPS === */
.nps-interface {
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: 100%;
}

.nps-mockup {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.1);
    height: 100%;
}

.mockup-header {
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 25px;
}

.header-title {
    font-weight: 600;
    color: #1e293b;
    font-size: 1.1rem;
}

/* === CHAT PREVIEW === */
.chat-preview {
    max-width: 400px;
    margin: 0 auto;
}

.chat-message {
    margin-bottom: 20px;
}

.message-bubble {
    background: #3b82f6;
    color: white;
    padding: 15px 20px;
    border-radius: 18px 18px 18px 4px;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* === WIDGET NPS === */
.nps-widget {
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    border-radius: 16px;
    padding: 25px;
    border: 2px solid #e2e8f0;
}

.nps-question {
    text-align: center;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 20px;
    font-size: 1rem;
}

.nps-scale-interactive {
    margin-bottom: 20px;
}

.scale-numbers {
    display: flex;
    justify-content: space-between;
    gap: 5px;
    margin-bottom: 10px;
}

.scale-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid #e2e8f0;
    background: white;
    color: #64748b;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.85rem;
}

.scale-btn:hover {
    transform: scale(1.1);
    border-color: #3b82f6;
}

.scale-btn.detractor {
    border-color: #ef4444;
}

.scale-btn.neutral {
    border-color: #f59e0b;
}

.scale-btn.promoter {
    border-color: #10b981;
}

.scale-btn.active {
    background: #3b82f6;
    color: white;
    border-color: #3b82f6;
    transform: scale(1.2);
}

.scale-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: #64748b;
}

.nps-feedback textarea {
    width: 100%;
    min-height: 60px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px;
    font-size: 0.9rem;
    resize: vertical;
    margin-bottom: 15px;
}

.nps-submit {
    width: 100%;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nps-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

/* === DASHBOARD NPS === */
.nps-dashboard {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.nps-dashboard h4 {
    color: #1e293b;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 25px;
    text-align: center;
}

.nps-metrics {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.metric-card {
    text-align: center;
    padding: 25px;
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    border-radius: 16px;
    border: 2px solid #3b82f6;
}

.metric-value {
    font-size: 3rem;
    font-weight: 800;
    color: #3b82f6;
    font-family: 'Orbitron', monospace;
}

.metric-label {
    color: #1e293b;
    font-weight: 600;
    margin-bottom: 5px;
}

.metric-status {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

.metric-status.excellent {
    background: #10b981;
    color: white;
}

.metric-breakdown {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 15px;
}

.breakdown-item {
    text-align: center;
    padding: 15px;
    border-radius: 12px;
}

.breakdown-item.promoters {
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
    border: 2px solid #10b981;
}

.breakdown-item.neutrals {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border: 2px solid #f59e0b;
}

.breakdown-item.detractors {
    background: linear-gradient(135deg, #fee2e2, #fecaca);
    border: 2px solid #ef4444;
}

.breakdown-percent {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 5px;
}

.breakdown-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #64748b;
}

/* === RECURSOS NPS === */
.nps-features {
    margin-top: 40px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.feature-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.1);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.feature-card h4 {
    color: #1e293b;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.feature-card p {
    color: #64748b;
    line-height: 1.5;
    font-size: 0.9rem;
}

/* === RESPONSIVIDADE === */
@media (max-width: 968px) {
    .nps-top-section {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .nps-scale {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .metric-breakdown {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .scale-numbers {
        gap: 3px;
    }
    
    .scale-btn {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
}
