:root {
  --primary: #165dff;
  --glow: #36bffa;
  --ink: #1d2129;
  --muted: #434656;
  --line: #d8dce8;
  --soft: #f2f3f5;
  --surface: #ffffff;
  --bg: #f8f9fb;
  --shadow: 0 16px 28px rgba(22, 93, 255, 0.06);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

img {
  display: block;
  max-width: 100%;
}

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

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(216, 220, 232, 0.8);
  backdrop-filter: blur(14px);
}

.nav {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
}

.brand img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--glow));
  border-radius: 6px;
  font-weight: 800;
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  color: var(--muted);
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 22px;
  border-radius: 4px;
  font-weight: 700;
}

.nav-cta,
.btn.primary {
  color: #fff;
  background: var(--primary);
}

.btn.ghost {
  color: var(--primary);
  background: transparent;
  border: 1px solid var(--primary);
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  font-size: 26px;
}

.hero {
  position: relative;
  min-height: 680px;
  padding-top: 72px;
  overflow: hidden;
  background: var(--soft);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(248, 249, 251, 0.98) 0%, rgba(248, 249, 251, 0.9) 48%, rgba(248, 249, 251, 0.35) 100%),
    radial-gradient(circle at 80% 38%, rgba(54, 191, 250, 0.28), transparent 32%),
    linear-gradient(135deg, #f8f9fb, #e9eef8);
  background-size: cover;
  background-position: center;
}

.hero-inner {
  position: relative;
  min-height: 608px;
  display: grid;
  align-items: center;
}

.hero-copy {
  max-width: 720px;
}

.eyebrow,
.product-meta {
  margin: 0 0 10px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.08;
}

.hero p {
  max-width: 690px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 19px;
}

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

.trust-bar {
  padding: 26px 0;
  background: var(--surface);
  border-block: 1px solid var(--line);
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  color: #6b7280;
  font-weight: 800;
}

.section {
  padding: 88px 0;
  background: var(--surface);
}

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

.section-head {
  max-width: 680px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.2;
}

.section-head p:last-child {
  color: var(--muted);
}

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

.product-card,
.feature-grid > div,
.review-grid blockquote {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.product-card {
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 34px rgba(22, 93, 255, 0.1);
}

.product-image {
  position: relative;
  height: 240px;
  display: grid;
  place-items: center;
  color: var(--primary);
  background:
    linear-gradient(135deg, rgba(22, 93, 255, 0.08), rgba(54, 191, 250, 0.16)),
    var(--soft);
  font-size: 28px;
  font-weight: 800;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-image em,
.badge {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 4px 9px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: 3px;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.product-body {
  padding: 24px;
}

.product-body h3 {
  margin: 0 0 10px;
  font-size: 22px;
}

.product-body p {
  min-height: 76px;
  margin: 0 0 22px;
  color: var(--muted);
}

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

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

.feature-grid > div {
  padding: 28px;
}

.feature-grid b {
  font-size: 21px;
}

.feature-grid p,
.review-grid blockquote {
  color: var(--muted);
}

.review-grid blockquote {
  margin: 0;
  padding: 28px;
}

.review-grid span {
  display: block;
  margin-top: 18px;
  color: var(--ink);
  font-weight: 800;
}

.footer {
  padding: 56px 0 24px;
  color: #dfe7f4;
  background: var(--ink);
}

.footer.compact {
  padding-top: 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
}

.footer h2,
.footer h3 {
  color: #fff;
}

.copyright {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: #b8c2d3;
  font-size: 14px;
}

.detail-main {
  padding-top: 112px;
  background: var(--bg);
}

.detail-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding-bottom: 64px;
}

.detail-main-image {
  height: 540px;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--primary);
  background: linear-gradient(135deg, rgba(22, 93, 255, 0.08), rgba(54, 191, 250, 0.18));
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 32px;
  font-weight: 800;
}

.detail-main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 12px;
}

.thumbs button {
  height: 88px;
  padding: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  cursor: pointer;
}

.thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-info h1 {
  margin: 0 0 12px;
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.1;
}

.detail-info .badge {
  position: static;
  display: inline-flex;
  margin-bottom: 20px;
}

.lead {
  color: var(--muted);
  font-size: 18px;
}

.detail-info h2,
.detail-section h2 {
  margin: 32px 0 14px;
  font-size: 24px;
}

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

.check-list li::before {
  content: "✓";
  margin-right: 10px;
  color: #10b981;
  font-weight: 900;
}

.detail-actions {
  display: flex;
  gap: 12px;
  margin-top: 30px;
}

.detail-section {
  padding: 52px 0;
  border-top: 1px solid var(--line);
}

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

.spec-table div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.spec-table span {
  color: var(--muted);
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}

.empty-state {
  min-height: 460px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 20px;
  text-align: center;
}

@media (max-width: 900px) {
  .menu-toggle {
    display: block;
  }

  .nav {
    position: relative;
  }

  .nav-links {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 14px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    width: 100%;
    padding: 12px;
  }

  .nav-cta {
    display: none;
  }

  .product-grid,
  .feature-grid,
  .review-grid,
  .detail-hero,
  .two-col {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 600px;
  }

  .detail-main-image {
    height: 360px;
  }

  .spec-table {
    grid-template-columns: 1fr;
  }

  .footer-grid,
  .copyright {
    grid-template-columns: 1fr;
    flex-direction: column;
  }
}

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

  .hero-actions,
  .detail-actions {
    flex-direction: column;
  }

  .trust-list {
    justify-content: flex-start;
  }

  .product-image {
    height: 210px;
  }
}

