.assistente-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.assistente-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.assistente-modal-box {
    position: relative;
    width: 90%;
    max-width: 800px;
    background: linear-gradient(135deg, #900000 0%, #4d0000 100%);
    border-radius: 24px;
    padding: clamp(40px, 5vw, 60px) clamp(25px, 4vw, 50px);
    color: #ffffff;
    text-align: center;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
    border: 2px solid #ffcc00;
    overflow: hidden;
}

.assistente-close-btn {
    position: absolute;
    top: 20px;
    right: 25px;
    background: none;
    border: none;
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s ease, transform 0.3s ease;
    z-index: 10;
}

.assistente-close-btn:hover {
    color: #ffcc00;
    transform: scale(1.1);
}

.assistente-step {
    display: none;
    animation: slideUpFade 0.4s ease forwards;
}

.assistente-step.active {
    display: block;
}

@keyframes slideUpFade {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.ast-icon-glow {
    width: 80px;
    height: 80px;
    background: rgba(255, 204, 0, 0.15);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 25px;
    color: #ffcc00;
    font-size: 2.2rem;
    box-shadow: 0 0 30px rgba(255, 204, 0, 0.3);
    border: 1px solid rgba(255, 204, 0, 0.3);
}

.assistente-step h2 {
    font-size: 2.2rem;
    font-weight: 900;
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.assistente-step h3 {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 30px;
    line-height: 1.3;
}

.ast-subtitle {
    font-size: 1.1rem;
    color: #ffe6e6;
    margin-bottom: 10px;
    line-height: 1.5;
}

.ast-thin {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 35px;
}

.ast-btn-start {
    background: linear-gradient(135deg, #ffcc00 0%, #e6b800 100%);
    color: #1a1a1a;
    border: none;
    padding: 15px 45px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 800;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(255, 204, 0, 0.3);
    letter-spacing: 0.5px;
}

.ast-btn-start:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(255, 204, 0, 0.5);
    background: linear-gradient(135deg, #ffe600 0%, #ffcc00 100%);
}

.ast-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 500px;
    margin: 0 auto;
}

.ast-option {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 18px 25px;
    border-radius: 16px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ast-option:hover {
    background: rgba(255, 204, 0, 0.15);
    border-color: #ffcc00;
    color: #ffcc00;
    transform: translateY(-2px);
}

.result-title {
    font-size: 1.8rem;
    font-weight: 900;
    margin-bottom: 15px;
    color: #ffcc00;
}

.ast-result-desc {
    font-size: 1.05rem;
    color: #ffe6e6;
    margin-bottom: 30px;
    line-height: 1.5;
}

.ast-result-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 25px;
    margin-bottom: 35px;
    align-items: stretch;
}

.ast-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 30px 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.ideal-card {
    background: linear-gradient(135deg, rgba(194, 0, 0, 0.4) 0%, rgba(230, 0, 0, 0.2) 100%);
    border: 2px solid #ffcc00;
    transform: scale(1.05);
    z-index: 2;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.ast-badge-ideal {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #ffcc00;
    color: #1a1a1a;
    padding: 6px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.ast-badge-alt {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.ast-card h4 {
    font-size: 1.8rem;
    font-weight: 900;
    margin: 15px 0 10px;
    color: #ffffff;
}

.ast-card p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
    margin-bottom: 25px;
    flex-grow: 1;
}

.ast-btn-contract {
    background: #ffcc00;
    color: #1a1a1a;
    padding: 14px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 800;
    font-size: 0.95rem;
    text-transform: uppercase;
    transition: all 0.3s ease;
    width: 100%;
    box-shadow: 0 8px 15px rgba(255, 204, 0, 0.2);
}

.ast-btn-contract:hover {
    background: #ffffff;
    color: #c20000;
    transform: translateY(-2px);
}

.ast-btn-alt {
    background: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 12px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    transition: all 0.3s ease;
    width: 100%;
}

.ast-btn-alt:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
}

.ast-btn-restart {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
    transition: color 0.3s ease;
    margin-top: 20px;
}

.ast-btn-restart:hover {
    color: #ffcc00;
}

@media (max-width: 768px) {
    .assistente-modal-box {
        padding: 40px 20px 30px;
        max-height: 90vh;
        overflow-y: auto;
    }
    
    .ast-result-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-top: 20px;
    }
    
    .ideal-card {
        transform: scale(1);
    }
    
    .assistente-step h3 {
        font-size: 1.3rem;
    }
    
    .ast-option {
        padding: 15px 20px;
        font-size: 1rem;
    }
}