* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --primary: #1a56db;
  --primary-dark: #1e429f;
  --primary-light: #e1effe;
  --accent: #7c3aed;
  --text: #1f2937;
  --text-light: #6b7280;
  --bg: #ffffff;
  --bg-gray: #f9fafb;
  --border: #e5e7eb;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
}
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif; color: var(--text); line-height: 1.7; background: var(--bg); }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* Header */
.header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,0.95); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 700; color: var(--primary); }
.logo-img { width: 36px; height: 36px; object-fit: contain; }
.nav { display: flex; gap: 32px; }
.nav a { font-size: 15px; color: var(--text-light); font-weight: 500; transition: color .2s; position: relative; }
.nav a:hover, .nav a.active { color: var(--primary); }
.nav a.active::after { content: ''; position: absolute; bottom: -24px; left: 0; right: 0; height: 3px; background: var(--primary); border-radius: 2px; }
.header-cta { background: var(--primary); color: #fff; padding: 10px 24px; border-radius: 8px; font-size: 14px; font-weight: 600; transition: all .2s; }
.header-cta:hover { background: var(--primary-dark); transform: translateY(-1px); }

/* Hero */
.hero { padding: 100px 0 80px; background: linear-gradient(135deg, #f0f5ff 0%, #faf5ff 100%); position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: -50%; right: -20%; width: 600px; height: 600px; background: radial-gradient(circle, rgba(26,86,219,0.1) 0%, transparent 70%); }
.hero-inner { position: relative; z-index: 1; text-align: center; max-width: 800px; margin: 0 auto; }
.hero-badge { display: inline-block; background: var(--primary-light); color: var(--primary); padding: 6px 16px; border-radius: 20px; font-size: 13px; font-weight: 600; margin-bottom: 24px; }
.hero h1 { font-size: 48px; font-weight: 800; line-height: 1.2; margin-bottom: 20px; background: linear-gradient(135deg, var(--text) 0%, var(--primary) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero p { font-size: 18px; color: var(--text-light); margin-bottom: 36px; }
.hero-buttons { display: flex; gap: 16px; justify-content: center; }
.btn { display: inline-block; padding: 14px 32px; border-radius: 8px; font-size: 15px; font-weight: 600; transition: all .2s; cursor: pointer; border: none; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(26,86,219,0.3); }
.btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }

/* Section */
.section { padding: 80px 0; }
.section-gray { background: var(--bg-gray); }
.section-header { text-align: center; margin-bottom: 56px; }
.section-tag { display: inline-block; color: var(--primary); font-size: 14px; font-weight: 600; margin-bottom: 12px; letter-spacing: 2px; }
.section-title { font-size: 36px; font-weight: 700; margin-bottom: 16px; }
.section-desc { font-size: 16px; color: var(--text-light); max-width: 600px; margin: 0 auto; }

/* Steps */
.steps-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.step-card { background: #fff; padding: 32px 24px; border-radius: var(--radius); text-align: center; box-shadow: var(--shadow); position: relative; transition: transform .3s; }
.step-card:hover { transform: translateY(-6px); }
.step-num { width: 44px; height: 44px; background: linear-gradient(135deg, var(--primary), var(--accent)); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 700; margin: 0 auto 16px; }
.step-card h3 { font-size: 18px; margin-bottom: 8px; }
.step-card p { font-size: 13px; color: var(--text-light); }

/* Services */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card { background: #fff; padding: 36px 28px; border-radius: var(--radius); box-shadow: var(--shadow); transition: all .3s; border: 1px solid transparent; }
.service-card:hover { border-color: var(--primary); transform: translateY(-4px); }
.service-icon { width: 56px; height: 56px; background: var(--primary-light); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 28px; margin-bottom: 20px; }
.service-card h3 { font-size: 20px; margin-bottom: 12px; }
.service-card p { color: var(--text-light); font-size: 14px; margin-bottom: 16px; }
.service-card ul { list-style: none; }
.service-card li { font-size: 13px; color: var(--text-light); padding: 4px 0; padding-left: 20px; position: relative; }
.service-card li::before { content: '✓'; position: absolute; left: 0; color: var(--primary); font-weight: 700; }

/* Advantages */
.adv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.adv-card { text-align: center; padding: 32px 20px; }
.adv-icon { font-size: 40px; margin-bottom: 16px; }
.adv-card h3 { font-size: 18px; margin-bottom: 8px; }
.adv-card p { font-size: 14px; color: var(--text-light); }

/* Articles */
.articles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.article-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .3s; cursor: pointer; }
.article-card:hover { transform: translateY(-4px); }
.article-cover { height: 180px; background: linear-gradient(135deg, var(--primary-light), #f3e8ff); display: flex; align-items: center; justify-content: center; font-size: 48px; }
.article-body { padding: 24px; }
.article-meta { display: flex; gap: 12px; font-size: 12px; color: var(--text-light); margin-bottom: 10px; }
.article-category { color: var(--primary); font-weight: 600; }
.article-card h3 { font-size: 17px; margin-bottom: 10px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.article-card p { font-size: 13px; color: var(--text-light); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* CTA */
.cta-section { background: linear-gradient(135deg, var(--primary), var(--accent)); padding: 80px 0; text-align: center; color: #fff; }
.cta-section h2 { font-size: 32px; margin-bottom: 16px; }
.cta-section p { font-size: 16px; opacity: 0.9; margin-bottom: 32px; }
.cta-section .btn { background: #fff; color: var(--primary); }
.cta-section .btn:hover { background: var(--bg-gray); }

/* Footer */
.footer { background: #111827; color: #9ca3af; padding: 60px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand h3 { color: #fff; font-size: 20px; margin-bottom: 16px; }
.footer-brand p { font-size: 14px; line-height: 1.8; }
.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 16px; }
.footer-col a { display: block; font-size: 14px; padding: 5px 0; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid #374151; padding-top: 24px; text-align: center; font-size: 13px; }
.footer-bottom a { color: #9ca3af; }

/* Page header */
.page-header { padding: 60px 0; background: linear-gradient(135deg, #f0f5ff 0%, #faf5ff 100%); text-align: center; }
.page-header h1 { font-size: 36px; font-weight: 700; margin-bottom: 12px; }
.page-header p { color: var(--text-light); font-size: 16px; }

/* About */
.about-content { max-width: 800px; margin: 0 auto; }
.about-content h2 { font-size: 28px; margin: 40px 0 16px; color: var(--primary); }
.about-content p { margin-bottom: 16px; color: #374151; }
.about-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin: 48px 0; }
.stat-item { text-align: center; padding: 24px; background: var(--bg-gray); border-radius: var(--radius); }
.stat-num { font-size: 36px; font-weight: 800; color: var(--primary); }
.stat-label { font-size: 14px; color: var(--text-light); margin-top: 4px; }

/* News list */
.news-filters { display: flex; gap: 12px; margin-bottom: 32px; flex-wrap: wrap; }
.filter-tag { padding: 8px 20px; border-radius: 20px; background: var(--bg-gray); font-size: 14px; cursor: pointer; transition: all .2s; }
.filter-tag:hover, .filter-tag.active { background: var(--primary); color: #fff; }
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
.pagination a, .pagination span { padding: 8px 14px; border-radius: 6px; border: 1px solid var(--border); font-size: 14px; }
.pagination .current { background: var(--primary); color: #fff; border-color: var(--primary); }

/* Article detail */
.article-detail { max-width: 800px; margin: 0 auto; }
.article-detail h1 { font-size: 32px; margin-bottom: 16px; line-height: 1.3; }
.article-detail-meta { display: flex; gap: 16px; color: var(--text-light); font-size: 14px; margin-bottom: 32px; padding-bottom: 24px; border-bottom: 1px solid var(--border); }
.article-content { font-size: 16px; line-height: 1.9; }
.article-content h2 { font-size: 24px; margin: 32px 0 16px; color: var(--text); }
.article-content h3 { font-size: 20px; margin: 24px 0 12px; }
.article-content p { margin-bottom: 16px; }
.article-content ul, .article-content ol { margin: 16px 0; padding-left: 24px; }
.article-content li { margin-bottom: 8px; }
.related-section { margin-top: 60px; padding-top: 40px; border-top: 1px solid var(--border); }
.related-section h3 { font-size: 20px; margin-bottom: 24px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-info h3 { font-size: 20px; margin-bottom: 24px; }
.contact-item { display: flex; gap: 16px; margin-bottom: 24px; align-items: flex-start; }
.contact-item-icon { width: 48px; height: 48px; background: var(--primary-light); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; }
.contact-item h4 { font-size: 15px; margin-bottom: 4px; }
.contact-item p { color: var(--text-light); font-size: 14px; }
.contact-form { background: var(--bg-gray); padding: 32px; border-radius: var(--radius); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.form-group input, .form-group textarea { width: 100%; padding: 12px 16px; border: 1px solid var(--border); border-radius: 8px; font-size: 14px; font-family: inherit; }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--primary); }

/* 404 */
.error-page { text-align: center; padding: 120px 0; }
.error-page h1 { font-size: 80px; color: var(--primary); margin-bottom: 16px; }
.error-page p { font-size: 18px; color: var(--text-light); margin-bottom: 32px; }

/* Responsive */
@media (max-width: 768px) {
  .nav { display: none; }
  .hero h1 { font-size: 32px; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid, .articles-grid { grid-template-columns: 1fr; }
  .adv-grid, .about-stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .section-title { font-size: 28px; }
}
