:root {
    --bg: #0b1220;
    --card: rgba(255, 255, 255, 0.06);
    --text: rgba(255, 255, 255, 0.92);
    --muted: rgba(255, 255, 255, 0.72);
    --border: rgba(255, 255, 255, 0.12);
    --brand: #4f8cff;
    --brand2: #22c55e;
    --shadow: 0 18px 60px rgba(0, 0, 0, 0.45);
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
    color: var(--text);
    background: radial-gradient(1000px 520px at 20% 10%, rgba(79, 140, 255, 0.32), transparent 60%),
                radial-gradient(920px 520px at 80% 0%, rgba(34, 197, 94, 0.22), transparent 55%),
                linear-gradient(180deg, #070b14 0%, #0b1220 100%);
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    min-height: 100vh;
}

a { color: inherit; text-decoration: none; }

.container {
    width: 100%;
    margin: 0 auto;
    padding: 0 24px;
}

.topbar {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 30;
    backdrop-filter: blur(14px);
    background: rgba(7, 11, 20, 0.92);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

/* 首页透明导航栏 */
.topbar.transparent {
    position: absolute;
    backdrop-filter: blur(0px);
    background: transparent;
    border-bottom: 1px solid transparent;
    box-shadow: none;
}

.topbar.transparent:hover {
    backdrop-filter: blur(14px);
    background: rgba(7, 11, 20, 0.92);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.topbar.transparent .navlinks a {
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.topbar.transparent .brand .name strong,
.topbar.transparent .brand .name span {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.topbar.transparent .brand .name span {
    color: rgba(255, 255, 255, 0.9);
}

.topbar.transparent:hover .navlinks a {
    color: var(--muted);
    text-shadow: none;
}

.topbar.transparent:hover .brand .name strong,
.topbar.transparent:hover .brand .name span {
    text-shadow: none;
}

.topbar.transparent:hover .brand .name span {
    color: var(--muted);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 16px 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 280px;
}

.brand img {
    width: 52px;
    height: 52px;
    object-fit: contain;
    border-radius: 12px;
}

.brand .name {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.brand .name strong {
    font-size: 17px;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.brand .name span {
    font-size: 15px;
    color: var(--muted);
    margin-top: 2px;
}

.navlinks {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
}

.navlinks a {
    font-size: 16px;
    font-weight: 600;
    color: var(--muted);
    padding: 10px 16px;
    border-radius: 10px;
    border: 1px solid transparent;
    transition: all 0.2s ease;
}

.navlinks a:hover {
    color: var(--text);
    border-color: var(--border);
    background: rgba(255, 255, 255, 0.06);
}

.navlinks a.is-active {
    color: var(--text);
    border-color: rgba(79, 140, 255, 0.4);
    background: rgba(79, 140, 255, 0.12);
}

/* 汉堡菜单按钮 */
.menuToggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 40;
    -webkit-tap-highlight-color: transparent;
    -webkit-appearance: none;
    appearance: none;
}

.menuToggle span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--text);
    border-radius: 3px;
    transition: all 0.3s ease;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.menuToggle.active span:nth-child(1) {
    transform: translateY(10.5px) rotate(45deg);
    -webkit-transform: translateY(10.5px) rotate(45deg);
}

.menuToggle.active span:nth-child(2) {
    opacity: 0;
}

.menuToggle.active span:nth-child(3) {
    transform: translateY(-10.5px) rotate(-45deg);
    -webkit-transform: translateY(-10.5px) rotate(-45deg);
}

.topbar.transparent .menuToggle span {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.topbar.transparent:hover .menuToggle span {
    background: var(--text);
    box-shadow: none;
}

.topbar.menuOpen .menuToggle span {
    background: rgba(255, 255, 255, 0.95);
}

.hero {
    padding: 54px 0 30px;
}

.heroGrid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 18px;
    align-items: stretch;
}

.panel {
    border: 1px solid var(--border);
    background: var(--card);
    border-radius: 18px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.heroMain {
    padding: 28px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.86);
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.04);
    border-radius: 999px;
}

.heroMain h1 {
    margin: 14px 0 10px;
    font-size: clamp(28px, 3.2vw, 44px);
    letter-spacing: 0.2px;
    line-height: 1.18;
}

.heroMain p {
    margin: 0;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.8;
    max-width: 64ch;
}

.ctaRow {
    margin-top: 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    font-size: 15px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btnPrimary {
    background: linear-gradient(135deg, rgba(79, 140, 255, 0.95), rgba(34, 197, 94, 0.78));
    border-color: rgba(255, 255, 255, 0.14);
    box-shadow: 0 4px 12px rgba(79, 140, 255, 0.3);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.btnPrimary:hover {
    box-shadow: 0 6px 20px rgba(79, 140, 255, 0.5);
}

.heroSide {
    padding: 18px;
    display: grid;
    gap: 12px;
}

.stat {
    padding: 14px 14px;
    border-radius: 16px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.04);
    transition: all 0.2s ease;
}

.stat:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.18);
}

.stat .k {
    display: block;
    font-size: 14px;
    color: var(--muted);
}

.stat .v {
    display: block;
    margin-top: 6px;
    font-size: 17px;
    font-weight: 700;
}

section {
    padding: 18px 0;
}

.sectionTitle {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 14px;
    margin: 0 0 10px;
}

.sectionTitle h2 {
    margin: 0;
    font-size: 18px;
    letter-spacing: 0.2px;
}

.sectionTitle span {
    margin: 0;
    font-size: 14px;
    color: var(--muted);
}

.grid3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.grid2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.card {
    padding: 16px;
    border-radius: 18px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.04);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.card:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.2);
}

.card h3 {
    margin: 0 0 8px;
    font-size: 16px;
}

.card p {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.8;
}

.list {
    margin: 0;
    padding-left: 18px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.9;
}

.list li { 
    margin: 6px 0;
    transition: color 0.2s ease;
}

.list li:hover {
    color: var(--text);
}

.tagRow {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.tag {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.82);
    font-size: 14px;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.tag:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.gallery {
    margin-top: 24px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.gallery img {
    width: 100%;
    height: 350px;
    object-fit: contain;
    border-radius: 16px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.twoCol {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 14px;
    align-items: start;
}

.table {
    width: 100%;
    border-collapse: collapse;
    overflow: hidden;
    border-radius: 16px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.02);
}

.table th, .table td {
    padding: 12px 12px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    vertical-align: top;
    font-size: 15px;
    line-height: 1.6;
}

.table th {
    width: 160px;
    color: rgba(255, 255, 255, 0.82);
    background: rgba(255, 255, 255, 0.05);
    font-weight: 600;
}

.table td { color: var(--muted); }

.table tr:last-child th, .table tr:last-child td { border-bottom: 0; }

.table tr:hover {
    background: rgba(255, 255, 255, 0.03);
}

.footer {
    padding: 28px 0 40px;
    color: var(--muted);
    border-top: 1px solid var(--border);
    margin-top: 18px;
}

.footerRow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.mini { font-size: 14px; }

.pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.04);
    font-size: 14px;
    color: var(--muted);
}

/* iframe layout */
.iframeWrap {
    width: 100%;
    height: calc(100vh - 88px);
}

.topbar.transparent + .iframeWrap {
    height: 100vh;
    margin-top: -88px;
}

.iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

@media (max-width: 960px) {
    .heroGrid { grid-template-columns: 1fr; }
    .grid3 { grid-template-columns: 1fr; }
    .grid2 { grid-template-columns: 1fr; }
    .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .twoCol { grid-template-columns: 1fr; }
    .brand { min-width: unset; }
    .brand img { width: 44px; height: 44px; }
    .brand .name strong { font-size: 15px; }
    
    /* 移动端导航栏滚动效果 */
    .topbar {
        background: transparent !important;
        backdrop-filter: blur(0px) !important;
        border-bottom: 1px solid transparent !important;
        box-shadow: none !important;
        transition: all 0.3s ease;
    }
    
    .topbar.scrolled {
        background: rgba(0, 7, 26, 0.8) !important;
        backdrop-filter: blur(14px) !important;
        border-bottom: 1px solid var(--border) !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
    }
    
    /* 菜单展开时导航栏背景 */
    .topbar.menuOpen {
        background: rgba(0, 7, 26, 0.95) !important;
        backdrop-filter: blur(14px) !important;
        border-bottom: 1px solid var(--border) !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
    }
    
    /* 移动端菜单 */
    .menuToggle {
        display: flex !important;
        visibility: visible !important;
    }
    
    .nav {
        position: relative;
    }
    
    .navlinks {
        position: fixed;
        top: 88px;
        left: 0;
        right: 0;
        flex-direction: column;
        background: rgba(0, 7, 26, 0.98);
        backdrop-filter: blur(20px);
        padding: 20px 0;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: all 0.3s ease;
        border-bottom: 1px solid transparent;
        box-shadow: none;
    }
    
    .navlinks.active {
        max-height: 600px;
        opacity: 1;
        border-bottom: 1px solid var(--border);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    }
    
    .navlinks a {
        width: 100%;
        padding: 16px 24px;
        border-radius: 0;
        border: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        font-size: 15px;
        color: rgba(255, 255, 255, 0.9);
        text-align: left;
        position: relative;
    }
    
    .navlinks a::after {
        content: '›';
        position: absolute;
        right: 24px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 24px;
        color: var(--muted);
        transition: all 0.2s ease;
    }
    
    .navlinks a:hover {
        background: rgba(255, 255, 255, 0.08);
        border-color: rgba(255, 255, 255, 0.05);
    }
    
    .navlinks a:hover::after {
        right: 20px;
        color: var(--brand);
    }
    
    .navlinks a.is-active {
        background: rgba(79, 140, 255, 0.15);
        color: #fff;
        border-color: rgba(79, 140, 255, 0.3);
    }
    
    .navlinks a.is-active::after {
        color: var(--brand);
    }
    
    .topbar.transparent .navlinks {
        background: rgba(0, 7, 26, 0.98);
    }
    
    .topbar.transparent .navlinks a {
        color: rgba(255, 255, 255, 0.9);
        text-shadow: none;
    }
    
    .iframeWrap { height: calc(100vh - 140px); }
    .heroMain h1 { font-size: 28px; }
    .nav { flex-direction: row; align-items: center; padding: 18px 0; }
}

@media (max-width: 640px) {
    .gallery { grid-template-columns: 1fr; }
    .gallery img { height: 220px; }
    .container { padding: 0 16px; }
    .heroMain { padding: 20px; }
    .stat { padding: 12px; }
    .brand img { width: 40px; height: 40px; }
    .brand .name strong { font-size: 14px; }
    .brand .name span { font-size: 11px; }
    
    .navlinks {
        top: 76px;
    }
    
    .navlinks a {
        padding: 14px 20px;
        font-size: 14px;
    }
}


/* 额外的视觉增强 */
.sectionTitle h2 {
    position: relative;
    display: inline-block;
}

.sectionTitle h2::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 40%;
    height: 2px;
    background: linear-gradient(90deg, var(--brand), transparent);
}

.card h3 {
    position: relative;
    padding-bottom: 8px;
}

.card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--brand2);
    border-radius: 2px;
}

/* 加载动画 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card, .panel {
    animation: fadeIn 0.4s ease-out;
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* 选中文本样式 */
::selection {
    background: rgba(79, 140, 255, 0.4);
    color: var(--text);
}


/* 页面头部横幅 */
.pageBanner {
    position: relative;
    width: 100%;
    height: 550px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
}

.pageBanner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(7, 11, 20, 0.3) 0%, rgba(7, 11, 20, 0.6) 100%);
    z-index: 1;
}

.pageBannerImage {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.pageBannerContent {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    padding: 0 24px;
}

.pageBannerTitle {
    font-size: 48px;
    font-weight: 700;
    margin: 0 0 12px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

.pageBannerSubtitle {
    font-size: 18px;
    margin: 0;
    opacity: 0.95;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

@media (max-width: 768px) {
    .pageBanner {
        height: 280px;
        margin-bottom: 30px;
    }
    
    .pageBannerTitle {
        font-size: 32px;
    }
    
    .pageBannerSubtitle {
        font-size: 14px;
    }
}
