/* ===== 九州体育 style.css ===== */
/* 基础重置 */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background: #f5f7fc;
    color: #1a2634;
    line-height: 1.6;
    transition: background 0.3s, color 0.3s;
}
body.dark { background: #0f172a; color: #e2e8f0; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ===== 毛玻璃 & 阴影 ===== */
.glass {
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(0,20,40,0.08);
}
.dark .glass {
    background: rgba(15,23,42,0.7);
    border-color: rgba(255,255,255,0.08);
}
.card {
    background: #fff;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    transition: transform 0.25s, box-shadow 0.25s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,20,40,0.12); }
.dark .card { background: #1e293b; box-shadow: 0 4px 20px rgba(0,0,0,0.3); }
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 40px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.25s;
}
.btn-primary {
    background: linear-gradient(135deg, #f0b429, #f59e0b);
    color: #0b1a2f;
    box-shadow: 0 4px 14px rgba(245,158,11,0.3);
}
.btn-primary:hover { transform: scale(1.02); box-shadow: 0 8px 24px rgba(245,158,11,0.4); }
.btn-outline {
    background: transparent;
    border: 2px solid #f0b429;
    color: #f0b429;
}
.btn-outline:hover { background: #f0b429; color: #0b1a2f; }

/* ===== 头部导航 ===== */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 10px 0;
    transition: background 0.3s;
}
.header.scrolled {
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(16px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}
.dark .header.scrolled { background: rgba(15,23,42,0.85); }
.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}
.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.6rem;
    font-weight: 800;
    color: #f0b429;
}
.logo svg { width: 40px; height: 40px; }
.nav { display: flex; gap: 12px; flex-wrap: wrap; }
.nav a {
    padding: 6px 14px;
    border-radius: 40px;
    font-weight: 500;
    transition: background 0.2s;
    font-size: 0.95rem;
}
.nav a:hover, .nav a.active { background: rgba(240,180,41,0.15); color: #f0b429; }
.dark .nav a:hover { background: rgba(240,180,41,0.2); }
.menu-toggle { display: none; background: none; border: none; font-size: 1.8rem; cursor: pointer; color: inherit; padding: 4px; }
@media (max-width: 768px) {
    .menu-toggle { display: block; }
    .nav { display: none; width: 100%; flex-direction: column; margin-top: 12px; gap: 6px; }
    .nav.open { display: flex; }
    .nav a { padding: 10px 16px; border-radius: 12px; }
}

/* ===== Hero 区域 ===== */
.hero {
    position: relative;
    padding: 60px 0 80px;
    overflow: hidden;
    background: linear-gradient(145deg, #0b1a2f 0%, #1a2f4a 100%);
    border-radius: 0 0 48px 48px;
    margin-bottom: 40px;
    color: #fff;
}
.hero .container { position: relative; z-index: 2; }
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}
.hero h1 {
    font-size: clamp(2.2rem, 6vw, 3.5rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}
.hero h1 span { color: #f0b429; }
.hero p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 28px;
    max-width: 540px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-visual { display: flex; justify-content: center; align-items: center; }
.hero-visual svg {
    width: 100%;
    max-width: 480px;
    height: auto;
    filter: drop-shadow(0 8px 40px rgba(240,180,41,0.2));
}
@media (max-width: 768px) {
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero p { margin-left: auto; margin-right: auto; }
    .hero-actions { justify-content: center; }
}

/* ===== 通用区块 ===== */
section { padding: 60px 0; }
.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 4px;
    background: #f0b429;
    border-radius: 4px;
}
.text-center .section-title::after { left: 50%; transform: translateX(-50%); }

/* ===== 品牌故事 ===== */
.brand-story .grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.stat-item { text-align: center; padding: 20px; }
.stat-number { font-size: 2.8rem; font-weight: 800; color: #f0b429; }

/* ===== 产品中心 ===== */
.products-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.product-icon {
    width: 56px;
    height: 56px;
    background: rgba(240,180,41,0.12);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

/* ===== 客户反馈 ===== */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.testimonial-card {
    background: #fff;
    padding: 24px;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}
.dark .testimonial-card { background: #1e293b; }

/* ===== 新闻资讯 ===== */
.articles-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.article-item {
    padding: 20px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}
.dark .article-item { background: #1e293b; }
.article-item h4 { font-size: 1.1rem; margin-bottom: 8px; }
.article-item .meta { font-size: 0.85rem; opacity: 0.7; margin-bottom: 8px; }

/* ===== FAQ ===== */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
    border-bottom: 1px solid rgba(0,0,0,0.08);
    padding: 16px 0;
}
.dark .faq-item { border-color: rgba(255,255,255,0.08); }
.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.05rem;
}
.faq-answer { padding-top: 12px; display: none; opacity: 0.85; }
.faq-item.open .faq-answer { display: block; }

/* ===== 页脚 ===== */
.footer {
    background: #0b1a2f;
    color: #cbd5e1;
    padding: 48px 0 24px;
    border-radius: 48px 48px 0 0;
    margin-top: 40px;
}
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 32px; }
.footer h4 { color: #f0b429; margin-bottom: 12px; }
.footer a { display: block; padding: 4px 0; opacity: 0.8; transition: opacity 0.2s; }
.footer a:hover { opacity: 1; color: #f0b429; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    margin-top: 32px;
    padding-top: 24px;
    text-align: center;
    font-size: 0.9rem;
}

/* ===== 工具类 ===== */
.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }
.gap-16 { gap: 16px; }
.flex-center { display: flex; align-items: center; justify-content: center; }

/* ===== 暗色模式切换按钮 ===== */
.theme-toggle {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 40px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    color: inherit;
    transition: 0.2s;
}
.theme-toggle:hover { background: rgba(240,180,41,0.2); }

/* ===== 返回顶部 ===== */
#backTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #f0b429;
    color: #0b1a2f;
    border: none;
    font-size: 1.4rem;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    display: none;
    z-index: 99;
    transition: 0.2s;
}
#backTop:hover { transform: scale(1.05); }

/* ===== 滚动动画 ===== */
.fade-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }