/* ================================================================
   HCH English — Premium Override Styles (XAG-inspired)
   Dark tech aesthetic, bold typography, generous whitespace
   ================================================================ */

/* --- Typography Upgrades --- */
.section-title h2 { font-size: 2.4rem; letter-spacing: 2px; }
.section-title h1 { font-size: 2.8rem; letter-spacing: 2px; }
.section-title .en-sub { font-size: 0.78rem; letter-spacing: 4px; font-weight: 600; }

/* Larger hero title for English */
.hero-title { font-size: 3rem; letter-spacing: 6px; font-weight: 700; }

/* Card headings */
.card-body h3 { font-size: 1.3rem; letter-spacing: 0.5px; }

/* --- Spacing: Unified with Chinese pages --- */
.section-title { margin-bottom: 56px; }
.section-intro { padding: 56px 0 52px; }
.company-intro-text { font-size: 1.15rem; line-height: 1.9; max-width: 820px; }

/* Stats */
.stats-compact { padding: 56px 0; }
.stats-inline-grid .stat-item h3 { font-size: 2rem; letter-spacing: -1px; }

/* --- Cards: Refined Glassmorphism --- */
.card {
  box-shadow: 0 2px 24px rgba(0,0,0,0.05);
  border: 1px solid rgba(0,0,0,0.04);
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1),
              box-shadow 0.4s ease,
              border-color 0.4s ease;
}
.card:hover {
  box-shadow: 0 12px 48px rgba(0,0,0,0.1);
  transform: translateY(-8px);
  border-color: rgba(201,168,76,0.2);
}

/* Product cards */
.core-products-grid .card-img { height: 260px; }
.card-highlight:hover {
  border-color: var(--color-accent);
  box-shadow: 0 8px 36px rgba(201,168,76,0.25);
  background: rgba(201,168,76,0.02);
  transform: translateY(-8px);
}

/* --- Buttons: Premium feel --- */
.btn { padding: 16px 40px; font-size: 0.9rem; letter-spacing: 1px; border-radius: 6px; }
.btn-primary { box-shadow: 0 4px 16px rgba(201,168,76,0.3); }
.btn-primary:hover { box-shadow: 0 8px 28px rgba(201,168,76,0.4); }

/* --- Hero: Cinematic --- */
#home-hero .hero-video { object-fit: cover; }
.hero-video { filter: brightness(0.85) saturate(1.1); }

/* --- Section Background Rhythm --- */
.section:nth-of-type(even) { background: #fafbfc; }

/* --- Footer: Premium Industrial --- */
.footer {
  padding: 64px 0 32px;
  background: #f4f6f9;
  border-top: 1px solid rgba(0,0,0,0.06);
  font-size: 0.9rem;
  color: var(--color-text-light);
}
.footer .container {
  padding-left: 120px;
  padding-right: 120px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 64px;
  margin-bottom: 0;
}

/* Left: Brand */
.footer-brand h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}
.footer-tagline {
  font-size: 0.8rem;
  color: #8a98a8;
  line-height: 1.6;
  margin-bottom: 20px;
  max-width: 480px;
}
.footer-contact p {
  margin-bottom: 4px;
  font-size: 0.85rem;
  color: var(--color-text-light);
  line-height: 1.6;
}
.footer-legal {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(0,0,0,0.05);
}
.footer-legal p {
  font-size: 0.75rem;
  color: #8a98a8;
  margin-bottom: 2px;
}
.footer-legal a {
  color: #8a98a8;
  text-decoration: none;
}
.footer-legal a:hover { color: var(--color-accent); }

/* Right: Quick Links */
.footer-links h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 8px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 0;
}
.footer-nav a { font-size: 0.8rem;
  color: var(--color-text-light);
  text-decoration: none;
  font-size: 0.88rem;
  padding: 8px 0;
  transition: color 0.25s ease;
  position: relative;
}
/* Pipe separators between links */
.footer-nav a:not(:last-child)::after {
  content: '';
  display: inline-block;
  width: 1px;
  height: 11px;
  background: #c8cdd4;
  margin: 0 16px;
  vertical-align: -1px;
}
.footer-nav a:hover {
  color: var(--color-accent);
}

