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

:root {
    --primary: #0066cc;
    --primary-dark: #005bb5;
    --bg-footer: #f5f5f5;
}

body {
    font-family: "Inter", sans-serif;
    color: #333;
    line-height: 1.6;
    background: linear-gradient(120deg, #f0f4f8, #e2e8f0);
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    margin: 0.5rem 0;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.btn:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
}

.more-btn {
    padding: 0.5rem 1rem;
    background: none;
    color: var(--primary-dark);
    font-weight: 600;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

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

.hero {
    position: relative;
    width: 100%;
    height: 60vh;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: auto;
    height: 100%;
    min-width: 100%;
    transform: translate(-50%, -50%);
    z-index: 1;
    object-fit: cover;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.2));
    z-index: 1;
}

/* Glassy hero card */
.hero-card {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 2rem 3rem;
    z-index: 3;
}
.hero-card-left h1 {
    margin: 0;
    font-size: 2.5rem;
    color: #fff;
}
.hero-card-left p {
    margin: 0.25rem 0 0;
    color: #f0f0f0;
}
.hero-card-divider {
    width: 1px;
    height: 3rem;
    background: rgba(255, 255, 255, 0.5);
    margin: 0 1.5rem;
}
.hero-card-right a {
    display: block;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    margin-bottom: 0.5rem;
}
.hero-card-right a:hover {
    opacity: 0.8;
}

.hero .navbar {
    position: absolute;
    top: 0;
    width: 100%;
    padding: 1rem 2rem;
    z-index: 3;
    display: flex;
    justify-content: flex-end;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    border-radius: 8px;
}

.navbar ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.navbar a {
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
    transition: opacity 0.3s ease;
}

.navbar a:hover {
    opacity: 0.7;
}

.content {
    max-width: 960px;
    margin: 2rem auto;
    padding: 0 1rem;
    display: grid;
    gap: 2rem;
}

.links {
    background: #fff;
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.links h2 {
    margin-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary);
    display: inline-block;
}

.card-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

footer {
    text-align: center;
    padding: 1rem;
    background-color: var(--bg-footer);
    margin-top: 3rem;
}

@media (max-width: 768px) {
    .hero-card {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
    .hero-card-divider {
        display: none;
    }
    .hero-card-right {
        margin-top: 1rem;
    }
}

/* Dataset examples grid */
.examples-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}
.examples-grid img {
    width: 100%;
    border-radius: 8px;
    object-fit: cover;
}

blockquote.bibtex {
    background: #f4f4f4;
    padding: 1rem;
    border-radius: 8px;
    overflow-x: hidden;
    white-space: pre-wrap;
    font-family: "Courier New", Courier, monospace;
}
