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

body{
    font-family:Inter,sans-serif;
    color:#0f172a;
    background:white;
}

nav{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:24px 8%;
    border-bottom:1px solid #eee;
}

.logo{
    font-size:24px;
    font-weight:700;
}

nav ul{
    display:flex;
    gap:30px;
    list-style:none;
}

nav a{
    text-decoration:none;
    color:#334155;
}

.analyze-btn{
    background:#2563eb;
    color:white;
    padding:12px 20px;
    border-radius:10px;
}

.hero{
    text-align:center;
    padding:120px 20px;
    max-width:900px;
    margin:auto;
}

.badge{
    background:#dbeafe;
    color:#2563eb;
    padding:8px 14px;
    border-radius:999px;
}

.hero h1{
    font-size:72px;
    margin-top:25px;
}

.hero p{
    font-size:22px;
    color:#475569;
    margin-top:20px;
    line-height:1.7;
}

.hero-buttons{
    margin-top:40px;
}

.primary-btn{
    background:#2563eb;
    color:white;
    padding:14px 28px;
    border-radius:10px;
    text-decoration:none;
}

.secondary-btn{
    border:1px solid #ddd;
    padding:14px 28px;
    border-radius:10px;
    text-decoration:none;
    margin-left:10px;
}

.features{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
    padding:60px 8%;
}

.card{
    border:1px solid #eee;
    padding:30px;
    border-radius:16px;
}

.metrics{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    text-align:center;
    padding:80px 8%;
    background:#f8fafc;
}

.metric h2{
    font-size:48px;
    color:#2563eb;
}

.citation{
    padding:80px 8%;
}

.citation h2{
    margin-bottom:20px;
}

.bibtex{
    background:#f8fafc;
    padding:25px;
    border-radius:12px;
    font-family:monospace;
    line-height:1.8;
}

.about{
    padding:80px 8%;
    background:#f8fafc;
}

.team{
    display:flex;
    gap:30px;
    margin-top:30px;
}

.member{
    background:white;
    padding:20px;
    border-radius:12px;
    border:1px solid #eee;
}

footer{
    text-align:center;
    padding:40px;
    color:#64748b;
}

.team{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:30px;
    margin-top:40px;
}

.member{
    background:white;
    border:1px solid #e5e7eb;
    border-radius:16px;

    padding:24px;

    text-align:center;

    min-height:260px;

    transition:0.2s ease;
}

.member:hover{
    transform:translateY(-3px);
    box-shadow:0 8px 24px rgba(0,0,0,0.08);
}

.avatar-placeholder{
    width:120px;
    height:120px;

    margin:0 auto 20px;

    border-radius:50%;

    background:#f1f5f9;
    border:2px dashed #cbd5e1;
}

.member h4{
    margin-bottom:8px;
}

.member p{
    color:#64748b;
    font-size:14px;
}

.logo{
    display:flex;
    align-items:center;
    gap:12px;

    font-size:24px;
    font-weight:700;
    color:#0f172a;
}

.logo img{
    width:42px;
    height:42px;
    object-fit:contain;
}

.news{
    padding:80px 8%;
}

.news h2{
    margin-bottom:24px;
}

.news-container{
    background:white;
    border:1px solid #e5e7eb;
    border-radius:16px;
    padding:18px 24px;
    max-height:180px;
    overflow-y:auto;
}

.news-container ul{
    list-style:none;
    margin:0;
    padding:0;
}

.news-container li{
    display:flex;
    gap:18px;
    align-items:flex-start;
    padding:10px 0;
    line-height:1.6;
    border-bottom:1px solid #f1f5f9;
}

.news-container li:last-child{
    border-bottom:none;
}

.news-date{
    font-weight:600;
    color:#2563eb;
    white-space:nowrap;
}

.primary-btn,
.secondary-btn,
.analyze-btn{
    transition: all 0.2s ease;
}

.primary-btn:hover,
.analyze-btn:hover{
    background:#1d4ed8;
    transform:translateY(-2px);
    box-shadow:0 8px 20px rgba(37,99,235,0.25);
}

.secondary-btn:hover{
    background:#f8fafc;
    border-color:#94a3b8;
    color:#0f172a;
    transform:translateY(-2px);
}

nav ul a{
    transition:all 0.2s ease;
}

nav ul a:hover{
    color:#2563eb;
    font-weight:600;
}

.card{
    border:1px solid #eee;
    padding:30px;
    border-radius:16px;

    transition:all 0.25s ease;
}

