:root {
  --bg-deep: #050810;
  --bg: #080d18;
  --surface: rgba(15, 23, 42, 0.72);
  --surface-solid: #0f172a;
  --border: rgba(148, 163, 184, 0.14);
  --border-strong: rgba(148, 163, 184, 0.28);
  --text: #f1f5f9;
  --muted: #94a3b8;
  --muted-dim: #64748b;
  --primary: #a78bfa;
  --primary-bright: #c4b5fd;
  --primary-dim: rgba(167, 139, 250, 0.14);
  --primary-glow: rgba(167, 139, 250, 0.45);
  --accent: #38bdf8;
  --accent-dim: rgba(56, 189, 248, 0.12);
  --accent-glow: rgba(56, 189, 248, 0.35);
  --eco: #34d399;
  --eco-dim: rgba(52, 211, 153, 0.14);
  --glass: rgba(12, 18, 36, 0.55);
  --glass-border: rgba(167, 139, 250, 0.22);
  --gradient-brand: linear-gradient(135deg, #c4b5fd 0%, #a78bfa 35%, #6366f1 65%, #38bdf8 100%);
  --gradient-border: linear-gradient(135deg, rgba(167, 139, 250, 0.7), rgba(56, 189, 248, 0.5), rgba(52, 211, 153, 0.4));
  --radius: 20px;
  --radius-sm: 12px;
  --page-pad: clamp(24px, 4.5vw, 72px);
  --font: "PingFang SC", "Microsoft YaHei UI", "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --section-gap: clamp(88px, 11vw, 140px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg-deep);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

/* —— Background —— */
.page-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: var(--bg-deep);
}

.bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.06) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 20%, transparent 75%);
  animation: grid-drift 40s linear infinite;
}

.bg-aurora {
  position: absolute;
  inset: -40% -20%;
  background:
    conic-gradient(from 200deg at 30% 20%, rgba(99, 102, 241, 0.35), transparent 40%),
    conic-gradient(from 120deg at 80% 10%, rgba(56, 189, 248, 0.25), transparent 45%),
    conic-gradient(from 300deg at 60% 80%, rgba(167, 139, 250, 0.2), transparent 50%);
  filter: blur(60px);
  opacity: 0.85;
  animation: aurora-shift 22s ease-in-out infinite alternate;
}

.bg-noise {
  position: absolute;
  inset: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
  animation: float 18s ease-in-out infinite;
  mix-blend-mode: screen;
}

.orb-a {
  width: min(620px, 55vw);
  height: min(620px, 55vw);
  background: radial-gradient(circle, rgba(99, 102, 241, 0.45), transparent 70%);
  top: -15%;
  right: -5%;
}

.orb-b {
  width: min(480px, 45vw);
  height: min(480px, 45vw);
  background: radial-gradient(circle, rgba(167, 139, 250, 0.35), transparent 70%);
  bottom: 5%;
  left: -8%;
  animation-delay: -6s;
}

.orb-c {
  width: min(380px, 35vw);
  height: min(380px, 35vw);
  background: radial-gradient(circle, rgba(56, 189, 248, 0.3), transparent 70%);
  top: 45%;
  left: 40%;
  animation-delay: -12s;
}

.orb-d {
  width: min(320px, 30vw);
  height: min(320px, 30vw);
  background: radial-gradient(circle, rgba(52, 211, 153, 0.22), transparent 70%);
  bottom: 25%;
  right: 15%;
  animation-delay: -9s;
  animation-duration: 24s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -24px) scale(1.06); }
  66% { transform: translate(-20px, 16px) scale(0.98); }
}

@keyframes grid-drift {
  0% { transform: translateY(0); }
  100% { transform: translateY(64px); }
}

@keyframes aurora-shift {
  0% { transform: rotate(0deg) scale(1); }
  100% { transform: rotate(8deg) scale(1.08); }
}

.container {
  width: 100%;
  max-width: none;
  margin: 0 auto;
  padding-left: var(--page-pad);
  padding-right: var(--page-pad);
}

/* —— Header —— */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: background 0.35s var(--ease), border-color 0.35s, padding 0.35s;
}

