/* ===== 全局 & 变量 ===== */
:root {
    --brand-primary: #1a1a2e;
    --brand-secondary: #e94560;
    --brand-accent: #0f3460;
    --brand-light: #16213e;
    --brand-glow: #e94560;
    --text-primary: #f5f5f5;
    --text-secondary: #b0b0b0;
    --bg-card: rgba(255, 255, 255, 0.08);
    --bg-glass: rgba(22, 33, 62, 0.7);
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    --radius: 16px;
    --radius-sm: 8px;
    --transition: 0.3s ease;
    --font-base: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: var(--font-base);
    background: var(--brand-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    transition: background 0.4s ease, color 0.4s ease;
}
a {
    color: var(--brand-secondary);
    text-decoration: none;
    transition: var(--transition);
}
a:hover {
    color: #ff7b93;
}
img, svg {
    max-width: 100%;
    height: auto;
    display: block;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
/* ===== 玻璃态 ===== */
.glass {
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
/* ===== 头部 ===== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(26, 26, 46, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.4s ease, border-color 0.4s ease;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    max-width: 1200px;
    margin: 0 auto;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}
.logo svg {
    width: 40px;
    height: 40px;
}
.logo span {
    background: linear-gradient(135deg, var(--brand-secondary), #ff7b93);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
nav {
    display: flex;
    gap: 24px;
    align-items: center;
}
nav a {
    color: var(--text-secondary);
    font-size: 0.95rem;
    position: relative;
    padding: 4px 0;
    transition: color 0.3s ease;
}
nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--brand-secondary);
    transition: width 0.3s ease;
}
nav a:hover::after,
nav a.active::after {
    width: 100%;
}
nav a.active {
    color: var(--text-primary);
}
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 5px;
}
.menu-toggle span {
    width: 28px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 4px;
    transition: var(--transition);
}
.mobile-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: rgba(26, 26, 46, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 20px;
    flex-direction: column;
    gap: 16px;
    z-index: 999;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.mobile-menu a {
    color: var(--text-secondary);
    font-size: 1.1rem;
    transition: color 0.3s ease;
}
.mobile-menu a.active {
    color: var(--text-primary);
}
/* ===== Hero ===== */
.hero {
    margin-top: 70px;
    padding: 80px 0 60px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(233, 69, 96, 0.12) 0%, transparent 60%);
    animation: heroGlow 10s ease-in-out infinite alternate;
}
@keyframes heroGlow {
    0% { transform: translate(0, 0); }
    100% { transform: translate(5%, 5%); }
}
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}
.hero h1 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #fff, #e94560);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 30px;
}
.hero-banner {
    margin-top: 30px;
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    height: 400px;
}
.banner-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
.banner-slide.active {
    opacity: 1;
}
.banner-slide svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius);
}
.banner-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 5;
}
.banner-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: var(--transition);
}
.banner-dots span.active {
    background: var(--brand-secondary);
    transform: scale(1.2);
}
/* ===== 通用 Section ===== */
section {
    padding: 70px 0;
}
.section-title {
    text-align: center;
    margin-bottom: 50px;
}
.section-title h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 12px;
    position: relative;
    display: inline-block;
}
.section-title h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--brand-secondary);
    margin: 12px auto 0;
    border-radius: 4px;
}
.section-title p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto;
}
/* ===== 卡片网格 ===== */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 28px;
}
.card {
    background: var(--bg-card);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: var(--radius);
    padding: 30px 24px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
    cursor: default;
}
.card:hover {
    transform: translateY(-8px);
    border-color: var(--brand-secondary);
    box-shadow: 0 12px 40px rgba(233, 69, 96, 0.15);
}
.card svg {
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
}
.card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}
.card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}
/* ===== 企业介绍 / 品牌故事 / 企业文化 ===== */
.about-content,
.story-content,
.culture-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}
.about-text p,
.story-text p,
.culture-text p {
    margin-bottom: 16px;
    color: var(--text-secondary);
}
/* ===== 团队 ===== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 24px;
}
.team-card {
    text-align: center;
    padding: 24px 16px;
}
.team-card svg {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 16px;
}
.team-card h4 {
    font-size: 1.1rem;
}
.team-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}
/* ===== 数据统计 ===== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
}
.stat-item {
    padding: 30px 16px;
}
.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--brand-secondary);
}
.stat-label {
    color: var(--text-secondary);
    margin-top: 8px;
}
/* ===== 合作伙伴 ===== */
.partner-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 20px;
    align-items: center;
}
.partner-item {
    padding: 20px;
    display: flex;
    justify-content: center;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}
