/* ====================================================================
   麻雀AI工具箱首页样式 home.css
   美学方向：深海青蓝 × 编辑级杂志
   配色：墨蓝黑 + 冷白 + 青蓝主色 + 电光蓝强调
   ==================================================================== */

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

:root {
    /* 主色板 - 深海青蓝 */
    --ink: #070b14;
    --ink-soft: #0d1424;
    --ink-card: #111a2e;
    --paper: #f4f7fb;
    --paper-dim: #b8c5d6;
    --paper-muted: #6b7a90;
    --azure: #3b82f6;
    --azure-soft: #60a5fa;
    --azure-deep: #1e40af;
    --cyan: #22d3ee;
    --cyan-soft: #67e8f9;

    /* 功能色 */
    --primary-color: var(--azure);
    --secondary-color: var(--cyan);
    --text-primary: var(--paper);
    --text-secondary: var(--paper-dim);
    --border-color: rgba(244, 247, 251, 0.10);

    /* 字体栈 - 不引入外部字体，用系统衬线+无衬线搭配 */
    --font-display: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "SimSun", serif;
    --font-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
    --font-mono: "SF Mono", "Menlo", "Consolas", monospace;
}

body {
    font-family: var(--font-body);
    font-weight: 300;
    background: var(--ink);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    color: var(--text-primary);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* 青蓝光晕氛围 + 颗粒纹理（用 SVG data URL，无外部资源） */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse at 18% 12%, rgba(59, 130, 246, 0.12) 0%, transparent 45%),
        radial-gradient(ellipse at 85% 88%, rgba(34, 211, 238, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(244, 247, 251, 0.02) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

body::after {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' /%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.4'/%3E%3C/svg%3E");
    opacity: 0.025;
    mix-blend-mode: overlay;
    pointer-events: none;
    z-index: 0;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.25s ease;
}

/* ============ 顶部导航 ============ */
.top-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(7, 11, 20, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    padding: 0 20px;
}

.nav-container {
    max-width: 1320px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: var(--text-primary);
    position: relative;
}

.nav-brand::after {
    content: '';
    position: absolute;
    right: -22px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 22px;
    background: var(--border-color);
}

.nav-logo {
    width: 36px;
    height: 36px;
    object-fit: contain;
    border-radius: 6px;
    filter: saturate(1.1);
}

.nav-title {
    font-family: var(--font-display);
    font-size: 1.25em;
    font-weight: 700;
    color: var(--paper);
    letter-spacing: 0.02em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link {
    padding: 10px 16px;
    border-radius: 4px;
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.92em;
    font-weight: 400;
    letter-spacing: 0.02em;
    transition: color 0.2s ease, background 0.2s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--paper);
    background: rgba(96, 165, 250, 0.08);
}

.nav-link.active {
    color: var(--azure-soft);
}

.nav-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    cursor: pointer;
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    min-width: 220px;
    background: var(--ink-soft);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 6px 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
    z-index: 1000;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
}

.nav-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 8px;
    height: 8px;
    background: var(--ink-soft);
    border-left: 1px solid var(--border-color);
    border-top: 1px solid var(--border-color);
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown-link {
    display: block;
    padding: 10px 20px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.88em;
    font-weight: 400;
    transition: all 0.2s ease;
    border-left: 2px solid transparent;
}

.nav-dropdown-link:hover {
    color: var(--paper);
    background: rgba(59, 130, 246, 0.10);
    border-left-color: var(--azure-soft);
}

@media (max-width: 768px) {
    .top-nav {
        padding: 0 12px;
    }

    .nav-container {
        height: auto;
        min-height: 64px;
        padding: 10px 0;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }

    .nav-brand {
        justify-content: center;
        width: 100%;
    }

    .nav-brand::after {
        display: none;
    }

    .nav-links {
        width: 100%;
        min-width: 0;
        justify-content: center;
        flex-wrap: wrap;
        gap: 2px;
    }

    .nav-link {
        padding: 6px 10px;
        font-size: 0.82em;
        white-space: normal;
        text-align: center;
    }

    .nav-title {
        font-size: 1em;
    }

    .nav-dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 0;
        margin-top: 4px;
    }

    .nav-dropdown-menu::before {
        display: none;
    }

    .nav-dropdown-link {
        padding: 6px 10px;
        font-size: 0.82em;
    }
}

