:root {
    --bg-primary: #faf8f6;
    --bg-secondary: #f4f1ed;
    --text-primary: #1a1a1a;
    --text-secondary: #5c5c5c;
    --accent: #0066cc;
    --border: #e5e2de;
    --shadow: rgba(0, 0, 0, 0.08);
    --max-width: 1200px;
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg-primary: #1c1c1c;
        --bg-secondary: #262626;
        --text-primary: #f5f5f5;
        --text-secondary: #a8a8a8;
        --accent: #4d9fff;
        --border: #333333;
        --shadow: rgba(0, 0, 0, 0.4);
    }
}

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

@font-face {
    font-family: 'Inter';
    src: url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

main {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.hero {
    padding: 80px 0 60px;
    text-align: center;
}

.title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.authors {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid var(--border);
    color: var(--text-primary);
    background-color: var(--bg-primary);
}

.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shadow);
}

.button.primary {
    background-color: var(--accent);
    color: white;
    border-color: var(--accent);
}

.button svg {
    width: 16px;
    height: 16px;
}

.abstract-section {
    background-color: var(--bg-secondary);
    padding: 60px 0;
    margin: 40px calc(-50vw + 50%);
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.abstract {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

.abstract p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-secondary);
}

.abstract strong {
    color: var(--text-primary);
    font-weight: 600;
}

.content {
    padding: 80px 0;
}

.text-block {
    max-width: 800px;
    margin: 0 auto 80px;
}

.text-block p {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-secondary);
}

.sample-section {
    margin-bottom: 80px;
}

.sample-section h2 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 32px;
    letter-spacing: -0.01em;
}

.figure-section {
    margin-bottom: 80px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.figure-section h2 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 32px;
    letter-spacing: -0.01em;
}

figure {
    margin: 0;
    text-align: center;
}

figure img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 16px var(--shadow);
    background-color: var(--bg-secondary);
}

figure figcaption {
    margin-top: 16px;
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

video {
    width: 100%;
    border-radius: 12px;
    background-color: var(--bg-secondary);
    box-shadow: 0 2px 8px var(--shadow);
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .hero {
        padding: 60px 0 40px;
    }
    
    .buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .button {
        width: 100%;
        justify-content: center;
    }
    
    .abstract-section {
        padding: 40px 0;
    }
    
    .video-grid {
        grid-template-columns: 1fr;
    }
}