/* ============================================================================
   home.css —— 首页专有样式
   100% 还原 design4-tech-blue.html 的 Hero / 数据条 / 分类 / 优势 / CTA 视觉。
   公共部分（导航/按钮/玻璃卡/页脚/区块头/令牌）已在 theme.css。
   ============================================================================ */

/* ===== HERO ===== */
.hero { min-height: 100vh; position: relative; display: flex; align-items: center; overflow: hidden; background: linear-gradient(135deg,#f8fafc 0%,#e0f2fe 50%,#f0f9ff 100%); }
.hero::before { content: ''; position: absolute; top: -300px; right: -200px; width: 800px; height: 800px; border-radius: 50%; background: radial-gradient(circle, rgba(59,130,246,0.1), transparent 60%); }
.hero::after { content: ''; position: absolute; bottom: -200px; left: -200px; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle, rgba(6,182,212,0.08), transparent 60%); }
.hero-blob { position: absolute; top: 30%; left: 40%; width: 300px; height: 300px; border-radius: 50%; background: linear-gradient(135deg, rgba(59,130,246,0.06), rgba(6,182,212,0.06)); filter: blur(40px); animation: float 8s ease-in-out infinite; }
@keyframes float { 0%,100% { transform: translateY(0) translateX(0); } 50% { transform: translateY(-30px) translateX(20px); } }
.hero-inner { max-width: 1400px; margin: 0 auto; padding: 120px 40px 80px; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 1; width: 100%; }
.hero-pill { display: inline-flex; align-items: center; gap: 8px; background: rgba(59,130,246,0.08); border: 1px solid rgba(59,130,246,0.2); color: #3b82f6; padding: 8px 18px; border-radius: 30px; font-size: 13px; font-weight: 600; margin-bottom: 24px; }
.hero-pill .dot { width: 8px; height: 8px; background: #06b6d4; border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; box-shadow: 0 0 0 0 rgba(6,182,212,0.4); } 50% { opacity: 0.6; box-shadow: 0 0 0 8px rgba(6,182,212,0); } }
.hero h1 { font-size: 60px; line-height: 1.1; font-weight: 800; color: #0f172a; margin-bottom: 24px; letter-spacing: -1.5px; }
.hero h1 .grad { background: linear-gradient(135deg,#3b82f6,#06b6d4); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero p { font-size: 18px; color: #64748b; line-height: 1.7; margin-bottom: 36px; max-width: 500px; }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-visual { position: relative; height: 480px; }
.hero-glass-main { position: absolute; width: 360px; height: 400px; right: 20px; top: 20px; display: flex; align-items: center; justify-content: center; flex-direction: column; }
.hero-glass-main .hero-ico { margin-bottom: 20px; color: #3b82f6; display: inline-flex; filter: drop-shadow(0 10px 20px rgba(59,130,246,0.2)); }
.hero-glass-main .hero-ico .icon { width: 88px; height: 88px; }
.hero-glass-main .label { background: linear-gradient(135deg,#3b82f6,#06b6d4); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; font-size: 20px; font-weight: 800; letter-spacing: 2px; }
.hero-glass-main .sub { color: #94a3b8; font-size: 14px; margin-top: 8px; }
.hero-glass-stat { position: absolute; width: 180px; height: 90px; left: 0; top: 60px; display: flex; align-items: center; justify-content: center; flex-direction: column; }
.hero-glass-stat .num { font-size: 36px; font-weight: 900; background: linear-gradient(135deg,#3b82f6,#06b6d4); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-glass-stat .txt { font-size: 12px; color: #64748b; }
.hero-glass-badge { position: absolute; width: 160px; height: 70px; left: 60px; bottom: 30px; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 0 20px; }
.hero-glass-badge .badge-ico { color: #06b6d4; display: inline-flex; }
.hero-glass-badge .badge-ico .icon { width: 24px; height: 24px; }
.hero-glass-badge .num { font-size: 20px; font-weight: 800; color: #0f172a; }
.hero-glass-badge .txt { font-size: 11px; color: #64748b; }

/* ===== STATS BAR ===== */
.stats-bar { background: #fff; padding: 48px 40px; border-bottom: 1px solid #f1f5f9; }
.stats-inner { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: repeat(4,1fr); gap: 40px; }
.stat { display: flex; align-items: center; gap: 16px; }
.stat .num { font-size: 32px; font-weight: 900; background: linear-gradient(135deg,#1e293b,#3b82f6); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; line-height: 1; }
.stat .txt { font-size: 13px; color: #94a3b8; margin-top: 4px; }

/* ===== CATEGORIES ===== */
.cat-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 20px; }
.cat-card { background: #fff; border-radius: 20px; padding: 40px 24px; text-align: center; transition: .4s; cursor: pointer; position: relative; overflow: hidden; border: 1px solid transparent; text-decoration: none; display: block; }
.cat-card::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(59,130,246,0.04), rgba(6,182,212,0.04)); opacity: 0; transition: .4s; }
.cat-card:hover { transform: translateY(-8px); box-shadow: 0 20px 50px rgba(59,130,246,0.12); border-color: rgba(59,130,246,0.15); }
.cat-card:hover::before { opacity: 1; }
.cat-card .cat-icon { position: relative; z-index: 1; }
.cat-card:hover .cat-icon { transform: scale(1.1); }
.cat-card h3 { font-size: 17px; font-weight: 700; color: #0f172a; margin-bottom: 4px; position: relative; z-index: 1; }
.cat-card p { font-size: 13px; color: #94a3b8; position: relative; z-index: 1; }

/* ===== WHY US ===== */
.why-us { padding: 100px 40px; }
.why-inner { max-width: 1400px; margin: 0 auto; position: relative; z-index: 1; }
.why-header { text-align: center; margin-bottom: 60px; }
.why-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.why-card { background: rgba(255,255,255,0.04); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.08); border-radius: 20px; padding: 40px 28px; transition: .4s; }
.why-card:hover { background: rgba(255,255,255,0.07); border-color: rgba(59,130,246,0.3); transform: translateY(-4px); }
.why-card h3 { color: #fff; font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.why-card p { color: #94a3b8; font-size: 14px; line-height: 1.6; }

/* ===== CTA ===== */
.cta-section { padding: 100px 40px; background: linear-gradient(135deg,#f0f9ff,#e0f2fe); }
.cta-inner { max-width: 1000px; margin: 0 auto; text-align: center; background: rgba(255,255,255,0.7); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border: 1px solid rgba(255,255,255,0.8); border-radius: 24px; padding: 70px 40px; box-shadow: 0 20px 60px rgba(59,130,246,0.1); }
.cta-inner h2 { font-size: 38px; font-weight: 800; letter-spacing: -1px; background: linear-gradient(135deg,#0f172a,#3b82f6); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; margin-bottom: 16px; }
.cta-inner p { color: #64748b; font-size: 17px; margin-bottom: 32px; }

/* ===== 响应式：Hero 双列→单列、分类 5→2 列、优势 4→1~2 列 ===== */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { height: 440px; max-width: 520px; margin: 0 auto; width: 100%; }
  .cat-grid { grid-template-columns: repeat(2,1fr); }
  .why-grid { grid-template-columns: repeat(2,1fr); }
  .stats-inner { grid-template-columns: repeat(2,1fr); gap: 28px; }
}

@media (max-width: 768px) {
  .hero h1 { font-size: 38px; letter-spacing: -1px; }
  .hero-inner { padding: 110px 20px 60px; }
  .hero p { font-size: 16px; }
  .hero-visual { height: 400px; }
  .hero-glass-main { width: 280px; height: 340px; right: 0; }
  .hero-glass-main .hero-ico .icon { width: 72px; height: 72px; }
  .hero-glass-stat { width: 150px; height: 82px; }
  .hero-glass-badge { left: 30px; }
  .stats-bar { padding: 32px 20px; }
  .stats-inner { grid-template-columns: repeat(2,1fr); gap: 20px; }
  .cat-grid { grid-template-columns: repeat(2,1fr); gap: 14px; }
  .cat-card { padding: 26px 14px; }
  .why-us { padding: 64px 20px; }
  .why-grid { grid-template-columns: 1fr; }
  .cta-section { padding: 64px 20px; }
  .cta-inner { padding: 44px 22px; }
  .cta-inner h2 { font-size: 26px; }
}
