/* 意昂体育官方网站 style.css */
/* 全局重置与基础 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background: #f8fafc;
    color: #1a2b3c;
    line-height: 1.7;
    transition: background .3s, color .3s;
}

body.dark-mode {
    background: #0f1a2b;
    color: #e0e8f0;
}

a {
    text-decoration: none;
    color: inherit;
}

img, svg {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

/* 容器 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* 导航 */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: background .3s, box-shadow .3s;
}

body.dark-mode header {
    background: rgba(15, 26, 43, 0.9);
    border-bottom-color: rgba(255, 255, 255, 0.05);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

/* Logo渐变 */
.logo {
    font-size: 1.6rem;
    font-weight: 700;
    background: linear-gradient(135deg, #1a3a5c, #2a6a9e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 1px;
}

body.dark-mode .logo {
    background: linear-gradient(135deg, #6ab0e6, #a0d0ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 导航列表 */
.nav-list {
    display: flex;
    list-style: none;
    gap: 6px;
}

.nav-list li a {
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    color: #1a2b3c;
    transition: background .2s, color .2s;
}

body.dark-mode .nav-list li a {
    color: #c8d8e8;
}

.nav-list li a:hover,
.nav-list li a.active {
    background: rgba(26, 58, 92, 0.08);
    color: #1a3a5c;
}

body.dark-mode .nav-list li a:hover,
body.dark-mode .nav-list li a.active {
    background: rgba(106, 176, 230, 0.15);
    color: #6ab0e6;
}

/* 菜单按钮与暗色切换 */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 8px;
}

.menu-toggle span {
    width: 28px;
    height: 3px;
    background: #1a3a5c;
    border-radius: 4px;
    transition: transform .3s, opacity .3s;
}

body.dark-mode .menu-toggle span {
    background: #c8d8e8;
}

.dark-toggle {
    background: none;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 30px;
    padding: 6px 14px;
    cursor: pointer;
    font-size: 0.9rem;
    color: #1a2b3c;
    transition: background .2s;
}

body.dark-mode .dark-toggle {
    border-color: rgba(255, 255, 255, 0.15);
    color: #e0e8f0;
}

.dark-toggle:hover {
    background: rgba(0, 0, 0, 0.05);
}

body.dark-mode .dark-toggle:hover {
    background: rgba(255, 255, 255, 0.05);
}

/* 移动端导航响应式 */
@media (max-width: 900px) {
    .nav-list {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 16px 24px;
        gap: 4px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    body.dark-mode .nav-list {
        background: rgba(15, 26, 43, 0.98);
        border-bottom-color: rgba(255, 255, 255, 0.05);
    }

    .nav-list.open {
        display: flex;
    }

    .nav-list li a {
        padding: 12px 16px;
        font-size: 1.05rem;
    }

    .menu-toggle {
        display: flex;
    }
}

/* 通用Section */
section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #1a3a5c, #2a6a9e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
}

body.dark-mode .section-title {
    background: linear-gradient(135deg, #6ab0e6, #a0d0ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-sub {
    text-align: center;
    color: #5a6b7c;
    max-width: 700px;
    margin: 0 auto 40px;
    font-size: 1.05rem;
}

body.dark-mode .section-sub {
    color: #8a9ab0;
}

/* Hero区域 */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, #e8f0f8, #d0e0f0);
    padding-top: 70px;
    position: relative;
    overflow: hidden;
}

body.dark-mode .hero {
    background: linear-gradient(135deg, #0f1a2b, #1a2a40);
}

.hero-bg {
    position: absolute;
    inset: 0;
    opacity: 0.15;
    z-index: 0;
}

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

.hero h1 {
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: #1a3a5c;
}

body.dark-mode .hero h1 {
    color: #e0e8f0;
}

.hero p {
    font-size: 1.2rem;
    color: #3a4b5c;
    margin-bottom: 32px;
}

body.dark-mode .hero p {
    color: #a0b0c0;
}

/* 按钮 */
.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    background: linear-gradient(135deg, #1a3a5c, #2a6a9e);
    color: #fff;
    padding: 14px 36px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.05rem;
    border: none;
    cursor: pointer;
    transition: transform .2s, box-shadow .2s;
    box-shadow: 0 8px 24px rgba(26, 58, 92, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(26, 58, 92, 0.35);
}

body.dark-mode .btn-primary {
    background: linear-gradient(135deg, #2a6a9e, #4a8ac0);
    box-shadow: 0 8px 24px rgba(42, 106, 158, 0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    color: #1a3a5c;
    padding: 14px 36px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.05rem;
    border: 1px solid rgba(26, 58, 92, 0.15);
    cursor: pointer;
    transition: background .2s;
}

body.dark-mode .btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: #e0e8f0;
    border-color: rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.95);
}

body.dark-mode .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* 统计数字 */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 24px;
    text-align: center;
    margin: 40px 0;
}

.stat-item .stat-number {
    font-size: 2.8rem;
    font-weight: 800;
    color: #1a3a5c;
}

body.dark-mode .stat-item .stat-number {
    color: #6ab0e6;
}

.stat-item .stat-label {
    color: #5a6b7c;
    font-size: 0.95rem;
}

body.dark-mode .stat-item .stat-label {
    color: #8a9ab0;
}

/* 卡片网格 */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 20px;
}

/* 毛玻璃卡片 */
.card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: transform .3s, box-shadow .3s;
}

body.dark-mode .card {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.06);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08);
}