/* ============ 通用容器 ============ */
.content-container {
    width: 100%;
    min-width: 0;
    max-width: 1200px;
    margin: 0 auto;
}

.content-title {
    margin: 0 0 16px;
    color: var(--text-primary);
    font-family: var(--font-display);
    font-size: 1.9em;
    font-weight: 700;
    line-height: 1.35;
    text-align: center;
    letter-spacing: 0.01em;
}

.content-subtitle {
    max-width: 760px;
    margin: 0 auto 40px;
    color: var(--text-secondary);
    font-size: 0.98em;
    line-height: 1.8;
    text-align: center;
    font-weight: 300;
    overflow-wrap: anywhere;
}

/* ============ 按钮 ============ */
.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    font-size: 0.92em;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: inherit;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    letter-spacing: 0.02em;
}

.btn-primary {
    background: var(--azure);
    color: var(--paper);
}

.btn-primary:hover:not(:disabled) {
    background: var(--azure-soft);
    transform: translateY(-1px);
}

.btn-secondary {
    background: transparent;
    color: var(--paper);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    border-color: var(--azure-soft);
    color: var(--azure-soft);
}

/* ============ Hero 区块 ============ */
.home-hero {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 20px 40px;
    text-align: center;
    animation: fadeInUp 0.7s ease;
}

/* 杂志式分节编号 */
.home-hero::before {
    content: '— 01 / 首页 —';
    display: block;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.35em;
    color: var(--cyan);
    margin-bottom: 28px;
    text-transform: uppercase;
    font-weight: 500;
}

.home-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 5px 14px;
    margin-bottom: 24px;
    border: 1px solid var(--border-color);
    border-radius: 2px;
    color: var(--cyan-soft);
    background: transparent;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.08em;
}

.home-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(32px, 5vw, 54px);
    font-weight: 900;
    line-height: 1.18;
    margin-bottom: 24px;
    color: var(--paper);
    letter-spacing: 0.02em;
}

.home-hero h1::after {
    content: '';
    display: block;
    width: 48px;
    height: 3px;
    background: linear-gradient(90deg, var(--azure), var(--cyan));
    margin: 24px auto 0;
}

.home-hero-subtitle {
    max-width: 720px;
    margin: 0 auto 44px;
    color: var(--text-secondary);
    font-size: 1.04em;
    line-height: 1.85;
    font-weight: 300;
}

.home-hero-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    width: min(960px, 95vw);
    aspect-ratio: 2 / 1;
    margin: 0 auto;
    padding: 32px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background:
        linear-gradient(180deg, rgba(13, 20, 36, 0.6) 0%, rgba(7, 11, 20, 0.4) 100%);
    color: var(--text-primary);
    text-decoration: none;
    cursor: pointer;
    transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* 上传区域四角装饰 */
.home-hero-cta::before,
.home-hero-cta::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 1px solid var(--azure-soft);
    transition: all 0.3s ease;
}

.home-hero-cta::before {
    top: 12px;
    left: 12px;
    border-right: none;
    border-bottom: none;
}

.home-hero-cta::after {
    bottom: 12px;
    right: 12px;
    border-left: none;
    border-top: none;
}

.home-hero-cta:hover {
    border-color: rgba(96, 165, 250, 0.5);
    background: linear-gradient(180deg, rgba(59, 130, 246, 0.08) 0%, rgba(7, 11, 20, 0.4) 100%);
    transform: translateY(-2px);
}

.home-hero-cta:hover::before,
.home-hero-cta:hover::after {
    width: 28px;
    height: 28px;
    border-color: var(--cyan);
}

.home-hero-upload-icon {
    flex-shrink: 0;
    width: 88px;
    height: 88px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: transparent;
    border: 1px solid var(--border-color);
}

.home-hero-upload-icon svg {
    width: 44px;
    height: 44px;
    color: var(--azure-soft);
    transition: transform 0.3s ease;
}

.home-hero-cta:hover .home-hero-upload-icon svg {
    transform: translateY(-4px);
    color: var(--cyan);
}

.home-hero-upload-text {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
    min-width: 0;
}

.home-hero-upload-text strong {
    font-family: var(--font-display);
    font-size: 1.35em;
    font-weight: 700;
    color: var(--paper);
    line-height: 1.3;
    letter-spacing: 0.02em;
}

.home-hero-upload-text span {
    color: var(--text-secondary);
    font-size: 0.9em;
    line-height: 1.6;
    font-weight: 300;
    max-width: 320px;
}

