/* Smiley ROI Calculator - Estilos */

.smiley-calculator-container {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    overflow: hidden;
}

.smiley-calc-header {
    background: linear-gradient(135deg, #ff0000 0%, #33cc33 100%);
    color: white;
    padding: 40px 30px;
    text-align: center;
}

.smiley-calc-header h1 {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 10px;
}

.smiley-calc-header p {
    font-size: 1.1rem;
    opacity: 0.95;
}

.smiley-calc-body {
    padding: 40px 30px;
}

/* INPUTS */
.smiley-inputs-section {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 16px;
    margin-bottom: 30px;
}

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

.smiley-input-group {
    display: flex;
    flex-direction: column;
}

.smiley-input-group label {
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.smiley-input-group input,
.smiley-input-group select {
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.smiley-input-group input:focus,
.smiley-input-group select:focus {
    outline: none;
    border-color: #33cc33;
    box-shadow: 0 0 0 3px rgba(51, 204, 51, 0.1);
}

.smiley-input-suffix {
    position: relative;
}

.smiley-input-suffix input {
    padding-right: 50px;
}

.smiley-suffix-text {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #6b7280;
    font-weight: 600;
    pointer-events: none;
}

/* PLANES */
.smiley-plans-selector {
    margin: 30px 0;
}

.smiley-plans-selector h3 {
    text-align: center;
    font-size: 1.5rem;
    color: #1f2937;
    margin-bottom: 20px;
}

.smiley-plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.smiley-plan-card {
    padding: 20px;
    border: 3px solid #e5e7eb;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.smiley-plan-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.smiley-plan-card.smiley-selected {
    border-color: #33cc33;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    box-shadow: 0 0 0 3px rgba(51, 204, 51, 0.2);
    transform: scale(1.05);
}

.smiley-plan-card[data-plan="pro"] {
    position: relative;
    border-color: #fbbf24;
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    box-shadow: 0 4px 20px rgba(251, 191, 36, 0.3);
}

.smiley-plan-card[data-plan="pro"]:not(.smiley-selected) {
    animation: smiley-pulse-pro 2s infinite;
}

@keyframes smiley-pulse-pro {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(251, 191, 36, 0.3);
    }
    50% {
        box-shadow: 0 8px 30px rgba(251, 191, 36, 0.6);
        transform: translateY(-2px);
    }
}

.smiley-plan-card[data-plan="pro"]::before {
    content: '⭐ RECOMENDADO';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 800;
    white-space: nowrap;
    box-shadow: 0 2px 10px rgba(251, 191, 36, 0.4);
}

.smiley-plan-name {
    font-size: 1.2rem;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 8px;
}

.smiley-plan-price {
    font-size: 0.9rem;
    color: #6b7280;
}

.smiley-setup {
    color: #ff0000;
    font-weight: 700;
}

.smiley-monthly {
    color: #33cc33;
    font-weight: 700;
}

/* BOTÓN CALCULAR */
.smiley-calculate-btn {
    display: block;
    width: 100%;
    max-width: 400px;
    margin: 30px auto;
    padding: 18px 40px;
    background: linear-gradient(135deg, #ff0000 0%, #33cc33 100%);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 25px rgba(51, 204, 51, 0.4);
}

.smiley-calculate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(51, 204, 51, 0.5);
}

.smiley-calculate-btn:active {
    transform: translateY(0);
}

/* RESULTADOS */
.smiley-results-section {
    display: none;
    margin-top: 40px;
}

.smiley-results-section.smiley-active {
    display: block;
    animation: smileyFadeInUp 0.6s ease;
}

@keyframes smileyFadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.smiley-calculations-summary {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 16px;
    margin-bottom: 30px;
    border-left: 4px solid #667eea;
}

.smiley-calculations-summary h3 {
    font-size: 1.3rem;
    color: #1f2937;
    margin-bottom: 15px;
}

.smiley-calc-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #e5e7eb;
}

.smiley-calc-row:last-child {
    border-bottom: none;
}

.smiley-calc-label {
    font-size: 0.95rem;
    color: #4b5563;
}

.smiley-calc-result {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1f2937;
}

.smiley-calc-equals {
    font-size: 1.2rem;
    font-weight: 700;
    color: #667eea;
    margin: 0 10px;
}

/* COMPARACIÓN */
.smiley-comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.smiley-comparison-card {
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 6px 25px rgba(0,0,0,0.1);
}

.smiley-comparison-card.smiley-bad {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    border: 3px solid #dc2626;
}

.smiley-comparison-card.smiley-good {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    border: 3px solid #10b981;
}

.smiley-card-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.smiley-card-title {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.smiley-bad-title { color: #dc2626; }
.smiley-good-title { color: #10b981; }

.smiley-cost-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.smiley-cost-item:last-child {
    border-bottom: none;
    padding-top: 15px;
    margin-top: 10px;
    border-top: 3px solid rgba(0,0,0,0.2);
}

.smiley-cost-label {
    font-weight: 600;
}

.smiley-cost-value {
    font-weight: 800;
    font-size: 1.1rem;
}

/* BANNER AHORRO */
.smiley-savings-banner {
    background: linear-gradient(135deg, #ff0000 0%, #33cc33 100%);
    color: white;
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    margin-bottom: 30px;
}

.smiley-savings-amount {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 10px;
    text-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.smiley-savings-text {
    font-size: 1.5rem;
    font-weight: 700;
    opacity: 0.95;
}

.smiley-savings-subtext {
    font-size: 1rem;
    opacity: 0.85;
    margin-top: 10px;
}

/* TIMELINE */
.smiley-roi-timeline {
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    margin-bottom: 30px;
}

.smiley-roi-timeline h3 {
    font-size: 1.5rem;
    color: #1f2937;
    margin-bottom: 20px;
    text-align: center;
}

.smiley-timeline-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
}

.smiley-timeline-item {
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 2px solid #e5e7eb;
}

.smiley-timeline-item.smiley-breakeven {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-color: #f59e0b;
}

.smiley-timeline-period {
    font-size: 0.9rem;
    font-weight: 700;
    color: #6b7280;
    margin-bottom: 8px;
}

.smiley-timeline-savings {
    font-size: 1.4rem;
    font-weight: 900;
    color: #10b981;
}

/* CTA FINAL */
.smiley-final-cta {
    background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
    color: white;
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
}

.smiley-final-cta h3 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.smiley-final-cta p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 25px;
}

.smiley-cta-button {
    display: inline-block;
    padding: 18px 50px;
    background: linear-gradient(135deg, #ff0000 0%, #33cc33 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 800;
    transition: all 0.3s ease;
    box-shadow: 0 6px 25px rgba(51, 204, 51, 0.4);
}

.smiley-cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(51, 204, 51, 0.5);
    color: white;
    text-decoration: none;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .smiley-calc-header h1 {
        font-size: 1.8rem;
    }

    .smiley-calc-header p {
        font-size: 1rem;
    }

    .smiley-inputs-grid {
        grid-template-columns: 1fr;
    }

    .smiley-plans-grid {
        grid-template-columns: 1fr;
    }

    .smiley-comparison-grid {
        grid-template-columns: 1fr;
    }

    .smiley-savings-amount {
        font-size: 2.5rem;
    }

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