:root {
    --color-text: #2c2c2c;
    --color-text-muted: #6b7280;
    --color-text-soft: #4b5563;
    --color-surface: #ffffff;
    --color-surface-alt: #f5f5f5;
    --color-background: #fafafa;
    --color-border: #e5e7eb;
    --color-primary: #6366f1;
    --color-primary-dark: #4f46e5;
    --color-accent: #f47264;
    --shadow-soft: 0 8px 16px rgba(0, 0, 0, 0.05);
    --shadow-card: 0 10px 25px rgba(99, 102, 241, 0.1);
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --container-width: 1140px;
    --header-height: 100px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding-top: var(--header-height);
    background-color: var(--color-background);
    color: var(--color-text);
    font-family: "Inter", sans-serif;
    line-height: 1.6;
    opacity: 0;
    transition: opacity 0.32s ease;
}

body.is-ready {
    opacity: 1;
}

body.is-transitioning {
    opacity: 0;
}

main,
section,
article,
header,
footer,
nav,
div {
    min-width: 0;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
blockquote {
    margin: 0 0 1.25rem;
}

ul,
ol {
    padding-left: 1.25rem;
}

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

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

.container {
    width: min(100%, var(--container-width));
    margin: 0 auto;
    padding: 0 1rem;
}

.header {
    position: fixed;
    inset: 0 0 auto;
    height: var(--header-height);
    background: var(--color-surface);
    z-index: 1000;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.header-container {
    display: flex;
    justify-content: center;
    height: 100%;
}

.nav-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    width: min(100%, 1200px);
    margin: 0 auto;
    padding: 0 1rem;
}

.logo {
    margin: 0;
}

.logoImage {
    width: auto;
    height: auto;
    max-height: 150px;
}

.nav {
    display: flex;
    flex-wrap: nowrap;
    gap: 1.5rem;
    align-items: center;
    justify-content: center;
}

.nav a {
    margin: 0;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.nav a:hover {
    color: var(--color-primary);
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: 0;
    border-radius: var(--radius-md);
    background-color: var(--color-primary);
    color: var(--color-surface);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

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

.page-title {
    margin-top: 3rem;
    text-align: center;
    font-size: 2.25rem;
    font-weight: 700;
}

.section-separator {
    width: 60px;
    height: 4px;
    margin: 1rem auto 3rem;
    border: 0;
    border-radius: 999px;
    background-color: var(--color-primary);
    opacity: 0.6;
}

.footer {
    padding: 2rem 1rem;
    background-color: var(--color-surface-alt);
    color: var(--color-text-muted);
    text-align: center;
    font-size: 0.9rem;
}

table {
    width: 100%;
    margin: 2rem 0;
    border-collapse: collapse;
    background-color: var(--color-surface);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

table thead {
    background-color: #f3f4f6;
    color: #1f2937;
}

table th,
table td {
    padding: 1rem;
    border-bottom: 1px solid var(--color-border);
    text-align: left;
    vertical-align: top;
}

table tr:last-child td {
    border-bottom: 0;
}

@media (max-width: 768px) {
    :root {
        --header-height: 88px;
    }

    .header {
        height: auto;
        min-height: var(--header-height);
    }

    .header-container {
        height: auto;
        padding: 0.75rem 0;
    }

    .nav-group {
        justify-content: center;
        gap: 1rem;
    }

    .logoImage {
        max-height: 56px;
    }

    .nav {
        justify-content: center;
        flex-wrap: wrap;
    }

    .page-title {
        font-size: 1.9rem;
    }

    .footer {
        padding: 1.5rem 1rem;
        font-size: 0.85rem;
    }

    table,
    thead,
    tbody,
    th,
    td,
    tr {
        display: block;
    }

    table thead {
        display: none;
    }

    table tr {
        margin-bottom: 1rem;
        padding: 1rem;
        background: var(--color-surface);
        border-radius: 0.5rem;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    }

    table td {
        padding: 0.5rem 0;
        position: relative;
    }

    table td::before {
        content: attr(data-label);
        display: block;
        margin-bottom: 0.25rem;
        color: var(--color-text-muted);
        font-weight: 700;
    }
}