.site-header.is-scrolled {
  padding: 12px 0;
  background: rgba(5, 8, 16, 0.75);
  backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 8px 40px rgba(99, 102, 241, 0.12);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: clamp(24px, 3vw, 48px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.04em;
  flex-shrink: 0;
  color: var(--text);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-en {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--primary-bright);
  margin-top: 2px;
}

.inline-link {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(167, 139, 250, 0.4);
  transition: color 0.2s, border-color 0.2s;
}

.inline-link:hover {
  color: var(--text);
  border-bottom-color: var(--accent);
}

.brand-logo {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 10px;
  object-fit: contain;
  background: #0a0a0b;
  box-shadow: 0 0 24px var(--primary-glow);
}

.brand-logo--sm {
  width: 32px;
  height: 32px;
}

.site-nav {
  display: flex;
  gap: clamp(28px, 3vw, 48px);
  margin-left: auto;
}

.site-nav a {
  position: relative;
  text-decoration: none;
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.25s, text-shadow 0.25s;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--gradient-brand);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease);
  box-shadow: 0 0 12px var(--primary-glow);
}

.site-nav a:hover {
  color: var(--text);
  text-shadow: 0 0 20px var(--primary-glow);
}

.site-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.about-tags a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(167, 139, 250, 0.35);
}

.about-tags a:hover {
  color: var(--primary-bright);
}

.footer-meta a {
  color: var(--muted);
}

.footer-meta a:hover {
  color: var(--accent);
}

.btn-header {
  flex-shrink: 0;
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 600;
  border-radius: 999px;
  transition: transform 0.2s var(--ease), box-shadow 0.2s, background 0.2s;
  cursor: pointer;
  border: none;
  font-family: inherit;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1rem;
}

.btn-primary {
  position: relative;
  overflow: hidden;
  background: var(--gradient-brand);
  background-size: 200% 200%;
  color: #fafafa;
  box-shadow:
    0 12px 40px var(--primary-glow),
    0 0 0 1px rgba(255, 255, 255, 0.12) inset;
  animation: btn-gradient 6s ease infinite;
}

.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(255, 255, 255, 0.35) 50%,
    transparent 60%
  );
  transform: translateX(-120%);
  transition: transform 0.6s var(--ease);
}

.btn-primary:hover::before {
  transform: translateX(120%);
}

.btn-primary:hover {
  box-shadow:
    0 16px 56px rgba(167, 139, 250, 0.55),
    0 0 32px var(--accent-glow);
}

@keyframes btn-gradient {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.btn-outline,
.btn-ghost {
  padding: 16px 36px;
  font-size: 1rem;
  color: var(--text);
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.03);
}

.btn-ghost {
  color: var(--muted);
  border-color: var(--border);
}

.btn-ghost:hover {
  color: var(--text);
  border-color: var(--border-strong);
}

.btn-header {
  padding: 10px 22px;
  font-size: 0.88rem;
  background: rgba(167, 139, 250, 0.12);
  color: var(--primary-bright);
  border: 1px solid rgba(167, 139, 250, 0.4);
  box-shadow: 0 0 24px rgba(167, 139, 250, 0.15);
}

.btn-header:hover {
  box-shadow: 0 0 32px rgba(167, 139, 250, 0.35);
  border-color: rgba(196, 181, 253, 0.6);
}

/* —— Hero —— */
.hero {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  min-height: min(100vh, 920px);
  padding: clamp(120px, 12vh, 160px) 0 clamp(64px, 8vh, 96px);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
  width: 100%;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 20px;
  padding: 8px 16px;
  font-size: clamp(0.68rem, 0.85vw, 0.78rem);
  font-weight: 700;
  letter-spacing: 0.28em;
  color: var(--primary-bright);
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  background: rgba(167, 139, 250, 0.08);
  box-shadow: 0 0 24px rgba(167, 139, 250, 0.15);
  backdrop-filter: blur(8px);
}

