:root {
    /* Modern Color Palette */
    --primary: #1a1d29;
    --secondary: #6366f1;
    --accent: #8b5cf6;
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
    
    /* Background Colors */
    --background: #fafbfc;
    --surface: #ffffff;
    --surface-elevated: #ffffff;
    --surface-hover: #f8fafc;
    
    /* Text Colors */
    --text-primary: #1a1d29;
    --text-secondary: #64748b;
    --text-muted: #94a3b8;
    --text-inverse: #ffffff;
    
    /* Border & Divider Colors */
    --border-light: #e2e8f0;
    --border-medium: #cbd5e1;
    --border-strong: #94a3b8;
    
    /* Card & Glass Effects */
    --card-bg: rgba(255, 255, 255, 0.95);
    --glass-blur: 16px;
    --border-radius: 16px;
    --border-radius-lg: 24px;
    --border-radius-xl: 32px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    
    /* Interactive States */
    --hover-bg: #f1f5f9;
    --active-bg: #e2e8f0;
    --focus-ring: 0 0 0 3px rgba(99, 102, 241, 0.1);
    
    /* Transitions */
    --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Typography */
    --heading-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --body-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --mono-font: 'JetBrains Mono', 'Fira Code', 'Monaco', 'Consolas', monospace;
    
    /* Spacing Scale */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;
}

* {
    box-sizing: border-box;
}

body {
    font-family: var(--body-font);
    background: linear-gradient(135deg, #fafbfc 0%, #f1f5f9 100%);
    color: var(--text-primary);
    min-height: 100vh;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid var(--border-light);
    transition: all var(--transition);
}

.navbar-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: var(--space-4) var(--space-6);
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: var(--space-6);
}

.navbar-links {
    display: flex;
    gap: var(--space-1);
    list-style: none;
    margin: 0;
    padding: 0;
    justify-content: center;
}

.language-switcher {
    display: flex;
    gap: var(--space-1);
    background: var(--surface);
    border-radius: var(--border-radius-lg);
    padding: var(--space-1);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
}

.lang-switch-btn {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    background: none;
    border: none;
    padding: var(--space-2) var(--space-3);
    border-radius: var(--border-radius);
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
    position: relative;
    min-width: 44px;
    min-height: 44px;
    font-family: var(--body-font);
}

.lang-switch-btn:hover {
    background: var(--hover-bg);
    color: var(--text-primary);
    transform: translateY(-1px);
}

.lang-switch-btn.active {
    background: var(--secondary);
    color: var(--text-inverse);
    box-shadow: var(--shadow-sm);
    font-weight: 600;
}

.lang-switch-btn .lang-flag {
    width: 18px;
    height: 14px;
    object-fit: cover;
    border-radius: 3px;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-fast);
}

.navbar-brand h1 {
    font-family: var(--heading-font);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    letter-spacing: -0.025em;
    line-height: 1.2;
}

.navbar-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    padding: var(--space-2) var(--space-4);
    border-radius: var(--border-radius);
    transition: all var(--transition-fast);
    position: relative;
    font-family: var(--body-font);
}

.navbar-links a.active-nav {
    color: var(--secondary);
    background: var(--hover-bg);
    font-weight: 600;
}

.navbar-links a:hover {
    color: var(--text-primary);
    background: var(--hover-bg);
}