/* --- Visitor Counter (Footer) --- */
/* Minimalist industrial style — subtle gray, small type, slight hover darkening */
.visitor-counter {
  margin-top: 6px;
  font-size: 0.78rem;
  /* Text color — subdued gray */
  color: #7d8b99;  /* ★Text color */
  font-family: var(--font-en);
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  line-height: 1.5;
  transition: color 0.25s ease;
}
/* Count number — slight bold for emphasis */
.visitor-counter .vc-count {
  font-weight: 600;
  color: #5d6d7d;  /* ★Count color */
  transition: color 0.25s ease;
}
/* Hover — subtle text darkening */
.visitor-counter:hover,
.visitor-counter:hover .vc-count {
  color: #3d4d5d;
}

/* Mobile responsive — smaller type, auto wrap, no overflow */
@media (max-width: 768px) {
  .visitor-counter {
    font-size: 0.72rem;
    margin-top: 4px;
  }
}
@media (max-width: 480px) {
  .visitor-counter {
    font-size: 0.68rem;
    gap: 3px;
  }
}

/* --- Accent Elements --- */
.divider-accent { height: 2px; width: 48px; margin: 24px auto; }

/* --- Download Items (download page) --- */
.download-item {
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 2px 12px rgba(0,0,0,0.03);
  transition: all 0.3s ease;
}
.download-item:hover {
  border-color: rgba(201,168,76,0.3);
  box-shadow: 0 6px 24px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}

/* --- FAQ --- */
.faq-question { font-size: 1.1rem; padding: 24px 0; }
.faq-category h2 { font-size: 1.5rem; }

/* ================================================================
   RESPONSIVE — 1024px
   ================================================================ */
@media (max-width: 1024px) {
  /* hero-video height handled by style.css */
  .hero-title { font-size: 2.4rem; letter-spacing: 4px; }
  .section-title h2 { font-size: 2rem; }
  .section-title h1 { font-size: 2.2rem; }
  .core-products-grid .card-img { height: 240px; }
}

/* ================================================================
   RESPONSIVE — 768px
   ================================================================ */
@media (max-width: 768px) {
  /* home-hero height handled by style.css */
  /* hero-video height handled by style.css */
  .hero-title { font-size: 1.8rem; letter-spacing: 3px; }
  .section-title { margin-bottom: 40px; }
  .section-title h2 { font-size: 1.6rem; }
  .section-title h1 { font-size: 1.6rem; }
  .company-intro-text { font-size: 1.05rem; line-height: 1.8; }
  .stats-compact { padding: 44px 0; }
  .stats-inline-grid .stat-item h3 { font-size: 1.5rem; }
  .card:hover { transform: translateY(-4px); }
  .card-highlight:hover { transform: translateY(-4px); }
  .core-products-grid .card-img { height: 220px; }
  .btn { padding: 12px 28px; }
  .footer { padding: 48px 0 24px; }
  .footer .container { padding-left: 0 !important; padding-right: 64px; }
  .footer-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-nav { flex-wrap: wrap; gap: 4px 0; }
  .footer-nav a:not(:last-child)::after { margin: 0 12px; }
}

/* ================================================================
   RESPONSIVE — 480px
   ================================================================ */
@media (max-width: 480px) {
  /* hero-video height handled by style.css */
  .hero-title { font-size: 1.4rem; letter-spacing: 2px; }
  .section { padding: 48px 0; }
  .section-title { margin-bottom: 32px; }
  .section-title h2 { font-size: 1.4rem; }
  .section-title h1 { font-size: 1.3rem; }
  .company-intro-text { font-size: 0.95rem; }
  .stats-inline-grid .stat-item h3 { font-size: 1.25rem; }
  .core-products-grid .card-img { height: 200px; }
  .card-body { padding: 18px 14px; }
  .btn { padding: 12px 24px; font-size: 0.85rem; }
  .footer { padding: 40px 0 20px; }
  .footer .container { padding-left: 0 !important; padding-right: 40px; }
  .footer-nav a { font-size: 0.8rem; display: block; padding: 8px 0; border-bottom: 1px solid rgba(0,0,0,0.04); }
  .footer-nav a:not(:last-child)::after { content: none; }
  .footer-nav a:last-child { border-bottom: none; }
}
