/* LANDING */

.landing-app{
    max-width:520px;
    margin:0 auto;
    padding:24px 18px 80px;
}

.hero{
    text-align:center;
    margin-bottom:24px;
}

.hero h1{

    margin:0;

    font-size:38px;

    font-weight:900;

    line-height:1.05;

    letter-spacing:-1px;

    background:
    linear-gradient(
        135deg,
        #6d5dfc,
        #d946ef
    );

    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
}

.hero p{
    margin-top:8px;
    color:#64748b;
}

.title{
    font-size:26px;
    font-weight:800;
    text-align:center;
}

.subtitle{
    text-align:center;
    color:var(--subtext);
    font-size:14px;
}

.form-box{

    background:
    rgba(255,255,255,.88);

    backdrop-filter:
    blur(12px);

    padding:22px;

    border-radius:22px;

    border:1px solid #e2e8f0;

    box-shadow:
    0 10px 30px rgba(0,0,0,.05);
}

.form-box form{

    display:flex;
    flex-direction:column;
    gap:12px;
}

.grid{

    margin-top:20px;

    display:flex;
    flex-direction:column;

    gap:12px;
}



.avatar{
    width:52px;
    height:52px;
    border-radius:50%;
    overflow:hidden;
    flex-shrink:0;
}

.avatar img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

.card-content{
    flex:1;
    display:flex;
    flex-direction:column;
    justify-content:center;
    gap:2px;
}

.card-content h3{
    margin:0;
    font-size:15px;
    line-height:1.1;
}

.card-content p{

    margin:0;

    font-size:13px;

    color:var(--subtext);
}

.chat-btn{
    width:auto;
    min-width:auto;

    padding:8px 10px;
    font-size:12px;

    border-radius:12px;

    margin-left:auto;

    white-space:nowrap;
}

.hero{
    text-align:center;
    padding:40px 20px 20px;
}

.hero h1{
    font-size:34px;
    line-height:1.1;
    font-weight:800;
    margin-bottom:14px;
}

.hero p{
    color:#64748b;
    font-size:17px;
}

.hero-badge{
    display:inline-block;
    background:#eef2ff;
    color:#4338ca;
    padding:8px 14px;
    border-radius:999px;
    margin-bottom:16px;
    font-size:14px;
    font-weight:700;
}

.hero-preview{
    max-width:420px;
    margin:25px auto;
    padding:16px;
}

.preview-bubble{
    padding:12px 16px;
    border-radius:18px;
    margin-bottom:10px;
    max-width:80%;
    animation:fadeUp .5s ease;
}

.preview-bubble.bot{
    background:white;
    margin-right:auto;
}

.preview-bubble.me{
    background:#4f46e5;
    color:white;
    margin-left:auto;
}

.benefits{
    display:grid;
    gap:12px;
    margin:25px 0;
}

.benefit-card{
    background:white;
    padding:16px;
    border-radius:18px;
    text-align:center;
    font-weight:600;
    box-shadow:0 4px 18px rgba(0,0,0,.06);
}



.avatar img{
    width:100%;
    aspect-ratio:4/5;
    object-fit:cover;
}

.character-tag{
    display:inline-block;
    margin-top:6px;
    background:#eef2ff;
    color:#4338ca;
    padding:4px 10px;
    border-radius:999px;
    font-size:11px;
    font-weight:600;
    line-height:1;
}

@keyframes fadeUp{

    from{
        opacity:0;
        transform:translateY(12px);
    }

    to{
        opacity:1;
        transform:translateY(0);
    }

}

.social-proof{
    text-align:center;
    color:#64748b;
    margin-bottom:20px;
    font-size:14px;
}

.mobile-cta{
    position:fixed;
    left:12px;
    right:12px;
    bottom:16px;

    z-index:9999;

    opacity:0;
    visibility:hidden;

    transform:translateY(20px);

    transition:.25s;
}

.mobile-cta.show{
    opacity:1;
    visibility:visible;

    transform:translateY(0);
}

.mobile-cta button{
    display:block;
    text-align:center;

    padding:16px;
    
    border:none;

    background:linear-gradient(
        135deg,
        #4f46e5,
        #7c3aed
    );

    color:white;
    text-decoration:none;

    border-radius:18px;

    font-weight:700;

    box-shadow:0 12px 30px rgba(79,70,229,.35);
}




.hero{

    background:
    radial-gradient(
        circle at top,
        rgba(99,102,241,.15),
        transparent 60%
    );

}



.avatar-modal{

    opacity:0;
    visibility:hidden;

    transition:.2s;
}

