/* ===== Reset & Base ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    color: #333;
    background: #fff;
    line-height: 1.8;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* ===== CSS Variables ===== */
:root {
    --blue: #0052d9;
    --blue-light: #e8f0fe;
    --blue-dark: #003bab;
    --gray-bg: #f5f5f7;
    --gray-line: #e5e5e5;
    --gray-text: #666;
    --dark: #1a1a1a;
    --white: #fff;
    --header-h: 64px;
    --section-pad: 60px;
}

/* ===== TOP NAV ===== */
.top-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-h);
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-line);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 48px;
}

.nav-logo {
    font-size: 22px;
    font-weight: 700;
    color: var(--blue);
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-logo .logo-icon {
    width: 36px;
    height: 36px;
    /*background: var(--blue);*/
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    font-weight: 900;
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-links > li > a {
    font-size: 15px;
    color: #333;
    padding: 4px 0;
    border-bottom: 2px solid transparent;
    transition: color 0.2s, border-color 0.2s;
}

.nav-links > li > a:hover,
.nav-links > li > a.active {
    color: var(--blue);
    border-bottom-color: var(--blue);
}

.nav-lang {
    display: flex;
    gap: 12px;
    font-size: 13px;
    color: var(--gray-text);
}

.nav-lang a:hover {
    color: var(--blue);
}

/* ===== SIDEBAR (sub-nav) ===== */
.sidebar {
    position: fixed;
    left: 0;
    top: var(--header-h);
    width: 240px;
    height: calc(100vh - var(--header-h));
    background: var(--white);
    border-right: 1px solid var(--gray-line);
    padding: 32px 0;
    overflow-y: auto;
    z-index: 900;
}

.sidebar-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    padding: 0 24px 16px;
    border-bottom: 1px solid var(--gray-line);
    margin-bottom: 12px;
}

.sidebar ul li a {
    display: block;
    font-size: 14px;
    color: #555;
    padding: 12px 24px;
    border-left: 3px solid transparent;
    transition: all 0.2s;
}

.sidebar ul li a:hover,
.sidebar ul li a.active {
    color: var(--blue);
    border-left-color: var(--blue);
    background: var(--blue-light);
}

/* ===== MAIN CONTENT ===== */
.main-content {
    margin-left: 0px;
    padding-top: var(--header-h);
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
    background: var(--gray-bg);
    padding: 16px 48px;
    font-size: 14px;
    color: var(--gray-text);
    display: flex;
    gap: 8px;
    align-items: center;
}

.breadcrumb a {
    transition: color 0.2s;
}

.breadcrumb a:hover {
    color: var(--blue);
}

.breadcrumb span {
    color: #999;
}

/* ===== STATEMENT SECTIONS ===== */
.statement-container {
    max-width: 1000px;
    padding: 48px;
}

.page-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 32px;
    position: relative;
    padding-bottom: 12px;
}

.page-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 48px;
    height: 4px;
    background: var(--blue);
    border-radius: 2px;
}

.statement-section {
    margin-bottom: 48px;
    scroll-margin-top: 100px;
}

.section-heading {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-heading::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 18px;
    background: var(--blue);
    border-radius: 2px;
}

.section-content {
    color: #444;
    font-size: 15px;
    line-height: 1.8;
}

.section-content p {
    margin-bottom: 16px;
}

.laws-list {
    padding-left: 20px;
    list-style-type: disc;
}

.laws-list li {
    margin-bottom: 12px;
    color: var(--dark);
    font-weight: 500;
}

.laws-list li a {
    transition: color 0.2s;
}

.laws-list li a:hover {
    text-decoration: underline;
    color: var(--blue-dark);
}

/* ===== FOOTER ===== */
.site-footer {
    background: #1a1a1a;
    color: rgba(255, 255, 255, 0.6);
    padding: 48px 48px 32px;
    margin-left: 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand .brand-name {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.8;
}

.footer-col h4 {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.2s;
}

.footer-col ul li a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 24px;
    font-size: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-legal {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.4);
    transition: color 0.2s;
}

.footer-legal a:hover {
    color: rgba(255, 255, 255, 0.8);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .sidebar {
        display: none;
    }

    .main-content {
        margin-left: 0;
    }

    .statement-container {
        padding: 32px 20px;
    }

    .breadcrumb {
        padding: 16px 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .top-nav {
        padding: 0 20px;
    }

    .nav-links {
        display: none;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .page-title {
        font-size: 26px;
    }

    .section-heading {
        font-size: 18px;
    }
}
