/* ===== 全局重置与基础 ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background: linear-gradient(145deg, #0b0e1a 0%, #141b2b 40%, #1a2238 100%);
    color: #e2e8f0;
    min-height: 100vh;
    transition: background 0.4s, color 0.4s;
    overflow-x: hidden;
}

body.light {
    background: linear-gradient(145deg, #f7f9fc 0%, #eef1f7 40%, #e4e9f2 100%);
    color: #1e293b;
}

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

ul {
    list-style: none;
}

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

/* ===== 头部 ===== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: rgba(11, 14, 26, 0.75);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: background 0.4s, border-color 0.4s;
}

body.light header {
    background: rgba(247, 249, 252, 0.8);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 2px;
    background: linear-gradient(135deg, #f0b429, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo svg {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
}

nav {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

nav a {
    font-size: 14px;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 40px;
    transition: all 0.25s;
    color: rgba(255, 255, 255, 0.7);
    position: relative;
}

body.light nav a {
    color: rgba(30, 41, 59, 0.7);
}

nav a:hover,
nav a.active {
    background: rgba(240, 180, 41, 0.15);
    color: #f0b429;
}

body.light nav a:hover,
body.light nav a.active {
    background: rgba(240, 180, 41, 0.12);
    color: #b45309;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #e2e8f0;
    font-size: 28px;
    cursor: pointer;
    padding: 4px;
}

body.light .menu-toggle {
    color: #1e293b;
}

.dark-toggle {
    background: rgba(255, 255, 255, 0.08);
    border: none;
    border-radius: 40px;
    padding: 8px 16px;
    color: #e2e8f0;
    font-size: 13px;
    cursor: pointer;
    transition: 0.25s;
    display: flex;
    align-items: center;
    gap: 6px;
}

body.light .dark-toggle {
    background: rgba(0, 0, 0, 0.06);
    color: #1e293b;
}

.dark-toggle:hover {
    background: rgba(240, 180, 41, 0.2);
    color: #f0b429;
}

/* ===== 通用区块 ===== */
section {
    padding: 100px 0 80px;
    position: relative;
}

.section-title {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #f0b429, #fbbf24);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

.section-sub {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.6);
    max-width: 680px;
    line-height: 1.6;
    margin-bottom: 48px;
}

body.light .section-sub {
    color: rgba(30, 41, 59, 0.6);
}

/* ===== 卡片 ===== */
.card {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 28px;
    padding: 32px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.4);
    transition: all 0.35s;
    height: 100%;
}

body.light .card {
    background: rgba(255, 255, 255, 0.6);
    border-color: rgba(0, 0, 0, 0.06);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 56px -16px rgba(0, 0, 0, 0.6);
    border-color: rgba(240, 180, 41, 0.2);
}

.card-icon {
    margin-bottom: 20px;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: rgba(240, 180, 41, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
}

.card h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #f0b429;
}

body.light .card h3 {
    color: #b45309;
}

.card p {
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
}

body.light .card p {
    color: rgba(30, 41, 59, 0.7);
}

/* ===== Hero ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

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

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 820px;
}

.hero h1 {
    font-size: 64px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #f0b429 0%, #fcd34d 60%, #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 600px;
}

body.light .hero p {
    color: rgba(30, 41, 59, 0.7);
}

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

.btn-primary {
    background: linear-gradient(135deg, #f0b429, #f59e0b);
    border: none;
    padding: 16px 40px;
    border-radius: 60px;
    font-size: 17px;
    font-weight: 600;
    color: #0b0e1a;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 8px 24px rgba(240, 180, 41, 0.3);
}

.btn-primary:hover {
    transform: scale(1.04);
    box-shadow: 0 12px 32px rgba(240, 180, 41, 0.45);
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 16px 40px;
    border-radius: 60px;
    font-size: 17px;
    font-weight: 500;
    color: #e2e8f0;
    cursor: pointer;
    transition: all 0.3s;
}

body.light .btn-outline {
    color: #1e293b;
    border-color: rgba(0, 0, 0, 0.15);
}

.btn-outline:hover {
    background: rgba(240, 180, 41, 0.1);
    border-color: #f0b429;
}

/* ===== Banner 轮播 ===== */
.banner-slider {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    margin: 60px 0 40px;
    height: 420px;
    background: rgba(255, 255, 255, 0.02);
}

