:root {
  --blue: #2b5bb0;
  --blue-deep: #1e4490;
  --orange: #f0a12a;
  --ink: #1d1d1f;
  --ink-soft: #6e6e73;
  --line: rgba(0, 0, 0, 0.08);
  --fill: #f5f5f7;
  --white: #ffffff;
  --radius: 18px;
  --font: "Manrope", "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", sans-serif;
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --max: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(900px 480px at 50% -120px, rgba(43, 91, 176, 0.08), transparent 60%),
    radial-gradient(700px 360px at 100% 20%, rgba(240, 161, 42, 0.06), transparent 50%),
    var(--white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-deep); }
img { max-width: 100%; display: block; }
button, input, select { font: inherit; }

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 10px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
}
.brand:hover { color: var(--ink); }
.brand-logo {
  height: 48px;
  width: auto;
  display: block;
}
.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 22px;
  align-items: center;
}
.nav a {
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 8px 0;
  position: relative;
  transition: color 0.25s var(--ease);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s var(--ease);
}
.nav a:hover,
.nav a.active { color: var(--ink); }
.nav a:hover::after,
.nav a.active::after { transform: scaleX(1); }

/* —— Layout —— */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 22px 64px;
}

/* —— Hero (Apple-like, brand first) —— */
.hero {
  position: relative;
  min-height: min(88vh, 760px);
  display: grid;
  place-items: center;
  text-align: center;
  overflow: hidden;
  background:
    linear-gradient(180deg, #eef2f8 0%, #f7f8fb 42%, #ffffff 100%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% 100%, rgba(43, 91, 176, 0.1), transparent 70%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  padding: 72px 24px 80px;
  animation: fadeRise 0.9s var(--ease) both;
}
.hero-logo {
  width: min(220px, 52vw);
  height: auto;
  margin: 0 auto 28px;
  animation: logoFloat 5.5s ease-in-out infinite;
  filter: drop-shadow(0 18px 40px rgba(43, 91, 176, 0.12));
}
.hero h1 {
  margin: 0 0 14px;
  font-size: clamp(1.65rem, 4.2vw, 2.65rem);
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--ink);
}
.hero p {
  margin: 0 auto 28px;
  max-width: 28em;
  font-size: 1.08rem;
  color: var(--ink-soft);
  font-weight: 450;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: 980px;
  padding: 12px 22px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease), opacity 0.2s var(--ease);
}
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: var(--blue);
  color: #fff;
}
.btn-primary:hover { background: var(--blue-deep); color: #fff; }
.btn-ghost {
  background: rgba(0, 0, 0, 0.06);
  color: var(--ink);
}
.btn-ghost:hover { background: rgba(0, 0, 0, 0.1); color: var(--ink); }
.btn-solid {
  background: var(--blue);
  color: #fff;
}
.btn-solid:hover { background: var(--blue-deep); color: #fff; }
.btn-outline {
  background: transparent;
  color: var(--blue);
  border: 1px solid rgba(43, 91, 176, 0.35);
}
.btn-outline:hover { background: rgba(43, 91, 176, 0.06); color: var(--blue-deep); }

/* —— Sections —— */
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin: 56px 0 28px;
}
.section-head h2 {
  margin: 0;
  font-size: clamp(1.55rem, 3vw, 2rem);
  font-weight: 650;
  letter-spacing: -0.025em;
}
.section-head p {
  margin: 6px 0 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
}
.page-title {
  padding: 48px 0 8px;
  animation: fadeRise 0.7s var(--ease) both;
}
.page-title h1 {
  margin: 0;
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 650;
  letter-spacing: -0.03em;
}
.page-title p {
  margin: 10px 0 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
}
.page-title a { color: var(--ink-soft); font-size: 0.95rem; }
.page-title a:hover { color: var(--blue); }

/* —— Filters —— */
.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  margin-bottom: 18px;
  align-items: center;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 6px;
}
.chip {
  border: none;
  background: transparent;
  color: var(--ink-soft);
  border-radius: 8px;
  padding: 8px 12px;
  cursor: pointer;
  font-weight: 500;
  font-size: 0.9rem;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.chip:hover { background: var(--fill); color: var(--ink); }
.chip.active {
  background: var(--fill);
  color: var(--ink);
  font-weight: 650;
}
.search-box {
  display: flex;
  gap: 8px;
  flex: 1;
  min-width: 220px;
  max-width: 420px;
  margin-left: auto;
}
.search-box input {
  flex: 1;
  border: none;
  border-radius: 12px;
  padding: 12px 16px;
  background: var(--fill);
  outline: none;
  color: var(--ink);
  transition: box-shadow 0.2s var(--ease);
}
.search-box input:focus {
  box-shadow: 0 0 0 4px rgba(43, 91, 176, 0.15);
}
.tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 24px;
  padding: 4px;
  background: var(--fill);
  border-radius: 14px;
  width: fit-content;
  max-width: 100%;
}
.tabs button {
  border: none;
  background: transparent;
  border-radius: 11px;
  padding: 10px 18px;
  cursor: pointer;
  color: var(--ink-soft);
  font-weight: 550;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.tabs button.active {
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

/* —— Product grid (Apple Store–like, light containers) —— */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 28px 20px;
}
.shop-card {
  display: block;
  color: inherit;
  animation: fadeRise 0.55s var(--ease) both;
}
.shop-card:hover { color: inherit; }
.shop-cover {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  background: var(--fill);
  overflow: hidden;
  margin-bottom: 14px;
}
.shop-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease);
}
.shop-card:hover .shop-cover img {
  transform: scale(1.04);
}
.shop-cover .placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  font-size: 2rem;
  font-weight: 650;
  color: var(--blue);
  background: linear-gradient(160deg, #e8eef8, #f5f5f7);
}
.shop-body { padding: 0 2px; }
.shop-body h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.35;
}
.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  color: var(--ink-soft);
  font-size: 0.86rem;
}
.tag {
  display: inline-flex;
  color: var(--blue);
  font-weight: 550;
  font-size: 0.82rem;
}
.price {
  margin-top: 8px;
  font-weight: 650;
  font-size: 1.02rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}

