/* ==========================================================================
   X账号购买平台 - SEO优化版样式
   ========================================================================== */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; line-height: 1.8; color: #1a1a2e; background: #f8fafc; font-size: 16px; overflow-x: hidden; }
a { color: #3b82f6; text-decoration: none; transition: all 0.3s; }
a:hover { color: #2563eb; }

/* Header */
.header { background: rgba(255,255,255,0.98); backdrop-filter: blur(10px); border-bottom: 1px solid #e2e8f0; position: sticky; top: 0; z-index: 1000; }
.header-inner { max-width: 1200px; margin: 0 auto; padding: 0 20px; height: 70px; display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 1.4rem; font-weight: 700; color: #1e293b; }
.logo-icon { width: 44px; height: 44px; background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3); }
.nav { display: flex; align-items: center; gap: 8px; }
.nav a { padding: 10px 18px; color: #475569; font-weight: 500; border-radius: 10px; transition: all 0.2s; }
.nav a:hover, .nav a.active { background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%); color: white; box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3); }
.btn-buy { background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important; color: white !important; }
.btn-buy:hover { box-shadow: 0 6px 20px rgba(239, 68, 68, 0.4) !important; }

/* Hero */
.hero { background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #0f172a 100%); padding: 100px 20px; text-align: center; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); }
.hero-content { position: relative; z-index: 1; max-width: 900px; margin: 0 auto; }
.hero h1 { font-size: 2.8rem; color: white; margin-bottom: 20px; font-weight: 800; text-shadow: 0 2px 20px rgba(0,0,0,0.3); }
.hero h1 span { background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero p { font-size: 1.15rem; color: rgba(255,255,255,0.85); margin-bottom: 30px; line-height: 1.8; }
.hero-btns { display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; margin-bottom: 40px; }
.hero-btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 32px; border-radius: 50px; font-weight: 600; font-size: 1rem; transition: all 0.3s; }
.hero-btn-primary { background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%); color: white; box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4); }
.hero-btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 35px rgba(59, 130, 246, 0.5); color: white; }
.hero-btn-secondary { background: rgba(255,255,255,0.1); color: white; border: 2px solid rgba(255,255,255,0.3); }
.hero-btn-secondary:hover { background: rgba(255,255,255,0.2); border-color: rgba(255,255,255,0.5); color: white; }
.hero-features { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; }
.hero-feature { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,0.95); font-size: 1rem; }
.hero-feature-icon { width: 44px; height: 44px; background: rgba(255,255,255,0.15); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; }

