:root {
    --brand-primary: #2b1e4a;
    --brand-secondary: #e94e77;
    --brand-accent: #f7c35c;
    --brand-bg: #fcf9f7;
    --brand-text: #1e1b2b;
    --brand-muted: #6b6577;
    --brand-card: #ffffff;
    --brand-border: #e6e0e8;
    --brand-shadow: 0 8px 24px rgba(43, 30, 74, 0.08);
    --brand-shadow-hover: 0 16px 40px rgba(43, 30, 74, 0.14);
    --brand-glass: rgba(252, 249, 247, 0.72);
    --brand-glass-strong: rgba(252, 249, 247, 0.88);
    --radius-lg: 22px;
    --radius-md: 16px;
    --radius-sm: 10px;
    --transition: 0.3s cubic-bezier(0.2, 0.9, 0.4, 1);
    --transition-slow: 0.6s cubic-bezier(0.2, 0.9, 0.4, 1);
}

body.dark-mode {
    --brand-primary: #d9c8ff;
    --brand-secondary: #ff7a9e;
    --brand-accent: #ffd966;
    --brand-bg: #12101a;
    --brand-text: #ece8f2;
    --brand-muted: #a8a0b8;
    --brand-card: #1e1b2b;
    --brand-border: #2e2a3c;
    --brand-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    --brand-shadow-hover: 0 16px 40px rgba(0, 0, 0, 0.55);
    --brand-glass: rgba(18, 16, 26, 0.72);
    --brand-glass-strong: rgba(18, 16, 26, 0.88);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', sans-serif;
    background-color: var(--brand-bg);
    color: var(--brand-text);
    line-height: 1.7;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    transition: background-color var(--transition), color var(--transition);
}

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

a {
    color: var(--brand-primary);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--brand-secondary);
}

ul,
ol {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
}

.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========== 导航吸顶 ========== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--brand-glass);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border-bottom: 1px solid var(--brand-border);
    transition: background var(--transition), border var(--transition), box-shadow var(--transition);
}

.site-header.scrolled {
    box-shadow: 0 4px 20px rgba(43, 30, 74, 0.06);
}

body.dark-mode .site-header {
    background: var(--brand-glass);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--brand-primary);
    letter-spacing: 0.02em;
    flex-shrink: 0;
}

.brand-logo svg {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    transition: transform var(--transition);
}

.brand-logo:hover svg {
    transform: rotate(-6deg) scale(1.06);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 22px;
    font-size: 0.95rem;
    font-weight: 500;
}

.nav-links a {
    color: var(--brand-muted);
    position: relative;
    padding: 4px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--brand-secondary);
    border-radius: 3px;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--transition);
}

.nav-links a:hover {
    color: var(--brand-primary);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-links a.active {
    color: var(--brand-primary);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.search-box {
    display: flex;
    align-items: center;
    background: var(--brand-glass-strong);
    border: 1px solid var(--brand-border);
    border-radius: 999px;
    padding: 4px 6px 4px 16px;
    transition: border var(--transition), box-shadow var(--transition), background var(--transition);
}

.search-box:focus-within {
    border-color: var(--brand-secondary);
    box-shadow: 0 0 0 3px rgba(233, 78, 119, 0.15);
}

.search-box input {
    border: none;
    background: transparent;
    outline: none;
    font-size: 0.9rem;
    width: 160px;
    color: var(--brand-text);
    font-family: inherit;
}

.search-box input::placeholder {
    color: var(--brand-muted);
}

.search-box button {
    background: var(--brand-primary);
    border: none;
    border-radius: 999px;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    transition: background var(--transition), transform var(--transition);
    flex-shrink: 0;
}

.search-box button:hover {
    background: var(--brand-secondary);
    transform: scale(1.05);
}

.search-box button svg {
    width: 16px;
    height: 16px;
    stroke: #fff;
}

.theme-toggle {
    background: var(--brand-glass-strong);
    border: 1px solid var(--brand-border);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    transition: background var(--transition), border var(--transition), transform var(--transition);
    flex-shrink: 0;
}

.theme-toggle:hover {
    border-color: var(--brand-secondary);
    transform: rotate(20deg);
}

.theme-toggle svg {
    width: 20px;
    height: 20px;
    stroke: var(--brand-primary);
    fill: none;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    padding: 8px;
    border-radius: 8px;
    transition: background var(--transition);
}

.mobile-menu-btn:hover {
    background: rgba(233, 78, 119, 0.08);
}

.mobile-menu-btn svg {
    width: 26px;
    height: 26px;
    stroke: var(--brand-primary);
}

/* ========== 面包屑 ========== */
.breadcrumb {
    padding: 16px 0 0;
    font-size: 0.85rem;
    color: var(--brand-muted);
}

.breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}

.breadcrumb li + li::before {
    content: '/';
    margin-right: 6px;
    color: var(--brand-border);
}

.breadcrumb a {
    color: var(--brand-muted);
}

.breadcrumb a:hover {
    color: var(--brand-secondary);
}

/* ========== Banner 轮播 ========== */
.banner-section {
    padding: 24px 0 12px;
}

.banner-slider {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--brand-shadow);
    background: var(--brand-card);
}

