/* 高级简约风格 */
:root {
    --bg: #fafafa;
    --surface: #ffffff;
    --surface-hover: #f5f5f5;
    --text: #1a1a1a;
    --text-secondary: #666666;
    --text-muted: #999999;
    --primary: #2563eb;
    --primary-light: #3b82f6;
    --border: #e5e5e5;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 4px 6px rgba(0,0,0,0.05);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.08);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
.navbar {
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(20px);
    padding: 1.2rem 3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}
.logo { display: flex; align-items: center; gap: 0.6rem; font-size: 1.3rem; font-weight: 700; color: var(--text); letter-spacing: -0.02em; }
.logo-icon { font-size: 1.5rem; }
.nav-links { display: flex; list-style: none; gap: 0.5rem; }
.nav-links a { color: var(--text-secondary); text-decoration: none; font-size: 0.95rem; font-weight: 500; padding: 0.6rem 1.2rem; border-radius: 8px; transition: all 0.2s; }
.nav-links a:hover { color: var(--primary); background: #eff6ff; }
.nav-links a.active { color: var(--primary); }
.search-box { display: flex; align-items: center; background: var(--bg); padding: 0.7rem 1.2rem; border-radius: 10px; border: 1px solid var(--border); gap: 0.5rem; transition: all 0.2s; }
.search-box:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(37,99,235,0.1); }
.search-box input { background: none; border: none; color: var(--text); outline: none; width: 180px; font-size: 0.95rem; }
.hero {
    text-align: center;
    padding: 5rem 2rem 3rem;
    max-width: 800px;
    margin: 0 auto;
}
.hero h1 { font-size: 3rem; font-weight: 800; letter-spacing: -0.03em; margin-bottom: 1rem; line-height: 1.1; }
.hero h1 span { background: linear-gradient(135deg, var(--primary) 0%, #7c3aed 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero p { font-size: 1.1rem; color: var(--text-secondary); max-width: 600px; margin: 0 auto; line-height: 1.7; }
.stats-bar {
    display: flex;
    justify-content: center;
    gap: 3rem;
    padding: 1.5rem 2rem;
    background: var(--surface);
    border-radius: 14px;
    margin: 0 auto 3rem;
    max-width: 600px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
}
.stat-item { text-align: center; }
.stat-number { font-size: 2rem; font-weight: 800; color: var(--primary); letter-spacing: -0.02em; }
.stat-label { font-size: 0.85rem; color: var(--text-muted); margin-top: 0.2rem; }
.content-section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 3rem 2rem;
}
.content-section.alt-bg {
    background: var(--surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.section-title {
    font-size: 1.6rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text);
    letter-spacing: -0.02em;
}
.category-section { margin-bottom: 2rem; }
.category-section:last-child { margin-bottom: 0; }
.category-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 1rem; color: var(--text); }
.tools-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1rem; }
.tools-grid.compact { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; }
.tool-card { background: var(--bg); border-radius: 12px; padding: 1.2rem; border: 1px solid var(--border); transition: all 0.3s; text-decoration: none; color: inherit; }
.tool-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--primary); }
.tool-card-header { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 0.6rem; }
.tool-icon { width: 40px; height: 40px; background: linear-gradient(135deg, var(--primary) 0%, #7c3aed 100%); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; }
.tool-name { font-weight: 700; color: var(--text); font-size: 1rem; }
.tool-tag { font-size: 0.7rem; padding: 3px 8px; border-radius: 5px; margin-left: auto; color: white; font-weight: 600; }
.tool-tag.cn { background: #ef4444; }
.tool-tag.global { background: var(--primary); }
.tool-tag.proxy { background: #f59e0b; }
.tool-desc { color: var(--text-secondary); line-height: 1.5; font-size: 0.88rem; }
.articles-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.2rem; }
.articles-grid.compact { grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.article-card { background: var(--surface); border-radius: 14px; padding: 1.4rem; border: 1px solid var(--border); text-decoration: none; color: inherit; transition: all 0.3s; }
.article-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--primary); }
.article-tag { display: inline-block; padding: 4px 10px; border-radius: 50px; font-size: 0.75rem; margin-bottom: 0.6rem; font-weight: 600; }
.article-title { font-size: 1.05rem; margin-bottom: 0.6rem; color: var(--text); font-weight: 700; line-height: 1.4; }
.article-excerpt { color: var(--text-secondary); line-height: 1.6; margin-bottom: 0.8rem; font-size: 0.88rem; }
.article-meta { display: flex; gap: 0.8rem; font-size: 0.78rem; color: var(--text-muted); }
.more-btn-wrap { text-align: center; margin-top: 2rem; }
.more-btn { display: inline-block; padding: 12px 28px; background: var(--surface); border: 2px solid var(--border); color: var(--text-secondary); text-decoration: none; border-radius: 50px; font-weight: 600; font-size: 0.95rem; transition: all 0.2s; }
.more-btn:hover { border-color: var(--primary); color: var(--primary); }
.about-content {
    max-width: 650px;
    margin: 0 auto;
    text-align: center;
    background: var(--surface);
    padding: 2.5rem;
    border-radius: 18px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
}
.about-content p { color: var(--text-secondary); font-size: 1rem; line-height: 1.8; margin-bottom: 0.8rem; }
.about-content p:last-of-type { margin-bottom: 1.5rem; }
.about-contact { padding-top: 1.2rem; border-top: 1px solid var(--border); }
.about-contact span { color: var(--primary); font-weight: 600; }
.footer { background: #1a1a2e; padding: 3rem 2rem; margin-top: 0; color: white; }
.footer-content { max-width: 1200px; margin: 0 auto; text-align: center; }
.footer h3 { font-size: 1.4rem; font-weight: 700; margin-bottom: 0.8rem; }
.footer p { color: rgba(255,255,255,0.7); line-height: 1.6; }
.footer-bottom { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.1); color: rgba(255,255,255,0.5); font-size: 0.88rem; }
@media (max-width: 768px) {
    .navbar { padding: 1rem 1.5rem; flex-wrap: wrap; gap: 1rem; }
    .nav-links { gap: 0.3rem; }
    .nav-links a { padding: 0.5rem 0.8rem; font-size: 0.85rem; }
    .hero h1 { font-size: 2.2rem; }
    .hero { padding: 3rem 1.5rem 2rem; }
    .stats-bar { flex-wrap: wrap; gap: 1.5rem; margin: 0 auto 2rem; }
    .content-section { padding: 2rem 1.5rem; }
    .articles-grid.compact { grid-template-columns: 1fr; }
    .about-content { padding: 2rem 1.5rem; }
}
