/* Tagemesh.com - 防爆笼中文站 */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, 'Segoe UI', Arial, sans-serif; background: #0a0a0a; color: #f0f0f0; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Header */
header { background: #111; border-bottom: 2px solid #c9a84c; padding: 12px 0; }
.header-inner { display: flex; justify-content: space-between; align-items: center; }
.logo-text { font-size: 28px; font-weight: bold; color: #c9a84c; letter-spacing: 2px; }
.logo-text span { color: #fff; font-weight: 300; }
.logo-sub { font-size: 12px; color: #777; }
.header-contact { color: #c9a84c; font-size: 14px; }

/* Navigation */
nav { background: #1a1a1a; }
nav ul { list-style: none; display: flex; justify-content: center; }
nav a { display: block; padding: 14px 28px; color: #ccc; text-decoration: none; font-size: 15px; letter-spacing: 1px; transition: 0.3s; }
nav a:hover, nav a.active { color: #c9a84c; border-bottom: 2px solid #c9a84c; }

/* Hero */
.hero { height: 80vh; min-height: 500px; display: flex; align-items: center; justify-content: center; text-align: center; background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('../images/hero-bg.jpg') center/cover; }
.hero h1 { font-size: 48px; color: #fff; margin-bottom: 15px; }
.hero h1 em { color: #c9a84c; font-style: normal; }
.hero p { font-size: 18px; color: #aaa; margin-bottom: 30px; }
.hero-btn { display: inline-block; padding: 14px 40px; background: #c9a84c; color: #000; text-decoration: none; font-size: 16px; font-weight: bold; transition: 0.3s; }
.hero-btn:hover { background: #fff; }

/* Sections */
section { padding: 80px 0; }
.section-header { text-align: center; margin-bottom: 50px; }
.section-tag { color: #c9a84c; font-size: 13px; letter-spacing: 3px; margin-bottom: 10px; }
.section-header h2 { font-size: 36px; color: #fff; }
.section-header p { color: #777; margin-top: 10px; }

/* Products */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.product-card { background: #1a1a1a; border: 1px solid #333; overflow: hidden; transition: 0.3s; }
.product-card:hover { border-color: #c9a84c; transform: translateY(-5px); }
.product-card img { width: 100%; height: 220px; object-fit: cover; }
.product-card .info { padding: 25px; }
.product-card h3 { color: #c9a84c; font-size: 20px; margin-bottom: 10px; }
.product-card p { color: #999; font-size: 14px; line-height: 1.7; margin-bottom: 15px; }
.product-card .btn { display: inline-block; padding: 8px 20px; border: 1px solid #c9a84c; color: #c9a84c; text-decoration: none; font-size: 13px; transition: 0.3s; }
.product-card .btn:hover { background: #c9a84c; color: #000; }

/* Features */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; text-align: center; }
.feature-item { padding: 30px 20px; background: #1a1a1a; border: 1px solid #333; }
.feature-item .icon { font-size: 40px; margin-bottom: 15px; }
.feature-item h3 { color: #c9a84c; margin-bottom: 8px; }
.feature-item p { color: #777; font-size: 13px; }

/* Stats */
.stats { background: #111; border-top: 1px solid #c9a84c; border-bottom: 1px solid #c9a84c; padding: 50px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; gap: 20px; }
.stat-item .number { font-size: 48px; font-weight: bold; color: #c9a84c; }
.stat-item .label { color: #777; font-size: 13px; margin-top: 5px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-item { padding: 25px; background: #1a1a1a; border: 1px solid #333; margin-bottom: 15px; }
.contact-item h3 { color: #c9a84c; margin-bottom: 8px; }
.contact-item p { color: #999; line-height: 1.8; }

/* Footer */
footer { background: #111; border-top: 1px solid #333; padding: 40px 0 15px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 30px; }
.footer-col h4 { color: #c9a84c; margin-bottom: 15px; }
.footer-col a { display: block; color: #777; text-decoration: none; padding: 3px 0; font-size: 14px; }
.footer-col a:hover { color: #c9a84c; }
.footer-col p { color: #777; font-size: 14px; line-height: 1.8; }
.footer-bottom { text-align: center; padding-top: 15px; border-top: 1px solid #333; color: #555; font-size: 12px; }

/* Responsive */
@media (max-width: 768px) {
  /* Header */
  header { padding: 10px 0; }
  .logo-text { font-size: 20px; }
  .logo-sub { font-size: 10px; }
  .header-contact { font-size: 12px; }

  /* Navigation */
  nav ul { flex-wrap: nowrap; justify-content: center; overflow-x: auto; -webkit-overflow-scrolling: touch; padding: 0 5px; }
  nav a { padding: 10px 14px; font-size: 13px; white-space: nowrap; }

  /* Hero */
  .hero { height: 70vh; min-height: 400px; }
  .hero h1 { font-size: 24px; }
  .hero p { font-size: 14px; }

  /* Sections */
  section { padding: 40px 0; }
  .section-header h2 { font-size: 24px; }
  .section-header p { font-size: 13px; }

  /* Products */
  .product-grid { grid-template-columns: 1fr; gap: 15px; }
  .product-card img { height: 200px; }

  /* Application gallery */
  .app-gallery { grid-template-columns: 1fr !important; }

  /* Features & Stats */
  .features { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item .number { font-size: 28px; }

  /* Contact & Footer */
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > div { margin-bottom: 15px; }
}