/* Stats */
.stats { background: white; padding: 30px 0; border-bottom: 1px solid #e2e8f0; }
.stats-inner { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.stat-item { display: flex; align-items: center; gap: 15px; }
.stat-icon { width: 56px; height: 56px; background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%); border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; box-shadow: 0 4px 15px rgba(59, 130, 246, 0.15); }
.stat-info h3 { font-size: 1.8rem; font-weight: 700; color: #1e293b; }
.stat-info p { font-size: 0.9rem; color: #64748b; }

/* Container */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Sections */
.section { padding: 80px 0; }
.section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; }
.section-title { display: flex; align-items: center; gap: 12px; font-size: 1.6rem; font-weight: 700; color: #1e293b; }
.section-title::before { content: ''; width: 5px; height: 28px; background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%); border-radius: 3px; }
.more-link { color: #3b82f6; font-weight: 500; font-size: 0.95rem; }
.more-link:hover { color: #2563eb; }

/* Article Cards */
.articles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.article-card { background: white; border-radius: 16px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,0.06); transition: all 0.3s; border: 1px solid #e2e8f0; }
.article-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(0,0,0,0.1); }
.article-img { height: 180px; background: linear-gradient(135deg, #1e3a5f 0%, #0f172a 100%); display: flex; align-items: center; justify-content: center; font-size: 3rem; color: white; position: relative; }
.article-badge { position: absolute; top: 15px; left: 15px; background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%); color: white; padding: 5px 12px; border-radius: 20px; font-size: 0.8rem; font-weight: 500; }
.article-body { padding: 20px; }
.article-body h3 { font-size: 1.1rem; margin-bottom: 10px; line-height: 1.5; }
.article-body h3 a { color: #1e293b; }
.article-body h3 a:hover { color: #3b82f6; }
.article-body p { font-size: 0.9rem; color: #64748b; margin-bottom: 15px; line-height: 1.7; }
.article-meta { display: flex; justify-content: space-between; align-items: center; font-size: 0.85rem; color: #94a3b8; }
.article-meta span { display: flex; align-items: center; gap: 5px; }

/* Products */
.products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.product-card { background: white; border-radius: 16px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,0.06); transition: all 0.3s; border: 1px solid #e2e8f0; }
.product-card:hover { transform: translateY(-5px); box-shadow: 0 15px 35px rgba(0,0,0,0.1); }
.product-img { height: 120px; background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%); display: flex; align-items: center; justify-content: center; position: relative; font-size: 2.5rem; }
.product-tag { position: absolute; top: 12px; left: 12px; padding: 4px 10px; border-radius: 6px; font-size: 0.75rem; font-weight: 500; }
.product-tag.hot { background: #fef2f2; color: #dc2626; }
.product-tag.new { background: #f0fdf4; color: #16a34a; }
.product-tag.recommend { background: #eff6ff; color: #2563eb; }
.product-body { padding: 18px; }
.product-body h4 { font-size: 0.95rem; color: #1e293b; margin-bottom: 8px; line-height: 1.4; }
.product-body p { font-size: 0.8rem; color: #64748b; margin-bottom: 5px; }
.product-price { color: #dc2626; font-weight: 700; font-size: 1.1rem; margin-top: 10px; }

/* Features */
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; }
.feature-card { background: white; border-radius: 16px; padding: 30px 25px; text-align: center; box-shadow: 0 4px 20px rgba(0,0,0,0.06); transition: all 0.3s; border: 1px solid #e2e8f0; }
.feature-card:hover { transform: translateY(-5px); box-shadow: 0 15px 35px rgba(59, 130, 246, 0.1); border-color: #bfdbfe; }
.feature-icon { width: 70px; height: 70px; margin: 0 auto 20px; background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; box-shadow: 0 8px 25px rgba(59, 130, 246, 0.2); }
.feature-card h4 { font-size: 1.15rem; color: #1e293b; margin-bottom: 12px; }
.feature-card p { font-size: 0.9rem; color: #64748b; line-height: 1.7; }

/* CTA */
.cta-section { background: linear-gradient(135deg, #1e3a5f 0%, #0f172a 100%); padding: 80px 20px; text-align: center; border-radius: 24px; margin: 60px 20px; position: relative; overflow: hidden; }
.cta-section::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); }
.cta-content { position: relative; z-index: 1; }
.cta-section h2 { font-size: 2rem; color: white; margin-bottom: 15px; }
.cta-section p { color: rgba(255,255,255,0.85); margin-bottom: 30px; font-size: 1.1rem; }
.cta-btn { display: inline-flex; align-items: center; gap: 10px; background: white; color: #1e3a5f; padding: 16px 40px; border-radius: 50px; font-weight: 700; font-size: 1.1rem; transition: all 0.3s; }
.cta-btn:hover { transform: scale(1.05); box-shadow: 0 10px 30px rgba(255,255,255,0.3); }

/* Footer */
.footer { background: #0f172a; color: #94a3b8; padding: 60px 20px 30px; }
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-content { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 50px; margin-bottom: 40px; }
.footer-brand h3 { display: flex; align-items: center; gap: 10px; font-size: 1.3rem; color: white; margin-bottom: 15px; }
.footer-brand p { font-size: 0.9rem; line-height: 1.8; margin-bottom: 20px; }
.footer-links h4 { color: white; font-size: 1rem; margin-bottom: 20px; }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { font-size: 0.9rem; color: #94a3b8; }
.footer-links a:hover { color: white; }
.footer-bottom { border-top: 1px solid #1e293b; padding-top: 25px; text-align: center; font-size: 0.9rem; }

/* Responsive */
@media (max-width: 1024px) { 
    .articles-grid, .products-grid { grid-template-columns: repeat(2, 1fr); }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-content { grid-template-columns: 1fr 1fr; gap: 30px; }
}
@media (max-width: 768px) { 
    .header-inner { flex-direction: column; height: auto; padding: 15px; gap: 15px; }
    .nav { flex-wrap: wrap; justify-content: center; }
    .hero h1 { font-size: 2rem; }
    .hero-features { gap: 20px; }
    .stats-inner { grid-template-columns: repeat(2, 1fr); }
    .articles-grid, .products-grid, .features-grid { grid-template-columns: 1fr; }
    .footer-content { grid-template-columns: 1fr; gap: 30px; }
    .section-header { flex-direction: column; gap: 15px; align-items: flex-start; }
}
