/* ============ SourceBridge × Discord theme ============ */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg-app: #313338;      /* main surface */
  --bg-2: #2b2d31;        /* cards / sidebar */
  --bg-3: #1e1f22;        /* deepest */
  --bg-hover: #35373c;
  --blurple: #5865f2;
  --blurple-2: #4752c4;
  --green: #57f287;
  --green-deep: #23a55a;
  --red: #f23f43;
  --yellow: #f0b232;
  --fuchsia: #eb459e;
  --link: #00a8fc;
  --ink: #dbdee1;
  --head: #f2f3f5;
  --muted: #949ba4;
  --line: #3f4147;
  --r: 8px;
  --shadow: 0 8px 16px rgba(0,0,0,.24);
  --navy: #1e1f22;
}

::selection { background: var(--blurple); color: #fff; }

html { scroll-behavior: smooth; }

body {
  font-family: "gg sans", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--bg-app);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--bg-3); }
::-webkit-scrollbar-thumb { background: #1a1b1e; border-radius: 8px; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
a { color: inherit; text-decoration: none; }
a { color: var(--link); }
.container a, .ph-meta a, footer a { color: inherit; }
img { max-width: 100%; }

/* ---------- header ---------- */
header {
  position: sticky; top: 0; z-index: 50;
  background: var(--bg-3);
  border-bottom: 1px solid rgba(255,255,255,.06);
  box-shadow: 0 1px 0 rgba(0,0,0,.2);
}
.nav { display: flex; align-items: center; gap: 26px; height: 64px; }
.logo { font-weight: 800; font-size: 19px; letter-spacing: -.02em; display: flex; align-items: center; gap: 9px; color: var(--head); white-space: nowrap; }
.logo .dot { width: 11px; height: 11px; border-radius: 50%; background: var(--blurple); }
.nav-links { display: flex; gap: 20px; font-size: 14.5px; color: var(--muted); font-weight: 600; }
.nav-links a { color: var(--muted); transition: color .15s; }
.nav-links a:hover { color: var(--head); }
.nav-links .cn-mark { font-size: 11px; background: rgba(88,101,242,.2); color: #c5cdfb; border-radius: 999px; padding: 1px 7px; margin-left: 5px; font-weight: 700; }
.nav-cta { margin-left: auto; display: flex; gap: 10px; align-items: center; }

/* ---------- buttons (Discord style) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 600; border-radius: var(--r); padding: 10px 18px; font-size: 14.5px;
  cursor: pointer; border: 1px solid transparent; transition: background-color .17s ease, color .17s ease, transform .1s;
  font-family: inherit; line-height: 1.3;
}
.btn-primary { background: var(--blurple); color: #fff; }
.btn-primary:hover { background: var(--blurple-2); }
.btn:active { transform: translateY(1px); }
.btn-ghost { background: #4e5058; color: #fff; }
.btn-ghost:hover { background: #6d6f78; }
.btn-white { background: #fff; color: var(--blurple); }
.btn-white:hover { background: #f2f3f5; }
.btn-lg { padding: 13px 28px; font-size: 16px; }
.btn-block { width: 100%; }

/* ---------- hero ---------- */
.hero {
  background: radial-gradient(900px 480px at 80% -12%, rgba(88,101,242,.16), transparent 62%),
              radial-gradient(700px 400px at 5% 112%, rgba(235,69,158,.08), transparent 60%),
              var(--bg-app);
  padding: 76px 0 64px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.eyebrow {
  display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase; color: #c5cdfb; background: rgba(88,101,242,.18);
  padding: 5px 12px; border-radius: 999px; margin-bottom: 18px;
}
h1 { font-size: clamp(32px, 4.6vw, 50px); line-height: 1.14; letter-spacing: -.025em; color: var(--head); font-weight: 800; max-width: 780px; }
.hero p.lead { margin-top: 20px; font-size: 18px; color: var(--muted); max-width: 680px; }

/* search bar */
.searchbar {
  margin-top: 32px; display: flex; gap: 10px;
  background: var(--bg-3);
  border: 1px solid var(--line); border-radius: var(--r); padding: 10px;
  box-shadow: var(--shadow); max-width: 720px; flex-wrap: wrap;
}
.searchbar select, .searchbar input {
  border: 1px solid transparent; border-radius: 6px; padding: 11px 14px;
  font-size: 15px; font-family: inherit; color: var(--ink); background: #111214; outline: none;
}
.searchbar select { max-width: 220px; cursor: pointer; }
.searchbar input { flex: 1; min-width: 200px; }
.searchbar input::placeholder { color: #6d6f78; }
.searchbar input:focus, .searchbar select:focus { border-color: var(--blurple); }
.hero-note { margin-top: 14px; font-size: 13.5px; color: var(--muted); }
.hero-note b { color: var(--green); }

/* ---------- stats band ---------- */
.stats-band { background: var(--bg-3); padding: 34px 0; border-bottom: 1px solid rgba(255,255,255,.05); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; text-align: center; }
.stat b { display: block; font-size: 30px; font-weight: 800; letter-spacing: -.02em; color: var(--head); }
.stat b::selection { background: var(--blurple); }
.stat span { font-size: 13.5px; color: var(--muted); }

/* ---------- sections ---------- */
section { padding: 72px 0; }
section.alt { background: var(--bg-2); }
.sec-head { max-width: 660px; margin-bottom: 42px; }
.sec-head h2 { font-size: clamp(26px, 3.2vw, 34px); letter-spacing: -.02em; color: var(--head); font-weight: 800; line-height: 1.2; }
.sec-head h2::before { content: "# "; color: var(--blurple); font-weight: 800; }
.sec-head p { margin-top: 12px; color: var(--muted); font-size: 16.5px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- industry grid ---------- */
.ind-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.ind-tile {
  background: var(--bg-2); border: 1px solid transparent; border-radius: var(--r);
  padding: 22px 20px; display: flex; align-items: center; gap: 15px;
  transition: background-color .15s ease; position: relative; overflow: hidden;
}
.ind-tile::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--blurple); opacity: 0; transition: opacity .15s; }
.ind-tile:hover { background: var(--bg-hover); }
.ind-tile:hover::before { opacity: 1; }
.ind-ico {
  width: 46px; height: 46px; border-radius: 50%; background: var(--bg-3);
  display: flex; align-items: center; justify-content: center; font-size: 23px; flex-shrink: 0;
}
.ind-tile b { display: block; font-size: 15.5px; color: var(--head); line-height: 1.3; }
.ind-tile span { font-size: 12.5px; color: var(--muted); }
.ind-tile.more { border-style: dashed; border-color: var(--line); background: transparent; justify-content: center; }
.ind-tile.more b { color: var(--link); }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; counter-reset: step; }
.step { background: var(--bg-2); border-radius: var(--r); padding: 26px 22px; position: relative; }
.step .num {
  width: 34px; height: 34px; border-radius: 50%; background: var(--blurple); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 15px;
  margin-bottom: 16px;
}
.step h3 { font-size: 16.5px; color: var(--head); margin-bottom: 8px; font-weight: 700; }
.step p { font-size: 14px; color: var(--muted); }

/* ---------- value props ---------- */
.vp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.vp { background: var(--bg-2); border-radius: var(--r); padding: 26px 24px; position: relative; overflow: hidden; }
.vp::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--green-deep); }
.vp .ico { font-size: 26px; margin-bottom: 12px; display: block; }
.vp h3 { font-size: 16.5px; color: var(--head); margin-bottom: 8px; font-weight: 700; }
.vp p { font-size: 14px; color: var(--muted); }

