:root {
  --bg: #0f1117;
  --panel: #171b24;
  --panel-soft: #202635;
  --text: #f5f7fb;
  --muted: #aeb7c8;
  --line: rgba(255, 255, 255, 0.12);
  --accent: #29d3b2;
  --accent-2: #ffcf5a;
  --paper: #f6f7fb;
  --ink: #10131a;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  background: rgba(15, 17, 23, 0.86);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-logo {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  overflow: hidden;
  background: #ffffff;
  border-radius: 8px;
}

.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
}

.brand-name {
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.site-nav a {
  padding: 8px 14px;
  color: var(--muted);
  border-radius: 6px;
  font-size: 14px;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.1);
}

.section,
.section-band {
  padding: clamp(56px, 8vw, 112px) clamp(20px, 5vw, 72px);
}

.section {
  max-width: 1200px;
  margin: 0 auto;
}

.section-band {
  border-bottom: 1px solid var(--line);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.86fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
  min-height: calc(100vh - 75px);
  overflow: hidden;
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(120deg, rgba(41, 211, 178, 0.16), transparent 32%),
    linear-gradient(300deg, rgba(255, 207, 90, 0.12), transparent 30%);
  pointer-events: none;
}

.hero-copy,
.hero-visual,
.page-hero,
.featured,
.product-cards {
  position: relative;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 18px;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 1.03;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.15;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
}

.lead {
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(16px, 2vw, 20px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 700;
}

.button-primary {
  color: #07100d;
  background: var(--accent);
  border-color: transparent;
}

.button-ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.visual-frame,
.media-placeholder {
  display: grid;
  place-items: center;
  min-height: 320px;
  color: rgba(255, 255, 255, 0.66);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02)),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 16px);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.24);
}

.image-frame {
  overflow: hidden;
  padding: 0;
  background: #ffffff;
}

.image-frame img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  display: block;
  object-fit: cover;
}

.contain-frame img {
  object-fit: contain;
}

.visual-frame {
  min-height: min(64vh, 620px);
}

.visual-frame span,
.media-placeholder span {
  padding: 8px 12px;
  color: var(--muted);
  background: rgba(15, 17, 23, 0.72);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 14px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 32px;
}

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

.intro-grid article,
.product-cards article,
.contact-panel {
  padding: 28px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.intro-grid p,
.product-cards p,
.contact-panel p,
.product-copy p,
.feature-copy p {
  color: var(--muted);
}

.feature-layout,
.product-detail,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(280px, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.feature-copy,
.product-copy {
  max-width: 620px;
}

.spec-list,
.contact-list {
  display: grid;
  gap: 14px;
  margin: 28px 0;
}

.spec-list div,
.contact-list div {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

dt {
  color: var(--muted);
}

dd {
  margin: 0;
}

.text-link {
  color: var(--accent);
  font-weight: 800;
}

.page-hero.compact {
  min-height: 320px;
  background:
    linear-gradient(120deg, rgba(41, 211, 178, 0.12), transparent 30%),
    linear-gradient(300deg, rgba(255, 207, 90, 0.08), transparent 30%),
    var(--panel);
}

.page-hero h1 {
  margin-bottom: 14px;
}

.product-gallery {
  display: grid;
  gap: 16px;
}

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

.media-placeholder.wide {
  min-height: 280px;
}

.media-placeholder.tall {
  min-height: 520px;
}

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

.clean-list li {
  padding: 14px 16px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.card-index {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--accent-2);
  font-size: 13px;
  font-weight: 800;
}

.contact-layout {
  align-items: stretch;
}

.contact-panel.muted {
  background: var(--panel-soft);
}

.avatar-row {
  min-height: 180px;
  margin-top: 22px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 28px clamp(20px, 5vw, 72px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--text);
}

@media (max-width: 860px) {
  .site-header {
    position: static;
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
  }

  .site-nav {
    width: 100%;
  }

  .site-nav a {
    flex: 1;
    text-align: center;
  }

  .hero,
  .feature-layout,
  .product-detail,
  .contact-layout,
  .intro-grid,
  .product-cards {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .visual-frame,
  .media-placeholder.tall {
    min-height: 360px;
  }
}

@media (max-width: 560px) {
  .brand-name {
    font-size: 14px;
  }

  .site-nav {
    gap: 4px;
  }

  .site-nav a {
    padding: 8px 6px;
    font-size: 13px;
  }

  .hero-actions,
  .site-footer,
  .gallery-row {
    flex-direction: column;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .spec-list div,
  .contact-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}
