:root {
  --bg: #0a0e17;
  --bg-soft: #101725;
  --card: #131c2e;
  --border: #22304d;
  --text: #e8edf7;
  --muted: #93a4c3;
  --gold: #f0b90b;
  --blue: #3b82f6;
  --purple: #8b5cf6;
  --green: #22c55e;
  --grad: linear-gradient(135deg, #f0b90b 0%, #f97316 50%, #3b82f6 100%);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 76px; }

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; }

.container { width: min(1180px, 92%); margin: 0 auto; }

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(10, 14, 23, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 16px;
}

.logo {
  font-size: 22px;
  font-weight: 800;
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.logo span { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

.logo em { font-style: normal; font-size: 12px; color: var(--muted); letter-spacing: 2px; }

.site-nav { display: flex; align-items: center; gap: 22px; }

.site-nav ul { display: flex; gap: 26px; }

.site-nav ul a { font-size: 15px; color: var(--muted); transition: color .25s; position: relative; padding: 6px 0; }

.site-nav ul a:hover, .site-nav ul a:focus { color: var(--gold); }

.btn {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s, background .25s;
}

.btn-primary { background: var(--grad); color: #10131a; box-shadow: 0 6px 18px rgba(240, 185, 11, .3); }

.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(240, 185, 11, .45); }

.btn-ghost { border: 1px solid var(--border); color: var(--text); background: transparent; }

.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

.btn-block { display: block; width: 100%; text-align: center; }

.nav-toggle { display: none; background: none; border: none; color: var(--text); font-size: 24px; cursor: pointer; }

.hero {
  padding: 150px 0 70px;
  background:
    radial-gradient(700px 320px at 12% 8%, rgba(240, 185, 11, .16), transparent 60%),
    radial-gradient(800px 360px at 88% 18%, rgba(59, 130, 246, .18), transparent 60%),
    radial-gradient(600px 300px at 50% 100%, rgba(139, 92, 246, .14), transparent 60%),
    var(--bg);
  text-align: center;
}

.hero-badge {
  display: inline-block;
  padding: 7px 18px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg-soft);
  color: var(--gold);
  font-size: 14px;
  margin-bottom: 22px;
}

.hero h1 {
  font-size: clamp(30px, 4.6vw, 52px);
  line-height: 1.25;
  margin-bottom: 20px;
  background: linear-gradient(120deg, #ffffff 30%, #ffd977 70%, #7ab8ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  max-width: 820px;
  margin: 0 auto 30px;
  color: var(--muted);
  font-size: 16px;
}

.hero-sub strong { color: var(--gold); font-weight: 600; }

.hero-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; margin-bottom: 46px; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  max-width: 880px;
  margin: 0 auto;
}

.hero-stats li {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px 12px;
  transition: transform .25s, border-color .25s;
}

.hero-stats li:hover { transform: translateY(-4px); border-color: var(--gold); }

.hero-stats strong { display: block; font-size: 26px; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

.hero-stats span { font-size: 13px; color: var(--muted); }

.features { padding: 40px 0 10px; }

.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }

.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 26px 20px;
  text-align: center;
  transition: transform .25s, box-shadow .25s;
}

.feature-card:hover { transform: translateY(-6px); box-shadow: 0 14px 34px rgba(0, 0, 0, .45); }

.feature-icon { font-size: 34px; display: block; margin-bottom: 12px; }

.feature-card h2 { font-size: 18px; margin-bottom: 8px; color: #fff; }

.feature-card p { font-size: 13.5px; color: var(--muted); }

.section { padding: 80px 0; }

.products-section { background: var(--bg-soft); }

.section-tag { color: var(--gold); font-weight: 700; letter-spacing: 3px; font-size: 13px; margin-bottom: 10px; }

.section-title { font-size: clamp(24px, 3vw, 36px); margin-bottom: 14px; }

.section-desc { color: var(--muted); max-width: 760px; margin-bottom: 42px; }

.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

.product-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 24px;
  transition: transform .25s, border-color .25s, box-shadow .25s;
  display: flex;
  flex-direction: column;
}

.product-card:hover { transform: translateY(-6px); border-color: var(--gold); box-shadow: 0 16px 40px rgba(0, 0, 0, .5); }

.product-icon { font-size: 38px; margin-bottom: 14px; }

.product-card h3 { font-size: 19px; margin-bottom: 10px; }

.product-card p { font-size: 14px; color: var(--muted); flex: 1; margin-bottom: 16px; }

.card-link { color: var(--gold); font-size: 14px; font-weight: 600; }

.card-link:hover { text-decoration: underline; }

.news-section { background: var(--bg); }

.news-list { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.news-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  transition: transform .25s, border-color .25s;
}

.news-item:hover { transform: translateY(-4px); border-color: var(--blue); }

.news-meta { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }

.news-meta time { color: var(--muted); font-size: 13px; }

.news-tag { font-size: 12px; color: var(--green); background: rgba(34, 197, 94, .12); padding: 3px 10px; border-radius: 999px; }

.news-item h3 { font-size: 17px; margin-bottom: 10px; line-height: 1.5; }

.news-item h3 a:hover { color: var(--gold); }

.news-item p { font-size: 14px; color: var(--muted); }

.contact-section { background: var(--bg-soft); }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: start; }