.home-hero-upload-btn {
    flex-shrink: 0;
    padding: 13px 32px;
    border-radius: 2px;
    background: var(--azure);
    color: var(--paper);
    font-size: 0.98em;
    font-weight: 500;
    white-space: nowrap;
    letter-spacing: 0.05em;
    transition: background 0.25s ease;
}

.home-hero-cta:hover .home-hero-upload-btn {
    background: var(--azure-deep);
}

@media (max-width: 600px) {
    .home-hero {
        padding: 40px 16px 28px;
    }

    .home-hero-cta {
        padding: 28px 20px;
        gap: 18px;
    }

    .home-hero-upload-icon {
        width: 72px;
        height: 72px;
    }

    .home-hero-upload-icon svg {
        width: 36px;
        height: 36px;
    }

    .home-hero-upload-text strong {
        font-size: 1.15em;
    }

    .home-hero-upload-text span {
        font-size: 0.84em;
    }
}

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

/* ============ 工具卡片网格 ============ */
.home-tools-section {
    position: relative;
    z-index: 1;
    padding: 80px 20px;
}

.home-tools-section::before {
    content: '— 02 / 工具集 —';
    display: block;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.35em;
    color: var(--cyan);
    margin-bottom: 16px;
    text-align: center;
    text-transform: uppercase;
    font-weight: 500;
}

.home-tools-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.home-tools-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border-color);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    overflow: hidden;
}

.home-tool-card {
    position: relative;
    display: block;
    padding: 32px 28px;
    background: var(--ink);
    border: none;
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    transition: background 0.3s ease;
}

.home-tool-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--azure), var(--cyan));
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.35s ease;
}

.home-tool-card:hover {
    background: var(--ink-soft);
}

.home-tool-card:hover::before {
    transform: scaleY(1);
}

.home-tool-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.home-tool-card-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--azure-soft);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.home-tool-card:hover .home-tool-card-icon {
    border-color: var(--azure-soft);
    color: var(--cyan);
}

.home-tool-card-icon svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.home-tool-card h3 {
    margin: 0;
    font-family: var(--font-display);
    font-size: 1.15em;
    font-weight: 700;
    color: var(--paper);
    line-height: 1.3;
    letter-spacing: 0.02em;
}

.home-tool-card-desc {
    color: var(--text-secondary);
    font-size: 0.88em;
    line-height: 1.75;
    margin-bottom: 20px;
    font-weight: 300;
}

.home-tool-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--azure-soft);
    font-size: 0.82em;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: all 0.25s ease;
}

.home-tool-card:hover .home-tool-card-link {
    color: var(--cyan);
    gap: 10px;
}

.home-tool-card-arrow {
    font-size: 1.1em;
    line-height: 1;
}

@media (max-width: 1024px) {
    .home-tools-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .home-tools-section {
        padding: 50px 15px;
    }

    .home-tools-grid {
        grid-template-columns: 1fr;
    }

    .home-tool-card {
        padding: 24px 20px;
    }
}

/* ============ 豆包去水印插件 CTA ============ */
.home-doubao-plugin {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 40px auto;
    padding: 0;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background: var(--ink-soft);
    overflow: hidden;
}

.home-doubao-plugin::before {
    content: '— 03 / 限时插件 —';
    display: block;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.35em;
    color: var(--cyan);
    padding: 20px 40px 0;
    text-transform: uppercase;
    font-weight: 500;
}

.home-doubao-plugin-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 0;
    align-items: stretch;
    padding: 24px 40px 40px;
}

.home-doubao-plugin-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border: 1px solid var(--border-color);
    border-radius: 2px;
    background: var(--ink);
    filter: contrast(1.05) saturate(1.05);
}

.home-doubao-plugin-content {
    padding-left: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.home-doubao-plugin-kicker {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    margin-bottom: 16px;
    border: 1px solid var(--border-color);
    border-radius: 2px;
    color: var(--cyan-soft);
    background: transparent;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    width: fit-content;
}

.home-doubao-plugin h2 {
    margin: 0 0 16px;
    font-family: var(--font-display);
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 700;
    line-height: 1.25;
    color: var(--paper);
    letter-spacing: 0.02em;
}

.home-doubao-plugin h2::after {
    content: '';
    display: block;
    width: 32px;
    height: 2px;
    background: linear-gradient(90deg, var(--azure), var(--cyan));
    margin-top: 14px;
}

.home-doubao-plugin-desc {
    color: var(--text-secondary);
    font-size: 0.98em;
    line-height: 1.85;
    margin-bottom: 28px;
    font-weight: 300;
}

.home-doubao-plugin-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
}

