:root {
  --bg: #06141f;
  --bg-2: #0b2433;
  --surface: rgba(255, 255, 255, 0.06);
  --surface-2: rgba(255, 255, 255, 0.1);
  --line: rgba(164, 220, 230, 0.18);
  --text: #eef8fb;
  --muted: #95b4c0;
  --accent: #19d3c5;
  --accent-2: #3aa0ff;
  --warn: #ffb454;
  --cmcc: #2ecc71;
  --cucc: #5dade2;
  --ctcc: #f5a623;
  --cbg: #e74c6f;
  --radius: 18px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  --font-display: "ZCOOL QingKe HuangYou", "Noto Sans SC", sans-serif;
  --font-body: "Noto Sans SC", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(58, 160, 255, 0.22), transparent 55%),
    radial-gradient(900px 500px at 90% 0%, rgba(25, 211, 197, 0.18), transparent 50%),
    linear-gradient(180deg, var(--bg), #08202c 40%, #041018);
  min-height: 100vh;
  line-height: 1.55;
}

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  opacity: 0.045;
  z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.site-header, main, .site-footer, .detail-panel { position: relative; z-index: 1; }

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(16px, 4vw, 48px);
  position: sticky;
  top: 0;
  backdrop-filter: blur(14px);
  background: rgba(6, 20, 31, 0.72);
  border-bottom: 1px solid var(--line);
  z-index: 20;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}
.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 20px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #042028;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.15);
}
.brand-text {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.04em;
}
.nav { display: flex; gap: 18px; }
.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
}
.nav a:hover { color: var(--text); }

.hero {
  min-height: min(92vh, 820px);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 32px;
  align-items: center;
  padding: clamp(28px, 6vw, 72px) clamp(16px, 4vw, 48px) 48px;
  position: relative;
  overflow: hidden;
}

.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  animation: float 10s ease-in-out infinite;
}
.orb-a {
  width: 340px; height: 340px;
  background: rgba(25, 211, 197, 0.28);
  top: 8%; left: -6%;
}
.orb-b {
  width: 280px; height: 280px;
  background: rgba(58, 160, 255, 0.25);
  right: 8%; bottom: 10%;
  animation-delay: -3s;
}
.grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(164, 220, 230, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(164, 220, 230, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-18px); }
}

.hero-inner { position: relative; max-width: 640px; }
.brand-hero {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: clamp(42px, 8vw, 72px);
  letter-spacing: 0.06em;
  background: linear-gradient(90deg, #fff, #9ef0e8 45%, #7ec8ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: rise 0.8s ease both;
}
.hero h1 {
  margin: 0;
  font-size: clamp(22px, 3.4vw, 34px);
  font-weight: 700;
  letter-spacing: 0.02em;
  animation: rise 0.9s ease both 0.08s;
}
.hero-sub {
  margin: 16px 0 28px;
  color: var(--muted);
  font-size: 16px;
  max-width: 34em;
  animation: rise 1s ease both 0.14s;
}
@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
  animation: rise 1.05s ease both 0.2s;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--accent), #2aa8ff);
  color: #042028;
  box-shadow: 0 12px 30px rgba(25, 211, 197, 0.28);
}
.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--text);
}
.btn-apply {
  width: 100%;
  background: linear-gradient(135deg, #1de4d3, #3aa0ff);
  color: #042028;
  font-size: 16px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  animation: rise 1.1s ease both 0.28s;
}
.hero-stats > div {
  padding: 14px 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,0.03);
}
.hero-stats dt {
  font-family: var(--font-display);
  font-size: 28px;
  margin: 0;
}
.hero-stats dd {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  animation: rise 1.1s ease both 0.18s;
}
.hero-sim {
  width: min(420px, 100%);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: var(--shadow);
  transform: rotate(2deg);
}
.hero-chip {
  position: absolute;
  left: 8%;
  bottom: 10%;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(6, 24, 34, 0.82);
  border: 1px solid var(--line);
  backdrop-filter: blur(10px);
  display: grid;
  gap: 2px;
  animation: float 7s ease-in-out infinite;
}
.hero-chip span { color: var(--accent); font-size: 12px; }
.hero-chip strong { font-size: 16px; }
.hero-chip em { font-style: normal; color: var(--muted); font-size: 13px; }

.cards-section, .how {
  padding: 56px clamp(16px, 4vw, 48px);
}
.section-head { margin-bottom: 28px; max-width: 640px; }
.section-head h2 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: 0.04em;
}
.section-head p { margin: 0; color: var(--muted); }