.contact-info { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.contact-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px;
}

.contact-card span { font-size: 28px; display: block; margin-bottom: 10px; }

.contact-card h3 { font-size: 16px; margin-bottom: 8px; }

.contact-card p { font-size: 13.5px; color: var(--muted); }

.contact-form {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
}

.contact-form h3 { margin-bottom: 18px; font-size: 18px; }

.contact-form label { display: block; font-size: 13.5px; color: var(--muted); margin: 14px 0 6px; }

.contact-form input, .contact-form textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 11px 14px;
  color: var(--text);
  font-size: 14px;
  font-family: inherit;
  resize: vertical;
}

.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--gold); }

.contact-form .btn { margin-top: 20px; }

.form-tip { font-size: 12px; color: var(--muted); margin-top: 12px; }

.about-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 30px; align-items: start; }

.about-text h3 { font-size: 18px; margin: 26px 0 10px; }

.about-text h3:first-child { margin-top: 0; }

.about-text p { color: var(--muted); font-size: 15px; }

.timeline { margin-top: 6px; }

.timeline li {
  position: relative;
  padding: 0 0 18px 34px;
  color: var(--muted);
  font-size: 14.5px;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: 9px; top: 6px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(240, 185, 11, .18);
}

.timeline li::after {
  content: "";
  position: absolute;
  left: 12.5px; top: 20px; bottom: 4px;
  width: 1px;
  background: var(--border);
}

.timeline li:last-child::after { display: none; }

.timeline strong { color: var(--gold); margin-right: 10px; font-size: 15px; }

.about-side { display: grid; gap: 20px; }

.side-card {
  background: linear-gradient(160deg, rgba(240, 185, 11, .12), rgba(59, 130, 246, .10)), var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 26px;
}

.side-card h3 { font-size: 17px; margin-bottom: 10px; }

.side-card p { font-size: 14px; color: var(--muted); margin-bottom: 18px; }

.side-keywords ul { display: flex; flex-wrap: wrap; gap: 10px; }

.side-keywords li a {
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 13px;
  color: var(--muted);
  transition: color .2s, border-color .2s;
}

.side-keywords li a:hover { color: var(--gold); border-color: var(--gold); }

.site-footer { border-top: 1px solid var(--border); background: #080b12; padding: 50px 0 24px; }

.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; margin-bottom: 34px; }

.footer-brand p { font-size: 13.5px; color: var(--muted); margin-top: 12px; }

.footer-nav h3 { font-size: 15px; margin-bottom: 14px; }

.footer-nav ul { display: grid; gap: 9px; }

.footer-nav a { font-size: 14px; color: var(--muted); transition: color .2s; }

.footer-nav a:hover { color: var(--gold); }

.footer-bottom { border-top: 1px solid var(--border); padding-top: 20px; text-align: center; font-size: 13px; color: var(--muted); }

#backTop {
  position: fixed;
  right: 22px; bottom: 26px;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text);
  font-size: 18px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all .3s;
  z-index: 99;
}

#backTop.show { opacity: 1; visibility: visible; transform: translateY(0); }

#backTop:hover { border-color: var(--gold); }

@media (max-width: 960px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .news-list { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed;
    top: 64px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    background: rgba(10, 14, 23, .97);
    border-bottom: 1px solid var(--border);
    padding: 18px 6%;
    gap: 14px;
    transform: translateY(-130%);
    transition: transform .3s;
  }
  .site-nav.open { transform: translateY(0); }
  .site-nav ul { flex-direction: column; gap: 6px; }
  .site-nav ul a { display: block; padding: 10px 0; font-size: 16px; }
  .nav-download { text-align: center; }
}

@media (max-width: 560px) {
  .features-grid, .products-grid, .contact-info, .footer-top { grid-template-columns: 1fr; }
  .hero { padding-top: 120px; }
  .hero-actions .btn { width: 100%; }
  .section { padding: 60px 0; }
}