.hero-title {
  margin: 0 0 28px;
  font-size: clamp(2.75rem, 5.8vw, 4.5rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.03em;
}

.hero-title .line {
  display: block;
}

.hero-title .accent {
  background: linear-gradient(
    90deg,
    #fafafa 0%,
    var(--primary-bright) 25%,
    var(--accent) 50%,
    var(--eco) 75%,
    var(--primary-bright) 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: title-shine 8s linear infinite;
  filter: drop-shadow(0 0 24px rgba(167, 139, 250, 0.25));
}

@keyframes title-shine {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

.hero-lead {
  margin: 0 0 36px;
  font-size: clamp(1.08rem, 1.6vw, 1.28rem);
  color: var(--muted);
  max-width: 36em;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 32px;
}

.hero-footnote {
  margin: 0;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: clamp(0.82rem, 1vw, 0.9rem);
  color: var(--muted-dim);
  line-height: 1.65;
  max-width: 40em;
}

.hero-visual {
  position: relative;
}

.hero-glow {
  position: absolute;
  inset: 10% 5%;
  background: radial-gradient(ellipse at center, rgba(56, 189, 248, 0.25), transparent 65%);
  filter: blur(40px);
  animation: pulse-glow 4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

.hero-frame--glow {
  position: relative;
  z-index: 1;
}

.hero-frame--glow::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  padding: 2px;
  background: var(--gradient-border);
  background-size: 300% 300%;
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  border-radius: clamp(22px, 2vw, 34px);
  animation: border-spin 8s linear infinite;
  opacity: 0.85;
  z-index: -1;
}

@keyframes border-spin {
  0% { background-position: 0% 50%; }
  100% { background-position: 300% 50%; }
}

.hero-frame {
  border-radius: clamp(20px, 2vw, 32px);
  background: linear-gradient(160deg, rgba(30, 41, 59, 0.75), rgba(15, 23, 42, 0.5));
  border: 1px solid rgba(167, 139, 250, 0.2);
  padding: clamp(28px, 3vw, 48px) clamp(24px, 2.5vw, 40px);
  box-shadow:
    0 48px 96px rgba(0, 0, 0, 0.5),
    0 0 60px rgba(99, 102, 241, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}

.hero-frame img {
  width: 100%;
  height: auto;
  min-height: clamp(280px, 32vh, 420px);
  object-fit: contain;
  filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.4));
}

.hero-badge {
  position: absolute;
  bottom: -14px;
  left: clamp(24px, 3vw, 48px);
  z-index: 2;
  padding: 14px 24px;
  font-size: clamp(0.85rem, 1vw, 0.95rem);
  font-weight: 600;
  background: rgba(5, 8, 16, 0.85);
  border: 1px solid rgba(56, 189, 248, 0.4);
  border-radius: 999px;
  backdrop-filter: blur(16px);
  color: var(--accent);
  box-shadow: 0 0 28px var(--accent-glow);
}

/* —— Section header —— */
.section-products,
.section-about {
  position: relative;
  z-index: 1;
}

.section-products {
  padding: 0 0 var(--section-gap);
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto clamp(48px, 6vw, 72px);
}

.section-header--left {
  text-align: left;
  margin: 0 0 32px;
  max-width: none;
}

.section-label {
  margin: 0 0 12px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.32em;
  color: var(--accent);
  text-shadow: 0 0 20px var(--accent-glow);
}

.section-header h2 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 3.8vw, 2.85rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.section-desc {
  margin: 0;
  font-size: clamp(1rem, 1.2vw, 1.12rem);
  color: var(--muted);
  line-height: 1.72;
}

.products-note {
  margin: clamp(32px, 5vw, 48px) auto 0;
  max-width: 42em;
  text-align: center;
  font-size: 0.82rem;
  color: var(--muted-dim);
  line-height: 1.65;
}

/* —— Products —— */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 2.5vw, 36px);
  width: 100%;
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--glass);
  border: 1px solid var(--border);
  backdrop-filter: blur(16px) saturate(1.2);
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s,
    border-color 0.35s;
}

.product-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: var(--gradient-border);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.35s;
  pointer-events: none;
  z-index: 2;
}

.product-card:hover {
  transform: translateY(-8px);
  border-color: transparent;
  box-shadow:
    0 28px 64px rgba(0, 0, 0, 0.45),
    0 0 40px rgba(99, 102, 241, 0.2),
    0 0 80px rgba(56, 189, 248, 0.08);
}

.product-card:hover::before {
  opacity: 1;
}

