*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{

    font-family:"Inter",sans-serif;

    background:#f5f5f5;

    display:flex;

    justify-content:center;

    align-items:center;

    min-height:100vh;
}

.container{

    width:700px;

    background:white;

    padding:40px;

    border-radius:10px;

    box-shadow:0 10px 30px rgba(0,0,0,.1);

}

h1{

    margin-bottom:15px;
}

p{

    color:#666;

    margin-bottom:30px;
}

.search-box{

    display:flex;

    gap:10px;

    margin-bottom:30px;
}

input{

    border:1px solid #E5E7EB;

    border-radius:12px;

    padding:16px;

    font-size:16px;

    transition:.3s;

}

input:focus{

    outline:none;

    border-color:#2563EB;

    box-shadow:0 0 0 4px rgba(37,99,235,.15);

}

button{

    background:#2563EB;

    color:white;

    border:none;

    border-radius:12px;

    padding:16px 28px;

    font-size:16px;

    font-weight:600;

    transition:.3s;

}

button:hover{

    background:#1d4ed8;

    cursor:pointer;

}

.spinner{

    width:50px;

    height:50px;

    margin:30px auto;

    border:4px solid #e5e7eb;

    border-top:4px solid #2563eb;

    border-radius:50%;

    animation:spin 1s linear infinite;

}

.spinner.hidden{

    display:none;

}

@keyframes spin{

    0%{transform:rotate(0deg);}

    100%{transform:rotate(360deg);}

}

.report{

    margin-top:20px;

}

.section{

    margin-bottom:20px;

}

.section h3{

    color:#1f2937;

    font-size:16px;

    font-weight:600;

    margin-bottom:12px;

}

.score{

    font-size:36px;

    font-weight:700;

    color:#2563eb;

}

.divider{

    border:none;

    border-top:1px solid #e5e7eb;

    margin:20px 0;

}

.items-list{

    list-style:none;

    margin:0;

    padding:0;

}

.items-list li{

    padding:8px 0;

    color:#374151;

    display:flex;

    align-items:center;

}

.check{

    color:#10b981;

    margin-right:10px;

    font-weight:bold;

}

.cross{

    color:#ef4444;

    margin-right:10px;

    font-weight:bold;

}



.progress{

    margin-top:20px;

    padding:20px;

    background:#f9fafb;

    border-radius:8px;

}

.progress.hidden{

    display:none;

}

.progress-step{

    font-size:14px;

    font-weight:600;

    color:#374151;

    margin-bottom:12px;

}

.progress-bar-container{

    width:100%;

    height:16px;

    background:#e5e7eb;

    border-radius:8px;

    overflow:hidden;

    margin-bottom:8px;

}

.progress-bar-fill{

    height:100%;

    background:linear-gradient(90deg, #2563eb, #3b82f6);

    border-radius:8px;

    transition:width 0.5s ease;

    width:0%;

}

.progress-percentage{

    font-size:12px;

    color:#6b7280;

    text-align:right;

}

.items-list li, .rec-card{

    opacity:0;

    animation:fadeIn 0.5s ease forwards;

}

.recommendations-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit, minmax(280px, 1fr));

    gap:16px;

    margin-top:12px;

}

.rec-card{

    background:#f9fafb;

    border:1px solid #e5e7eb;

    border-radius:12px;

    padding:20px;

    transition:all 0.3s ease;

}

.rec-card:hover{

    border-color:#2563eb;

    box-shadow:0 4px 12px rgba(37, 99, 235, 0.1);

    transform:translateY(-2px);

}

.rec-label{

    display:inline-block;

    font-size:0.75rem;

    font-weight:700;

    color:#2563eb;

    margin-bottom:10px;

    letter-spacing:0.04em;

    text-transform:uppercase;

}

.rec-title{

    font-size:1rem;

    font-weight:700;

    color:#111827;

    margin-bottom:10px;

}