.main-header {
    background: linear-gradient(135deg, #fafbfc 0%, #f1f5f9 100%);
    padding: var(--space-20) var(--space-6) var(--space-16) var(--space-6);
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0;
}

.main-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(99, 102, 241, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(139, 92, 246, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.main-header h1 {
    font-family: var(--heading-font);
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: var(--space-4);
    color: var(--text-primary);
    letter-spacing: -0.025em;
    line-height: 1.1;
    position: relative;
    z-index: 1;
    text-align: center;
}

.subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin: var(--space-1) 0;
    font-weight: 400;
    position: relative;
    z-index: 1;
    opacity: 0.8;
}

.title-parentheses {
    display: block;
    font-size: 0.8em;
    font-weight: 500;
    margin-top: 0.5rem;
}

.header-email {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-top: var(--space-4);
    position: relative;
    z-index: 1;
    font-weight: 500;
}

.main-content {
    flex: 1;
    max-width: 1280px;
    margin: 0 auto;
    padding: var(--space-12) var(--space-6) 0 var(--space-6);
    width: 100%;
}

.content-section {
    display: none;
    animation: fadeIn 0.5s cubic-bezier(.4,0,.2,1);
}

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

.search-container {
    margin-bottom: var(--space-12);
    display: flex;
    justify-content: center;
}

.unified-search-container {
    margin-bottom: var(--space-12);
    display: flex;
    justify-content: center;
    padding: 0 var(--space-6);
    position: sticky;
    top: 80px;
    z-index: 50;
    background: linear-gradient(135deg, #fafbfc 0%, #f1f5f9 100%);
    padding-top: var(--space-6);
    padding-bottom: var(--space-6);
    margin-bottom: var(--space-8);
}

.search-input {
    width: 100%;
    max-width: 480px;
    padding: var(--space-4) var(--space-5);
    font-size: 1rem;
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius-lg);
    background: var(--surface);
    transition: all var(--transition);
    box-shadow: var(--shadow-sm);
    font-family: var(--body-font);
    color: var(--text-primary);
}

.search-input:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: var(--focus-ring), var(--shadow-md);
    transform: translateY(-1px);
}

.search-input::placeholder {
    color: var(--text-muted);
}

.card-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: var(--space-8);
    padding: var(--space-4) 0 var(--space-8) 0;
}

.card {
    background: var(--surface);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    padding: var(--space-8);
    transition: all var(--transition);
    border: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    height: fit-content;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-medium);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--space-6);
    padding-bottom: var(--space-4);
    border-bottom: 1px solid var(--border-light);
}

.card-header h2 {
    font-family: var(--heading-font);
    color: var(--text-primary);
    font-size: 1.375rem;
    margin: 0;
    flex: 1;
    font-weight: 600;
    letter-spacing: -0.025em;
    line-height: 1.3;
}

.card-lang {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
    background: var(--hover-bg);
    border-radius: var(--border-radius);
    padding: var(--space-1) var(--space-3);
    margin-left: var(--space-4);
    border: 1px solid var(--border-light);
}

.card-lang-switch {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: var(--border-radius);
    overflow: hidden;
    margin-bottom: var(--space-6);
    background: var(--hover-bg);
    box-shadow: none;
    gap: var(--space-1);
    padding: var(--space-1);
    border: 1px solid var(--border-light);
}

.lang-button {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    padding: var(--space-2) var(--space-3);
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
    border-radius: var(--border-radius);
    margin: 0;
    position: relative;
    min-width: 40px;
    min-height: 40px;
    font-family: var(--body-font);
}

.lang-button.active {
    background: var(--secondary);
    color: var(--text-inverse);
    font-weight: 600;
}

.lang-button:hover {
    background: var(--surface);
    color: var(--text-primary);
}

.lang-button.active .lang-flag {
    transform: scale(1.05);
}

.lang-button:hover .lang-flag {
    transform: scale(1.05);
}

.card-content-lang {
    display: none;
}

.card-content-lang.active {
    display: block;
    animation: fadeInUp 0.5s cubic-bezier(.4,0,.2,1);
}

.card-section {
    margin-bottom: var(--space-6);
}

.card-section h3 {
    font-family: var(--heading-font);
    color: var(--secondary);
    font-size: 1rem;
    margin-bottom: var(--space-3);
    padding-bottom: var(--space-2);
    border-bottom: 1px solid var(--border-light);
    font-weight: 600;
    letter-spacing: -0.025em;
}

