/* ============================================
   9b娱乐 — 粉紫幻境 · 独家设计系统
   Awwwards 级 · 柔光玻璃态 + 解构排版
   ============================================ */

/* ---------- 基础重置 & 全局变量 ---------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* 主色调 — 粉紫幻境 */
    --primary: #7C5CFC;
    --primary-light: #A78BFA;
    --primary-dark: #5B3FBF;
    --secondary: #FF6B9D;
    --secondary-light: #FF9EC4;
    --tertiary: #45D0E0;
    --accent: #FFD93D;
    --accent-soft: #FFE88A;

    /* 背景 — 极浅暖白 + 薰衣草调 */
    --bg-main: #FAF7FF;
    --bg-alt: #F0EBFF;
    --bg-card: rgba(255, 255, 255, 0.88);
    --bg-glass: rgba(255, 255, 255, 0.72);

    /* 文字 */
    --text-primary: #1A1130;
    --text-secondary: #5B4A7A;
    --text-light: #8A7AA8;
    --text-white: #FFFFFF;

    /* 边框 & 阴影 */
    --border-color: rgba(124, 92, 252, 0.12);
    --shadow-sm: 0 4px 20px rgba(124, 92, 252, 0.08);
    --shadow-md: 0 8px 40px rgba(124, 92, 252, 0.12);
    --shadow-lg: 0 16px 60px rgba(124, 92, 252, 0.16);
    --shadow-glow: 0 0 40px rgba(124, 92, 252, 0.20);

    /* 圆角 */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-full: 9999px;

    /* 字体系列 */
    --font-sans: system-ui, -apple-system, 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', sans-serif;
    --font-display: system-ui, -apple-system, 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', sans-serif;
}

body {
    font-family: var(--font-sans);
    background: var(--bg-main);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
    position: relative;
}

/* 背景装饰 — 浮动光晕 */
body::before,
body::after {
    content: '';
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    filter: blur(80px);
    opacity: 0.30;
}

body::before {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary-light) 0%, transparent 70%);
    top: -200px;
    right: -150px;
    animation: floatGlow 20s ease-in-out infinite alternate;
}

body::after {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--secondary-light) 0%, transparent 70%);
    bottom: -150px;
    left: -100px;
    animation: floatGlow 25s ease-in-out infinite alternate-reverse;
}

@keyframes floatGlow {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, 40px) scale(1.1); }
    100% { transform: translate(-20px, -30px) scale(0.95); }
}

/* ---------- 容器 & 区块 ---------- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

.section {
    padding: 100px 0;
    position: relative;
    z-index: 1;
}

.section:nth-child(even) {
    background: var(--bg-alt);
}

.section:nth-child(even) .container {
    position: relative;
}

/* ---------- 顶部导航 — 玻璃幻彩 ---------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(250, 247, 255, 0.78);
    backdrop-filter: blur(20px) saturate(1.4);
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
    border-bottom: 1px solid var(--border-color);
    transition: background 0.4s ease, box-shadow 0.4s ease;
}

.site-header.scrolled {
    background: rgba(250, 247, 255, 0.92);
    box-shadow: 0 4px 30px rgba(124, 92, 252, 0.06);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    font-size: 1.3rem;
    text-decoration: none;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    position: relative;
}

.logo-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    box-shadow: 0 4px 16px rgba(124, 92, 252, 0.30);
    position: relative;
}

.logo-icon::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--primary-light), var(--secondary-light));
    z-index: -1;
    opacity: 0.4;
    filter: blur(8px);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.main-nav a {
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.3s ease, transform 0.2s ease;
    position: relative;
    padding: 4px 0;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
    transition: width 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.main-nav a:hover {
    color: var(--primary);
    transform: translateY(-1px);
}

.main-nav a:hover::after {
    width: 100%;
}

.nav-cta {
    padding: 10px 24px !important;
    border-radius: var(--radius-full) !important;
    background: linear-gradient(135deg, var(--primary), var(--secondary)) !important;
    color: #fff !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 20px rgba(124, 92, 252, 0.30);
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
    position: relative;
    overflow: hidden;
}

.nav-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: inherit;
}

.nav-cta:hover {
    transform: translateY(-2px) scale(1.02) !important;
    box-shadow: 0 8px 32px rgba(124, 92, 252, 0.40) !important;
}

.nav-cta:hover::before {
    opacity: 1;
}

.nav-cta span {
    position: relative;
    z-index: 1;
}

.nav-cta::after {
    display: none !important;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.4rem;
    color: var(--text-primary);
    cursor: pointer;
    padding: 8px;
    border-radius: var(--radius-sm);
    transition: background 0.2s ease;
}

.menu-toggle:hover {
    background: var(--bg-alt);
}

/* ---------- HERO — 解构视觉 ---------- */
.hero {
    min-height: 88vh;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
    padding-top: 72px;
    background: linear-gradient(170deg, var(--bg-main) 0%, var(--bg-alt) 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(124, 92, 252, 0.10) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
}

.hero-content {
    max-width: 680px;
    position: relative;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 6px 18px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, rgba(124, 92, 252, 0.10), rgba(255, 107, 157, 0.10));
    color: var(--primary);
    margin-bottom: 24px;
    letter-spacing: 0.04em;
    border: 1px solid rgba(124, 92, 252, 0.15);
    backdrop-filter: blur(4px);
}