.banner-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    opacity: 0;
    transition: opacity 0.8s ease;
    background: radial-gradient(ellipse at 20% 40%, rgba(240, 180, 41, 0.08), transparent 70%);
}

.banner-slide.active {
    opacity: 1;
}

.banner-slide svg {
    max-width: 60%;
    height: auto;
    opacity: 0.4;
}

.banner-text {
    position: absolute;
    bottom: 32px;
    left: 40px;
    right: 40px;
    text-align: left;
}

.banner-text h3 {
    font-size: 28px;
    font-weight: 600;
    color: #f0b429;
    margin-bottom: 6px;
}

.banner-text p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.6);
}

.banner-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 24px;
}

.banner-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: 0.3s;
}

.banner-dots span.active {
    background: #f0b429;
    width: 32px;
    border-radius: 20px;
}

/* ===== 网格布局 ===== */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.grid-5 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
}

/* ===== 数据统计 ===== */
.stat-item {
    text-align: center;
    padding: 32px 16px;
}

.stat-number {
    font-size: 52px;
    font-weight: 800;
    background: linear-gradient(135deg, #f0b429, #fbbf24);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.stat-label {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 8px;
}

body.light .stat-label {
    color: rgba(30, 41, 59, 0.6);
}

/* ===== 客户评价 ===== */
.testimonial-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 32px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
}

body.light .testimonial-card {
    background: rgba(255, 255, 255, 0.5);
    border-color: rgba(0, 0, 0, 0.04);
}

.testimonial-card p {
    font-size: 16px;
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.testimonial-author svg {
    width: 44px;
    height: 44px;
    border-radius: 50%;
}

.testimonial-author strong {
    font-size: 15px;
    color: #f0b429;
}

.testimonial-author span {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

/* ===== FAQ ===== */
.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 20px 0;
    cursor: pointer;
}

body.light .faq-item {
    border-color: rgba(0, 0, 0, 0.06);
}

.faq-q {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
    font-weight: 500;
    gap: 16px;
}

.faq-q span {
    font-size: 24px;
    transition: transform 0.3s;
    color: #f0b429;
}

.faq-item.open .faq-q span {
    transform: rotate(45deg);
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s;
    padding-top: 0;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.7;
}

body.light .faq-a {
    color: rgba(30, 41, 59, 0.65);
}

.faq-item.open .faq-a {
    max-height: 400px;
    padding-top: 16px;
}

/* ===== 使用指南 ===== */
.step-card {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 24px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

body.light .step-card {
    background: rgba(0, 0, 0, 0.02);
    border-color: rgba(0, 0, 0, 0.04);
}

.step-num {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f0b429, #f59e0b);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 20px;
    color: #0b0e1a;
    flex-shrink: 0;
}

.step-card h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 6px;
}

.step-card p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

body.light .step-card p {
    color: rgba(30, 41, 59, 0.6);
}

/* ===== 新闻 ===== */
.news-card {
    padding: 24px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    transition: 0.3s;
}

body.light .news-card {
    background: rgba(255, 255, 255, 0.4);
    border-color: rgba(0, 0, 0, 0.04);
}

.news-card:hover {
    background: rgba(240, 180, 41, 0.05);
    border-color: rgba(240, 180, 41, 0.15);
}

.news-card .date {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 8px;
}

.news-card h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.news-card p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.6;
}

/* ===== 页脚 ===== */
footer {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(16px);
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding: 56px 0 32px;
    margin-top: 40px;
}

body.light footer {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(0, 0, 0, 0.04);
}

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

.footer-col h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #f0b429;
}

.footer-col a,
.footer-col p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.55);
    line-height: 2;
    display: block;
}

body.light .footer-col a,
body.light .footer-col p {
    color: rgba(30, 41, 59, 0.55);
}

.footer-col a:hover {
    color: #f0b429;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
}