/* ---------- supplier cards (Discord embed style) ---------- */
.filter-row { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 30px; }
.chip-btn {
  border: none; background: #4e5058; color: #fff;
  border-radius: 999px; padding: 7px 16px; font-size: 13.5px; font-weight: 600;
  cursor: pointer; font-family: inherit; transition: background-color .15s ease;
}
.chip-btn:hover { background: #6d6f78; }
.chip-btn.active { background: var(--blurple); color: #fff; }

.sup-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; }
.sup-card {
  background: var(--bg-2); border-radius: var(--r);
  border-left: 4px solid var(--line);
  padding: 24px 24px 24px 22px; display: flex; flex-direction: column; gap: 13px;
  transition: border-color .15s ease;
}
.sup-card:hover { border-left-color: var(--blurple); }
.sup-top { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.sup-id { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12.5px; font-weight: 700; background: var(--bg-3); color: #c7ccd1; border-radius: 6px; padding: 3px 9px; }
.tag { font-size: 12px; font-weight: 700; color: #c5cdfb; background: rgba(88,101,242,.2); border-radius: 6px; padding: 3px 9px; }
.verified { font-size: 12px; font-weight: 700; color: var(--green); background: rgba(35,165,90,.15); border-radius: 6px; padding: 3px 9px; margin-left: auto; }
.sup-card h3 { font-size: 17.5px; color: var(--head); font-weight: 750; letter-spacing: -.01em; line-height: 1.3; }
.sup-loc { font-size: 13.5px; color: var(--muted); margin-top: -8px; }
.sup-stats { display: flex; gap: 22px; border-top: 1px solid rgba(255,255,255,.06); border-bottom: 1px solid rgba(255,255,255,.06); padding: 11px 0; }
.sup-stats div b { display: block; font-size: 16px; color: var(--head); font-weight: 800; }
.sup-stats div span { font-size: 11.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips span { font-size: 11.5px; font-weight: 600; background: var(--bg-3); color: var(--ink); border-radius: 6px; padding: 2px 8px; }
.cap { list-style: none; font-size: 13.5px; color: var(--muted); display: flex; flex-direction: column; gap: 4px; }
.cap li::before { content: "→"; color: var(--blurple); font-weight: 700; margin-right: 8px; }
.sup-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; gap: 10px; flex-wrap: wrap; }
.sup-foot .mql { font-size: 12.5px; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--blurple) 0%, var(--blurple-2) 100%);
  border-radius: 12px; color: #fff; padding: 52px 48px;
  display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
  box-shadow: var(--shadow);
}
.cta-band h2 { font-size: 27px; font-weight: 800; letter-spacing: -.02em; line-height: 1.25; }
.cta-band p { color: rgba(255,255,255,.82); margin-top: 9px; font-size: 15.5px; max-width: 560px; }

/* ---------- pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; align-items: stretch; }
.price-card {
  background: var(--bg-2); border-radius: 12px;
  padding: 30px 28px; display: flex; flex-direction: column; position: relative;
}
.price-card.featured { border: 2px solid var(--blurple); }
.price-badge {
  position: absolute; top: -13px; left: 28px; background: var(--blurple); color: #fff;
  font-size: 11.5px; font-weight: 700; border-radius: 999px; padding: 4px 12px; letter-spacing: .04em;
}
.price-card h3 { font-size: 17px; color: var(--head); font-weight: 750; }
.price-card .p-sub { font-size: 13px; color: var(--muted); margin-top: 3px; }
.price { margin: 16px 0 4px; display: flex; align-items: baseline; gap: 6px; }
.price b { font-size: 34px; color: var(--head); font-weight: 800; letter-spacing: -.03em; }
.price span { font-size: 13.5px; color: var(--muted); }
.price-note { font-size: 12.5px; color: var(--muted); margin-bottom: 18px; }
.price ul { list-style: none; display: flex; flex-direction: column; gap: 9px; margin: 18px 0 24px; font-size: 14px; }
.price ul li { display: flex; gap: 9px; align-items: flex-start; color: var(--ink); }
.price ul li::before { content: "✓"; color: var(--green); font-weight: 800; flex-shrink: 0; margin-top: 1px; }
.price-card .btn { margin-top: auto; }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq details { background: var(--bg-2); border-radius: var(--r); padding: 18px 22px; }
.faq summary { font-weight: 700; font-size: 15.5px; color: var(--head); cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 20px; color: var(--blurple); font-weight: 600; flex-shrink: 0; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 12px; font-size: 14.5px; color: var(--muted); }

/* ---------- forms ---------- */
.form-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.form-card { background: var(--bg-2); border-radius: 12px; padding: 32px; box-shadow: var(--shadow); }
.form-card h3 { color: var(--head); font-size: 19px; font-weight: 750; margin-bottom: 4px; }
.form-card .f-sub { font-size: 13.5px; color: var(--muted); margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-card label { display: block; font-size: 13px; font-weight: 700; color: #b5bac1; margin: 13px 0 5px; text-transform: uppercase; letter-spacing: .02em; }
.form-card input, .form-card select, .form-card textarea {
  width: 100%; border: 1px solid #111214; border-radius: 6px; padding: 11px 13px;
  font-size: 14.5px; font-family: inherit; color: var(--ink); background: #111214; outline: none; resize: vertical;
}
.form-card input::placeholder, .form-card textarea::placeholder { color: #6d6f78; }
.form-card input:focus, .form-card select:focus, .form-card textarea:focus { border-color: var(--blurple); }
.form-card .btn { margin-top: 20px; }
.form-aside h3 { color: var(--head); font-size: 20px; font-weight: 750; margin-bottom: 14px; }
.form-aside p { color: var(--muted); font-size: 15px; margin-bottom: 14px; }
.form-aside ul { list-style: none; display: flex; flex-direction: column; gap: 11px; margin-top: 22px; }
.form-aside li { display: flex; gap: 11px; font-size: 14.5px; color: var(--ink); align-items: flex-start; }
.form-aside li::before { content: "✓"; color: var(--green); font-weight: 800; }

/* ---------- footer ---------- */
footer { background: var(--bg-3); color: var(--muted); padding: 54px 0 34px; margin-top: 0; border-top: 1px solid rgba(255,255,255,.05); }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px; }
footer .logo { color: var(--head); margin-bottom: 14px; }
footer p { font-size: 13.5px; max-width: 320px; }
footer h4 { color: #b5bac1; font-size: 13px; margin-bottom: 14px; letter-spacing: .06em; text-transform: uppercase; }
footer ul { list-style: none; display: flex; flex-direction: column; gap: 9px; font-size: 13.5px; }
footer ul a:hover { color: var(--link); }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.06); margin-top: 40px; padding-top: 22px; font-size: 12.5px; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; color: #6d6f78; }

/* ---------- bubble hero ---------- */
.bubble-hero {
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(88,101,242,.32), transparent 62%),
    radial-gradient(700px 420px at 6% 112%, rgba(235,69,158,.14), transparent 60%),
    linear-gradient(165deg, #232428 0%, var(--bg-3) 55%, #17181a 100%);
  color: #fff;
  padding: 84px 0 70px;
}
.bubble-hero .eyebrow { background: rgba(88,101,242,.22); color: #c5cdfb; }
.bubble-hero h1 { color: #fff; }
.bubble-hero .lead { color: #b5bac1; }

.bubble-cloud {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 18px; margin-top: 52px; max-width: 1020px;
}
.bubble {
  border: none; cursor: pointer; font-family: inherit; color: #fff;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  text-align: center; line-height: 1.2; font-weight: 700; padding: 10px;
  box-shadow: inset 0 -10px 26px rgba(0,0,0,.28), inset 0 10px 18px rgba(255,255,255,.14),
    0 14px 34px -16px rgba(0,0,0,.7);
  transition: filter .18s ease;
  animation: floaty 8s ease-in-out infinite;
}
.bubble:hover { filter: brightness(1.22); }
.b-xl { width: 184px; height: 184px; font-size: 17.5px; }
.b-lg { width: 142px; height: 142px; font-size: 14.5px; }
.b-md { width: 110px; height: 110px; font-size: 12.5px; }
.b-sm { width: 84px; height: 84px; font-size: 10.5px; font-weight: 600; }
.c1 { background: radial-gradient(circle at 32% 26%, #8b95f8, #5865f2); }
.c2 { background: radial-gradient(circle at 32% 26%, #7ff0aa, #23a55a); }
.c3 { background: radial-gradient(circle at 32% 26%, #f5a9d8, #eb459e); }
.c4 { background: radial-gradient(circle at 32% 26%, #79c0ff, #00a8fc); }
.c5 { background: radial-gradient(circle at 32% 26%, #c9a5f5, #9b59f2); }
.c6 { background: radial-gradient(circle at 32% 26%, #fbd97d, #f0b232); }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.bubble:nth-child(2n) { animation-duration: 9.5s; animation-delay: -3s; }
.bubble:nth-child(3n) { animation-duration: 7s; animation-delay: -1.5s; }
.bubble:nth-child(5n) { animation-delay: -5s; }
.hero-hint { margin-top: 36px; text-align: center; font-size: 13.5px; color: var(--muted); }
.hero-hint a { color: var(--link); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 640px) {
  .b-xl { width: 132px; height: 132px; font-size: 14px; }
  .b-lg { width: 108px; height: 108px; font-size: 12.5px; }
  .b-md { width: 88px; height: 88px; font-size: 11px; }
  .b-sm { width: 70px; height: 70px; font-size: 9.5px; }
}

/* ---------- gallery / carousel ---------- */
.gallery-tabs { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 36px; }
.tab-panel { display: none; }
.tab-panel.on { display: block; animation: fadeUp .3s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.carousel { position: relative; }
.track {
  display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 4px 4px 6px; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.track::-webkit-scrollbar { display: none; }
.photo-card {
  flex: 0 0 min(430px, 82vw); scroll-snap-align: center; background: var(--bg-2);
  border-radius: var(--r); overflow: hidden;
  transition: border-color .15s ease;
}
.photo-card:hover { outline: 2px solid rgba(88,101,242,.5); }
.ph { position: relative; aspect-ratio: 3 / 2; background: #111214; overflow: hidden; }
.ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ph .cam {
  position: absolute; top: 12px; left: 12px; background: rgba(11,12,14,.85); color: #fff;
  font-size: 10.5px; font-weight: 700; letter-spacing: .08em; border-radius: 6px;
  padding: 4px 10px; backdrop-filter: blur(4px);
}
.ph .cam.ok::before { content: "✓ "; color: var(--green); }
.ph-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 18px 0; flex-wrap: wrap; }
.ph-ids { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ph-cap { padding: 9px 18px 16px; font-size: 13.5px; color: var(--muted); }
.car-controls { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 20px; }
.car-btn {
  width: 46px; height: 46px; border-radius: 50%; border: none;
  background: #4e5058; color: #fff; font-size: 18px; cursor: pointer; transition: background-color .15s;
}
.car-btn:hover { background: var(--blurple); }
.dots { display: flex; gap: 7px; }
.dot-i { width: 8px; height: 8px; border-radius: 99px; background: #6d6f78; border: none; padding: 0; cursor: pointer; transition: .2s; }
.dot-i.on { width: 24px; background: var(--blurple); }

/* ---------- HK company footer ---------- */
.hk-footer { background: var(--bg-3); color: var(--muted); padding: 60px 0 34px; }
.hk-grid { display: grid; grid-template-columns: 1.4fr 1.2fr 1fr 1fr; gap: 38px; }
.hk-footer .logo { color: var(--head); margin-bottom: 14px; }
.hk-footer h4 { color: #b5bac1; font-size: 13px; letter-spacing: .06em; margin-bottom: 16px; text-transform: uppercase; }
.hk-footer ul { list-style: none; display: flex; flex-direction: column; gap: 9px; font-size: 13.5px; }
.hk-footer ul a:hover { color: var(--link); }
.hk-footer p { font-size: 13.5px; max-width: 320px; }
.co-line { display: flex; gap: 10px; font-size: 13.5px; margin-bottom: 10px; align-items: flex-start; }
.co-line .k { color: #6d6f78; flex-shrink: 0; min-width: 78px; font-weight: 700; }
.co-line .v { color: var(--ink); }

/* ---------- Discord server rail (index only) ---------- */
.rail {
  position: fixed; left: 0; top: 0; bottom: 0; width: 72px; z-index: 60;
  background: var(--bg-3); display: flex; flex-direction: column; align-items: center;
  padding: 12px 0; gap: 8px; overflow-y: auto; scrollbar-width: none;
}
.rail::-webkit-scrollbar { display: none; }
body.with-rail { margin-left: 72px; }
.r-btn {
  position: relative; width: 48px; height: 48px; border-radius: 50%;
  background: var(--bg-2); border: none; cursor: pointer; text-decoration: none;
  display: flex; align-items: center; justify-content: center; font-size: 21px;
  color: var(--ink); transition: border-radius .18s ease, background-color .18s ease;
}
.r-btn:hover { border-radius: 16px; background: var(--blurple); color: #fff; }
.r-btn.active { border-radius: 16px; background: var(--blurple); color: #fff; }
.r-btn.active::before {
  content: ""; position: absolute; left: -12px; top: 50%; transform: translateY(-50%);
  width: 4px; height: 26px; border-radius: 0 4px 4px 0; background: #fff;
}
.r-home { background: var(--blurple); }
.r-sep { width: 32px; height: 2px; background: var(--line); border-radius: 2px; margin: 4px 0; flex-shrink: 0; }
.r-add {
  border: 2px dashed var(--green-deep); background: transparent; color: var(--green);
  font-size: 24px; font-weight: 600; border-radius: 50%; width: 48px; height: 48px;
  cursor: pointer; text-decoration: none; display: flex; align-items: center; justify-content: center;
  transition: all .18s ease; margin-top: auto;
}
.r-add:hover { border-style: solid; background: var(--green-deep); color: #fff; }
@media (max-width: 800px) {
  .rail { display: none; }
  body.with-rail { margin-left: 0; }
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 26px; }
  .price-grid { grid-template-columns: 1fr; }
  .form-wrap { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .hk-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .cta-band { padding: 36px 26px; }
  .hk-grid { grid-template-columns: 1fr; }
  .co-line { flex-wrap: wrap; }
  .co-line .v { min-width: 0; overflow-wrap: anywhere; }
}

/* ============ v3: factory / series cards + popover + want-mask ============ */
.fac-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.fac-card {
  background: var(--bg-2); border: 1px solid var(--line); border-left: 4px solid var(--line);
  border-radius: var(--r); overflow: visible; position: relative; cursor: pointer;
  transition: border-color .15s ease;
}
.fac-card:hover, .fac-card.open { border-left-color: var(--blurple); }
.fc-ph { position: relative; aspect-ratio: 3 / 2; background: #111214; overflow: hidden; border-radius: var(--r) var(--r) 0 0; }
.fc-ph img.cover { width: 100%; height: 100%; object-fit: cover; display: block; }
.fc-cam {
  position: absolute; top: 10px; left: 10px; background: rgba(11,12,14,.85); color: #fff;
  font-size: 10px; font-weight: 700; letter-spacing: .08em; border-radius: 6px; padding: 3px 9px;
}
.fc-cam.ok::before { content: "✓ "; color: var(--green); }
.fc-count {
  position: absolute; top: 10px; right: 10px; background: rgba(11,12,14,.85); color: #fff;
  font-size: 10.5px; font-weight: 700; border-radius: 6px; padding: 3px 9px;
}
.fc-pop {
  display: none; position: absolute; left: 10px; right: 10px; top: 10px; z-index: 30;
  background: rgba(11,12,14,.97); border: 1px solid #3f4147; border-radius: 10px; padding: 10px;
  box-shadow: 0 18px 44px rgba(0,0,0,.55);
}
.fac-card:hover .fc-pop, .fac-card.open .fc-pop { display: block; animation: fadeUp .2s ease; }
.fc-pop-head { font-size: 10px; color: #b5bac1; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 8px; font-weight: 700; }
.fc-strip { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.fc-strip::-webkit-scrollbar { display: none; }
.fc-thumb { flex: 0 0 116px; background: #1e1f22; border: 1px solid #3f4147; border-radius: 8px; padding: 0; cursor: pointer; overflow: hidden; transition: border-color .15s; }
.fc-thumb:hover { border-color: var(--blurple); }
.fc-thumb img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; }
.fc-thumb span { display: block; font-size: 9.5px; color: #b5bac1; padding: 4px 6px 5px; line-height: 1.35; text-align: left; }
.fc-meta { padding: 13px 16px 15px; }
.fc-title { font-size: 15.5px; font-weight: 750; color: var(--head); margin-top: 4px; }
.fc-cap { font-size: 12.5px; color: var(--muted); margin-top: 8px; line-height: 1.5; }
.fc-cap .sup-id { font-size: 11.5px; }

.want-mask {
  position: fixed; inset: 0; z-index: 200; background: rgba(8,9,10,.82);
  backdrop-filter: blur(6px); display: none; align-items: center; justify-content: center;
  padding: 24px;
}
.want-mask.on { display: flex; }
.want-box {
  position: relative; background: var(--bg-2); border: 1px solid #3f4147; border-radius: 16px;
  max-width: 520px; width: 100%; overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,.55);
  animation: fadeUp .22s ease;
}
.want-box > img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.want-close {
  position: absolute; top: 10px; right: 10px; width: 34px; height: 34px; border-radius: 50%;
  border: none; background: rgba(11,12,14,.85); color: #fff; font-size: 20px; line-height: 1;
  cursor: pointer; z-index: 2;
}
.want-close:hover { background: var(--red); }
.want-body { padding: 20px 24px 24px; text-align: center; }
.want-body h3 { color: #fff; font-size: 24px; font-weight: 800; letter-spacing: -.02em; }
.want-body .w-sub { color: var(--muted); font-size: 13px; margin: 6px 0 16px; }
.want-fine { margin-top: 12px; font-size: 11.5px; color: #6d6f78; line-height: 1.5; }
@media (max-width: 560px) { .fac-grid { grid-template-columns: 1fr; } }

/* ---------- want-mask inline mini form ---------- */
.w-chip {
  display: flex; gap: 9px; align-items: flex-start; background: #111214;
  border: 1px solid #3f4147; border-radius: 8px; padding: 9px 12px; margin-bottom: 12px;
  text-align: left;
}
.w-chip-k {
  font-size: 9.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em;
  color: #c5cdfb; background: rgba(88,101,242,.22); border-radius: 5px; padding: 3px 8px;
  flex-shrink: 0; margin-top: 1px;
}
.w-chip span:last-child { font-size: 12.5px; color: var(--ink); line-height: 1.45; font-weight: 600; }
.w-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 12px; }
.want-form input {
  width: 100%; background: #111214; border: 1px solid #111214; border-radius: 8px;
  padding: 11px 12px; font-size: 14px; color: var(--ink); font-family: inherit; outline: none;
}
.want-form input::placeholder { color: #6d6f78; }
.want-form input:focus { border-color: var(--blurple); }
.want-form .want-fine { margin-top: 10px; }
.want-form .want-fine a { color: var(--link); text-decoration: underline; text-underline-offset: 2px; }
.want-done { padding: 2px 0 0; }
.wd-check {
  width: 44px; height: 44px; border-radius: 50%; background: var(--green-deep); color: #fff;
  font-size: 22px; display: flex; align-items: center; justify-content: center; margin: 0 auto 12px;
}
.want-done p { font-size: 13.5px; color: var(--ink); line-height: 1.6; }
.want-done .want-fine { margin-top: 8px; }
@media (max-width: 480px) { .w-row { grid-template-columns: 1fr; } }

/* ---------- onboarding slot cards (待招商) ---------- */
.fac-card.slot { border: 1.5px dashed #4e5058; border-left: 4px dashed #4e5058; background: rgba(255,255,255,.015); }
.fac-card.slot:hover, .fac-card.slot.open { border-color: var(--blurple); border-left-color: var(--blurple); }
.fc-slot {
  aspect-ratio: 3 / 2; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 7px; text-align: center; padding: 20px;
  background: repeating-linear-gradient(-45deg, rgba(255,255,255,.012) 0 14px, transparent 14px 28px);
}
.fc-slot .fs-ico { font-size: 30px; color: var(--blurple); font-weight: 700; line-height: 1; }
.fc-slot b { color: var(--head); font-size: 15.5px; font-weight: 750; }
.fc-slot .fs-note { font-size: 11.5px; color: var(--muted); max-width: 260px; line-height: 1.5; }
.fc-slot .fs-tag {
  margin-top: 4px; font-size: 9.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: #f5d78e; background: rgba(240,178,50,.12); border: 1px solid rgba(240,178,50,.35);
  border-radius: 99px; padding: 2px 10px;
}
.fc-meta .fs-link { color: var(--green); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.fc-meta .fs-link:hover { color: var(--green); filter: brightness(1.15); }