.avatar-modal.show{

    opacity:1;
    visibility:visible;
}

.hero-cta{

    display:inline-flex;

    margin-top:18px;

    padding:14px 24px;

    border-radius:999px;

    background:
    linear-gradient(
        135deg,
        #4f46e5,
        #7c3aed
    );

    color:white;

    font-weight:700;

    text-decoration:none;
}

.modal{

    display:none;

    position:fixed;

    top:0;
    left:0;

    width:100%;
    height:100%;

    background:rgba(0,0,0,.7);

    z-index:99999;

    justify-content:center;

    align-items:center;

    padding:20px;
}

.modal-content{

    background:#fff;

    width:100%;

    max-width:520px;

    border-radius:20px;

    padding:60px 25px 25px;

    position:relative;

    max-height:90vh;

    overflow:auto;
}

.modal-close{

    position:absolute;

    top:12px;

    right:12px;

    width:40px;

    height:40px;

    border:none;

    border-radius:50%;

    background:#f8fafc;

    color:#475569;

    font-size:22px;

    font-weight:700;

    cursor:pointer;

    display:flex;

    align-items:center;

    justify-content:center;

    z-index:10;

    box-shadow:
    0 4px 12px rgba(0,0,0,.08);
}

.modal-close:hover{

    background:#eef2ff;

    color:#4338ca;
}

.user-status-bar{
    position:fixed;
    bottom:80px;
    left:12px;
    right:12px;

    background:white;
    padding:14px;
    border-radius:16px;

    box-shadow:0 12px 30px rgba(0,0,0,.15);

    display:flex;
    justify-content:space-between;
    align-items:center;

    z-index:9999;
}

/* ===== RADIOS FIX FINAL ===== */

.taste-option{
    display:flex;
    align-items:center;
    gap:12px;
    padding:12px 14px;
    border-radius:14px;
    cursor:pointer;
}

/* ocultar input real */
.taste-option input[type="radio"]{
    display:none;
}



.taste-card{
    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:18px 16px;
    margin-bottom:12px;

    border-radius:18px;

    background:#fff;
    border:2px solid #e5e7eb;

    cursor:pointer;

    transition:0.2s ease;

    position:relative;
}


.taste-card input{
    display:none;
}


.taste-card:hover{
    transform:translateY(-2px);
    box-shadow:0 10px 25px rgba(0,0,0,0.08);
}


.taste-card:has(input:checked){
    border-color:#4f46e5;
    box-shadow:0 12px 30px rgba(79,70,229,0.25);
}


.card-title{
    font-size:16px;
    font-weight:700;
}

.card-desc{
    font-size:13px;
    opacity:0.7;
    margin-top:4px;
}


.check{
    opacity:0;
    transform:scale(0.8);
    transition:0.2s;
    color:#4f46e5;
    font-weight:900;
    font-size:18px;
}


.taste-card:has(input:checked) .check{
    opacity:1;
    transform:scale(1);
}





/* ===== SUCCESS SCREEN MODERNA ===== */

.success-screen{
    min-height:100vh;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:20px;
    background:radial-gradient(circle at top, #eef2ff, #ffffff);
}

.success-card{
    background:white;
    padding:32px 24px;
    border-radius:24px;
    text-align:center;
    max-width:420px;
    width:100%;

    box-shadow:0 20px 60px rgba(0,0,0,0.12);
    animation:fadeUp .4s ease;
}

.success-icon{
    font-size:48px;
    margin-bottom:10px;
}

.success-card h2{
    margin:0;
    font-size:22px;
    font-weight:800;
}

.success-card p{
    color:#64748b;
    margin-top:8px;
    margin-bottom:20px;
}

.success-actions{
    display:flex;
    flex-direction:column;
    gap:10px;
}

.success-btn{
    padding:14px;
    border-radius:14px;
    text-decoration:none;
    font-weight:700;
    display:block;
}

.success-btn.primary{
    background:linear-gradient(135deg,#4f46e5,#7c3aed);
    color:white;
}

.success-btn.secondary{
    background:#eef2ff;
    color:#4338ca;
}

.grid{
    gap:10px;
}

.card-content h3{
    font-size:16px;
}


.card{
    display:flex;
    align-items:center;
    gap:10px;

    padding:10px 12px;
    min-height:68px;

    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:14px;

    box-shadow:0 4px 14px rgba(0,0,0,.05);

    transition:.15s ease;
}

.card:hover{
    transform:translateY(-3px);
    box-shadow:0 10px 22px rgba(0,0,0,.08);
}
