:root {
    --primary-color: #0064e0;
    /* Meta Blue-ish */
    --secondary-color: #1c2b33;
    --accent-color: #42b72a;
    --text-color: #1c1e21;
    --bg-color: #ffffff;
    --light-bg: #f0f2f5;
    --border-color: #dddfe2;
    --max-width: 1000px;
    --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

body {
    font-family: var(--font-family);
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    text-decoration: underline;
    color: #004c9e;
}

/* Layout */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 1rem 0;
    /* border-bottom: 1px solid var(--border-color); */
}

section:last-child {
    border-bottom: none;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 80px 0 60px;
    background: linear-gradient(to bottom, #f0f2f5, #ffffff);
}

.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.authors {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.affiliations {
    font-size: 1rem;
    color: #65676b;
    margin-bottom: 30px;
}

.links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--secondary-color);
    color: white;
    border-radius: 20px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s, background-color 0.2s;
}

.btn:hover {
    background-color: #000;
    transform: translateY(-2px);
    text-decoration: none;
    color: white;
}

.btn-primary {
    background-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #004c9e;
}

/* Abstract */
.abstract-content {
    font-size: 1.1rem;
    text-align: justify;
    max-width: 800px;
    margin: 0 auto;
}

/* Figures */
figure {
    margin: 40px 0;
    text-align: center;
}

figure img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

figcaption {
    margin-top: 15px;
    font-size: 0.9rem;
    color: #65676b;
    font-style: italic;
}

/* Content Sections */
h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    text-align: center;
    font-weight: 700;
}

h3 {
    font-size: 1.5rem;
    margin: 30px 0 15px;
    color: var(--secondary-color);
}

p {
    margin-bottom: 20px;
}

.method-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.method-card {
    background: var(--light-bg);
    padding: 30px;
    border-radius: 12px;
    transition: transform 0.2s;
}

.method-card:hover {
    transform: translateY(-5px);
}

/* Results */
.results-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    align-items: center;
}

.results-text {
    flex: 1;
    min-width: 300px;
}

.results-visual {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

/* Citation */
.citation-block {
    background-color: #f6f8fa;
    padding: 20px;
    border-radius: 8px;
    overflow-x: auto;
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace;
    font-size: 0.9rem;
    border: 1px solid var(--border-color);
}

/* Footer */
footer {
    text-align: center;
    padding: 40px 0;
    color: #65676b;
    font-size: 0.9rem;
    border-top: 1px solid var(--border-color);
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.2rem;
    }

    .links {
        flex-direction: column;
        align-items: center;
    }
}

/* Tables */
.table-container {
    overflow-x: auto;
    margin: 40px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
    background-color: #fff;
}

th,
td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: var(--secondary-color);
    white-space: nowrap;
}

tr:last-child td {
    border-bottom: none;
}

tr:nth-child(even) {
    background-color: #fcfcfc;
}

tr:hover {
    background-color: #f0f2f5;
}

.table-caption {
    text-align: center;
    font-weight: 600;
    margin-bottom: 15px;
    color: #65676b;
}