* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif; color: #333; line-height: 1.6; background: #f5f7fa; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
.site-header { background: linear-gradient(135deg, #1a237e 0%, #0d47a1 50%, #01579b 100%); color: #fff; padding: 20px 0; box-shadow: 0 2px 10px rgba(0,0,0,0.1); }
.header-inner { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.logo a { font-size: 28px; font-weight: bold; color: #fff; text-shadow: 2px 2px 4px rgba(0,0,0,0.3); }
.header-desc { color: #bbdefb; margin: 5px 0 15px; font-size: 14px; }
.main-nav { display: flex; gap: 25px; }
.main-nav a { color: #e3f2fd; padding: 8px 16px; border-radius: 6px; transition: all 0.3s; font-size: 15px; }
.main-nav a:hover { background: rgba(255,255,255,0.2); color: #fff; }
.hero-section { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: #fff; padding: 80px 20px; text-align: center; }
.hero-content { max-width: 900px; margin: 0 auto; }
.hero-content h1 { font-size: 42px; margin-bottom: 20px; text-shadow: 2px 2px 4px rgba(0,0,0,0.2); }
.hero-content p { font-size: 18px; margin-bottom: 25px; opacity: 0.95; }
.hero-features { display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; }
.hero-features span { background: rgba(255,255,255,0.2); padding: 10px 20px; border-radius: 25px; font-size: 16px; }
.section-title { font-size: 28px; margin: 40px 0 25px; padding-left: 15px; border-left: 4px solid #1a237e; color: #1a237e; }
.categories-section, .tools-section, .articles-section { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.category-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; margin-bottom: 40px; }
.category-card { background: #fff; border-radius: 12px; padding: 25px; box-shadow: 0 4px 15px rgba(0,0,0,0.08); transition: transform 0.3s; border-top: 4px solid #1a237e; }
.category-card:hover { transform: translateY(-5px); }
.category-card h3 { font-size: 20px; margin-bottom: 10px; color: #1a237e; }
.category-card p { color: #666; margin-bottom: 15px; }
.cat-link { color: #1a237e; font-weight: bold; }
.tools-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin-bottom: 40px; }
.tool-card { background: #fff; border-radius: 12px; padding: 25px; text-align: center; box-shadow: 0 4px 15px rgba(0,0,0,0.08); transition: transform 0.3s; }
.tool-card:hover { transform: translateY(-5px); }
.tool-icon { font-size: 36px; margin-bottom: 10px; }
.tool-name { font-size: 18px; font-weight: bold; color: #1a237e; margin-bottom: 8px; }
.tool-desc { color: #666; font-size: 13px; }
.articles-section { display: grid; grid-template-columns: 1fr 320px; gap: 30px; margin-bottom: 40px; }
.featured-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-bottom: 30px; }
.featured-card { background: #fff; border-radius: 12px; padding: 20px; box-shadow: 0 4px 15px rgba(0,0,0,0.08); transition: transform 0.3s; }
.featured-card:hover { transform: translateY(-3px); }
.featured-card h3 { font-size: 17px; margin-bottom: 12px; color: #1a237e; line-height: 1.4; }
.featured-card p { color: #666; font-size: 14px; margin-bottom: 12px; }
.read-more { color: #1a237e; font-size: 14px; font-weight: bold; }
.latest-list { display: flex; flex-direction: column; gap: 10px; }
.latest-item { display: flex; align-items: center; gap: 12px; padding: 12px 15px; background: #fff; border-radius: 8px; transition: background 0.3s; }
.latest-item:hover { background: #e3f2fd; }
.latest-num { width: 28px; height: 28px; background: #1a237e; color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: bold; flex-shrink: 0; }
.latest-title { font-size: 14px; color: #333; }
.sidebar { display: flex; flex-direction: column; gap: 20px; }
.widget { background: #fff; border-radius: 12px; padding: 20px; box-shadow: 0 4px 15px rgba(0,0,0,0.08); }
.widget h3 { font-size: 18px; margin-bottom: 15px; color: #1a237e; padding-bottom: 10px; border-bottom: 2px solid #e3f2fd; }
.popular-list { display: flex; flex-direction: column; gap: 8px; }
.popular-item { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 6px; transition: background 0.3s; }
.popular-item:hover { background: #fff3e0; }
.popular-badge { background: #ff5722; color: #fff; padding: 3px 8px; border-radius: 4px; font-size: 11px; font-weight: bold; flex-shrink: 0; }
.popular-title { font-size: 13px; color: #333; line-height: 1.4; }
.contact-info p { margin: 8px 0; color: #555; }
.contact-phone { font-size: 18px; color: #d32f2f; font-weight: bold; }
.contact-web { font-size: 13px; color: #1565c0; }
.friend-list { display: flex; flex-direction: column; gap: 6px; max-height: 200px; overflow-y: auto; }
.friend-list a { color: #1565c0; font-size: 13px; display: block; padding: 4px 0; border-bottom: 1px dashed #e0e0e0; }
.cta-section { background: linear-gradient(135deg, #1a237e, #0d47a1); color: #fff; padding: 60px 20px; text-align: center; margin: 40px 0; }
.cta-content { max-width: 800px; margin: 0 auto; }
.cta-content h2 { font-size: 32px; margin-bottom: 15px; }
.cta-content p { font-size: 18px; margin-bottom: 25px; opacity: 0.9; }
.cta-buttons { display: flex; justify-content: center; gap: 20px; }
.btn { padding: 14px 35px; border-radius: 30px; font-size: 16px; font-weight: bold; transition: all 0.3s; display: inline-block; }
.btn-primary { background: #ff5722; color: #fff; }
.btn-primary:hover { background: #e64a19; transform: scale(1.05); }
.btn-secondary { background: rgba(255,255,255,0.2); color: #fff; border: 2px solid rgba(255,255,255,0.5); }
.site-footer { background: #1a1a2e; color: #e0e0e0; padding: 40px 20px 20px; }
.footer-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.footer-col h4 { color: #fff; margin-bottom: 15px; font-size: 16px; }
.footer-col p { margin: 8px 0; font-size: 13px; }
.footer-col a { color: #90caf9; }
.copyright { text-align: center; margin-top: 30px; padding-top: 20px; border-top: 1px solid #333; font-size: 13px; color: #999; }
.breadcrumb { max-width: 1200px; margin: 20px auto; padding: 0 20px; color: #666; font-size: 14px; }
.breadcrumb a { color: #1a237e; }
.article-content { max-width: 800px; margin: 0 auto; padding: 30px 20px; background: #fff; border-radius: 12px; box-shadow: 0 4px 15px rgba(0,0,0,0.08); }
.article-title { font-size: 32px; margin-bottom: 20px; color: #1a237e; line-height: 1.3; }
.article-meta { color: #888; font-size: 14px; margin-bottom: 25px; padding-bottom: 15px; border-bottom: 1px solid #eee; display: flex; gap: 20px; flex-wrap: wrap; }
.article-body { font-size: 16px; line-height: 1.8; color: #333; }
.article-body p { margin-bottom: 18px; text-indent: 2em; }
.article-tags { margin-top: 25px; padding-top: 20px; border-top: 1px solid #eee; }
.article-tags a { color: #1565c0; margin: 0 5px; }
.related-articles { margin-top: 30px; padding: 20px; background: #f5f7fa; border-radius: 8px; }
.related-articles h3 { margin-bottom: 15px; color: #1a237e; }
.related-articles li { margin: 8px 0; }
.related-articles a { color: #1565c0; font-size: 14px; }
.contact-box { margin-top: 30px; padding: 25px; background: linear-gradient(135deg, #e3f2fd, #f3e5f5); border-radius: 12px; border: 2px solid #1a237e; text-align: center; }
.contact-box h4 { font-size: 20px; color: #1a237e; margin-bottom: 15px; }
.contact-box p { margin: 8px 0; font-size: 16px; }
.contact-box strong { color: #d32f2f; font-size: 18px; }
.contact-sub { color: #666; font-size: 14px; margin-top: 10px; }