.home-doubao-plugin-buy {
    position: relative;
    overflow: hidden;
    padding: 13px 32px;
    border: 1px solid var(--azure);
    border-radius: 2px;
    color: var(--paper);
    background: var(--azure);
    font-size: 0.95em;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.05em;
    transition: all 0.25s ease;
}

.home-doubao-plugin-buy:hover {
    background: transparent;
    color: var(--azure-soft);
    border-color: var(--azure-soft);
}

.home-doubao-plugin-more {
    color: var(--text-secondary);
    font-size: 0.88em;
    font-weight: 400;
    text-decoration: none;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 2px;
    transition: all 0.2s ease;
}

.home-doubao-plugin-more:hover {
    color: var(--cyan);
    border-bottom-color: var(--cyan);
}

@media (max-width: 900px) {
    .home-doubao-plugin {
        margin: 30px 15px;
    }

    .home-doubao-plugin::before {
        padding: 16px 20px 0;
    }

    .home-doubao-plugin-grid {
        grid-template-columns: 1fr;
        padding: 20px;
        gap: 24px;
    }

    .home-doubao-plugin-content {
        padding-left: 0;
    }
}

/* ============ 卖点区块 ============ */
.selling-points {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px;
    position: relative;
    z-index: 1;
}

.selling-points::before {
    content: '— 04 / 为什么选择 —';
    display: block;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.35em;
    color: var(--cyan);
    margin-bottom: 16px;
    text-align: center;
    text-transform: uppercase;
    font-weight: 500;
}

.selling-points h2 {
    font-family: var(--font-display);
    font-size: 1.85em;
    font-weight: 700;
    color: var(--paper);
    margin: 0 0 48px;
    line-height: 1.4;
    text-align: center;
    letter-spacing: 0.02em;
}

.selling-points-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.selling-point-item {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 32px 24px;
    background: transparent;
    border: none;
    border-right: 1px solid var(--border-color);
    text-align: left;
    transition: background 0.3s ease;
}

.selling-point-item:last-child {
    border-right: none;
}

.selling-point-item:hover {
    background: var(--ink-soft);
}

.selling-point-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
    line-height: 1;
}

.selling-point-item strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.05rem;
    color: var(--paper);
    margin-bottom: 8px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.selling-point-item p {
    font-size: 0.84rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.7;
    font-weight: 300;
}

@media (max-width: 768px) {
    .selling-points {
        padding: 50px 15px;
    }

    .selling-points-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .selling-point-item {
        padding: 24px 18px;
    }

    .selling-point-item:nth-child(2) {
        border-right: none;
    }

    .selling-point-item:nth-child(1),
    .selling-point-item:nth-child(2) {
        border-bottom: 1px solid var(--border-color);
    }
}

@media (max-width: 480px) {
    .selling-points-grid {
        grid-template-columns: 1fr;
    }

    .selling-point-item {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }

    .selling-point-item:last-child {
        border-bottom: none;
    }
}

/* ============ 使用步骤区块 ============ */
.steps-section {
    background: var(--ink-soft);
    padding: 80px 20px;
    position: relative;
    z-index: 1;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.steps-section::before {
    content: '— 05 / 使用流程 —';
    display: block;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.35em;
    color: var(--cyan);
    margin-bottom: 16px;
    text-align: center;
    text-transform: uppercase;
    font-weight: 500;
}

.steps-container {
    max-width: 1200px;
    margin: 0 auto;
}

.steps-title {
    font-family: var(--font-display);
    font-size: 1.85em;
    font-weight: 700;
    color: var(--paper);
    text-align: center;
    margin-bottom: 16px;
    letter-spacing: 0.02em;
}

.steps-subtitle {
    max-width: 680px;
    margin: 0 auto 56px;
    color: var(--text-secondary);
    font-size: 0.98em;
    line-height: 1.8;
    text-align: center;
    font-weight: 300;
}

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

.step-card {
    background: transparent;
    border-radius: 0;
    padding: 0;
    border: none;
    transition: none;
    text-align: left;
    position: relative;
}

.step-number {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--azure) 0%, var(--cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 20px;
    display: block;
    position: static;
    width: auto;
    height: auto;
    border-radius: 0;
    box-shadow: none;
    transform: none;
    letter-spacing: -0.02em;
}

.step-icon {
    font-size: 32px;
    margin-bottom: 16px;
    margin-top: 0;
    opacity: 0.8;
}

.step-title {
    font-family: var(--font-display);
    font-size: 1.15em;
    font-weight: 700;
    color: var(--paper);
    margin-bottom: 12px;
    line-height: 1.4;
    letter-spacing: 0.02em;
}

.step-description {
    font-size: 0.88em;
    color: var(--text-secondary);
    line-height: 1.75;
    font-weight: 300;
}

@media (max-width: 1024px) {
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 32px;
    }
}

