* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --bg: #f8fafc;
  --card: #ffffff;
  --text: #1e293b;
  --text-light: #64748b;
  --border: #e2e8f0;
  --success: #10b981;
  --radius: 12px;
  --shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
}
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif; background: var(--bg); color: var(--text); line-height: 1.6; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* Header */
header { background: var(--card); border-bottom: 1px solid var(--border); padding: 16px 0; position: sticky; top: 0; z-index: 100; }
.header-inner { display: flex; align-items: center; justify-content: space-between; }
.logo { font-size: 22px; font-weight: 700; color: var(--text); }
.logo span { color: var(--primary); }
nav a { margin-left: 24px; color: var(--text-light); font-weight: 500; }
nav a:hover { color: var(--primary); }

/* Hero */
.hero { background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%); color: white; padding: 80px 0 60px; text-align: center; }
.hero h1 { font-size: 42px; font-weight: 800; margin-bottom: 16px; line-height: 1.2; }
.hero p { font-size: 18px; opacity: 0.9; max-width: 600px; margin: 0 auto 32px; }
.btn { display: inline-block; background: white; color: var(--primary); padding: 14px 36px; border-radius: 8px; font-size: 16px; font-weight: 600; transition: all 0.2s; }
.btn:hover { background: #f0f7ff; transform: translateY(-2px); box-shadow: var(--shadow-lg); color: var(--primary-dark); }
.btn-outline { background: transparent; border: 2px solid white; color: white; margin-left: 12px; }
.btn-outline:hover { background: rgba(255,255,255,0.1); color: white; }

/* Features */
.features { padding: 60px 0; }
.features h2 { text-align: center; font-size: 32px; margin-bottom: 40px; }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.feature-card { background: var(--card); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); transition: transform 0.2s; }
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.feature-icon { font-size: 36px; margin-bottom: 12px; }
.feature-card h3 { font-size: 18px; margin-bottom: 8px; }
.feature-card p { color: var(--text-light); font-size: 14px; }

/* Blog */
.blog-section { padding: 60px 0; background: white; }
.blog-section h2 { text-align: center; font-size: 32px; margin-bottom: 40px; }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.blog-card { background: var(--bg); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform 0.2s; }
.blog-card:hover { transform: translateY(-4px); }
.blog-card-content { padding: 24px; }
.blog-card h3 { font-size: 18px; margin-bottom: 8px; line-height: 1.4; }
.blog-card h3 a { color: var(--text); }
.blog-card h3 a:hover { color: var(--primary); }
.blog-card p { color: var(--text-light); font-size: 14px; margin-bottom: 12px; }
.blog-tag { display: inline-block; background: #e0f2fe; color: #0369a1; padding: 4px 10px; border-radius: 20px; font-size: 12px; font-weight: 500; }

/* CTA */
.cta { background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%); color: white; padding: 60px 0; text-align: center; }
.cta h2 { font-size: 28px; margin-bottom: 16px; }
.cta p { opacity: 0.9; margin-bottom: 24px; }

/* Footer */
footer { background: #0f172a; color: #94a3b8; padding: 40px 0 24px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; margin-bottom: 32px; }
.footer-grid h4 { color: white; margin-bottom: 12px; }
.footer-grid a { color: #94a3b8; display: block; margin-bottom: 6px; }
.footer-grid a:hover { color: white; }
.footer-bottom { border-top: 1px solid #1e293b; padding-top: 20px; text-align: center; }

/* Blog Article */
.article { max-width: 780px; margin: 40px auto; padding: 0 20px; }
.article h1 { font-size: 32px; margin-bottom: 12px; line-height: 1.3; }
.article-meta { color: var(--text-light); font-size: 14px; margin-bottom: 32px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.article h2 { font-size: 24px; margin: 32px 0 16px; padding-top: 16px; }
.article h3 { font-size: 20px; margin: 24px 0 12px; }
.article p { margin-bottom: 16px; }
.article ul, .article ol { margin: 16px 0; padding-left: 24px; }
.article li { margin-bottom: 8px; }
.article code { background: #f1f5f9; padding: 2px 6px; border-radius: 4px; font-size: 14px; }
.article pre { background: #1e293b; color: #e2e8f0; padding: 20px; border-radius: 8px; overflow-x: auto; margin: 20px 0; }
.article pre code { background: none; color: inherit; padding: 0; }
.article blockquote { border-left: 4px solid var(--primary); padding: 16px 20px; background: #f8fafc; margin: 20px 0; border-radius: 0 8px 8px 0; }
.article .tip { background: #ecfdf5; border: 1px solid #a7f3d0; padding: 16px 20px; border-radius: 8px; margin: 20px 0; }
.article .tip strong { color: #059669; }
.article .download-box { background: linear-gradient(135deg, #eff6ff, #dbeafe); border: 2px solid var(--primary); padding: 24px; border-radius: 12px; text-align: center; margin: 32px 0; }
.article .download-box .btn { margin-top: 12px; }
.article img { max-width: 100%; border-radius: 8px; margin: 16px 0; }
.article table { width: 100%; border-collapse: collapse; margin: 20px 0; }
.article th, .article td { border: 1px solid var(--border); padding: 12px; text-align: left; }
.article th { background: #f8fafc; font-weight: 600; }

/* Breadcrumb */
.breadcrumb { padding: 16px 0; font-size: 14px; color: var(--text-light); }
.breadcrumb a { color: var(--text-light); }
.breadcrumb a:hover { color: var(--primary); }

/* Responsive */
@media (max-width: 768px) {
  .hero h1 { font-size: 28px; }
  .hero p { font-size: 16px; }
  .btn { padding: 12px 24px; font-size: 14px; }
  .btn-outline { margin-left: 0; margin-top: 12px; }
  .feature-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .article h1 { font-size: 24px; }
}