.hero-eyebrow::before {
    content: '✨';
    font-size: 0.9rem;
}

.hero h1 {
    font-size: 3.4rem;
    line-height: 1.15;
    margin-bottom: 20px;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text-primary);
    background: linear-gradient(135deg, var(--text-primary) 40%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero h1 br {
    display: none;
}

.hero p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 520px;
    margin-bottom: 36px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-lg);
    transform: perspective(1000px) rotateY(-4deg) rotateX(2deg);
    transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-image:hover {
    transform: perspective(1000px) rotateY(-2deg) rotateX(1deg) translateY(-4px);
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s ease;
}

.hero-image:hover img {
    transform: scale(1.03);
}

.hero-image::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    box-shadow: inset 0 2px 20px rgba(255, 255, 255, 0.30);
    pointer-events: none;
}

/* 装饰浮标 */
.hero-image::before {
    content: '';
    position: absolute;
    top: -12px;
    right: -12px;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, var(--secondary-light) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
    filter: blur(20px);
    opacity: 0.6;
    animation: floatPulse 4s ease-in-out infinite;
}

@keyframes floatPulse {
    0%, 100% { transform: scale(1) translate(0, 0); opacity: 0.6; }
    50% { transform: scale(1.2) translate(10px, -10px); opacity: 0.9; }
}

/* ---------- 按钮系统 — 渐变幻彩 ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    text-decoration: none;
    transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.02em;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    box-shadow: 0 6px 28px rgba(124, 92, 252, 0.32);
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: inherit;
}

.btn-primary span {
    position: relative;
    z-index: 1;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 40px rgba(124, 92, 252, 0.45);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary:active {
    transform: translateY(-1px) scale(0.99);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--border-color);
    color: var(--text-primary);
    backdrop-filter: blur(4px);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(124, 92, 252, 0.04);
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(124, 92, 252, 0.10);
}

/* ---------- 标签 & 标题 ---------- */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 16px;
    padding: 4px 16px;
    border-radius: var(--radius-full);
    background: rgba(124, 92, 252, 0.08);
    border: 1px solid rgba(124, 92, 252, 0.10);
}

.section-label::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--secondary);
    display: inline-block;
}

.section-title {
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.section-desc {
    max-width: 600px;
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 48px;
}

/* ---------- 卡片网格 — 柔光玻璃 ---------- */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 28px;
}

.category-card {
    border-radius: var(--radius-lg);
    padding: 32px;
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    transition: all 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--tertiary));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.category-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: rgba(124, 92, 252, 0.20);
}

.category-card:hover::before {
    opacity: 1;
}

.card-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.4rem;
    background: linear-gradient(135deg, rgba(124, 92, 252, 0.10), rgba(255, 107, 157, 0.10));
    color: var(--primary);
    transition: transform 0.3s ease;
}

.category-card:hover .card-icon {
    transform: scale(1.08);
}

.category-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.category-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

.card-link {
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.3s ease;
}