.partner-item:hover {
    opacity: 1;
}
.partner-item svg {
    width: 100px;
    height: 60px;
}
/* ===== 客户评价 ===== */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}
.testimonial-card {
    padding: 28px;
}
.testimonial-card .stars {
    color: #ffc107;
    margin-bottom: 12px;
    font-size: 1.2rem;
}
.testimonial-card p {
    font-style: italic;
    color: var(--text-secondary);
}
.testimonial-card .author {
    margin-top: 16px;
    font-weight: 600;
    color: var(--text-primary);
}
/* ===== FAQ ===== */
.faq-item {
    background: var(--bg-card);
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
    padding: 16px 20px;
    cursor: pointer;
    transition: border-color 0.3s ease;
    border: 1px solid transparent;
}
.faq-item:hover {
    border-color: rgba(233, 69, 96, 0.2);
}
.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 1.05rem;
}
.faq-question span {
    transition: transform 0.3s ease;
}
.faq-item.open .faq-question span {
    transform: rotate(180deg);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    color: var(--text-secondary);
}
.faq-item.open .faq-answer {
    max-height: 300px;
    padding-top: 12px;
}
/* ===== HowTo ===== */
.howto-steps {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 24px;
}
.step {
    text-align: center;
    padding: 24px 16px;
    position: relative;
}
.step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--brand-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-weight: 700;
    font-size: 1.3rem;
}
/* ===== 联系我们 ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}
.contact-info p {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.contact-info svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}
/* ===== 页脚 ===== */
footer {
    background: rgba(0, 0, 0, 0.4);
    padding: 50px 0 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 30px;
}
.footer-col h4 {
    margin-bottom: 16px;
    color: var(--text-primary);
}
.footer-col a {
    display: block;
    margin-bottom: 8px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}
.footer-col a:hover {
    color: var(--brand-secondary);
}
.footer-bottom {
    text-align: center;
    padding-top: 30px;
    margin-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    font-size: 0.85rem;
}
/* ===== 暗色模式切换按钮 ===== */
.dark-toggle {
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-primary);
    transition: var(--transition);
}
.dark-toggle:hover {
    border-color: var(--brand-secondary);
}
/* ===== 返回顶部 ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--brand-secondary);
    color: white;
    border: none;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 20px rgba(233, 69, 96, 0.4);
    z-index: 999;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.back-to-top:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 28px rgba(233, 69, 96, 0.6);
}
/* ===== 搜索框 ===== */
.search-box {
    display: flex;
    gap: 8px;
    max-width: 400px;
    margin: 0 auto 30px;
}
.search-box input {
    flex: 1;
    padding: 12px 18px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s ease;
}
.search-box input:focus {
    border-color: var(--brand-secondary);
}
.search-box button {
    padding: 12px 24px;
    border: none;
    border-radius: var(--radius-sm);
    background: var(--brand-secondary);
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}
.search-box button:hover {
    background: #d63851;
}
/* ===== 面包屑 ===== */
.breadcrumb {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    padding: 12px 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}
.breadcrumb a {
    color: var(--text-secondary);
}
.breadcrumb a:hover {
    color: var(--brand-secondary);
}
.breadcrumb span {
    color: var(--text-secondary);
}
/* ===== 文章列表 ===== */
.article-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}
.article-item {
    padding: 20px;
}
.article-item h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}
.article-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}
.article-item .date {
    color: var(--text-secondary);
    font-size: 0.8rem;
    margin-top: 12px;
}
/* ===== 隐藏 Schema ===== */
.schema-hidden {
    display: none;
}
/* ===== 滚动动画 ===== */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}
/* ===== 亮色模式 ===== */
body.light-mode {
    --brand-primary: #f0f2f5;
    --brand-secondary: #e94560;
    --brand-accent: #d4d8dd;
    --brand-light: #e8ecf1;
    --text-primary: #1a1a2e;
    --text-secondary: #4a4a5a;
    --bg-card: rgba(0, 0, 0, 0.04);
    --bg-glass: rgba(255, 255, 255, 0.7);
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}
body.light-mode header {
    background: rgba(240, 242, 245, 0.9);
}
body.light-mode footer {
    background: rgba(0, 0, 0, 0.05);
}
body.light-mode .card {
    background: rgba(0, 0, 0, 0.02);
}
body.light-mode .mobile-menu {
    background: rgba(240, 242, 245, 0.98);
}
/* ===== 响应式 ===== */
@media (max-width: 768px) {
    nav {
        display: none;
    }
    .menu-toggle {
        display: flex;
    }
    .mobile-menu.active {
        display: flex;
    }
    .hero h1 {
        font-size: 2rem;
    }
    .about-content,
    .story-content,
    .culture-content,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    .section-title h2 {
        font-size: 1.8rem;
    }
    .hero-banner {
        height: 250px;
    }
}
@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.6rem;
    }
    .card-grid {
        grid-template-columns: 1fr;
    }
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
}