/* --- 1. 全局设计系统 (深空极光风格) --- */
:root {
    --bg-color: #0B0E14;
    --bg-card: #15151A;
    --border-light: rgba(255, 255, 255, 0.08);
    --primary-gradient: linear-gradient(135deg, #667EEA 0%, #764BA2 100%);
    --accent-purple: #3b82f6;
    --accent-blue: #60A5FA;
    --text-main: #FFFFFF;
    --text-secondary: #94A3B8;
    --radius-card: 24px;
    --radius-btn: 8px;
    --navbar-height: 80px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: 'Inter', 'Noto Sans SC', sans-serif;
    overflow-x: hidden;
    padding-top: var(--navbar-height);
}

a {
    text-decoration: none;
    color: inherit;
  
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 60px 0;
}

/* Section 标题样式 */
.section-tag {
    color: var(--accent-purple);
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 13px;
    margin-bottom: 15px;
    display: block;
}

.section-title {
    font-size: 40px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 20px;
}

/* 按钮样式 */
.btn-outline {
    padding: 12px 32px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    border-radius: var(--radius-btn);
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.btn-outline:hover {
    border-color: white;
    background: white;
    color: #0B0E14;
}

/* 统一导航栏样式 */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 0;
    background: rgba(11, 14, 20, 0.85);
    backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    height: 80px;
    display: flex;
    align-items: center;
}

.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: white;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 40px;
    align-items: center;
    flex-wrap: nowrap;
    white-space: nowrap;
}

.nav-links a,
.dropbtn {
    font-size: 15px;
    color: var(--text-secondary);
    font-weight: 500;
    text-decoration: none;
    display: flex;
    align-items: center;
    /* height: 100%; */
}

.nav-links a:hover,
.dropbtn:hover {
    color: var(--text-main);
}

/* 导航栏悬停效果 */
.nav-links a::after,
.dropbtn::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: var(--accent-purple);
    /* transition: width 0.3s; */
    /* margin-top: 2px; */
}

.nav-links a:hover::after,
.dropbtn:hover::after {
    width: 100%;
}

/* 下拉菜单样式 */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #0b0e14;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1001;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
}

.dropdown-content a {
    color: #9ca3af;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
    font-size: 14px;
    transition: all 0.3s ease;
}

.dropdown-content a:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: white;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown:hover .dropbtn::after {
    width: 100%;
}

/* 按钮样式 */
.btn-primary {
    padding: 12px 32px;
    background: #2563eb;
    color: white;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    background: #1d4ed8;
}

/* --- Header: 矩阵概览 --- */
.matrix-header {
    height: 330px;
    min-height: 330px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: url('../images/pat.png') center/cover no-repeat, radial-gradient(circle at 50% 0%, rgba(118, 75, 162, 0.2) 0%, transparent 60%);
    padding-top: 60px;
    position: relative;
    overflow: hidden;
}

.header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(14, 14, 18, 0.7);
    /* 半透明黑色遮罩 */
    z-index: 1;
}

.matrix-header .container {
    position: relative;
    z-index: 2;
}

.matrix-header h1 {
    font-size: 56px;
    margin-bottom: 20px;
    font-weight: 800;
    line-height: 1.1;
}

.matrix-header p {
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 60px;
    font-size: 18px;
    line-height: 1.6;
}





/* --- 矩阵价值 (Why Self-Operated) --- */
.value-section {
    background: linear-gradient(to top, #0B0E14, #12141a);
    border-top: 1px solid var(--border-light);
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.value-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-light);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: 0.3s;
}

.value-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: #60A5FA;
    transform: translateY(-5px);
}

.value-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--accent-purple);
}

.value-card h4 {
    font-size: 20px;
    color: white;
    margin-bottom: 10px;
}

.value-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Footer */
footer {
    background: #000;
    padding: 60px 0;
    border-top: 1px solid var(--border-light);
    text-align: center;
    color: #666;
    font-size: 12px;
}

/* 新增的底部边栏样式 */
.bottomSidebar {
    background: #000;
    color: #FFF;
    padding: 50px;
    margin-top: 50px;
}

