:root {
  --bg: #0b0e14;
  --bg-soft: #131824;
  --text: #edf2ff;
  --muted: #9aa4bd;
  --line: rgba(255, 255, 255, 0.14);
  --glow: linear-gradient(120deg, rgba(86, 245, 255, 0.45), rgba(173, 100, 255, 0.42), rgba(255, 105, 180, 0.38));
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: radial-gradient(circle at top, #12192a, var(--bg) 48%);
  color: var(--text);
  font-family: Inter, "Noto Sans", "Hiragino Sans", "PingFang TC", sans-serif;
  line-height: 1.6;
}

a {
  color: #b8c7ff;
  text-decoration: none;
}

a:hover {
  color: #d6e1ff;
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(11, 14, 20, 0.78);
  border-bottom: 1px solid var(--line);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.brand {
  font-weight: 700;
  letter-spacing: 0.03em;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1rem;
  padding: 0;
  margin: 0;
}

.language-switcher {
  display: flex;
  gap: 0.5rem;
}

.language-select {
  display: none;
  min-width: 7.5rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(11, 14, 20, 0.92);
  color: var(--text);
  padding: 0.45rem 0.8rem;
  font: inherit;
}

.language-switcher a {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.3rem 0.65rem;
  font-size: 0.84rem;
}

.language-switcher a.is-active {
  border-color: rgba(126, 223, 255, 0.86);
  color: #dbf4ff;
}

.hero {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.6rem;
  padding: 4rem 0 3rem;
}

.hero-kicker {
  color: #88e8ff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
}

.hero-copy h1 {
  margin: 0.35rem 0 0.9rem;
  font-size: clamp(1.9rem, 4.1vw, 3rem);
  line-height: 1.18;
}

.hero-description {
  color: var(--muted);
  max-width: 56ch;
}

.cta-button {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.75rem 1.2rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(137, 185, 255, 0.52);
  background: rgba(85, 148, 255, 0.2);
}

.hero-media img {
  width: 100%;
  border-radius: 1rem;
  border: 1px solid var(--line);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.45);
}

section {
  margin-bottom: 3.2rem;
}

.section-description {
  margin-top: -0.55rem;
  color: var(--muted);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.product-card {
  position: relative;
  padding: 1rem;
  border-radius: 1rem;
  background: linear-gradient(165deg, rgba(20, 25, 37, 0.94), rgba(10, 13, 20, 0.98));
  border: 1px solid rgba(201, 214, 255, 0.16);
  transition: transform 0.26s ease, box-shadow 0.26s ease;
  overflow: hidden;
}

.product-card::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: var(--glow);
  opacity: 0;
  filter: blur(20px);
  transition: opacity 0.26s ease;
  z-index: 0;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

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

.product-card > * {
  position: relative;
  z-index: 1;
}

.product-image-frame {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 0.8rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.product-image {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  user-select: none;
  -webkit-user-drag: none;
}

.product-title {
  margin: 0.75rem 0 0.35rem;
  font-size: 1.05rem;
}

.product-card-link {
  display: block;
  color: inherit;
}

.product-description {
  color: var(--muted);
  font-size: 0.92rem;
}

.product-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  margin: 0.8rem 0;
  font-size: 0.92rem;
}

.product-price {
  font-weight: 700;
}

.buy-button {
  display: block;
  text-align: center;
  border: 1px solid rgba(126, 223, 255, 0.4);
  border-radius: 0.75rem;
  background: rgba(40, 125, 179, 0.22);
  padding: 0.62rem;
}

.product-card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin: 0;
}

.detail-button {
  display: block;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  padding: 0.62rem;
}

.breadcrumb-nav {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin: 1.5rem 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.product-page {
  padding-bottom: 3rem;
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 2rem;
  align-items: start;
  margin-bottom: 2rem;
}

.product-main-image-frame {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
}

.product-main-image-frame img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  user-select: none;
  -webkit-user-drag: none;
}

.product-thumbnails {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 0.85rem;
}

.thumbnail-button {
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  overflow: hidden;
}

.thumbnail-button.is-active {
  border-color: rgba(126, 223, 255, 0.86);
}

.thumbnail-button img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.product-purchase-panel,
.product-info {
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgba(19, 24, 36, 0.76);
  padding: 1.25rem;
}

.product-purchase-panel h1 {
  margin: 0.35rem 0 0.75rem;
  font-size: clamp(1.8rem, 3vw, 2.65rem);
  line-height: 1.16;
}

.product-detail-description {
  color: var(--muted);
}

.product-detail-price {
  margin: 1rem 0 0.25rem;
  font-size: 1.7rem;
  font-weight: 800;
}

.product-detail-availability {
  color: #9be7bd;
  margin-top: 0;
}

.product-buy-button {
  margin: 1.2rem 0;
  padding: 0.9rem 1rem;
}

.product-trust-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 0;
}

.product-trust-grid article {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  padding: 0.8rem;
  background: rgba(255, 255, 255, 0.04);
}

.product-trust-grid p,
.product-info li {
  color: var(--muted);
}

.product-info ul {
  margin: 0;
  padding-left: 1.2rem;
}

.about-shell,
#faq-list article {
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgba(19, 24, 36, 0.74);
  padding: 1rem;
}

#faq-list {
  display: grid;
  gap: 0.85rem;
}

#faq-list h3 {
  margin: 0 0 0.35rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.25rem 0 1.6rem;
  background: rgba(7, 9, 14, 0.86);
}

.footer-shell {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.footer-shell nav {
  display: flex;
  gap: 0.7rem;
  align-items: center;
  flex-wrap: wrap;
}

.footer-shell nav a {
  border: 1px solid rgba(126, 223, 255, 0.26);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  color: #d8e2ff;
  padding: 0.48rem 0.82rem;
  font-size: 0.9rem;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.footer-shell nav a:hover {
  border-color: rgba(126, 223, 255, 0.72);
  background: rgba(126, 223, 255, 0.1);
  transform: translateY(-1px);
}

@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 2.6rem;
  }

  .nav-links {
    display: none;
  }

  .language-switcher.has-select a {
    display: none;
  }

  .language-switcher.has-select .language-select {
    display: block;
  }

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

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