.banner-track {
    display: flex;
    transition: transform var(--transition-slow);
    will-change: transform;
}

.banner-slide {
    min-width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 48px 48px;
    background: linear-gradient(135deg, #2b1e4a 0%, #4a2e6b 50%, #6b3a7a 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.banner-slide::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(247, 195, 92, 0.18), transparent 70%);
    pointer-events: none;
}

.banner-slide:nth-child(2) {
    background: linear-gradient(135deg, #1e3a4a 0%, #2e5a6b 50%, #3a7a8a 100%);
}

.banner-slide:nth-child(3) {
    background: linear-gradient(135deg, #4a2e1e 0%, #6b4a2e 50%, #8a6b3a 100%);
}

.banner-content {
    flex: 1;
    z-index: 2;
}

.banner-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 4px 14px;
    border-radius: 999px;
    margin-bottom: 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.banner-slide h2 {
    font-size: 1.9rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 10px;
}

.banner-slide p {
    font-size: 0.98rem;
    opacity: 0.88;
    max-width: 520px;
    line-height: 1.7;
}

.banner-illustration {
    flex-shrink: 0;
    width: 180px;
    height: 180px;
    opacity: 0.9;
    animation: floatIllustration 6s ease-in-out infinite;
}

@keyframes floatIllustration {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

.banner-dots {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 5;
}

.banner-dots button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.4);
    transition: background var(--transition), transform var(--transition), width var(--transition);
}

.banner-dots button:hover {
    background: rgba(255, 255, 255, 0.7);
}

.banner-dots button.active {
    background: #fff;
    width: 26px;
    border-radius: 999px;
}

/* ========== 通用区块 ========== */
.section {
    padding: 64px 0;
}

.section-header {
    margin-bottom: 40px;
}

.section-header .eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--brand-secondary);
    margin-bottom: 8px;
}

.section-header h2 {
    font-size: 1.9rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--brand-primary);
    margin-bottom: 12px;
}

.section-header p {
    color: var(--brand-muted);
    max-width: 680px;
    font-size: 1rem;
}

.section-header.center {
    text-align: center;
}

.section-header.center p {
    margin: 0 auto;
}

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

.card {
    background: var(--brand-card);
    border: 1px solid var(--brand-border);
    border-radius: var(--radius-md);
    padding: 28px 24px;
    box-shadow: var(--brand-shadow);
    transition: transform var(--transition), box-shadow var(--transition), border var(--transition);
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--brand-secondary), var(--brand-accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--brand-shadow-hover);
    border-color: var(--brand-secondary);
}

.card:hover::before {
    transform: scaleX(1);
}

.card-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, rgba(233, 78, 119, 0.12), rgba(247, 195, 92, 0.12));
    transition: transform var(--transition);
}