.card:hover{
    transform:translateY(-6px);

    box-shadow:
        0 12px 30px rgba(0,0,0,0.08);

    border-color:#dbeafe;
}

.member{
    background:white;
    border:1px solid #e5e7eb;
    border-radius:16px;

    padding:24px;
    min-height:260px;

    text-align:center;

    transition:all 0.25s ease;
}

.member:hover{
    transform:translateY(-6px);

    box-shadow:
        0 12px 30px rgba(0,0,0,0.08);

    border-color:#dbeafe;
}

.logo{
    transition:all 0.2s ease;
}

.logo:hover{
    transform:scale(1.03);
}

.logo{
    display:flex;
    align-items:center;
    gap:12px;

    text-decoration:none;
    color:#0f172a;

    font-size:24px;
    font-weight:700;

    transition:all 0.2s ease;
}

.logo:hover{
    transform:scale(1.03);
}

.bibtex{
    transition:all 0.25s ease;
}

.bibtex:hover{
    box-shadow:
        0 10px 24px rgba(0,0,0,0.05);
}

html{
    scroll-behavior:smooth;
}

.top-btn{
    position:fixed;
    right:28px;
    bottom:28px;
    z-index:999;

    background:#2563eb;
    color:white;
    text-decoration:none;

    padding:12px 16px;
    border-radius:999px;

    font-size:13px;
    font-weight:700;
    letter-spacing:0.5px;

    box-shadow:0 8px 22px rgba(37,99,235,0.28);

    transition:all 0.2s ease;
}

.top-btn:hover{
    background:#1d4ed8;
    transform:translateY(-3px);
    box-shadow:0 12px 28px rgba(37,99,235,0.35);
}

.secondary-btn{
    border:1px solid #ddd;
    padding:14px 28px;
    border-radius:10px;

    text-decoration:none;

    color:#0f172a;
    background:white;

    margin-left:10px;

    transition:all 0.2s ease;
}

.secondary-btn:visited{
    color:#0f172a;
}

.secondary-btn:link{
    color:#0f172a;
}

.secondary-btn:hover{
    color:#0f172a;
}

/* TUTORIAL */
.guide-layout{
    display:flex;
    padding:60px 8%;
    gap:50px;
}

.guide-menu{
    width:220px;
    position:sticky;
    top:100px;
    align-self:flex-start;
    display:flex;
    flex-direction:column;
    gap:16px;
}

.guide-menu a{
    text-decoration:none;
    color:#334155;
    font-weight:500;
}

.guide-menu a:hover{
    color:#2563eb;
}

.guide-content{
    max-width:850px;
}

.guide-content section{
    margin-bottom:70px;
}

.guide-content h1{
    margin-bottom:16px;
}

.guide-content p{
    color:#475569;
    line-height:1.8;
}


.tutorial-figure {
    display: block;
    width: 100%;
    max-width: 900px;
    margin: 30px auto;
    border-radius: 8px;
}

.tabs {
    display: flex;
    gap: 6px;
    margin: 24px 0 20px;
    border-bottom: 1px solid #ddd;
}

.tab-btn {
    padding: 10px 18px;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 15px;
    color: #666;
}

.tab-btn:hover {
    color: #1f4e79;
}

.tab-btn.active {
    color: #1f4e79;
    font-weight: 600;
    border-bottom: 3px solid #1f4e79;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Click vao ten ra homepage */
.member h4 a {
    color: inherit;
    text-decoration: none;
}

.member h4 a:hover {
    text-decoration: underline;
    color: #2b6cb0;
}

/* Menu Tree */
.guide-menu a.submenu-title {
    padding-left: 24px;
    font-size: 14px;
    /* font-weight: 600; */
    color: #666;
}

.guide-menu a.submenu-item {
    padding-left: 44px;
    font-size: 13px;
    color: #666;
}

.guide-menu a.submenu-item::before {
    content: "• ";
}

/* banner */
.typing-banner{
    margin: 28px auto 34px;
    max-width: 950px;
    min-height: 3.6em;

    display:flex;
    justify-content:center;
    align-items:center;

    font-size:clamp(1.15rem,2vw,1.65rem);
    line-height:1.6;
    font-weight:500;
    color:#2b6cff;

    text-align:center;
}

#typingText{
    white-space:pre-wrap;
}

.cursor{
    margin-left:2px;
    color:#2b6cff;
    animation:blink .9s infinite;
}

@keyframes blink{
    0%,45%{
        opacity:1;
    }
    46%,100%{
        opacity:0;
    }
}

.prompt-symbol{
    color:#7c3aed;
    margin-right:10px;
    font-weight:700;
}