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

:root {
    --blue: #1a73e8;
    --red: #ea4335;
    --yellow: #fbbc04;
    --green: #34a853;
    --ink: #202124;
    --muted: #5f6368;
    --line: #e4e7eb;
    --paper: #ffffff;
    --wash: #f8f9fa;
    --soft-blue: #eef5ff;
    --shadow: 0 18px 48px rgba(32, 33, 36, 0.09);
    --shadow-soft: 0 10px 30px rgba(32, 33, 36, 0.06);
    --radius: 8px;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--wash);
    color: var(--ink);
    font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 15px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
}

img {
    display: block;
    max-width: 100%;
}

.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}

.container.narrow {
    max-width: 900px;
}

.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(14px);
}

.nav-container {
    max-width: 1220px;
    margin: 0 auto;
    padding: 14px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.nav-logo,
.nav-link,
.btn {
    text-decoration: none;
}

.nav-logo {
    display: inline-flex;
    align-items: center;
    color: var(--ink);
    font-size: 1.3rem;
    font-weight: 800;
    white-space: nowrap;
}

.brand-word {
    letter-spacing: 0;
}

.brand-evo {
    background: linear-gradient(90deg, var(--blue), var(--yellow) 46%, var(--red) 68%, var(--green));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.brand-embedding {
    color: var(--blue);
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    flex-wrap: wrap;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 40px;
    padding: 8px 12px;
    color: var(--muted);
    border: 1px solid transparent;
    border-radius: 8px;
    font-size: 0.94rem;
    font-weight: 700;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.nav-link:hover {
    background: var(--wash);
    border-color: var(--line);
    color: var(--blue);
    transform: translateY(-1px);
}

.nav-link--icon {
    color: var(--ink);
}

.hero {
    min-height: calc(100vh - 69px);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
    background:
        radial-gradient(260px 260px at 14% 18%, rgba(26, 115, 232, 0.16), transparent 70%),
        radial-gradient(260px 260px at 86% 18%, rgba(234, 67, 53, 0.13), transparent 70%),
        radial-gradient(220px 220px at 24% 80%, rgba(52, 168, 83, 0.13), transparent 70%),
        radial-gradient(240px 240px at 78% 78%, rgba(251, 188, 4, 0.17), transparent 70%),
        linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
    border-bottom: 1px solid var(--line);
}

#particles-js {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-content {
    width: min(100%, 980px);
    position: relative;
    z-index: 2;
    padding: 96px 26px 72px;
}

.hero-title {
    margin-bottom: 10px;
    font-size: clamp(2.75rem, 7.5vw, 5.9rem);
    font-weight: 800;
    line-height: 0.98;
    letter-spacing: 0;
    color: var(--ink);
}

.hero-evo {
    background: linear-gradient(90deg, var(--blue), var(--green) 45%, var(--red));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-embedding {
    color: var(--blue);
}

.hero-subtitle {
    max-width: 780px;
    margin: 0 auto 22px;
    color: #80868b;
    font-size: clamp(1.16rem, 2.6vw, 1.82rem);
    font-weight: 800;
    line-height: 1.25;
}

.authors {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 20px;
    margin-bottom: 4px;
    color: var(--blue);
    font-size: 0.98rem;
    font-weight: 700;
}

.authors sup {
    margin-left: 4px;
    color: var(--muted);
    font-size: 0.6em;
}

.affiliation-line {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 22px;
    color: var(--muted);
}

.affiliation-line span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.92rem;
    font-weight: 600;
}

.affiliation-line i {
    color: var(--muted);
}

.affiliation-line {
    margin-bottom: 28px;
    font-size: 0.88rem;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 34px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 800;
    line-height: 1;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}
#models .section-heading {
    margin-bottom: 96px;
}
.btn-primary {
    color: #fff;
    background: var(--blue);
    border: 1px solid var(--blue);
    box-shadow: 0 12px 28px rgba(26, 115, 232, 0.24);
}

.btn-primary:hover {
    background: #1664ca;
    box-shadow: 0 14px 32px rgba(26, 115, 232, 0.3);
}

.btn-secondary {
    color: var(--ink);
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid var(--line);
}

.btn-secondary:hover {
    border-color: rgba(26, 115, 232, 0.35);
    background: #fff;
}

.section {
    padding: 82px 0;
}

.section--white {
    background: var(--paper);
}

.section-heading {
    max-width: 820px;
    margin: 0 auto 34px;
    text-align: center;
}

.section-title {
    color: var(--ink);
    font-size: clamp(1.82rem, 3.4vw, 2.72rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: 0;
}

.section-subtitle,
.lead {
    color: var(--muted);
    font-size: 1rem;
}

.section-subtitle {
    margin-top: 10px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px;
}

.feature-card {
    min-height: 340px;
    padding: 36px 28px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: var(--shadow-soft);
    text-align: center;
}

.feature-card--blue {
    background: #dce8fb;
}

.feature-card--pink {
    background: #f8dfdf;
}

.feature-card--green {
    background: #dcefe2;
}

.feature-card--yellow {
    background: #fbf1cf;
}

.feature-icon {
    width: 84px;
    height: 84px;
    display: grid;
    place-items: center;
    margin-bottom: 30px;
    color: var(--blue);
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    font-size: 1.68rem;
}

.feature-card--pink .feature-icon {
    color: #e74a3b;
}

.feature-card--green .feature-icon {
    color: #2fad4a;
}

.feature-card--yellow .feature-icon {
    color: #f4b400;
}

.feature-card h3 {
    margin-bottom: 12px;
    color: var(--ink);
    font-size: 1.34rem;
    font-weight: 800;
    line-height: 1.25;
    max-width: 11ch;
}

.feature-card p {
    color: #70757a;
    font-size: 0.96rem;
    line-height: 1.65;
}

.model-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
    margin-bottom: 38px;
}

.model-card {
    min-height: 230px;
    padding: 30px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
}

.model-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 34px;
}

