:root {
  --bg: #12090b;
  --bg-soft: #221013;
  --panel: rgba(28, 15, 18, 0.84);
  --panel-soft: rgba(53, 22, 26, 0.72);
  --text: #f5efe7;
  --muted: rgba(245, 239, 231, 0.68);
  --line: rgba(255, 255, 255, 0.12);
  --brand: #9f1322;
  --brand-2: #d9ae5f;
  --accent: #b03a2e;
  --max: 1180px;
  --radius: 18px;
  --shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 15% 5%, rgba(159, 19, 34, 0.24), transparent 56%),
    radial-gradient(900px 500px at 86% 14%, rgba(217, 174, 95, 0.12), transparent 60%),
    linear-gradient(180deg, #060202, var(--bg) 42%, #090405);
}

a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; }

.container {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 10px;
  z-index: 20;
  padding-top: 10px;
}

.nav-wrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(28, 15, 18, 0.76);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}

.brand-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.04);
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
}

.lang-switch a {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  transition: color 0.2s;
}

.lang-switch a.active,
.lang-switch a:hover {
  color: var(--brand-2);
}

.lang-split {
  color: rgba(255, 255, 255, 0.15);
  font-size: 0.8rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 240px;
}

.brand-logo {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  background: linear-gradient(135deg, rgba(159, 19, 34, .96), rgba(217, 174, 95, .86));
  color: #fff;
  font-weight: 800;
}

.brand-copy {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-copy strong { font-size: 0.95rem; }
.brand-copy small { color: var(--muted); font-size: 0.78rem; }

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.nav-split {
  width: 1px;
  height: 18px;
  background: var(--line);
  opacity: 0.7;
}

.nav a {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 600;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.03);
}

.nav a.active,
.nav a:hover {
  background: rgba(159, 19, 34, 0.18);
  border-color: rgba(159, 19, 34, 0.55);
  color: #fff;
}

.hero { padding: 14px 0 0; }
.hero-compact .hero-card { padding: 22px; }

.hero-cover {
  min-height: 420px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-narrow {
  padding: 30px 22px;
  color: #fff;
  max-width: 760px;
}

.hero-card {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(28, 15, 18, 0.78);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  padding: 30px 22px;
}

.hero-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 20px;
  align-items: start;
}

.hero-media img {
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
  font-weight: 700;
  font-size: 0.84rem;
}

h1, h2, h3 { margin: 0; }
h1 { font-size: clamp(2.0rem, 4vw, 3.0rem); line-height: 1.08; margin-top: 14px; letter-spacing: -.02em; }
h2 { font-size: 1.7rem; }
h3 { font-size: 1.25rem; }

p { color: var(--muted); line-height: 1.75; }

.hero p { max-width: 720px; font-size: 1.02rem; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.05);
  color: var(--text);
  font-weight: 700;
  cursor: pointer;
}

.button.primary {
  background: rgba(159, 19, 34, 0.24);
  color: #fff;
  border-color: rgba(217, 174, 95, 0.44);
}

.text-link { color: var(--brand-2); font-weight: 700; }

.section { padding: 26px 0; }
.alt-surface { background: radial-gradient(900px 400px at 50% 0%, rgba(159, 19, 34, 0.15), transparent 60%); }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.stats-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.stat-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255,255,255,0.04);
  padding: 14px;
}

.stat-card span { color: var(--muted); font-size: 0.85rem; }
.stat-card strong { display: block; margin-top: 6px; font-size: 1.6rem; }

.market-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.feature-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(28, 15, 18, 0.70);
  padding: 18px;
  box-shadow: var(--shadow);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.gallery-card {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.product-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: rgba(28, 15, 18, 0.70);
  box-shadow: var(--shadow);
}

.product-card img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: rgba(255,255,255,0.06);
}

.card-body { padding: 16px; }
.meta-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 0.86rem;
  margin-bottom: 10px;
}

.simple-list {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
  display: grid;
  gap: 8px;
}

.simple-list li {
  padding-left: 16px;
  position: relative;
  color: rgba(231, 238, 252, 0.76);
  line-height: 1.6;
  font-size: 0.92rem;
}

.simple-list li::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 999px;
  position: absolute;
  left: 0;
  top: 9px;
  background: rgba(217, 174, 95, 0.88);
}

.filter-bar {
  display: grid;
  grid-template-columns: 170px 220px minmax(0, 1fr) 110px 140px;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(28, 15, 18, 0.78);
  box-shadow: var(--shadow);
  margin-bottom: 18px;
}