.card-link::after {
    content: '→';
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.card-link:hover {
    gap: 10px;
}

.card-link:hover::after {
    transform: translateX(4px);
}

/* ---------- 特性块 — 解构网格 ---------- */
.feature-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.feature-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    position: relative;
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    transform: perspective(800px) rotateY(2deg);
}

.feature-image:hover {
    transform: perspective(800px) rotateY(0deg) translateY(-4px);
}

.feature-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s ease;
}

.feature-image:hover img {
    transform: scale(1.04);
}

.feature-image::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    box-shadow: inset 0 2px 20px rgba(255, 255, 255, 0.25);
    pointer-events: none;
}

.feature-text {
    position: relative;
}

.feature-text .section-label {
    margin-bottom: 12px;
}

.feature-text h3 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.feature-text > p {
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.7;
}

.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.feature-list li {
    padding: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    color: var(--text-primary);
}

.feature-list li::before {
    content: '✦';
    font-weight: 400;
    color: var(--secondary);
    font-size: 1rem;
}

/* ---------- 数据条 — 渐变数字 ---------- */
.stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    text-align: center;
}

.stat-item {
    padding: 32px 20px;
    border-radius: var(--radius-lg);
    background: var(--bg-card);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 3px 3px 0 0;
    opacity: 0;
    transition: opacity 0.4s ease, width 0.4s ease;
}

.stat-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.stat-item:hover::before {
    opacity: 1;
    width: 80%;
}

.stat-number {
    font-size: 2.6rem;
    font-weight: 900;
    line-height: 1.1;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.03em;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 8px;
    font-weight: 500;
}

/* ---------- 内容墙 — 杂志卡片 ---------- */
.content-wall {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 28px;
}

.content-wall-item {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg-card);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border-color);
    transition: all 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
}

.content-wall-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: rgba(124, 92, 252, 0.18);
}

.content-wall-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.6s ease;
    display: block;
}

.content-wall-item:hover img {
    transform: scale(1.05);
}

.content-wall-body {
    padding: 24px;
}

.content-wall-body h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.content-wall-body p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 12px;
}

.content-wall-body .card-link {
    font-size: 0.82rem;
}

/* ---------- FAQ — 手风琴 ---------- */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    margin-bottom: 10px;
    overflow: hidden;
    cursor: pointer;
    background: var(--bg-card);
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(124, 92, 252, 0.20);
    box-shadow: var(--shadow-sm);
}

.faq-item .faq-question {
    padding: 20px 24px;
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-primary);
    transition: color 0.3s ease;
    user-select: none;
}

.faq-item .faq-question::after {
    content: '+';
    font-size: 1.3rem;
    font-weight: 300;
    color: var(--primary);
    transition: transform 0.4s ease;
    flex-shrink: 0;
    margin-left: 16px;
}

.faq-item.open .faq-question::after {
    transform: rotate(45deg);
}

.faq-item .faq-answer {
    padding: 0 24px 20px;
    display: none;
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
}

.faq-item.open .faq-answer {
    display: block;
    animation: faqSlide 0.35s ease forwards;
}

@keyframes faqSlide {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---------- CTA 横幅 — 渐变全幅 ---------- */
.cta-banner {
    padding: 64px 40px;
    text-align: center;
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, var(--primary), var(--secondary), var(--tertiary));
    color: #fff;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 70%, rgba(255, 255, 255, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.cta-banner::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: ctaFloat 12s ease-in-out infinite alternate;
}

@keyframes ctaFloat {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-40px, 30px) scale(1.2); }
}

.cta-banner * {
    position: relative;
    z-index: 1;
}