.card-section p {
    color: var(--text-primary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.card-example {
    font-style: normal;
    background: var(--hover-bg);
    border-left: 3px solid var(--secondary);
    padding: var(--space-4);
    border-radius: var(--border-radius);
    margin-top: var(--space-3);
    color: var(--text-primary);
    font-size: 0.9rem;
    line-height: 1.5;
    white-space: pre-wrap; /* Preserve whitespace and line breaks */
}

.card-remark {
    font-size: 0.875rem;
    color: var(--text-primary);
    margin-top: auto;
    padding-top: var(--space-4);
    border-top: 1px solid var(--border-light);
    background: var(--hover-bg);
    border-radius: 0 0 var(--border-radius-lg) var(--border-radius-lg);
    padding: var(--space-4);
    margin: var(--space-4) calc(-1 * var(--space-8)) calc(-1 * var(--space-8)) calc(-1 * var(--space-8));
}

.card-remark p {
    text-align: justify;
    color: var(--text-primary);
    font-weight: 500;
}

.arca-content {
    background: var(--surface);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    padding: var(--space-12) var(--space-10);
    margin: var(--space-8) auto;
    border: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-10);
    max-width: 1200px;
}

.arca-poster-container {
    width: 100%;
    max-width: 900px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: var(--space-4);
}

.arca-poster {
    width: 100%;
    height: auto;
    max-width: 100%;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
    object-fit: contain;
    display: block;
}

.arca-text-content {
    text-align: center;
    width: 100%;
    max-width: 900px;
}

.arca-text-content h2 {
    font-family: var(--heading-font);
    font-size: 4rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: var(--space-4) 0;
    letter-spacing: -0.025em;
    line-height: 1.1;
}

.arca-text-content h2[data-key="arca-title"] {
    font-size: 5rem;
    margin-bottom: var(--space-2);
}

.arca-text-content h2[data-key="arca-innovation"] {
    font-size: 4.5rem;
    margin-top: var(--space-2);
    margin-bottom: var(--space-6);
}

.arca-text-content h3 {
    font-family: var(--heading-font);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin: var(--space-2) 0;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.arca-date {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: var(--space-6) 0 var(--space-4) 0;
    letter-spacing: 0.05em;
}

.arca-location {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin: var(--space-2) 0;
    letter-spacing: 0.03em;
}

.arca-article-content {
    width: 100%;
    max-width: 900px;
    margin-top: var(--space-8);
    padding-top: var(--space-8);
    border-top: 2px solid var(--border-light);
}

.arca-article-content [data-lang] {
    display: none;
}

.arca-article-section {
    margin-bottom: var(--space-6);
}

.arca-section-title {
    font-family: var(--heading-font);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-2);
    text-align: center;
}

.arca-intro-subtitle {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: var(--space-6);
    font-style: italic;
}

.arca-article-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-primary);
    margin-bottom: var(--space-6);
    text-align: justify;
}

.arca-article-text p {
    margin-bottom: var(--space-4);
}

.arca-subheading {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: var(--space-6) 0 var(--space-4) 0;
    font-family: var(--heading-font);
}

.arca-project-name {
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--text-primary);
    margin: var(--space-4) 0;
    padding: var(--space-4);
    background: var(--background);
    border-left: 4px solid var(--primary);
    border-radius: var(--border-radius);
    font-style: italic;
}

.arca-thanks {
    text-align: center;
    font-size: 1.2rem;
    margin: var(--space-6) 0;
    color: var(--text-primary);
}

.arca-team-list {
    list-style: none;
    padding-left: 0;
    margin: var(--space-4) 0;
}

.arca-team-list > li {
    margin-bottom: var(--space-4);
    padding-left: var(--space-4);
}

.arca-team-list > li > ul {
    list-style: disc;
    margin-top: var(--space-2);
    margin-left: var(--space-6);
    padding-left: var(--space-4);
}

.arca-team-list > li > ul > li {
    margin-bottom: var(--space-2);
}

.about-content {
    background: var(--surface);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    padding: var(--space-10);
    margin-top: var(--space-6);
    border: 1px solid var(--border-light);
}

.about-content h2 {
    font-family: var(--heading-font);
    color: var(--text-primary);
    font-size: 2rem;
    margin-bottom: var(--space-8);
    text-align: center;
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.2;
}

.about-content p {
    margin-bottom: var(--space-5);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-primary);
}

.about-content h3 {
    font-family: var(--heading-font);
    color: var(--secondary);
    font-size: 1.25rem;
    margin: var(--space-8) 0 var(--space-4) 0;
    font-weight: 600;
    letter-spacing: -0.025em;
}

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

.main-footer {
    background: linear-gradient(135deg, var(--text-primary) 0%, #374151 100%);
    color: var(--text-inverse);
    padding: var(--space-12) 0 var(--space-8) 0;
    margin-top: var(--space-16);
    box-shadow: var(--shadow-lg);
}

.footer-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-6);
    text-align: center;
    font-size: 0.95rem;
    letter-spacing: 0.025em;
    opacity: 0.9;
}