.rec-description{

    font-size:0.95rem;

    color:#4b5563;

    line-height:1.6;

    margin-bottom:14px;

}

.rec-footer{

    display:flex;

    justify-content:space-between;

    align-items:center;

    font-size:0.85rem;

    color:#6b7280;

    border-top:1px solid #e5e7eb;

    padding-top:12px;

}

.rec-footer strong{

    color:#111827;

    font-weight:700;

}

.rec-icon{

    font-size:32px;

    margin-bottom:12px;

}

.rec-card h4{

    font-size:16px;

    font-weight:600;

    color:#1f2937;

    margin-bottom:8px;

}

.rec-card p{

    font-size:13px;

    color:#6b7280;

    margin-bottom:12px;

    line-height:1.5;

}

.rec-impact{

    font-size:14px;

    font-weight:600;

    color:#2563eb;

    display:inline-block;

    background:#eff6ff;

    padding:4px 8px;

    border-radius:6px;

}

.score-circle-container{

    position:relative;

    width:180px;

    height:180px;

    margin:20px auto;

}

.score-circle{

    width:100%;

    height:100%;

    transform:rotate(-90deg);

    transform-origin:50% 50%;

}

.score-bg{

    fill:none;

    stroke:#e5e7eb;

    stroke-width:8;

}

.score-progress{

    fill:none;

    stroke-width:8;

    stroke-linecap:round;

    stroke-dasharray:100;

    stroke-dashoffset:100;

    transition:stroke-dashoffset 1.5s ease-out, stroke 0.5s ease;

}

.score-text{

    position:absolute;

    top:50%;

    left:50%;

    transform:translate(-50%, -50%);

    text-align:center;

}

.score-text{

    font-size:32px;

    font-weight:700;

    color:#2563eb;

}

@keyframes fadeIn{

    from{

        opacity:0;

        transform:translateY(-5px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

.citation-score{

    display:flex;

    align-items:center;

    gap:24px;

    margin:20px 0;

    padding:20px;

    background:#f9fafb;

    border-radius:12px;

    border-left:4px solid #2563eb;

}

.citation-percentage{

    font-size:48px;

    font-weight:700;

    color:#2563eb;

}

.citation-level{

    font-size:16px;

    font-weight:600;

    color:#374151;

    padding:8px 12px;

    background:#dbeafe;

    border-radius:8px;

    min-width:80px;

    text-align:center;

}

.citation-description{

    font-size:14px;

    color:#6b7280;

    line-height:1.6;

    margin-top:12px;

}



button:hover{

    background:#1D4ED8;

    transform:translateY(-2px);

}

.faq{
    margin-top:30px;
    padding:24px;
    background:#f9fafb;
    border:1px solid #e5e7eb;
    border-radius:16px;
}

.faq h2{
    font-size:20px;
    font-weight:700;
    color:#111827;
    margin-bottom:18px;
}

.faq-grid{
    display:grid;
    gap:16px;
    grid-template-columns:repeat(auto-fit, minmax(220px, 1fr));
}

.faq-item{
    background:white;
    border-radius:14px;
    padding:18px;
    border:1px solid #e5e7eb;
}

.faq-question{
    font-size:1rem;
    font-weight:700;
    color:#111827;
    margin-bottom:10px;
}

.faq-answer{
    font-size:0.95rem;
    color:#4b5563;
    line-height:1.7;
}

#result{

    border:1px solid #ddd;

    min-height:200px;

    padding:20px;

    border-radius:8px;
}

.card{

    background:white;

    border-radius:16px;

    padding:25px;

    box-shadow:

    0 5px 25px rgba(0,0,0,.05);

}

.spinner{

    width:42px;

    height:42px;

    border:5px solid #E5E7EB;

    border-top-color:#2563EB;

    border-radius:50%;

    animation:spin .8s linear infinite;

}

@keyframes spin{

    to{

        transform:rotate(360deg);

    }

}