/* ToolAI 视觉复刻 — 深色主题 + 青色主色 */
:root {
    --primary: #00D4AA;
    --primary-dark: #00B894;
    --accent: #00F5C4;
    --bg-dark: #0a0a0a;
    --bg-card: #141414;
    --bg-card-hover: #1a1a1a;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --text-muted: #666666;
    --border-color: #2a2a2a;
    --gradient-primary: linear-gradient(135deg, #00D4AA 0%, #00F5C4 50%, #00D4AA 100%);
    --gradient-bg: linear-gradient(180deg, #0a0a0a 0%, #0d1a15 50%, #0a0a0a 100%);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    background: var(--bg-dark); color: var(--text-primary); line-height: 1.7;
}
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ============ Header ============ */
.header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(10, 10, 10, 0.92); backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo img { width: 32px; height: 32px; }
.logo-text { font-size: 22px; font-weight: 700; color: var(--text-primary); }
.nav { display: flex; gap: 26px; align-items: center; }
.nav a { text-decoration: none; color: var(--text-secondary); font-size: 14px; transition: all 0.3s; }
.nav a:hover { color: var(--primary); }
.header-actions { display: flex; gap: 12px; align-items: center; }
.btn {
    padding: 10px 22px; border-radius: 8px; font-size: 14px; font-weight: 600;
    cursor: pointer; text-decoration: none; display: inline-block; transition: all 0.3s;
}
.btn-outline { background: transparent; color: var(--text-primary); border: 1px solid var(--border-color); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-primary { background: var(--gradient-primary); color: #0a0a0a; font-weight: 700; }
.btn-primary:hover { box-shadow: 0 8px 24px rgba(0, 212, 170, 0.35); transform: translateY(-1px); }

/* ============ Hero ============ */
.hero { background: var(--gradient-bg); position: relative; overflow: hidden; }
.hero::before {
    content: ''; position: absolute; top: -120px; right: -80px;
    width: 520px; height: 520px; border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 212, 170, 0.12) 0%, transparent 70%);
}
.hero-inner { display: flex; align-items: center; justify-content: space-between; padding: 80px 0; gap: 48px; position: relative; }
.hero-text { flex: 1; }
.hero-badge {
    display: inline-block; background: rgba(0, 212, 170, 0.12); color: var(--primary);
    font-size: 13px; font-weight: 600; padding: 6px 16px; border-radius: 20px; margin-bottom: 20px;
}
.hero-title {
    font-size: 3.2rem; font-weight: 900; line-height: 1.25; margin-bottom: 20px;
}
.hero-title .highlight { color: var(--primary); }
.hero-desc { font-size: 16px; color: var(--text-secondary); line-height: 1.9; margin-bottom: 32px; max-width: 560px; }
.hero-actions { display: flex; gap: 16px; }
.hero-actions .btn { padding: 14px 32px; font-size: 16px; }
.hero-image { flex: 0 0 460px; }
.hero-image img { width: 100%; border-radius: 16px; }

/* ============ Section 通用 ============ */
.section { padding: 80px 0; }
.section-title { text-align: center; font-size: 2.4rem; font-weight: 800; margin-bottom: 14px; }
.section-subtitle { text-align: center; font-size: 16px; color: var(--text-secondary); margin-bottom: 52px; }

/* ============ Features ============ */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card {
    background: var(--bg-card); border: 1px solid var(--border-color);
    border-radius: 16px; padding: 32px 28px; transition: all 0.3s;
}
.feature-card:hover { background: var(--bg-card-hover); border-color: var(--primary); transform: translateY(-4px); }
.feature-icon {
    width: 52px; height: 52px; border-radius: 12px;
    background: rgba(0, 212, 170, 0.12); display: flex; align-items: center; justify-content: center;
    font-size: 26px; margin-bottom: 20px; color: var(--primary);
}
.feature-title { font-size: 18px; font-weight: 700; margin-bottom: 12px; }
.feature-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }

/* ============ Showcase ============ */
.showcase { background: var(--bg-card); border-radius: 20px; padding: 56px; margin-bottom: 48px; display: flex; align-items: center; gap: 48px; }
.showcase:nth-child(even) { flex-direction: row-reverse; }
.showcase-text { flex: 1; }
.showcase-title { font-size: 2rem; font-weight: 800; margin-bottom: 16px; }
.showcase-text p { font-size: 15px; color: var(--text-secondary); line-height: 1.8; margin-bottom: 20px; }
.showcase-list { list-style: none; }
.showcase-list li { padding: 10px 0; color: var(--text-secondary); font-size: 14px; border-bottom: 1px solid var(--border-color); }
.showcase-list li::before { content: '✓ '; color: var(--primary); font-weight: 700; }
.showcase-image { flex: 0 0 440px; }
.showcase-image img { width: 100%; border-radius: 12px; }

/* ============ Workflow ============ */
.workflow-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.workflow-step { text-align: center; padding: 32px 20px; }
.workflow-num {
    width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 50%;
    background: var(--gradient-primary); color: #0a0a0a;
    display: flex; align-items: center; justify-content: center;
    font-size: 22px; font-weight: 800;
}
.workflow-title { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.workflow-step p { font-size: 14px; color: var(--text-secondary); }

/* ============ 下载 CTA ============ */
.cta-section { text-align: center; padding: 80px 0; background: var(--gradient-bg); }
.cta-section h2 { font-size: 2.4rem; font-weight: 800; margin-bottom: 16px; }
.cta-section p { color: var(--text-secondary); margin-bottom: 32px; }
.cta-section .btn { padding: 16px 44px; font-size: 17px; }

/* ============ Footer ============ */
.footer { background: #060606; border-top: 1px solid var(--border-color); padding: 60px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.footer-brand p { color: var(--text-secondary); font-size: 13px; line-height: 1.8; margin-top: 14px; }
.footer-col h4 { font-size: 16px; margin-bottom: 16px; color: var(--text-primary); }
.footer-col a { display: block; color: var(--text-secondary); text-decoration: none; font-size: 13px; padding: 5px 0; }
.footer-col a:hover { color: var(--primary); }
.footer-bottom { text-align: center; padding-top: 30px; margin-top: 30px; border-top: 1px solid var(--border-color); font-size: 12px; color: var(--text-muted); }

/* ============ 文章列表（一级路径 SEO） ============ */
.article-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.article-card {
    background: var(--bg-card); border: 1px solid var(--border-color);
    border-radius: 16px; padding: 28px; text-decoration: none; color: inherit;
    transition: all 0.3s; display: block;
}
.article-card:hover { border-color: var(--primary); transform: translateY(-4px); }
.article-card .tag {
    display: inline-block; background: rgba(0, 212, 170, 0.12); color: var(--primary);
    padding: 3px 12px; border-radius: 12px; font-size: 12px; font-weight: 600; margin-bottom: 14px;
}
.article-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.article-card p { font-size: 13px; color: var(--text-secondary); line-height: 1.7; }
.article-card .more { color: var(--primary); font-weight: 600; font-size: 13px; margin-top: 12px; display: inline-block; }

/* ============ 文章页 ============ */
.article-page { background: var(--bg-dark); min-height: 60vh; padding: 40px 0 80px; }
.breadcrumb { font-size: 14px; color: var(--text-secondary); margin-bottom: 24px; }
.breadcrumb a { color: var(--text-secondary); text-decoration: none; }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span { color: var(--primary); font-weight: 600; }
.article-main {
    background: var(--bg-card); border: 1px solid var(--border-color);
    border-radius: 16px; padding: 48px 56px; max-width: 860px;
}
.article-main h1 { font-size: 2.2rem; font-weight: 900; line-height: 1.35; margin-bottom: 16px; }
.article-main .article-meta {
    display: flex; gap: 16px; align-items: center; font-size: 13px;
    color: var(--text-secondary); margin-bottom: 32px; padding-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
}
.article-main .article-meta .tag {
    background: rgba(0, 212, 170, 0.12); color: var(--primary);
    padding: 3px 12px; border-radius: 14px; font-size: 12px; font-weight: 600;
}
.article-content { font-size: 16px; line-height: 2; color: #d0d0d0; }
.article-content p { margin-bottom: 18px; }
.article-content h2 {
    font-size: 1.4rem; font-weight: 700; margin: 32px 0 16px;
    padding-left: 14px; border-left: 4px solid var(--primary); color: var(--text-primary);
}
.article-content h3 { font-size: 1.15rem; font-weight: 700; margin: 24px 0 12px; color: var(--text-primary); }
.article-content ul, .article-content ol { margin: 0 0 18px 24px; }
.article-content li { margin-bottom: 10px; }
.article-content strong { color: var(--primary); }
.article-content a { color: var(--primary); text-decoration: none; font-weight: 600; }
.article-content a:hover { text-decoration: underline; }
.related-box {
    background: var(--bg-card); border: 1px solid var(--border-color);
    border-radius: 16px; padding: 32px; margin-top: 32px;
}
.related-box h3 { font-size: 18px; font-weight: 700; margin-bottom: 20px; }
.related-list { display: flex; flex-direction: column; gap: 12px; }
.related-list a {
    display: flex; justify-content: space-between; align-items: center;
    padding: 14px 18px; border-radius: 10px; background: var(--bg-dark);
    color: var(--text-primary); text-decoration: none; font-size: 15px; font-weight: 600;
    transition: all 0.3s;
}
.related-list a:hover { background: rgba(0, 212, 170, 0.08); color: var(--primary); }
.related-list a span { color: var(--text-muted); font-size: 13px; font-weight: 400; }
.prev-next { display: flex; justify-content: space-between; gap: 16px; margin-top: 24px; }
.prev-next a {
    flex: 1; padding: 16px 20px; border-radius: 12px; background: var(--bg-card);
    border: 1px solid var(--border-color); color: var(--text-primary);
    text-decoration: none; font-size: 14px; font-weight: 600; transition: all 0.3s;
}
.prev-next a:hover { border-color: var(--primary); color: var(--primary); }
.prev-next a.next { text-align: right; }
.prev-next .label { display: block; font-size: 12px; color: var(--text-muted); font-weight: 400; margin-bottom: 4px; }

/* ============ 响应式 ============ */
@media (max-width: 900px) {
    .nav { display: none; }
    .hero-inner { flex-direction: column; padding: 50px 0; }
    .hero-title { font-size: 2.2rem; }
    .hero-image { flex: none; width: 100%; }
    .features-grid { grid-template-columns: 1fr; }
    .showcase { flex-direction: column !important; padding: 32px 24px; }
    .showcase-image { flex: none; width: 100%; }
    .workflow-grid { grid-template-columns: 1fr 1fr; }
    .article-cards { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
}