.cta-banner h2 {
    color: #fff;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.cta-banner p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.05rem;
    margin-bottom: 28px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cta-banner .btn-primary {
    background: #fff;
    color: var(--primary);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.cta-banner .btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.cta-banner .btn-primary::before {
    display: none;
}

/* ---------- 页脚 — 深紫底蕴 ---------- */
.site-footer {
    padding: 64px 0 28px;
    background: var(--text-primary);
    color: rgba(255, 255, 255, 0.80);
    position: relative;
    z-index: 1;
}

.site-footer .container {
    position: relative;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-brand .logo {
    color: #fff;
}

.footer-brand .logo-icon {
    background: linear-gradient(135deg, var(--primary-light), var(--secondary-light));
}

.footer-brand p {
    font-size: 0.88rem;
    opacity: 0.65;
    line-height: 1.7;
    max-width: 300px;
}

.footer-col h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
    letter-spacing: 0.04em;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.60);
    font-size: 0.88rem;
    transition: color 0.3s ease, transform 0.2s ease;
    display: inline-block;
}

.footer-col a:hover {
    color: var(--secondary-light);
    transform: translateX(4px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 48px;
    padding-top: 24px;
    text-align: center;
    font-size: 0.82rem;
    opacity: 0.50;
    letter-spacing: 0.02em;
}

/* ---------- 工具类 ---------- */
.text-accent {
    color: var(--primary);
}

.text-center {
    text-align: center;
}

.text-center .section-desc {
    margin-left: auto;
    margin-right: auto;
}

.seo-description {
    max-width: 600px;
    margin: 0 auto 48px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* ---------- 响应式 — 优雅降级 ---------- */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 2.8rem;
    }

    .hero .container {
        gap: 40px;
    }

    .section-title {
        font-size: 2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 32px;
    }

    .footer-grid > :first-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding: 100px 0 60px;
    }

    .hero .container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-content {
        text-align: center;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero h1 br {
        display: inline;
    }

    .hero p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-image {
        transform: none !important;
        max-width: 500px;
        margin: 0 auto;
    }

    .hero-image:hover {
        transform: translateY(-4px) !important;
    }

    .feature-block {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .feature-block .feature-image {
        order: -1;
        transform: none !important;
    }

    .feature-block .feature-image:hover {
        transform: translateY(-4px) !important;
    }

    .stats-bar {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .main-nav {
        display: none;
        position: fixed;
        top: 72px;
        left: 0;
        width: 100%;
        background: rgba(250, 247, 255, 0.98);
        backdrop-filter: blur(20px);
        padding: 24px;
        flex-direction: column;
        gap: 16px;
        border-bottom: 1px solid var(--border-color);
        box-shadow: var(--shadow-md);
        z-index: 999;
    }

    .main-nav.open {
        display: flex;
    }

    .main-nav a {
        font-size: 1rem;
        padding: 10px 0;
        width: 100%;
        text-align: center;
    }

    .main-nav a::after {
        bottom: 4px;
    }

    .nav-cta {
        text-align: center !important;
        width: 100% !important;
    }

    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 1.7rem;
    }

    .cta-banner {
        padding: 40px 24px;
        border-radius: var(--radius-lg);
    }

    .cta-banner h2 {
        font-size: 1.5rem;
    }

    .cards-grid {
        gap: 20px;
    }

    .content-wall {
        gap: 20px;
    }

    .faq-item .faq-question {
        padding: 16px 18px;
        font-size: 0.92rem;
    }

    .faq-item .faq-answer {
        padding: 0 18px 16px;
    }
}

@media (max-width: 480px) {
    .cards-grid,
    .content-wall,
    .stats-bar {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-buttons .btn {
        justify-content: center;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 1.4rem;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .container {
        padding: 0 16px;
    }

    .header-inner {
        padding: 0 16px;
    }

    .hero {
        padding: 90px 0 40px;
    }

    .section {
        padding: 40px 0;
    }

    .cta-banner {
        padding: 32px 20px;
    }

    .cta-banner h2 {
        font-size: 1.3rem;
    }

    .category-card {
        padding: 24px;
    }

    .feature-block {
        gap: 28px;
    }
}

/* ---------- 滚动条美化 ---------- */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-main);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(var(--primary-light), var(--secondary-light));
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(var(--primary), var(--secondary));
}

/* ---------- 选中文本颜色 ---------- */
::selection {
    background: rgba(124, 92, 252, 0.20);
    color: var(--text-primary);
}

/* ---------- 动画辅助 ---------- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section .container > * {
    animation: fadeInUp 0.8s ease forwards;
}

.section .container > *:nth-child(2) {
    animation-delay: 0.1s;
}

.section .container > *:nth-child(3) {
    animation-delay: 0.2s;
}