.card:hover .card-icon {
    transform: scale(1.08) rotate(-4deg);
}

.card-icon svg {
    width: 26px;
    height: 26px;
    stroke: var(--brand-secondary);
    fill: none;
}

.card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--brand-primary);
}

.card p {
    font-size: 0.92rem;
    color: var(--brand-muted);
    flex: 1;
}

/* ========== 数字统计 ========== */
.stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 20px;
    margin-top: 36px;
}

.stat-item {
    background: var(--brand-card);
    border: 1px solid var(--brand-border);
    border-radius: var(--radius-sm);
    padding: 26px 20px;
    text-align: center;
    box-shadow: var(--brand-shadow);
    transition: transform var(--transition), box-shadow var(--transition), border var(--transition);
}

.stat-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--brand-shadow-hover);
    border-color: var(--brand-accent);
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--brand-secondary);
    line-height: 1.2;
    font-variant-numeric: tabular-nums;
}

.stat-label {
    font-size: 0.88rem;
    color: var(--brand-muted);
    margin-top: 6px;
}

/* ========== 文章列表 ========== */
.article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.article-card {
    background: var(--brand-card);
    border: 1px solid var(--brand-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--brand-shadow);
    transition: transform var(--transition), box-shadow var(--transition), border var(--transition);
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--brand-shadow-hover);
    border-color: var(--brand-secondary);
}

.article-thumb {
    height: 160px;
    background: linear-gradient(135deg, #2b1e4a, #4a2e6b);
    display: grid;
    place-items: center;
    position: relative;
    overflow: hidden;
}

.article-thumb::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(43, 30, 74, 0.35));
    opacity: 0;
    transition: opacity var(--transition);
}

.article-card:hover .article-thumb::after {
    opacity: 1;
}

.article-thumb svg {
    width: 80px;
    height: 80px;
    opacity: 0.7;
    transition: transform var(--transition-slow);
}

.article-card:hover .article-thumb svg {
    transform: scale(1.12) rotate(4deg);
}

.article-body {
    padding: 20px 22px 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.article-meta {
    font-size: 0.78rem;
    color: var(--brand-muted);
    display: flex;
    gap: 12px;
    align-items: center;
}

.article-meta span {
    color: var(--brand-secondary);
    font-weight: 600;
}

.article-body h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--brand-primary);
    line-height: 1.4;
    transition: color var(--transition);
}

.article-card:hover .article-body h3 {
    color: var(--brand-secondary);
}

.article-body p {
    font-size: 0.88rem;
    color: var(--brand-muted);
    flex: 1;
}

.article-link {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--brand-secondary);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: gap var(--transition);
}

.article-link:hover {
    gap: 10px;
}

/* ========== FAQ 手风琴 ========== */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 860px;
    margin: 0 auto;
}

.faq-item {
    background: var(--brand-card);
    border: 1px solid var(--brand-border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: border var(--transition), box-shadow var(--transition), background var(--transition);
}

.faq-item:hover {
    border-color: var(--brand-secondary);
}

.faq-item.open {
    border-color: var(--brand-secondary);
    box-shadow: 0 4px 20px rgba(233, 78, 119, 0.12);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 22px;
    background: none;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    color: var(--brand-primary);
    text-align: left;
    transition: background var(--transition);
}

.faq-question:hover {
    background: rgba(233, 78, 119, 0.04);
}

.faq-question svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    stroke: var(--brand-muted);
    transition: transform var(--transition), stroke var(--transition);
}

.faq-item.open .faq-question svg {
    transform: rotate(180deg);
    stroke: var(--brand-secondary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    padding: 0 22px;
}

.faq-item.open .faq-answer {
    max-height: 600px;
    padding: 0 22px 20px;
}

.faq-answer p {
    font-size: 0.92rem;
    color: var(--brand-muted);
    line-height: 1.8;
}

/* ========== HowTo 步骤 ========== */
.howto-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    counter-reset: step;
}

