/* beats365(中国区) - 唯一官方网站 - 核心样式表 */

:root {
    --gold-light: #f3e5ab;
    --gold: #d4af37;
    --gold-dark: #aa8a2e;
    --black-rich: #0a0a0a;
    --black-soft: #1a1a1a;
    --text-gray: #a1a1aa;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--black-rich);
    color: #ffffff;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

/* 滚动条美化 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--black-rich);
}

::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold-light);
}

/* 通用工具类 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.gold-text {
    color: var(--gold);
}

.gold-gradient-text {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 50%, var(--gold-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gold-bg {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 50%, var(--gold-dark) 100%);
    color: var(--black-rich);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 50%, var(--gold-dark) 100%);
    color: var(--black-rich);
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}

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

.btn-outline:hover {
    background: rgba(212, 175, 55, 0.1);
}

/* 导航栏 */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    flex-direction: column;
}

.logo h1 {
    font-size: 24px;
    font-weight: 900;
    letter-spacing: -1px;
}

.logo span {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--gold);
    opacity: 0.7;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav ul li a {
    text-decoration: none;
    color: #ccc;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s;
}

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--gold);
    font-size: 24px;
    cursor: pointer;
}

/* 英雄板块 */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background: url('https://tse-mm.bing.com/th?q=科技感企业背景') center/cover no-repeat;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(10, 10, 10, 0.5), var(--black-rich));
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero h2 {
    font-size: 60px;
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero p {
    font-size: 20px;
    color: #ccc;
    margin-bottom: 40px;
}

/* 统计数据 */
.stats {
    padding: 80px 0;
    background: var(--black-soft);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.stat-card {
    background: var(--black-rich);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(212, 175, 55, 0.1);
    text-align: center;
    transition: transform 0.3s;
}

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

.stat-card i {
    font-size: 40px;
    color: var(--gold);
    margin-bottom: 20px;
}

.stat-card h4 {
    font-size: 36px;
    margin-bottom: 10px;
}

.stat-card p {
    color: var(--text-gray);
}

/* 章节标题 */
.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.section-title p {
    color: var(--text-gray);
}

/* 新闻动态 */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.news-card {
    background: var(--black-soft);
    border-radius: 15px;
    overflow: hidden;
    transition: 0.3s;
}

.news-card:hover {
    transform: scale(1.02);
}

.news-img {
    height: 200px;
    overflow: hidden;
}

.news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
    cursor: pointer;
}

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

.news-info {
    padding: 25px;
}

.news-date {
    font-size: 12px;
    color: var(--gold);
    margin-bottom: 10px;
    display: block;
}

.news-info h4 {
    font-size: 18px;
    margin-bottom: 15px;
}

.news-info p {
    font-size: 14px;
    color: var(--text-gray);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 产品展示 */
.product-filters {
    background: var(--black-soft);
    padding: 30px;
    border-radius: 20px;
    margin-bottom: 40px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-group label {
    font-size: 14px;
    color: var(--gold);
}

.filter-group select, .filter-group input {
    background: var(--black-rich);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: white;
    padding: 8px 15px;
    border-radius: 8px;
    outline: none;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--black-soft);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.1);
    transition: 0.3s;
}

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

.product-img {
    height: 220px;
    position: relative;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
}

.product-rating {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(10, 10, 10, 0.8);
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    color: var(--gold);
}

.product-content {
    padding: 20px;
}

.product-tag {
    font-size: 10px;
    text-transform: uppercase;
    color: var(--gold);
    letter-spacing: 1px;
    margin-bottom: 5px;
    display: block;
}

/* 联系我们 */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.contact-info-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.contact-item {
    display: flex;
    gap: 15px;
}

.contact-item i {
    color: var(--gold);
    font-size: 20px;
}

.contact-item h5 {
    margin-bottom: 5px;
}

.contact-item p {
    font-size: 13px;
    color: var(--text-gray);
}

.contact-form {
    background: var(--black-soft);
    padding: 40px;
    border-radius: 30px;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: var(--text-gray);
}

.form-group input, .form-group textarea {
    width: 100%;
    background: var(--black-rich);
    border: 1px solid rgba(212, 175, 55, 0.2);
    padding: 12px 20px;
    border-radius: 10px;
    color: white;
    outline: none;
}

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--gold);
}

/* 页脚 */
footer {
    padding: 80px 0 40px;
    background: var(--black-soft);
    border-top: 1px solid rgba(212, 175, 55, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-col h4 {
    color: var(--gold);
    margin-bottom: 25px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 15px;
}

.footer-col ul li a {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
}

.footer-col ul li a:hover {
    color: var(--gold);
}

.copyright {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 12px;
    color: #555;
}

/* 响应式 */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    .hero h2 {
        font-size: 40px;
    }
}

@media (max-width: 768px) {
    nav ul {
        display: none;
    }
    .mobile-menu-btn {
        display: block;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* 动态列表滚动 */
.dynamics-container {
    height: 400px;
    overflow-y: auto;
    padding-right: 15px;
}

.dynamic-item {
    background: var(--black-rich);
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid transparent;
    transition: 0.3s;
}

.dynamic-item:hover {
    border-color: var(--gold);
}

.dynamic-item .time {
    font-size: 12px;
    color: var(--text-gray);
}

/* 动画 */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-up {
    animation: fadeInUp 0.8s ease forwards;
}

/* 隐藏页面 */
.page-section {
    display: none;
    padding: 100px 0;
}

.page-section.active {
    display: block;
}

/* 在线客服 */
.floating-service {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    z-index: 999;
}

.floating-service:hover::after {
    content: '在线客服';
    position: absolute;
    right: 70px;
    background: var(--gold);
    color: var(--black-rich);
    padding: 5px 15px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: bold;
    white-space: nowrap;
}