.field label {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  margin-bottom: 8px;
  font-weight: 700;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.04);
  color: var(--text);
  outline: none;
}

.field-actions { display: flex; align-items: end; }
.field-wide { grid-column: span 1; }

.form-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(28, 15, 18, 0.78);
  box-shadow: var(--shadow);
  padding: 18px;
}

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.notice {
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(217, 174, 95, 0.28);
  background: rgba(217, 174, 95, 0.08);
  margin-bottom: 12px;
}

.ai-chat {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(28, 15, 18, 0.78);
  box-shadow: var(--shadow);
  padding: 16px;
}

.ai-chat-head {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 12px;
  align-items: start;
}

.ai-badge {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  background: rgba(159, 19, 34, 0.18);
  border: 1px solid rgba(217, 174, 95, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.ai-chat-body {
  margin-top: 14px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.03);
  padding: 12px;
  height: 220px;
  overflow: auto;
  display: grid;
  gap: 10px;
}

.ai-msg { display: flex; }
.ai-msg-user { justify-content: flex-end; }
.ai-bubble {
  max-width: 86%;
  padding: 10px 12px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  color: rgba(231, 238, 252, 0.88);
  line-height: 1.55;
}

.ai-msg-user .ai-bubble {
  background: rgba(159, 19, 34, 0.18);
  border-color: rgba(159, 19, 34, 0.36);
}

.ai-chat-input {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.ai-rec {
  margin-top: 12px;
  display: grid;
  gap: 10px;
}

.ai-rec-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 12px;
  align-items: center;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  padding: 10px;
  background: rgba(255,255,255,0.03);
}

.ai-rec-item img {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  object-fit: cover;
  border: 1px solid rgba(255,255,255,0.10);
}

.asset-links { display: flex; flex-wrap: wrap; gap: 12px; }
.detail-block { margin-top: 16px; }

.site-footer { padding: 22px 0 34px; }
.footer-inner { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 16px; color: var(--muted); }

.mini-product-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255,255,255,0.03);
}

.home-cover {
  background-size: cover;
  background-position: center;
}

.home-under-hero {
  margin-top: 16px;
  display: grid;
  gap: 14px;
}

.kpi-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.kpi-item {
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 14px 16px;
  background: rgba(255,255,255,0.03);
}

.kpi-item span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
}

.kpi-item strong {
  display: block;
  margin-top: 6px;
  font-size: 1.02rem;
  color: #fff;
}

.mini-product-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.mini-product-card img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.mini-product-copy {
  padding: 12px;
}

.mini-product-copy span {
  display: inline-flex;
  color: var(--brand-2);
  font-size: 0.8rem;
  font-weight: 700;
}

.mini-product-copy h3 {
  margin-top: 8px;
  font-size: 1rem;
}

.compact-head {
  margin-top: 18px;
  align-items: center;
}

.classic-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.classic-item {
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255,255,255,0.03);
  display: block;
}

.classic-item img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  opacity: 0.96;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.classic-item:hover img {
  transform: scale(1.03);
  opacity: 1;
}

@media (min-width: 769px) {
  .nav-wrap {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .brand-bar {
    width: auto;
    gap: 20px;
  }
}
@media (max-width: 980px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .market-grid { grid-template-columns: 1fr; }
  .filter-bar { grid-template-columns: 1fr; }
  .hero-split { grid-template-columns: 1fr; }
  .mini-product-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .classic-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
  .site-header {
    top: 5px;
    padding-top: 5px;
  }
  .nav-wrap {
    padding: 10px;
    gap: 8px;
    overflow: hidden;
  }
  .brand-bar {
    flex-wrap: nowrap;
    gap: 8px;
  }
  .brand-copy strong { font-size: 0.85rem; }
  .brand-copy small { font-size: 0.7rem; }
  .lang-switch {
    padding: 4px 8px;
    gap: 4px;
  }
  .lang-switch a { font-size: 0.75rem; }
  .nav {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 2px;
    width: 100%;
  }
  .nav a {
    white-space: nowrap;
    flex-shrink: 0;
    padding: 6px 12px;
    font-size: 0.85rem;
  }
  .nav::-webkit-scrollbar {
    display: none;
  }
  .brand {
    min-width: auto;
  }
}

@media (max-width: 620px) {
  .product-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .stats-strip { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .kpi-band { grid-template-columns: 1fr; }
  .mini-product-row { grid-template-columns: 1fr; }
  .classic-strip { grid-template-columns: 1fr; }
  
  .hero-cover { min-height: 320px; }
  .hero-card { padding: 20px 16px; }
  h1 { font-size: 1.7rem; }
}