/* —— Detail —— */
.detail {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  margin-top: 20px;
  animation: fadeRise 0.65s var(--ease) both;
}
.detail-media {
  border-radius: 22px;
  overflow: hidden;
  background: var(--fill);
}
.detail-media img,
.detail-media video {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #e8e8ed;
}
.thumbs {
  display: flex;
  gap: 8px;
  padding: 12px;
  overflow-x: auto;
  background: var(--white);
}
.thumbs img {
  width: 68px;
  height: 50px;
  object-fit: cover;
  border-radius: 8px;
  opacity: 0.55;
  cursor: pointer;
  transition: opacity 0.2s var(--ease);
}
.thumbs img.active,
.thumbs img:hover { opacity: 1; }
.detail-panel { padding: 8px 0; }
.detail-panel h1 {
  margin: 0 0 12px;
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  font-weight: 650;
  letter-spacing: -0.025em;
  line-height: 1.25;
}
.kv {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 10px 14px;
  margin: 22px 0;
  font-size: 0.95rem;
}
.kv dt { color: var(--ink-soft); }
.kv dd { margin: 0; font-weight: 500; }
.desc {
  white-space: pre-wrap;
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.7;
}

/* —— CTA —— */
.cta-box {
  margin-top: 48px;
  padding: 36px 32px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  background: var(--fill);
  border-radius: 24px;
  animation: fadeRise 0.6s var(--ease) both;
}
.cta-box h3 {
  margin: 0 0 8px;
  font-size: 1.35rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}
.cta-box p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
  max-width: 36em;
}
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: flex-end;
}
.qr-wrap {
  width: 100px;
  height: 100px;
  border-radius: 16px;
  background: var(--white);
  overflow: hidden;
  display: grid;
  place-items: center;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
.qr-wrap img { width: 100%; height: 100%; object-fit: cover; }
.qr-wrap span {
  font-size: 0.7rem;
  color: var(--ink-soft);
  text-align: center;
  padding: 10px;
  line-height: 1.4;
}

/* —— Demands / About —— */
.demand-list { display: grid; gap: 14px; }
.demand-item {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  animation: fadeRise 0.45s var(--ease) both;
}
.demand-item:first-child { border-top: 1px solid var(--line); }
.demand-item h3 {
  margin: 0 0 10px;
  font-size: 1.08rem;
  font-weight: 600;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.about-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 28px;
  margin-top: 28px;
}
.about-panel {
  padding: 8px 0;
  animation: fadeRise 0.65s var(--ease) both;
}
.about-panel h2 {
  margin: 0 0 14px;
  font-size: 1.45rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}
.about-brand {
  width: 140px;
  margin: 0 0 20px;
}
.team { display: grid; gap: 4px; margin-top: 18px; }
.team-item {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}
.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--fill);
  color: var(--blue);
  display: grid;
  place-items: center;
  font-weight: 650;
  overflow: hidden;
  flex-shrink: 0;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }

.empty, .loading, .error {
  padding: 56px 16px;
  text-align: center;
  color: var(--ink-soft);
  font-size: 1rem;
}
.load-more {
  margin: 36px auto 0;
  display: block;
}

/* —— Footer —— */
.site-footer {
  margin-top: 40px;
  border-top: 1px solid var(--line);
  background: var(--fill);
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 36px 22px 40px;
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.84rem;
}
.footer-brand {
  height: 52px;
  width: auto;
  margin: 0 auto 14px;
  opacity: 0.95;
}
.footer-inner .company {
  color: var(--ink);
  font-weight: 550;
  margin-bottom: 10px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  justify-content: center;
  margin: 12px 0 16px;
}
.footer-links a { color: var(--ink-soft); }
.footer-links a:hover { color: var(--blue); }
.beian a { color: var(--ink-soft); }
.beian a:hover { color: var(--blue); }

@keyframes fadeRise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes logoFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@media (max-width: 860px) {
  .detail,
  .about-grid,
  .cta-box {
    grid-template-columns: 1fr;
  }
  .cta-box { padding: 28px 22px; }
  .cta-actions { justify-content: flex-start; }
  .search-box { margin-left: 0; max-width: none; width: 100%; }
  .hero { min-height: 72vh; }
  .brand-logo { height: 34px; }
  .nav { gap: 4px 14px; }
  .nav a { font-size: 0.86rem; }
}