.model-top i {
    color: var(--blue);
    font-size: 1.82rem;
}

.model-size {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 76px;
    min-height: 44px;
    padding: 8px 16px;
    color: #fff;
    background: var(--blue);
    border-radius: 999px;
    font-size: 1rem;
    font-weight: 800;
}

.model-card h3 {
    margin-bottom: 14px;
    color: var(--ink);
    font-size: 1.3rem;
    font-weight: 800;
    line-height: 1.25;
}

.model-name {
    max-width: 360px;
    color: #5f6368;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.55;
}

.method-heading {
    max-width: 900px;
    margin-bottom: 38px;
}

.method-points {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.method-points span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 44px;
    padding: 10px 16px;
    color: #3c4043;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    font-size: 0.9rem;
    font-weight: 800;
    box-shadow: var(--shadow-soft);
}

.method-points i {
    color: var(--blue);
}

.figure {
    overflow: hidden;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
}

.figure img {
    width: 100%;
    height: auto;
    padding: 18px;
    background: #fff;
}

.figure--large img {
    padding: 12px;
}

.figure--plain {
    box-shadow: none;
}

.figure--radar {
    aspect-ratio: 2324 / 1040;
}

.figure--table {
    max-width: 980px;
    margin: 0 auto;
}

.figure--table img {
    padding: 24px;
}

#conclusions {
    background-color: #fff;
    padding: 90px 0;
}

#features .section-heading {
    margin-bottom: 96px;
}

.conclusion-panel {
    width: min(100%, 1120px);
    margin: 0 auto;
    padding: 42px 38px 38px;
    background: #f4f6fb;
    border: 1px solid #e8ecf4;
    border-radius: 30px;
    box-shadow: 0 24px 70px rgba(32, 33, 36, 0.08);
}

