/* 核心变量 */
:root {
    --gold: #D4AF37;
    --dark-gold: #C5A028;
    --pale-gold: #E6BE8A;
    --black: #0a0a0a;
    --dark-gray: #121212;
    --light-gray: #1f1f1f;
    --text-white: #f5f5f5;
    --text-muted: #a0a0a0;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica Neue', Helvetica, Arial, 'Microsoft YaHei', sans-serif;
    background-color: var(--black);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 网格布局 */
.grid {
    display: grid;
    gap: 30px;
}

.col-2 { grid-template-columns: repeat(2, 1fr); }
.col-3 { grid-template-columns: repeat(3, 1fr); }
.col-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 992px) {
    .grid.col-3, .grid.col-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .grid.col-2, .grid.col-3, .grid.col-4 { grid-template-columns: 1fr; }
}

/* 按钮 */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn-gold {
    background-color: var(--gold);
    color: var(--black);
}

.btn-gold:hover {
    background-color: var(--pale-gold);
    transform: translateY(-2px);
}

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

.btn-outline:hover {
    background: var(--gold);
    color: var(--black);
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    background: transparent;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.95);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
    border-bottom: 1px solid var(--gold);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 28px;
    font-weight: 800;
    color: var(--gold);
    letter-spacing: 1px;
}

.logo span {
    color: var(--text-white);
    font-weight: 400;
    font-size: 18px;
    margin-left: 5px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-white);
}

.nav-links a:hover, .nav-links a.active {
    color: var(--gold);
}

.btn-online {
    padding: 8px 18px;
    background: var(--gold);
    color: var(--black);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

/* 英雄区 */
.hero {
    height: 100vh;
    background: url('https://tse-mm.bing.com/th?q=企业总部大厅') center/cover no-repeat;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.8), rgba(0,0,0,0.2));
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 700px;
}

.hero h1 {
    font-size: 64px;
    line-height: 1.1;
    margin-bottom: 20px;
    background: linear-gradient(to right, #fff, var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 20px;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.hero-btns {
    display: flex;
    gap: 20px;
}

/* 通用章节 */
.section {
    padding: 100px 0;
}

.bg-dark {
    background-color: var(--dark-gray);
}

.section-title {
    font-size: 36px;
    margin-bottom: 60px;
    position: relative;
    display: inline-block;
}

.section-title span {
    display: block;
    font-size: 14px;
    color: var(--gold);
    letter-spacing: 4px;
    margin-top: 10px;
    text-transform: uppercase;
}

.text-center { text-align: center; }

/* 静态数据卡片 */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.stat-item .number {
    font-size: 48px;
    font-weight: 800;
    color: var(--gold);
    display: block;
}

.stat-item p {
    font-size: 14px;
    color: var(--text-muted);
}

/* 产品卡片 */
.product-card {
    background: var(--light-gray);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid transparent;
    transition: var(--transition);
}

.product-card:hover {
    border-color: var(--gold);
    transform: translateY(-10px);
    background: var(--black);
}

.product-card .img-box {
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
    height: 200px;
}

.product-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover img {
    transform: scale(1.1);
}

.product-card h3 {
    margin-bottom: 15px;
    color: var(--gold);
}

.product-card p {
    color: var(--text-muted);
}

/* 新闻列表 */
.news-item {
    display: flex;
    gap: 25px;
    padding: 20px;
    background: var(--dark-gray);
    border-radius: 8px;
    border-left: 4px solid var(--gold);
}

.news-item .date {
    text-align: center;
    color: var(--gold);
    font-weight: 600;
    flex-shrink: 0;
}

.news-item .date span {
    display: block;
    font-size: 28px;
}

.news-content h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--text-white);
}

.news-content p {
    font-size: 14px;
    color: var(--text-muted);
}

/* 项目轮播区 */
.launches-scroll {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 30px;
}

.launches-scroll::-webkit-scrollbar {
    height: 4px;
}

.launches-scroll::-webkit-scrollbar-thumb {
    background: var(--gold);
}

.launch-card {
    flex: 0 0 250px;
    background: var(--light-gray);
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
}

.launch-card img {
    height: 150px;
    width: 100%;
    object-fit: cover;
}

.launch-card h5 {
    padding: 15px;
    color: var(--gold);
}

/* 邀请区域 */
.invite-banner {
    padding: 60px;
    background: linear-gradient(135deg, var(--dark-gray), #1a1a1a);
    border: 2px solid var(--gold);
    border-radius: 20px;
}

.invite-banner h3 {
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--gold);
}

.share-options {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

/* 动态流 */
.dynamic-feed {
    max-height: 600px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding-right: 10px;
}

.dynamic-feed::-webkit-scrollbar { width: 5px; }
.dynamic-feed::-webkit-scrollbar-thumb { background: var(--gold); }

.feed-item {
    background: var(--light-gray);
    padding: 15px 25px;
    border-radius: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-left: 2px solid var(--gold);
}

.feed-item .user { color: var(--gold); font-weight: 600; }
.feed-item .time { font-size: 12px; color: var(--text-muted); }

/* 页脚 */
.footer {
    background: #050505;
    padding: 80px 0 30px;
    border-top: 1px solid #1a1a1a;
}

.footer h4 {
    color: var(--gold);
    margin-bottom: 20px;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-bottom {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid #1a1a1a;
    text-align: center;
    font-size: 14px;
    color: var(--text-muted);
}

/* 侧边 */
.sticky-links {
    position: fixed;
    right: 30px;
    bottom: 50px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 999;
}

.sticky-item {
    width: 50px;
    height: 50px;
    background: var(--gold);
    color: var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    border: none;
    font-size: 12px;
    font-weight: 800;
}

/* 动画类 */
.animate-up {
    opacity: 0;
    transform: translateY(40px);
}

.animate-in {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 1s, transform 1s;
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }

/* 响应式调整 */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero h1 { font-size: 40px; }
    .invite-section .share-options { flex-direction: column; }
}