.bottomSidebar .bottomSidebar-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #FFF;
    width: 1220px;
    padding: 30px 0;
    margin: 0 auto 30px auto;
}

.bottomSidebar .bottomSidebar-top .top-item {
    display: flex;
    justify-content: center;
    align-items: center;
    color: #94a3b8;
    transition: color 0.3s ease;
}

.bottomSidebar .bottomSidebar-top .top-item img {
    width: 40px;
}

.bottomSidebar .bottomSidebar-top .top-item:hover {
    color: #ffffff;
}

.bottomSidebar .bottomSidebar-flex {
    width: 1220px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
}

.bottomSidebar .bottomSidebar-flex .logo .logo-img {
    width: 200px;
}

.bottomSidebar .bottomSidebar-flex .logo .logo-box {
    display: flex;
    align-items: flex-start;
    margin-top: 20px;
}

.bottomSidebar .bottomSidebar-flex .logo .logo-box img {
    margin-right: 10px;
    margin-top: 10px;
}

.bottomSidebar .bottomSidebar-flex .util-list {
    color: #FFF;
    line-height: 40px;
    margin-left: 40px;
}

.bottomSidebar .bottomSidebar-flex .util-list h1 {
  margin-bottom: 12px;
    line-height: 16px;
    font-size: 18px;
    font-weight: 700;
    white-space: nowrap;
}

.bottomSidebar .bottomSidebar-flex .util-list .item {
  line-height: 32px;
    color: #94a3b8;

    cursor: pointer;
}

.bottomSidebar .bottomSidebar-flex .util-list .item:hover {
    color: #FFF;
}

.bottomSidebar .bottomSidebar-flex .info {
    margin-left: 40px;
    line-height: 40px;
}

.bottomSidebar .bottomSidebar-flex .info h1 {
  margin-bottom: 12px;
    line-height: 16px;
    font-size: 16px;
    font-weight: 700;
    white-space: nowrap;
}

.bottomSidebar .bottomSidebar-flex .info p {
    display: flex;
    align-items: center;
}

.bottomSidebar .bottomSidebar-flex .info p img {
    width: 30px;
    margin-right: 5px;
}

.bottomSidebar .bottomSidebar-flex .info .qrcode {
    display: flex;
    text-align: center;
    margin-top: 9px;
}

.bottomSidebar .bottomSidebar-flex .info .qrcode .qrcode-item {
    text-align: center;
    margin-right: 40px;
}

.bottomSidebar .bottomSidebar-flex .info .qrcode .qrcode-item img {
    width: 90px;
}

.bottomSidebar .bottomSidebar-flex .info .qrcode .qrcode-item div {
    margin-top: -12px;
}

.bottomSidebar .copyright {
    text-align: center;
    font-size: 13px;
    margin-top: 20px;
}

/* Responsive styles */
@media screen and (max-width: 767px) {
    .bottomSidebar {
        padding: 30px 20px;
    }

    .bottomSidebar .bottomSidebar-top {
        width: 100%;
        flex-direction: column;
        gap: 20px;
        padding: 20px 0;
    }

    .bottomSidebar .bottomSidebar-flex {
        width: 100%;
        flex-direction: column;
        gap: 30px;
    }

    .bottomSidebar .bottomSidebar-flex .logo,
    .bottomSidebar .bottomSidebar-flex .util-list,
    .bottomSidebar .bottomSidebar-flex .info {
        width: 100%;
    }

    .bottomSidebar .bottomSidebar-flex .util-list {
        margin-left: 0;
    }

    .bottomSidebar .bottomSidebar-flex .info {
        margin-left: 0;
    }

    .bottomSidebar .bottomSidebar-flex .info .qrcode {
        justify-content: center;
        flex-wrap: wrap;
    }

    .bottomSidebar .bottomSidebar-flex .info .qrcode .qrcode-item {
        margin-right: 20px;
        margin-left: 20px;
    }

    .bottomSidebar .bottomSidebar-flex .info .qrcode .qrcode-item img {
        width: 90px;
    }
}

@media (max-width: 900px) {
    .value-grid {
        grid-template-columns: 1fr;
    }
}