.product-card--featured {
  grid-column: 1 / -1;
  flex-direction: row;
  min-height: clamp(380px, 42vh, 480px);
  background: linear-gradient(
    145deg,
    rgba(30, 41, 59, 0.85) 0%,
    rgba(15, 23, 42, 0.65) 50%,
    rgba(49, 46, 129, 0.2) 100%
  );
}

.product-card--featured:hover {
  box-shadow:
    0 32px 80px rgba(0, 0, 0, 0.5),
    0 0 60px rgba(167, 139, 250, 0.25);
}

.product-card--featured .product-media {
  flex: 1.15;
  min-height: clamp(380px, 42vh, 480px);
  aspect-ratio: auto;
  padding: clamp(24px, 3vw, 40px);
}

.product-card--featured .product-content {
  flex: 0.85;
  padding: clamp(40px, 4vw, 64px) clamp(36px, 3.5vw, 56px);
  justify-content: center;
}

.product-card--featured h3 {
  font-size: clamp(1.5rem, 2.2vw, 1.85rem);
}

.product-card--featured p {
  font-size: clamp(0.98rem, 1.1vw, 1.08rem);
  max-width: 40em;
}

.product-media {
  position: relative;
  aspect-ratio: 16 / 11;
  background:
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(56, 189, 248, 0.12), transparent),
    linear-gradient(180deg, rgba(15, 23, 42, 0.4), rgba(5, 8, 16, 0.85));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow: hidden;
}

.product-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(5, 8, 16, 0.5));
  pointer-events: none;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.5s var(--ease);
}

.product-card:hover .product-media img {
  transform: scale(1.04);
}

.product-media.is-missing {
  position: relative;
}

.product-media.is-missing::after {
  content: "图片待上传";
  color: var(--muted-dim);
  font-size: 0.9rem;
}

.product-media.is-missing img {
  display: none;
}

.product-content {
  padding: clamp(28px, 2.5vw, 36px);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.pill {
  align-self: flex-start;
  margin-bottom: 14px;
  padding: 6px 14px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 999px;
  background: rgba(167, 139, 250, 0.15);
  color: var(--primary-bright);
  border: 1px solid rgba(167, 139, 250, 0.35);
  box-shadow: 0 0 16px rgba(167, 139, 250, 0.2);
}

.product-content h3 {
  margin: 0 0 12px;
  font-size: clamp(1.1rem, 1.2vw, 1.22rem);
  font-weight: 700;
  line-height: 1.35;
}

.product-content > p {
  margin: 0;
  font-size: clamp(0.9rem, 1vw, 0.98rem);
  color: var(--muted);
  line-height: 1.65;
  flex: 1;
}

.spec-list {
  margin: 24px 0 0;
  padding: 20px 0 0;
  list-style: none;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
}

.spec-list li {
  font-size: 0.88rem;
  color: var(--muted);
  padding-left: 16px;
  position: relative;
}

.spec-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--eco);
}

/* —— About —— */
.section-about {
  padding: var(--section-gap) 0 clamp(80px, 12vw, 120px);
  border-top: 1px solid var(--border);
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
  gap: clamp(40px, 5vw, 80px);
  align-items: start;
  width: 100%;
}

.about-body p {
  margin: 0 0 18px;
  font-size: clamp(1rem, 1.15vw, 1.1rem);
  color: var(--muted);
  line-height: 1.78;
  max-width: 42em;
}

.about-body strong {
  color: var(--text);
  font-weight: 600;
}

.about-tags {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.about-tags li {
  padding: 8px 16px;
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: 999px;
  border: 1px solid var(--glass-border);
  background: rgba(167, 139, 250, 0.06);
  color: var(--muted);
  transition: border-color 0.25s, box-shadow 0.25s, color 0.25s;
}

.about-tags li:hover {
  border-color: rgba(56, 189, 248, 0.45);
  color: var(--text);
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.15);
}