.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
  color: var(--muted);
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
  font: inherit;
  transition: 0.2s ease;
}
.chip:hover, .chip.active {
  color: #042028;
  background: linear-gradient(135deg, var(--accent), #7ed0ff);
  border-color: transparent;
}
.sort-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
}
.sort-wrap select {
  background: rgba(255,255,255,0.06);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 12px;
  font: inherit;
}
.result-count {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 18px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
}

.product-card {
  display: grid;
  grid-template-rows: auto 1fr auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.03));
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
  text-align: left;
  color: inherit;
  font: inherit;
  padding: 0;
  width: 100%;
}
.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(25, 211, 197, 0.45);
  box-shadow: 0 18px 40px rgba(0,0,0,0.28);
}
.product-card.featured {
  border-color: rgba(255, 180, 84, 0.45);
  box-shadow: 0 0 0 1px rgba(255, 180, 84, 0.15);
}
.card-cover {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #0a1c28;
  overflow: hidden;
}
.card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.product-card:hover .card-cover img { transform: scale(1.04); }
.badge-hot {
  position: absolute;
  top: 12px;
  left: 12px;
  background: linear-gradient(135deg, #ffb454, #ff7a59);
  color: #2a1404;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}
.card-body { padding: 16px 16px 8px; }
.op-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}
.op {
  font-size: 12px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
}
.op.cmcc { color: var(--cmcc); }
.op.cucc { color: var(--cucc); }
.op.ctcc { color: var(--ctcc); }
.op.cbg { color: var(--cbg); }
.op.other { color: var(--muted); }
.card-body h3 {
  margin: 0 0 10px;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 700;
}
.tag-row { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; min-height: 24px; }
.tag {
  font-size: 11px;
  color: #9ef0e8;
  background: rgba(25, 211, 197, 0.12);
  border: 1px solid rgba(25, 211, 197, 0.2);
  border-radius: 999px;
  padding: 2px 8px;
}
.meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 8px;
}
.meta div {
  background: rgba(0,0,0,0.18);
  border-radius: 12px;
  padding: 10px 8px;
  text-align: center;
}
.meta strong {
  display: block;
  font-family: var(--font-display);
  font-size: 20px;
  color: #fff;
}
.meta span { font-size: 11px; color: var(--muted); }
.card-foot {
  padding: 8px 16px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
}
.card-foot .link {
  color: var(--accent);
  font-weight: 700;
}

.how .steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.how li {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px;
  background: rgba(255,255,255,0.04);
}
.how li span {
  font-family: var(--font-display);
  color: var(--accent);
  font-size: 28px;
}
.how li strong { display: block; margin: 8px 0 6px; font-size: 18px; }
.how li p { margin: 0; color: var(--muted); font-size: 14px; }

.site-footer {
  padding: 36px clamp(16px, 4vw, 48px) 56px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}
.footer-brand {
  font-family: var(--font-display);
  color: var(--text);
  font-size: 22px;
  margin-bottom: 8px;
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(2, 10, 16, 0.62);
  backdrop-filter: blur(4px);
  z-index: 40;
}
.detail-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: min(480px, 100%);
  height: 100%;
  background: linear-gradient(180deg, #0b2433, #071820);
  border-left: 1px solid var(--line);
  z-index: 50;
  transform: translateX(104%);
  transition: transform 0.28s ease;
  display: grid;
  grid-template-rows: auto 1fr auto;
}
.detail-panel.open { transform: none; }
.detail-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.06);
  color: var(--text);
  font-size: 24px;
  cursor: pointer;
  z-index: 2;
}
.detail-scroll {
  overflow: auto;
  padding: 28px 22px 20px;
}
.detail-cover {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid var(--line);
  margin-bottom: 18px;
}
.detail-panel h2 {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.35;
  padding-right: 40px;
}
.detail-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 18px; }
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 18px;
}
.detail-grid div {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
}
.detail-grid strong {
  display: block;
  font-family: var(--font-display);
  font-size: 24px;
}
.detail-grid span { color: var(--muted); font-size: 12px; }
.detail-block {
  margin: 0 0 14px;
  padding: 14px;
  border-radius: 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
}
.detail-block h4 { margin: 0 0 6px; font-size: 14px; }
.detail-block p { margin: 0; color: var(--muted); font-size: 13px; }
.detail-bar {
  padding: 14px 18px 20px;
  border-top: 1px solid var(--line);
  background: rgba(4, 16, 24, 0.9);
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 36px;
  }
  .hero-visual { order: -1; }
  .hero-sim { width: min(320px, 88%); }
  .how .steps { grid-template-columns: 1fr; }
  .nav { display: none; }
}

@media (max-width: 520px) {
  .meta { grid-template-columns: repeat(3, 1fr); }
  .meta strong { font-size: 17px; }
  .hero-stats dt { font-size: 22px; }
}