.step-card {
    background: var(--brand-card);
    border: 1px solid var(--brand-border);
    border-radius: var(--radius-md);
    padding: 32px 22px 24px;
    position: relative;
    box-shadow: var(--brand-shadow);
    counter-increment: step;
    transition: transform var(--transition), box-shadow var(--transition), border var(--transition);
}

.step-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--brand-shadow-hover);
    border-color: var(--brand-accent);
}

.step-card::before {
    content: counter(step, decimal-leading-zero);
    position: absolute;
    top: -14px;
    left: 22px;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--brand-accent);
    background: var(--brand-card);
    padding: 0 8px;
    line-height: 1;
}

.step-card h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--brand-primary);
    margin-bottom: 8px;
}

.step-card p {
    font-size: 0.88rem;
    color: var(--brand-muted);
}

/* ========== 客户评价 ========== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.testimonial-card {
    background: var(--brand-card);
    border: 1px solid var(--brand-border);
    border-radius: var(--radius-md);
    padding: 26px 24px;
    box-shadow: var(--brand-shadow);
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: transform var(--transition), box-shadow var(--transition), border var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--brand-shadow-hover);
    border-color: var(--brand-secondary);
}

.testimonial-stars {
    display: flex;
    gap: 3px;
}

.testimonial-stars svg {
    width: 16px;
    height: 16px;
    fill: var(--brand-accent);
    stroke: none;
}

.testimonial-text {
    font-size: 0.92rem;
    color: var(--brand-muted);
    line-height: 1.8;
    font-style: italic;
    flex: 1;
}

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

.testimonial-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand-secondary), var(--brand-accent));
    display: grid;
    place-items: center;
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
    transition: transform var(--transition);
}

.testimonial-card:hover .testimonial-avatar {
    transform: scale(1.08);
}

.testimonial-author-info strong {
    display: block;
    font-size: 0.9rem;
    color: var(--brand-primary);
}

.testimonial-author-info span {
    font-size: 0.78rem;
    color: var(--brand-muted);
}

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

.contact-card {
    background: var(--brand-card);
    border: 1px solid var(--brand-border);
    border-radius: var(--radius-md);
    padding: 28px 24px;
    box-shadow: var(--brand-shadow);
    display: flex;
    gap: 16px;
    align-items: flex-start;
    transition: transform var(--transition), box-shadow var(--transition), border var(--transition);
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--brand-shadow-hover);
    border-color: var(--brand-secondary);
}

.contact-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(233, 78, 119, 0.12), rgba(247, 195, 92, 0.12));
    display: grid;
    place-items: center;
    flex-shrink: 0;
    transition: transform var(--transition);
}

.contact-card:hover .contact-icon {
    transform: scale(1.08) rotate(-4deg);
}

.contact-icon svg {
    width: 22px;
    height: 22px;
    stroke: var(--brand-secondary);
    fill: none;
}

.contact-card h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--brand-primary);
    margin-bottom: 4px;
}

.contact-card p {
    font-size: 0.88rem;
    color: var(--brand-muted);
    line-height: 1.6;
}

/* ========== 页脚 ========== */
.site-footer {
    background: var(--brand-primary);
    color: rgba(255, 255, 255, 0.78);
    padding: 64px 0 0;
    margin-top: 48px;
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(247, 195, 92, 0.12), transparent 70%);
    pointer-events: none;
}

body.dark-mode .site-footer {
    background: #0a0812;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    position: relative;
    z-index: 1;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-brand .brand-logo {
    color: #fff;
}

.footer-brand p {
    font-size: 0.88rem;
    line-height: 1.8;
    opacity: 0.8;
}

.footer-col h4 {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.88rem;
    transition: color var(--transition), padding-left var(--transition);
    display: inline-block;
}

.footer-col a:hover {
    color: var(--brand-accent);
    padding-left: 4px;
}

.footer-bottom {
    padding: 24px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    font-size: 0.82rem;
    opacity: 0.7;
    position: relative;
    z-index: 1;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom a:hover {
    color: var(--brand-accent);
}

/* ========== 返回顶部 ========== */
.back-to-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--brand-secondary);
    border: none;
    display: grid;
    place-items: center;
    box-shadow: 0 8px 24px rgba(233, 78, 119, 0.35);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity var(--transition), visibility var(--transition), transform var(--transition), background var(--transition);
    z-index: 999;
}

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