/* —— Contact panel —— */
.contact-panel {
  padding: clamp(32px, 3vw, 44px) clamp(28px, 2.5vw, 40px);
  border-radius: var(--radius);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(20px) saturate(1.3);
  position: sticky;
  top: 96px;
  box-shadow:
    0 24px 48px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.contact-panel--glow:hover {
  box-shadow:
    0 28px 56px rgba(0, 0, 0, 0.4),
    0 0 48px rgba(167, 139, 250, 0.15);
  border-color: rgba(167, 139, 250, 0.4);
}

.contact-panel-title {
  margin: 0 0 8px;
  font-size: clamp(1.15rem, 1.3vw, 1.35rem);
  font-weight: 800;
}

.contact-panel-desc {
  margin: 0 0 20px;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.6;
}

.contact-email {
  display: inline-block;
  margin-bottom: 24px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  word-break: break-all;
  text-shadow: 0 0 20px var(--accent-glow);
  transition: color 0.2s, text-shadow 0.2s;
}

.contact-email:hover {
  color: var(--primary-bright);
  text-shadow: 0 0 28px var(--primary-glow);
}

.contact-qr-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-qr {
  margin: 0;
  text-align: center;
}

.contact-qr-img {
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  background: #fff;
  padding: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.contact-qr-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.contact-qr-img.is-missing {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.8);
  min-height: 120px;
}

.contact-qr-img.is-missing::after {
  content: "二维码待上传";
  font-size: 0.75rem;
  color: var(--muted-dim);
}

.contact-qr-img.is-missing img {
  display: none;
}

.contact-qr figcaption {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-qr figcaption strong {
  font-size: 0.82rem;
  color: var(--text);
}

.contact-qr figcaption span {
  font-size: 0.78rem;
  color: var(--primary-bright);
  letter-spacing: 0.08em;
}

/* —— Footer —— */
.site-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  padding: clamp(32px, 4vw, 48px) 0 clamp(40px, 5vw, 56px);
  background: rgba(5, 8, 16, 0.75);
}

.footer-inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px 32px;
  width: 100%;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.95rem;
}

.footer-brand em {
  font-style: normal;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: var(--primary-bright);
  margin-left: 4px;
}

.footer-meta {
  margin: 0;
  margin-left: auto;
  font-size: clamp(0.78rem, 0.9vw, 0.88rem);
  color: var(--muted-dim);
  line-height: 1.6;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 4px 0;
  text-align: right;
}

.footer-meta a {
  color: var(--muted);
  text-decoration: none;
}

.footer-meta a:hover {
  color: var(--accent);
}

.footer-sep {
  margin: 0 8px;
  opacity: 0.45;
}

/* —— Responsive —— */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-lead,
  .hero-footnote {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual {
    width: 100%;
    max-width: none;
    margin: 0 auto;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-card--featured {
    flex-direction: column;
  }

  .product-card--featured .product-media {
    min-height: 280px;
  }

  .about-layout {
    grid-template-columns: 1fr;
  }

  .contact-panel {
    position: static;
  }

  .section-header--left {
    text-align: center;
  }

  .about-body p {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .about-tags {
    justify-content: center;
  }

  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-meta {
    margin-left: 0;
    justify-content: center;
    text-align: center;
  }
}

@media (min-width: 1600px) {
  .product-grid {
    gap: 40px;
  }
}

@media (max-width: 720px) {
  .site-nav {
    display: none;
  }

  .hero {
    padding-top: 96px;
    min-height: auto;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-card--featured .product-content {
    padding: 28px;
  }

  .btn-lg {
    width: 100%;
  }

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

  .footer-meta {
    flex-direction: column;
    gap: 2px;
  }

  .footer-sep {
    display: none;
  }
}

/* —— Scroll reveal —— */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal--delay {
  transition-delay: 0.12s;
}

.product-grid .reveal:nth-child(2) { transition-delay: 0.05s; }
.product-grid .reveal:nth-child(3) { transition-delay: 0.1s; }
.product-grid .reveal:nth-child(4) { transition-delay: 0.15s; }
.product-grid .reveal:nth-child(5) { transition-delay: 0.08s; }
.product-grid .reveal:nth-child(6) { transition-delay: 0.12s; }
.product-grid .reveal:nth-child(7) { transition-delay: 0.16s; }
.product-grid .reveal:nth-child(8) { transition-delay: 0.2s; }

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .orb,
  .bg-aurora,
  .bg-grid,
  .hero-title .accent,
  .btn-primary,
  .hero-frame--glow::before,
  .hero-glow {
    animation: none !important;
  }
}