body.dark-mode .card:hover {
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

.card-icon {
    margin-bottom: 16px;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(26, 58, 92, 0.08);
}

body.dark-mode .card-icon {
    background: rgba(106, 176, 230, 0.1);
}

.card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #1a3a5c;
}

body.dark-mode .card h3 {
    color: #c8d8e8;
}

.card p {
    color: #4a5b6c;
    font-size: 0.95rem;
}

body.dark-mode .card p {
    color: #8a9ab0;
}

/* 文章卡片 */
.article-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: transform .2s;
}

body.dark-mode .article-card {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.05);
}

.article-card:hover {
    transform: translateY(-4px);
}

.article-card .date {
    font-size: 0.85rem;
    color: #7a8b9c;
    margin-bottom: 6px;
}

.article-card h4 {
    font-size: 1.15rem;
    margin-bottom: 8px;
    color: #1a3a5c;
}

body.dark-mode .article-card h4 {
    color: #c8d8e8;
}

.article-card p {
    color: #4a5b6c;
    font-size: 0.95rem;
}

body.dark-mode .article-card p {
    color: #8a9ab0;
}

.article-card .read-more {
    display: inline-block;
    margin-top: 12px;
    color: #2a6a9e;
    font-weight: 600;
    font-size: 0.9rem;
}

body.dark-mode .article-card .read-more {
    color: #6ab0e6;
}

/* FAQ */
.faq-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    padding: 16px 0;
}

body.dark-mode .faq-item {
    border-bottom-color: rgba(255, 255, 255, 0.06);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.05rem;
    color: #1a3a5c;
}

body.dark-mode .faq-question {
    color: #c8d8e8;
}

.faq-question .icon {
    font-size: 1.3rem;
    transition: transform .3s;
    color: #2a6a9e;
}

.faq-item.active .faq-question .icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s ease, opacity .3s, padding .3s;
    opacity: 0;
    padding-top: 0;
    color: #4a5b6c;
}

body.dark-mode .faq-answer {
    color: #8a9ab0;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    opacity: 1;
    padding-top: 16px;
}

/* 面包屑 */
.breadcrumb {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    padding: 12px 0;
    font-size: 0.9rem;
    color: #5a6b7c;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

body.dark-mode .breadcrumb {
    background: rgba(255, 255, 255, 0.02);
    border-bottom-color: rgba(255, 255, 255, 0.03);
}

.breadcrumb a {
    color: #2a6a9e;
}

body.dark-mode .breadcrumb a {
    color: #6ab0e6;
}

.breadcrumb span {
    margin: 0 6px;
}

/* 底部 */
footer {
    background: #0f1a2b;
    color: #a0b0c0;
    padding: 48px 0 24px;
}

body.dark-mode footer {
    background: #080e18;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
    margin-bottom: 32px;
}

.footer-grid h4 {
    color: #e0e8f0;
    margin-bottom: 16px;
    font-size: 1.1rem;
}

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

.footer-grid ul li {
    margin-bottom: 8px;
}

.footer-grid ul li a {
    color: #8a9ab0;
    font-size: 0.9rem;
    transition: color .2s;
}

.footer-grid ul li a:hover {
    color: #6ab0e6;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.85rem;
    color: #6a7b8c;
}

.footer-bottom a {
    color: #6ab0e6;
}

/* 返回顶部 */
.back-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1a3a5c, #2a6a9e);
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 1.4rem;
    box-shadow: 0 4px 16px rgba(26, 58, 92, 0.3);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .3s, transform .3s;
    z-index: 999;
}