body.light .footer-bottom {
    border-color: rgba(0, 0, 0, 0.06);
    color: rgba(30, 41, 59, 0.4);
}

.footer-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* ===== 面包屑 ===== */
.breadcrumb {
    display: flex;
    gap: 10px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 24px;
    flex-wrap: wrap;
}

body.light .breadcrumb {
    color: rgba(30, 41, 59, 0.5);
}

.breadcrumb span {
    color: #f0b429;
}

/* ===== 搜索框 ===== */
.search-box {
    display: flex;
    max-width: 400px;
    margin: 0 auto 48px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 60px;
    padding: 4px 4px 4px 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
}

body.light .search-box {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.06);
}

.search-box input {
    flex: 1;
    background: none;
    border: none;
    padding: 14px 8px;
    font-size: 15px;
    color: #e2e8f0;
    outline: none;
}

body.light .search-box input {
    color: #1e293b;
}

.search-box button {
    background: linear-gradient(135deg, #f0b429, #f59e0b);
    border: none;
    padding: 12px 28px;
    border-radius: 40px;
    font-weight: 600;
    color: #0b0e1a;
    cursor: pointer;
    font-size: 14px;
}

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

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

/* ===== 返回顶部 ===== */
.back-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f0b429, #f59e0b);
    border: none;
    color: #0b0e1a;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(240, 180, 41, 0.3);
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.35s;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-top.show {
    opacity: 1;
    transform: scale(1);
}

/* ===== 毛玻璃额外 ===== */
.glass-card {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 32px;
    box-shadow: 0 20px 48px -16px rgba(0, 0, 0, 0.5);
}

body.light .glass-card {
    background: rgba(255, 255, 255, 0.5);
    border-color: rgba(0, 0, 0, 0.04);
}

/* ===== 合作伙伴 ===== */
.partner-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0.5;
    transition: 0.3s;
    filter: grayscale(0.3);
}

.partner-item:hover {
    opacity: 1;
    filter: grayscale(0);
}

.partner-item svg {
    width: 100%;
    max-height: 48px;
}

/* ===== 相关文章 ===== */
.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.prev-next {
    display: flex;
    justify-content: space-between;
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

body.light .prev-next {
    border-color: rgba(0, 0, 0, 0.06);
}

.prev-next a {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.6);
    transition: 0.25s;
}

body.light .prev-next a {
    color: rgba(30, 41, 59, 0.6);
}

.prev-next a:hover {
    color: #f0b429;
}

/* ===== 网站地图 ===== */
.sitemap-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.sitemap-grid a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 2.2;
}

body.light .sitemap-grid a {
    color: rgba(30, 41, 59, 0.6);
}

.sitemap-grid a:hover {
    color: #f0b429;
}

.sitemap-grid h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #f0b429;
}

/* ===== EEAT ===== */
.eeat-box {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 20px;
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    margin-bottom: 24px;
}

body.light .eeat-box {
    background: rgba(0, 0, 0, 0.02);
    border-color: rgba(0, 0, 0, 0.04);
}

.eeat-box h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #f0b429;
}

.eeat-box p {
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.65);
}

body.light .eeat-box p {
    color: rgba(30, 41, 59, 0.65);
}

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .grid-4,
    .grid-5 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header-inner {
        flex-wrap: wrap;
        height: auto;
        padding: 12px 0;
    }
    nav {
        display: none;
        width: 100%;
        flex-direction: column;
        padding: 12px 0;
        gap: 4px;
    }
    nav.open {
        display: flex;
    }
    .menu-toggle {
        display: block;
    }
    .hero h1 {
        font-size: 40px;
    }
    .grid-2,
    .grid-3,
    .grid-4,
    .grid-5 {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .banner-slider {
        height: 280px;
    }
    .section-title {
        font-size: 32px;
    }
    .related-grid {
        grid-template-columns: 1fr;
    }
    .sitemap-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 32px;
    }
    .btn-primary,
    .btn-outline {
        padding: 14px 28px;
        font-size: 15px;
    }
    .container {
        padding: 0 16px;
    }
}