:root {
    --brand-orange: #ff9400;
    --brand-orange-dim: rgba(255, 148, 0, 0.1);
    --text-main: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.7);
    --bg-dark: #0a0a0a;
    --bg-card: rgba(255, 255, 255, 0.03);
    --border-light: rgba(255, 255, 255, 0.1);
    --font-main: 'Space Grotesk', 'Noto Sans SC', sans-serif;
    --ease-out: cubic-bezier(0.215, 0.61, 0.355, 1);
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    background-image:
        radial-gradient(circle at 20% 20%, rgba(255, 148, 0, 0.15), transparent 40%),
        radial-gradient(circle at 80% 0%, rgba(255, 148, 0, 0.1), transparent 50%),
        linear-gradient(to bottom, rgba(5, 5, 5, 0.85), rgba(5, 5, 5, 0.95)),
        var(--bg-image);
    background-size: 100% auto, 100% auto, cover, cover;
    background-attachment: fixed;
    background-position: top center;
    background-repeat: no-repeat;
}

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

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

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.5em;
}

p {
    margin-bottom: 1em;
}

/* Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 999px;
    font-weight: 600;
    transition: transform 0.2s var(--ease-out), opacity 0.2s;
    cursor: pointer;
    border: none;
}

.btn:active {
    transform: scale(0.96);
}

.btn-primary {
    background-color: var(--brand-orange);
    color: #000;
}

.btn-outline {
    border: 1px solid var(--border-light);
    background: transparent;
    color: var(--text-main);
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-light);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    padding: 0 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.brand-lockup {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1.1rem;
}

.brand-lockup img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.primary-nav {
    display: none;
}

.nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--text-main);
    transition: 0.3s;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 64px;
    left: 0;
    width: 100%;
    height: calc(100vh - 64px);
    background: var(--bg-dark);
    padding: 2rem;
    transform: translateX(100%);
    transition: transform 0.3s var(--ease-out);
    z-index: 99;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.mobile-menu.is-open {
    transform: translateX(0);
}

.mobile-menu a {
    font-size: 1.5rem;
    font-weight: 700;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 1rem;
}

/* Desktop Nav */
@media (min-width: 768px) {
    .nav-toggle {
        display: none;
    }

    .primary-nav {
        display: flex;
        gap: 2rem;
        align-items: center;
    }

    .primary-nav a {
        font-weight: 500;
        opacity: 0.8;
        transition: opacity 0.2s;
    }

    .primary-nav a:hover {
        opacity: 1;
        color: var(--brand-orange);
    }

    .primary-nav .btn:hover {
        color: #000;
        opacity: 0.9;
    }
}

/* Footer */
.site-footer {
    padding: 3rem 1.5rem;
    border-top: 1px solid var(--border-light);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    animation: fadeIn 0.6s var(--ease-out) forwards;
}

/* Responsive Data Table */
.data-table-container {
    border: 1px solid var(--border-light);
    border-radius: 16px;
    background: var(--bg-card);
    overflow: hidden;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th,
.data-table td {
    padding: 1rem;
    text-align: left;
}

.data-table th {
    background: rgba(255, 148, 0, 0.1);
    color: var(--brand-orange);
    font-weight: 600;
}

.data-table tr:not(:last-child) {
    border-bottom: 1px solid var(--border-light);
}

@media (max-width: 768px) {
    .data-table thead {
        display: none;
    }

    .data-table,
    .data-table tbody,
    .data-table tr,
    .data-table td {
        display: block;
        width: 100%;
    }

    .data-table tr {
        margin-bottom: 1rem;
        border-bottom: 1px solid var(--border-light);
        padding: 1rem;
        background: rgba(255, 255, 255, 0.02);
        border-radius: 12px;
    }

    .data-table-container {
        background: transparent;
        border: none;
    }

    .data-table tr:last-child {
        margin-bottom: 0;
    }

    .data-table td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.5rem 0;
        text-align: right;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .data-table td:last-child {
        border-bottom: none;
    }

    .data-table td::before {
        content: attr(data-label);
        font-weight: 600;
        color: var(--text-muted);
        text-align: left;
        margin-right: 1rem;
    }
}

/* Ensure strict right alignment for table values on mobile */
@media (max-width: 768px) {
    .data-table td .value {
        text-align: right;
        flex: 1;
        padding-left: 1rem;
        /* Ensure space between label and value */
    }
}