body.dark-mode .back-top {
    background: linear-gradient(135deg, #2a6a9e, #4a8ac0);
}

.back-top.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 搜索框 */
.search-box {
    display: flex;
    max-width: 500px;
    margin: 0 auto 40px;
    gap: 8px;
}

.search-box input {
    flex: 1;
    padding: 12px 20px;
    border-radius: 50px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    font-size: 1rem;
    outline: none;
}

body.dark-mode .search-box input {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    color: #e0e8f0;
}

.search-box button {
    padding: 12px 24px;
    border-radius: 50px;
    border: none;
    background: linear-gradient(135deg, #1a3a5c, #2a6a9e);
    color: #fff;
    font-weight: 600;
    cursor: pointer;
}

/* 滚动动画 */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .6s ease, transform .6s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 轮播 */
.carousel {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    min-height: 320px;
}

body.dark-mode .carousel {
    background: rgba(255, 255, 255, 0.03);
}

.carousel-slide {
    display: none;
    padding: 40px;
    text-align: center;
    animation: fadeIn .5s;
}

.carousel-slide.active {
    display: block;
}

.carousel-slide h3 {
    font-size: 1.8rem;
    margin-bottom: 12px;
    color: #1a3a5c;
}

body.dark-mode .carousel-slide h3 {
    color: #c8d8e8;
}

.carousel-slide p {
    color: #4a5b6c;
    max-width: 600px;
    margin: 0 auto;
}

body.dark-mode .carousel-slide p {
    color: #8a9ab0;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(26, 58, 92, 0.2);
    border: none;
    cursor: pointer;
    transition: background .3s;
}

body.dark-mode .carousel-dot {
    background: rgba(255, 255, 255, 0.15);
}

.carousel-dot.active {
    background: #1a3a5c;
}

body.dark-mode .carousel-dot.active {
    background: #6ab0e6;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 响应式 */
@media (max-width: 600px) {
    .hero h1 {
        font-size: 2.2rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .card-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* 玻璃拟态通用 */
.glass {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
}

body.dark-mode .glass {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.06);
}

/* 品牌故事 */
.brand-story p {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    color: #4a5b6c;
    font-size: 1.05rem;
}

body.dark-mode .brand-story p {
    color: #8a9ab0;
}

/* 团队网格 */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    margin-top: 24px;
}

.team-member {
    text-align: center;
    padding: 24px;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(12px);
    border-radius: 16px;
}

body.dark-mode .team-member {
    background: rgba(255, 255, 255, 0.03);
}

.team-member svg {
    margin: 0 auto 12px;
    border-radius: 50%;
}

.team-member h4 {
    color: #1a3a5c;
}

body.dark-mode .team-member h4 {
    color: #c8d8e8;
}

.team-member p {
    color: #5a6b7c;
    font-size: 0.9rem;
}

body.dark-mode .team-member p {
    color: #8a9ab0;
}

/* 合作伙伴logo */
.partner-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: center;
    align-items: center;
    margin-top: 24px;
    opacity: 0.7;
}

.partner-logos svg {
    filter: grayscale(1);
    transition: filter .3s;
}

.partner-logos svg:hover {
    filter: grayscale(0);
}

/* 指南步骤 */
.howto-step {
    padding: 20px;
    margin-bottom: 16px;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(8px);
    border-radius: 12px;
    border-left: 4px solid #1a3a5c;
}

body.dark-mode .howto-step {
    background: rgba(255, 255, 255, 0.03);
    border-left-color: #6ab0e6;
}

.howto-step h4 {
    color: #1a3a5c;
    margin-bottom: 6px;
}

body.dark-mode .howto-step h4 {
    color: #c8d8e8;
}

.howto-step p {
    color: #4a5b6c;
}

body.dark-mode .howto-step p {
    color: #8a9ab0;
}

/* 联系信息 */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-top: 24px;
}

.contact-item {
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(8px);
    padding: 16px;
    border-radius: 12px;
    text-align: center;
}

body.dark-mode .contact-item {
    background: rgba(255, 255, 255, 0.03);
}

.contact-item h4 {
    color: #1a3a5c;
    font-size: 0.95rem;
}

body.dark-mode .contact-item h4 {
    color: #c8d8e8;
}

.contact-item p {
    color: #4a5b6c;
}

body.dark-mode .contact-item p {
    color: #8a9ab0;
}

/* 免责声明 */
.disclaimer {
    font-size: 0.85rem;
    color: #6a7b8c;
    max-width: 800px;
    margin: 24px auto 0;
    text-align: center;
    padding: 16px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
}

body.dark-mode .disclaimer {
    background: rgba(255, 255, 255, 0.02);
    color: #6a7b8c;
}