@media (max-width: 768px) {
    .steps-section {
        padding: 50px 15px;
    }

    .steps-title {
        font-size: 1.5em;
        margin-bottom: 12px;
    }

    .steps-subtitle {
        margin-bottom: 36px;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .step-number {
        font-size: 2.8rem;
        margin-bottom: 14px;
    }

    .step-icon {
        font-size: 26px;
        margin-bottom: 12px;
    }

    .step-title {
        font-size: 1.05em;
        margin-bottom: 10px;
    }

    .step-description {
        font-size: 0.85em;
    }
}

/* ============ 对比区块 ============ */
.comparison-section {
    padding: 80px 20px;
    background: var(--ink);
    position: relative;
    z-index: 1;
}

.comparison-section::before {
    content: '— 06 / 工具对比 —';
    display: block;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.35em;
    color: var(--cyan);
    margin-bottom: 16px;
    text-align: center;
    text-transform: uppercase;
    font-weight: 500;
}

.comparison-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background: var(--ink-soft);
}

.comparison-table {
    width: 100%;
    min-width: 720px;
    border-collapse: collapse;
    color: var(--text-secondary);
    font-size: 0.92rem;
}

.comparison-table th,
.comparison-table td {
    padding: 18px 20px;
    border-bottom: 1px solid var(--border-color);
    text-align: left;
    vertical-align: top;
    line-height: 1.65;
}

.comparison-table thead th {
    color: var(--paper);
    background: transparent;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.88em;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-bottom: 2px solid var(--azure);
}

.comparison-table tbody th {
    width: 22%;
    color: var(--paper);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.95em;
}

.comparison-table tbody tr {
    transition: background 0.2s ease;
}

.comparison-table tbody tr:hover {
    background: rgba(59, 130, 246, 0.05);
}

.comparison-table tr:last-child th,
.comparison-table tr:last-child td {
    border-bottom: 0;
}

@media (max-width: 768px) {
    .comparison-section {
        padding: 50px 15px;
    }

    .content-title {
        font-size: 1.45em;
    }

    .content-subtitle {
        margin-bottom: 28px;
        font-size: 0.9em;
    }

    .comparison-table {
        min-width: 0;
        table-layout: fixed;
        font-size: 0.84rem;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 12px 10px;
        overflow-wrap: anywhere;
    }

    .comparison-table tbody th {
        width: 30%;
    }
}

/* ============ FAQ 区块 ============ */
.faq-section {
    background: var(--ink-soft);
    padding: 80px 20px;
    border-top: 1px solid var(--border-color);
    position: relative;
    z-index: 1;
}

.faq-section::before {
    content: '— 07 / 常见问题 —';
    display: block;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.35em;
    color: var(--cyan);
    margin-bottom: 16px;
    text-align: center;
    text-transform: uppercase;
    font-weight: 500;
}

.faq-container {
    max-width: 880px;
    margin: 0 auto;
}

.faq-title {
    font-family: var(--font-display);
    font-size: 1.85em;
    font-weight: 700;
    color: var(--paper);
    text-align: center;
    margin-bottom: 48px;
    letter-spacing: 0.02em;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-top: 1px solid var(--border-color);
}

.faq-item {
    background: transparent;
    border-radius: 0;
    padding: 28px 0;
    border: none;
    border-bottom: 1px solid var(--border-color);
    transition: padding 0.3s ease;
}

.faq-item:hover {
    background: transparent;
    padding-left: 16px;
}

.faq-question {
    font-family: var(--font-display);
    font-size: 1.1em;
    font-weight: 700;
    color: var(--paper);
    margin-bottom: 12px;
    line-height: 1.5;
    letter-spacing: 0.02em;
    position: relative;
    padding-left: 24px;
}