@media (max-width: 1024px) {
    .main-content {
        padding: var(--space-8) var(--space-4) 0 var(--space-4);
    }
    .card-container {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: var(--space-6);
    }
    .main-header {
        padding: var(--space-16) var(--space-4) var(--space-12) var(--space-4);
    }
    body.main-data-section .main-header {
        min-height: calc(100vh - 120px);
    }
    .main-header h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .navbar-container {
        grid-template-columns: 1fr;
        gap: var(--space-4);
        padding: var(--space-4);
    }
    .navbar-brand {
        text-align: center;
    }
    .language-switcher {
        order: 2;
        justify-content: center;
        width: 100%;
    }
    .navbar-links {
        order: 1;
        gap: var(--space-1);
        width: 100%;
        justify-content: center;
    }
    .navbar-links a {
        font-size: 0.9rem;
        padding: var(--space-3) var(--space-4);
        margin: var(--space-1) 0;
        width: 100%;
        text-align: center;
        border-radius: var(--border-radius);
    }
    .lang-switch-btn {
        flex: 1;
        justify-content: center;
        min-width: 50px;
    }
    .arca-content {
        padding: var(--space-6) var(--space-4);
        margin: var(--space-4) auto;
    }
    .arca-poster-container {
        max-width: 100%;
    }
    .arca-text-content h2 {
        font-size: 2.5rem;
    }
    .arca-text-content h2[data-key="arca-title"] {
        font-size: 3rem;
    }
    .arca-text-content h2[data-key="arca-innovation"] {
        font-size: 2.75rem;
    }
    .arca-text-content h3 {
        font-size: 1.25rem;
    }
    .arca-date {
        font-size: 1.25rem;
    }
    .arca-location {
        font-size: 1.1rem;
    }
    .arca-article-content {
        margin-top: var(--space-6);
        padding-top: var(--space-6);
    }
    .arca-section-title {
        font-size: 1.5rem;
    }
    .arca-intro-subtitle {
        font-size: 1rem;
    }
    .arca-article-text {
        font-size: 1rem;
        text-align: left;
    }
    .arca-subheading {
        font-size: 1.2rem;
    }
    .arca-project-name {
        font-size: 1rem;
        padding: var(--space-3);
    }
    .arca-thanks {
        font-size: 1.1rem;
    }
    body.main-data-section .main-header {
        min-height: calc(100vh - 140px);
    }
    .main-header h1 {
        font-size: 2rem;
    }
    .subtitle {
        font-size: 1rem;
    }
    .main-content {
        padding: var(--space-6) var(--space-3) 0 var(--space-3);
        box-sizing: border-box;
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
    }
    .card-container {
        grid-template-columns: 1fr;
        gap: var(--space-4);
        padding: var(--space-2) 0 var(--space-4) 0;
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
        justify-items: center;
    }
    .card {
        padding: var(--space-6);
        box-sizing: border-box;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
        font-size: 0.9rem;
        border-radius: var(--border-radius-lg);
        box-shadow: var(--shadow);
        background: var(--surface);
    }
    .card-header h2 {
        font-size: 1.125rem;
        font-weight: 600;
        letter-spacing: -0.025em;
        margin-bottom: var(--space-1);
    }
    .card-header {
        margin-bottom: var(--space-4);
        padding-bottom: var(--space-3);
    }
    .card-section h3 {
        font-size: 0.9rem;
        margin-bottom: var(--space-2);
        padding-bottom: var(--space-1);
    }
    .card-section p, .card-remark {
        font-size: 0.9rem;
    }
    .card-example {
        font-size: 0.85rem;
        padding: var(--space-3);
    }
    .lang-flag {
        width: 16px;
        height: 12px;
    }
    .about-content {
        padding: var(--space-6) var(--space-4);
        margin: var(--space-4) 0;
    }
    .about-content h2 {
        font-size: 1.5rem;
    }
    .about-content h3 {
        font-size: 1.125rem;
    }
    .about-content p {
        font-size: 0.9rem;
    }
    body, html {
        overflow-x: hidden !important;
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.lang-flag {
    width: 20px;
    height: 15px;
    object-fit: cover;
    border-radius: 3px;
    box-shadow: var(--shadow-sm);
    display: block;
    margin: 0;
    transition: transform var(--transition-fast);
}