.back-to-top:hover {
    background: var(--brand-primary);
    transform: translateY(-4px) scale(1.06);
}

.back-to-top svg {
    width: 22px;
    height: 22px;
    stroke: #fff;
    fill: none;
}

/* ========== 滚动动画 ========== */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========== 移动菜单 ========== */
.mobile-nav {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(18, 16, 26, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition), visibility var(--transition);
}

.mobile-nav.open {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-panel {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(320px, 85vw);
    background: var(--brand-card);
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.2, 0.9, 0.4, 1);
    overflow-y: auto;
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.15);
}

.mobile-nav.open .mobile-nav-panel {
    transform: translateX(0);
}

.mobile-nav-panel a {
    padding: 12px 0;
    font-size: 1rem;
    font-weight: 500;
    color: var(--brand-text);
    border-bottom: 1px solid var(--brand-border);
    transition: color var(--transition), padding-left var(--transition);
}

.mobile-nav-panel a:hover {
    color: var(--brand-secondary);
    padding-left: 6px;
}

.mobile-nav-close {
    align-self: flex-end;
    background: none;
    border: none;
    padding: 4px;
    margin-bottom: 8px;
    border-radius: 8px;
    transition: background var(--transition), transform var(--transition);
}

.mobile-nav-close:hover {
    background: rgba(233, 78, 119, 0.08);
    transform: rotate(90deg);
}

.mobile-nav-close svg {
    width: 26px;
    height: 26px;
    stroke: var(--brand-text);
}

/* ========== 响应式 ========== */
@media (max-width: 1024px) {
    .nav-links {
        gap: 16px;
        font-size: 0.88rem;
    }

    .search-box input {
        width: 120px;
    }
}

@media (max-width: 900px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .mobile-nav {
        display: block;
    }

    .search-box input {
        width: 100px;
    }

    .banner-slide {
        flex-direction: column;
        text-align: center;
        padding: 36px 24px;
        gap: 16px;
    }

    .banner-illustration {
        width: 120px;
        height: 120px;
    }

    .banner-slide h2 {
        font-size: 1.4rem;
    }

    .banner-slide p {
        margin: 0 auto;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
    }

    .section {
        padding: 52px 0;
    }
}

@media (max-width: 600px) {
    .header-actions .search-box {
        display: none;
    }

    .section {
        padding: 40px 0;
    }

    .section-header {
        margin-bottom: 28px;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .section-header p {
        font-size: 0.92rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .banner-slide {
        padding: 28px 20px;
    }

    .banner-slide h2 {
        font-size: 1.2rem;
    }

    .banner-slide p {
        font-size: 0.88rem;
    }

    .banner-illustration {
        width: 90px;
        height: 90px;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .card {
        padding: 22px 18px;
    }

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

    .howto-steps {
        grid-template-columns: 1fr;
    }

    .faq-question {
        padding: 16px 18px;
        font-size: 0.94rem;
    }

    .faq-answer {
        padding: 0 18px;
    }

    .faq-item.open .faq-answer {
        padding: 0 18px 18px;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 380px) {
    .brand-logo span {
        font-size: 1.05rem;
    }

    .container {
        padding: 0 14px;
    }
}

/* ========== 辅助 ========== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* ========== 减少动画偏好 ========== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* ========== 打印样式 ========== */
@media print {
    .site-header,
    .back-to-top,
    .mobile-nav,
    .banner-section {
        display: none;
    }

    .section {
        padding: 20px 0;
        page-break-inside: avoid;
    }

    .card,
    .article-card,
    .faq-item {
        box-shadow: none;
        border: 1px solid #ccc;
    }
}