.conclusion-kicker {
    margin: 0 0 24px;
    color: #a0a7b7;
    font-size: 0.86rem;
    font-weight: 800;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.conclusion-item {
    min-height: 112px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 24px;
    padding: 28px 34px;
    background: #fff;
    border: 1px solid #e8ebf1;
    border-radius: 20px;
    box-shadow: 0 14px 42px rgba(32, 33, 36, 0.045);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.conclusion-item + .conclusion-item {
    margin-top: 20px;
}

.conclusion-item:hover {
    transform: translateY(-2px);
    border-color: rgba(99, 102, 241, 0.32);
    box-shadow: 0 22px 54px rgba(32, 33, 36, 0.075);
}

.conclusion-content h3 {
    margin-bottom: 9px;
    color: var(--blue);
    font-size: clamp(1.16rem, 1.7vw, 1.46rem);
    font-weight: 800;
    line-height: 1.15;
}

.conclusion-content p {
    max-width: 900px;
    color: #737b8c;
    font-size: clamp(0.94rem, 1.25vw, 1.04rem);
    font-weight: 500;
    line-height: 1.55;
}

.conclusion-plus {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    color: var(--blue);
    background: #f7f8ff;
    border: 1px solid #e4e7ff;
    border-radius: 50%;
    font-size: 1.55rem;
    font-weight: 500;
    line-height: 1;
}

@media (max-width: 768px) {
    .conclusion-panel {
        padding: 24px 16px 16px;
        border-radius: 18px;
    }

    .conclusion-item {
        min-height: auto;
        padding: 22px 20px;
        gap: 14px;
    }
}

@media (max-width: 560px) {
    .conclusion-item {
        grid-template-columns: 1fr;
    }

    .conclusion-plus {
        display: none;
    }
}

.bibtex-container {
    margin-top: 22px;
    overflow-x: auto;
    background: #101418;
    border: 1px solid #252b33;
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
}

.bibtex-container pre {
    min-width: 620px;
    padding: 22px;
}

.bibtex-container code {
    color: #edf2f7;
    font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace;
    font-size: 0.88rem;
    line-height: 1.65;
}

.footer {
    padding: 34px 0;
    color: var(--muted);
    background: #202124;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.footer-credit {
    margin-top: 24px;
    padding-top: 18px;
    color: #9aa0a6;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.86rem;
    text-align: center;
}

.footer-credit a {
    color: #d2d7df;
    font-weight: 700;
    text-decoration: none;
}

.footer-credit a:hover {
    color: #fff;
}

.footer h3 {
    color: #fff;
    font-size: 1rem;
    font-weight: 800;
}

.footer h3 .brand-evo,
.footer h3 .brand-embedding {
    letter-spacing: 0;
}

.footer p {
    margin-top: 4px;
    color: #bdc1c6;
}

.footer-links {
    display: flex;
    gap: 12px;
}

.footer-links a {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
}

.footer-links a:hover {
    background: var(--blue);
    transform: translateY(-2px);
}

@media (max-width: 900px) {
    .nav-container {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
        padding: 13px 20px;
    }

    .nav-links {
        width: 100%;
        justify-content: flex-start;
    }

    .hero {
        min-height: auto;
    }

    .hero-content {
        padding-top: 80px;
    }

    .features-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .model-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 18px;
    }

    .nav-link {
        min-height: 36px;
        padding: 7px 9px;
        font-size: 0.84rem;
    }

    .nav-link--icon span {
        display: none;
    }

    .hero-content {
        padding: 58px 18px 46px;
    }

    .hero-buttons {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .feature-card {
        min-height: auto;
        padding: 28px 24px;
    }

    .feature-icon {
        width: 76px;
        height: 76px;
        margin-bottom: 24px;
        border-radius: 18px;
    }

    .btn {
        width: 100%;
        padding: 10px 12px;
        font-size: 0.88rem;
    }

    .section {
        padding: 60px 0;
    }

    .figure img,
    .figure--table img {
        padding: 10px;
    }

    .footer-content {
        align-items: flex-start;
        flex-direction: column;
    }
}
