/* ============ XPRO LIGHT — dark beam theme ============ */
:root {
  --bg: #07080c;
  --bg2: #0d0f16;
  --card: #12151f;
  --card2: #171b28;
  --line: rgba(255, 255, 255, 0.08);
  --txt: #e8eaf0;
  --txt2: #9aa1b2;
  --acc: #ff8a1e;        /* beam orange */
  --acc2: #26c6ff;       /* beam cyan */
  --grad: linear-gradient(135deg, #ff8a1e, #ff5e3a);
  --radius: 14px;
  --maxw: 1200px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--txt);
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", -apple-system, Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select {
  font-family: inherit; font-size: 15px;
  background: var(--bg2); color: var(--txt);
  border: 1px solid var(--line); border-radius: 10px;
  padding: 12px 14px; width: 100%; outline: none;
  transition: border-color .2s;
}
input:focus, textarea:focus, select:focus { border-color: var(--acc); }
::placeholder { color: #5b6172; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.section { padding: 72px 0; }
.section-title { font-size: 30px; font-weight: 800; letter-spacing: .5px; }
.section-title span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section-sub { color: var(--txt2); margin: 8px 0 36px; }

.btn {
  display: inline-block; border: none; border-radius: 999px;
  padding: 13px 30px; font-size: 15px; font-weight: 700;
  background: var(--grad); color: #fff;
  box-shadow: 0 6px 24px rgba(255, 120, 30, .35);
  transition: transform .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(255, 120, 30, .5); }
.btn.ghost {
  background: transparent; color: var(--txt);
  border: 1px solid rgba(255,255,255,.25); box-shadow: none;
}
.btn.ghost:hover { border-color: var(--acc); color: var(--acc); }
.btn.sm { padding: 8px 18px; font-size: 13px; }

/* ============ header ============ */
header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(7, 8, 12, .82); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 900; letter-spacing: 2px; }
.logo .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 16px var(--acc); }
nav.main-nav { display: flex; align-items: center; gap: 26px; }
nav.main-nav a { font-size: 15px; color: var(--txt2); font-weight: 500; transition: color .2s; white-space: nowrap; }
nav.main-nav a:hover, nav.main-nav a.active { color: #fff; }
nav.main-nav a.active { position: relative; }
nav.main-nav a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 2px;
  background: var(--grad); border-radius: 2px;
}
.nav-actions { display: flex; align-items: center; gap: 12px; }
.lang-switch {
  background: var(--bg2); border: 1px solid var(--line); color: var(--txt);
  border-radius: 999px; padding: 6px 14px; font-size: 13px; font-weight: 700;
}
.burger { display: none; background: none; border: none; color: #fff; font-size: 26px; }

/* ============ hero ============ */
.hero {
  position: relative; min-height: 92vh;
  display: flex; align-items: center; overflow: hidden;
  background: radial-gradient(1200px 600px at 70% -10%, rgba(255, 138, 30, .16), transparent 60%),
              radial-gradient(900px 500px at 15% 110%, rgba(38, 198, 255, .12), transparent 60%),
              var(--bg);
}
.hero .beams { position: absolute; inset: 0; pointer-events: none; }
.beam {
  position: absolute; top: -12%; width: 180px; height: 130%;
  transform-origin: top center; filter: blur(2px);
  background: linear-gradient(180deg, rgba(255,170,60,.35), rgba(255,170,60,0) 75%);
  clip-path: polygon(44% 0, 56% 0, 100% 100%, 0 100%);
  animation: sway 9s ease-in-out infinite alternate;
}
.beam.b2 { background: linear-gradient(180deg, rgba(60,190,255,.30), rgba(60,190,255,0) 75%); animation-duration: 11s; }
.beam.b3 { background: linear-gradient(180deg, rgba(255,90,90,.22), rgba(255,90,90,0) 75%); animation-duration: 13s; }
@keyframes sway { from { transform: rotate(-14deg); } to { transform: rotate(12deg); } }
.hero-content { position: relative; z-index: 2; max-width: 760px; padding: 120px 0 80px; }
.hero .kicker {
  display: inline-block; font-size: 13px; letter-spacing: 3px; font-weight: 700;
  color: var(--acc); border: 1px solid rgba(255,138,30,.4); border-radius: 999px;
  padding: 6px 16px; margin-bottom: 24px; background: rgba(255,138,30,.08);
}
.hero h1 { font-size: clamp(34px, 5.4vw, 62px); line-height: 1.15; font-weight: 900; }
.hero h1 em {
  font-style: normal;
  background: linear-gradient(120deg, #ffb35c, #ff6a3d 60%, #26c6ff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lead { color: var(--txt2); font-size: 18px; margin: 22px 0 36px; max-width: 620px; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 48px; margin-top: 64px; flex-wrap: wrap; }
.hero-stats .num { font-size: 32px; font-weight: 900; color: #fff; }
.hero-stats .num i { font-style: normal; color: var(--acc); }
.hero-stats .lbl { color: var(--txt2); font-size: 13px; }

/* ============ cards / grids ============ */
.grid { display: grid; gap: 22px; }
.g-4 { grid-template-columns: repeat(4, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform .2s, border-color .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-5px); border-color: rgba(255,138,30,.45); box-shadow: 0 16px 40px rgba(0,0,0,.5); }
.card .thumb {
  aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden;
}
.card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.card .body { padding: 20px; }
.card .model { font-size: 13px; color: var(--acc); font-weight: 800; letter-spacing: 1px; }
.card h3 { font-size: 17px; margin: 6px 0 8px; }
.card p { color: var(--txt2); font-size: 14px; min-height: 44px; }
.tag {
  display: inline-block; font-size: 12px; color: var(--acc2);
  border: 1px solid rgba(38,198,255,.35); background: rgba(38,198,255,.07);
  border-radius: 999px; padding: 2px 12px; margin: 2px 4px 2px 0;
}
.fixture-art { width: 100%; height: 100%; }

/* category blocks */
.cat-block { text-align: center; padding: 34px 20px; cursor: pointer; }
.cat-block .icon {
  width: 74px; height: 74px; margin: 0 auto 18px; border-radius: 20px;
  display: flex; align-items: center; justify-content: center; font-size: 34px;
  background: rgba(255,138,30,.1); border: 1px solid rgba(255,138,30,.25);
}
.cat-block h3 { font-size: 18px; margin-bottom: 6px; }
.cat-block p { font-size: 13px; color: var(--txt2); }

/* steps */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; counter-reset: step; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 20px; position: relative; }
.step::before {
  counter-increment: step; content: "0" counter(step);
  font-size: 34px; font-weight: 900; color: transparent;
  -webkit-text-stroke: 1px rgba(255,138,30,.7); display: block; margin-bottom: 12px;
}
.step h3 { font-size: 16px; margin-bottom: 8px; }
.step p { font-size: 13px; color: var(--txt2); }

/* band / cta */
.cta-band {
  border-radius: 22px; padding: 56px 44px; text-align: center;
  background:
    radial-gradient(600px 220px at 50% -40%, rgba(255,138,30,.35), transparent 70%),
    linear-gradient(160deg, #141827, #0a0c12);
  border: 1px solid rgba(255,138,30,.25);
}
.cta-band h2 { font-size: 30px; margin-bottom: 12px; }
.cta-band p { color: var(--txt2); margin-bottom: 28px; }

/* forms */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
label.f { display: block; font-size: 13px; color: var(--txt2); margin-bottom: 6px; font-weight: 600; }
.form-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.form-msg { margin-top: 14px; font-size: 14px; }
.form-msg.ok { color: #58d68d; }
.form-msg.err { color: #ff6b6b; }

/* product detail */
.pd-top { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.pd-gallery { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; position: sticky; top: 90px; }
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table td { padding: 11px 14px; border-bottom: 1px solid var(--line); font-size: 14px; }
.spec-table td:first-child { color: var(--txt2); width: 42%; }
.breadcrumb { color: var(--txt2); font-size: 13px; margin-bottom: 20px; }
.breadcrumb a:hover { color: var(--acc); }

/* filters */
.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 30px; align-items: center; }
.chip {
  border: 1px solid var(--line); background: var(--card); color: var(--txt2);
  border-radius: 999px; padding: 8px 20px; font-size: 14px; font-weight: 600; transition: all .2s;
}
.chip.active, .chip:hover { border-color: var(--acc); color: var(--acc); background: rgba(255,138,30,.08); }
.filter-bar input { width: 240px; margin-left: auto; }

/* news */
.news-item { display: flex; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.news-item .date { color: var(--acc); font-weight: 800; font-size: 13px; min-width: 90px; padding-top: 4px; }
.news-item h3 { font-size: 17px; margin-bottom: 6px; }
.news-item p { color: var(--txt2); font-size: 14px; }

/* about */
.about-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 44px; }
.feature-list li { list-style: none; display: flex; gap: 12px; margin-bottom: 16px; color: var(--txt2); }
.feature-list li::before { content: "◆"; color: var(--acc); font-size: 12px; padding-top: 5px; }

/* ===== custom hero (定制重点板块) ===== */
.custom-hero { border-bottom: 1px solid var(--line); }
.ch-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; }
.custom-points { list-style: none; margin: 0; padding: 0; margin-bottom: 28px; }
.custom-points li { display: flex; gap: 12px; margin-bottom: 14px; color: var(--txt2); }
.custom-points li::before { content: "✓"; color: var(--acc); font-weight: 900; }
.ch-visual { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ch-card {
  background: linear-gradient(160deg, var(--card2), var(--card));
  border: 1px solid rgba(255,138,30,.22); border-radius: var(--radius); padding: 24px 20px;
  transition: transform .2s, border-color .2s;
}
.ch-card:hover { transform: translateY(-4px); border-color: var(--acc); }
.ch-card b { font-size: 16px; display: block; margin-bottom: 8px; }
.ch-card p { color: var(--txt2); font-size: 13px; }
@media (max-width: 900px) { .ch-grid { grid-template-columns: 1fr; } }

/* ===== pixelerr-inspired: ecosystem & catalogue ===== */
.kicker.ghost {
  display: inline-block; font-size: 13px; letter-spacing: 3px; font-weight: 700;
  color: var(--acc2); border: 1px solid rgba(38,198,255,.35); border-radius: 999px;
  padding: 6px 16px; background: rgba(38,198,255,.06);
}
.eco-grid { margin-top: 30px; }
.eco-item { border-left: 2px solid rgba(255,138,30,.5); padding: 6px 0 6px 20px; }
.eco-item h3 { font-size: 17px; margin-bottom: 8px; }
.eco-item p { color: var(--txt2); font-size: 14px; }
.eco-quote {
  margin-top: 36px; font-size: 22px; font-weight: 800; letter-spacing: 1px;
  color: var(--txt2);
}
.eco-quote::before { content: "\201C"; color: var(--acc); margin-right: 6px; }
.cat-group { margin-top: 38px; }
.cat-group-head {
  display: flex; justify-content: space-between; align-items: baseline;
  border-bottom: 1px solid var(--line); padding-bottom: 12px; margin-bottom: 20px;
}
.cat-group-head h3 { font-size: 21px; font-weight: 800; }
.cat-group-head a { color: var(--acc); font-size: 13px; font-weight: 700; white-space: nowrap; }
.card.mini .thumb { aspect-ratio: 4/3; }
.card.mini .body { padding: 14px 16px; }
.card.mini h3 { font-size: 14px; margin: 4px 0 0; line-height: 1.4; }
.card.mini p { display: none; }
.support-cat { font-size: 19px; margin: 34px 0 14px; }
.res-list { display: flex; flex-direction: column; gap: 10px; }
.res-item {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px;
  transition: border-color .2s;
}
.res-item:hover { border-color: rgba(255,138,30,.45); }
@media (max-width: 1024px) { .eco-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .eco-grid { grid-template-columns: 1fr; } .eco-quote { font-size: 18px; } .cat-group-head h3 { font-size: 18px; } }

/* footer */
footer { border-top: 1px solid var(--line); background: #05060a; padding: 56px 0 28px; margin-top: 60px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 36px; margin-bottom: 36px; }
.foot-grid h4 { font-size: 15px; margin-bottom: 16px; }
.foot-grid a, .foot-grid p { display: block; color: var(--txt2); font-size: 14px; margin-bottom: 10px; }
.foot-grid a:hover { color: var(--acc); }
.copyright { text-align: center; color: #525a6d; font-size: 13px; border-top: 1px solid var(--line); padding-top: 22px; }

/* floating contact */
.float-contact { position: fixed; right: 20px; bottom: 24px; z-index: 90; display: flex; flex-direction: column; gap: 10px; }
.float-contact a {
  width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 22px;
  background: var(--card2); border: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(0,0,0,.5); transition: transform .15s, border-color .2s;
}
.float-contact a:hover { transform: scale(1.1); border-color: var(--acc); }

/* member center */
.mc-tabs { display: flex; gap: 8px; margin-bottom: 24px; }
.mc-tab { background: var(--card); border: 1px solid var(--line); color: var(--txt2); border-radius: 10px; padding: 10px 22px; font-weight: 700; }
.mc-tab.active { color: var(--acc); border-color: var(--acc); }
.msg-card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; margin-bottom: 14px; }
.msg-card .status { font-size: 12px; font-weight: 800; border-radius: 999px; padding: 2px 12px; }
.st-new { background: rgba(255,138,30,.15); color: var(--acc); }
.st-read { background: rgba(38,198,255,.15); color: var(--acc2); }
.st-replied { background: rgba(88,214,141,.15); color: #58d68d; }
.st-archived { background: rgba(255,255,255,.08); color: var(--txt2); }
.reply-box { margin-top: 10px; border-left: 3px solid var(--acc); padding-left: 14px; color: var(--txt2); font-size: 14px; }

/* toast */
#toast {
  position: fixed; top: 84px; left: 50%; transform: translateX(-50%) translateY(-20px);
  background: var(--card2); border: 1px solid var(--acc); color: var(--txt);
  padding: 12px 26px; border-radius: 999px; font-size: 14px; z-index: 300;
  opacity: 0; pointer-events: none; transition: all .3s;
}
#toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ============ responsive ============ */
@media (max-width: 1024px) {
  .g-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .section { padding: 48px 0; }
  nav.main-nav {
    position: fixed; top: 68px; left: 0; right: 0;
    background: rgba(7,8,12,.97); backdrop-filter: blur(16px);
    flex-direction: column; align-items: flex-start; gap: 0;
    max-height: 0; overflow: hidden; transition: max-height .3s;
    border-bottom: 1px solid var(--line);
  }
  nav.main-nav.open { max-height: 480px; }
  nav.main-nav a { padding: 15px 24px; width: 100%; border-top: 1px solid var(--line); }
  nav.main-nav a.active::after { display: none; }
  .burger { display: block; }
  .g-3, .g-2, .pd-top, .about-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .hero-content { padding: 100px 0 60px; }
  .hero-stats { gap: 28px; }
  .pd-gallery { position: static; }
  .filter-bar input { width: 100%; margin-left: 0; }
  .cta-band { padding: 40px 22px; }
  .foot-grid { grid-template-columns: 1fr; }
}