.faq-question::before {
    content: 'Q.';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--azure-soft);
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 0.95em;
}

.faq-answer {
    font-size: 0.94em;
    color: var(--text-secondary);
    line-height: 1.85;
    font-weight: 300;
    padding-left: 24px;
}

.faq-answer a {
    color: var(--azure-soft);
    text-decoration: none;
    border-bottom: 1px solid rgba(96, 165, 250, 0.4);
    padding-bottom: 1px;
    transition: all 0.2s ease;
}

.faq-answer a:hover {
    color: var(--cyan);
    border-bottom-color: var(--cyan);
}

@media (max-width: 768px) {
    .faq-section {
        padding: 50px 15px;
    }

    .faq-title {
        font-size: 1.45em;
        margin-bottom: 36px;
    }

    .faq-item {
        padding: 22px 0;
    }

    .faq-item:hover {
        padding-left: 0;
    }

    .faq-question {
        font-size: 1em;
    }

    .faq-answer {
        font-size: 0.9em;
    }
}

/* ============ 页脚 ============ */
.footer {
    background: var(--ink);
    border-top: 1px solid var(--border-color);
    padding: 64px 20px 40px;
    position: relative;
    z-index: 1;
}

.footer-container {
    max-width: 1320px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 32px;
    margin-bottom: 48px;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-title {
    font-family: var(--font-display);
    font-size: 0.95em;
    font-weight: 700;
    color: var(--paper);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
    letter-spacing: 0.05em;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.86em;
    transition: all 0.2s ease;
    display: inline-block;
    font-weight: 300;
}

.footer-links a:hover {
    color: var(--azure-soft);
    transform: translateX(4px);
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.footer-copyright {
    color: var(--paper-dim);
    font-size: 0.88em;
    margin-bottom: 8px;
    font-weight: 300;
    font-family: var(--font-display);
    letter-spacing: 0.02em;
}

.footer-platforms {
    color: var(--paper-muted);
    font-size: 0.78em;
    font-weight: 300;
    line-height: 1.6;
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 48px 15px 32px;
    }

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

    .footer-title {
        font-size: 0.9em;
        margin-bottom: 14px;
        padding-bottom: 8px;
    }

    .footer-links a {
        font-size: 0.84em;
    }

    .footer-copyright {
        font-size: 0.84em;
    }

    .footer-platforms {
        font-size: 0.76em;
    }
}

/* ============ 右侧悬浮收藏按钮 ============ */
.right-bar {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    background: var(--ink-soft);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 10px 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.right-bar:hover {
    border-color: var(--azure-soft);
    box-shadow: 0 12px 32px rgba(59, 130, 246, 0.25);
}

.bookmark-btn {
    width: 44px;
    height: 44px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    margin: 0 auto;
    box-shadow: none;
    border: none;
}

.bookmark-btn:hover {
    transform: scale(1.1);
    background: rgba(59, 130, 246, 0.12);
}

.bookmark-btn:active {
    transform: scale(0.92);
}

@keyframes bookmark-pop {
    0% { transform: scale(1); }
    30% { transform: scale(1.25); }
    50% { transform: scale(0.9); }
    70% { transform: scale(1.08); }
    100% { transform: scale(1); }
}

.bookmark-btn.animate {
    animation: bookmark-pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.bookmark-icon {
    width: 22px;
    height: 22px;
    color: var(--azure-soft);
    transition: all 0.3s ease;
}

.qrcode-text {
    color: var(--text-secondary);
    font-size: 11px;
    text-align: center;
    margin-top: 6px;
    margin-bottom: 0;
    font-weight: 400;
    letter-spacing: 0.1em;
}

.bookmark-toast {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(-60px);
    background: var(--ink-soft);
    border: 1px solid var(--azure);
    color: var(--paper);
    padding: 10px 24px;
    border-radius: 2px;
    font-size: 0.86em;
    font-weight: 400;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    z-index: 9999;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: none;
    white-space: nowrap;
    letter-spacing: 0.02em;
}

.bookmark-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

@media (max-width: 768px) {
    .right-bar {
        right: 15px;
        top: auto;
        bottom: 20px;
        transform: none;
        padding: 8px 6px;
    }

    .bookmark-btn {
        width: 40px;
        height: 40px;
    }

    .bookmark-icon {
        width: 20px;
        height: 20px;
    }

    .qrcode-text {
        font-size: 10px;
        margin-top: 4px;
    }
}
