:root {
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --blue: #0066cc;
  --blue-hover: #0071e3;
  --canvas: #ffffff;
  --soft: #f5f5f7;
  --soft-2: #fbfbfd;
  --line: #d2d2d7;
  --dark: #000000;
  --glass-bg: rgba(255, 255, 255, 0.68);
  --glass-line: rgba(255, 255, 255, 0.78);
  --glass-shadow: 0 24px 70px rgba(0, 0, 0, 0.12);
  --radius: 24px;
  --nav-height: 52px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 18%, rgba(18, 196, 107, 0.13), transparent 26vw),
    radial-gradient(circle at 86% 8%, rgba(0, 102, 204, 0.12), transparent 24vw),
    radial-gradient(circle at 62% 82%, rgba(255, 159, 10, 0.1), transparent 28vw);
}

a {
  color: inherit;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(22px, calc((100vw - 1024px) / 2));
  background: rgba(255, 255, 255, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.62);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: -0.12px;
}

.brand-mark {
  width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  border-radius: 7px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  color: #424245;
  font-size: 12px;
}

.nav-links a {
  text-decoration: none;
}

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

.nav-toggle {
  display: none;
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 16px;
  height: 1px;
  margin: 6px auto;
  background: var(--ink);
}

.hero {
  min-height: calc(100vh - var(--nav-height));
  padding: 92px 24px 56px;
  display: grid;
  place-items: center;
  text-align: center;
  background:
    radial-gradient(circle at 50% 68%, rgba(18, 196, 107, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(245, 245, 247, 0.78) 100%);
  overflow: hidden;
}

.eyebrow {
  margin: 0 0 12px;
  color: #86868b;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
}

.hero h1,
.detail-hero h1 {
  max-width: 850px;
  margin: 0 auto;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", sans-serif;
  font-size: clamp(48px, 8vw, 92px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 680px;
  margin: 22px auto 0;
  color: var(--muted);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 400;
  line-height: 1.22;
  letter-spacing: 0;
}

.hero-actions,
.detail-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 17px;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
}

.button-primary {
  background: var(--blue);
  color: #fff;
}

.button-primary:hover {
  background: var(--blue-hover);
}

.button-secondary {
  background: transparent;
  border-color: var(--blue);
  color: var(--blue);
}

.button-secondary:hover {
  background: var(--blue);
  color: #fff;
}

.hero-stage {
  position: relative;
  display: block;
  width: min(760px, 92vw);
  height: 310px;
  margin: 52px auto 0;
  color: inherit;
  text-decoration: none;
}

.hero-device {
  position: absolute;
  inset: 0;
  width: min(460px, 70vw);
  height: 270px;
  margin: auto;
  display: grid;
  place-items: center;
  gap: 16px;
  align-content: center;
  border-radius: 46px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-line);
  box-shadow: var(--glass-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(30px) saturate(160%);
  -webkit-backdrop-filter: blur(30px) saturate(160%);
}

.hero-device img,
.hero-device > span:first-child {
  width: 124px;
  height: 124px;
  border-radius: 30px;
}

.hero-device > span:first-child {
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--accent) 14%, #fff);
  color: var(--accent);
  font-size: 48px;
  font-weight: 800;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 18%, transparent);
}

.hero-device span:last-child {
  font-size: 26px;
  font-weight: 700;
}

.hero-card {
  position: absolute;
  min-width: 190px;
  padding: 18px 22px;
  border-radius: 22px;
  background: #fff;
  color: var(--ink);
  font-size: 18px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
}

.hero-card-top {
  top: 34px;
  left: 0;
}

.hero-card-bottom {
  right: 0;
  bottom: 36px;
}

.products-section,
.contact-section,
.detail-content {
  padding: 96px max(22px, calc((100vw - 1180px) / 2));
}

.section-heading h2,
.contact-copy h2,
.detail-content h2 {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", sans-serif;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.08;
  letter-spacing: 0;
}

.section-heading p:not(.eyebrow),
.contact-copy p,
.detail-panel p {
  color: var(--muted);
  font-size: 21px;
  line-height: 1.48;
  letter-spacing: 0;
}

.products-section {
  background:
    radial-gradient(circle at 10% 12%, rgba(0, 102, 204, 0.08), transparent 28vw),
    radial-gradient(circle at 90% 22%, rgba(18, 196, 107, 0.08), transparent 24vw),
    rgba(245, 245, 247, 0.84);
}

.centered {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 54px;
}

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

.product-card {
  min-height: 610px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.74);
  color: var(--ink);
  text-align: center;
  text-decoration: none;
  border-radius: 34px;
  border: 1px solid rgba(255, 255, 255, 0.76);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(26px) saturate(150%);
  -webkit-backdrop-filter: blur(26px) saturate(150%);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.product-card:first-child {
  grid-column: 1 / -1;
  min-height: 640px;
}

.product-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.product-card-media {
  min-height: 300px;
  display: grid;
  place-items: center;
  padding: 64px 32px 20px;
  background: radial-gradient(circle at 50% 45%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 58%);
}

.product-card:first-child .product-card-media {
  min-height: 360px;
}

.product-card-media img {
  width: 176px;
  height: 176px;
  border-radius: 40px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.18);
}

.product-card-media span,
.detail-icon span {
  width: 176px;
  height: 176px;
  display: grid;
  place-items: center;
  border-radius: 40px;
  background: color-mix(in srgb, var(--accent) 14%, #fff);
  color: var(--accent);
  font-size: 64px;
  font-weight: 800;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 18%, transparent);
}

.product-card-body {
  padding: 16px 36px 44px;
}

.product-status {
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
}

.product-card h3 {
  margin: 0 auto 10px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.1;
}

.product-card p {
  max-width: 620px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.45;
}

.tag-list {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 22px 0;
}

.tag-list span {
  padding: 7px 11px;
  border-radius: 999px;
  background: var(--soft);
  color: #424245;
  font-size: 13px;
}

.product-card strong {
  color: var(--blue);
  font-size: 17px;
  font-weight: 400;
}

.contact-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 58px;
  background: #fff;
}

.contact-copy h2 {
  margin-bottom: 18px;
}

.contact-card {
  margin-top: 36px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.68);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
}

.contact-card span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 14px;
}

.contact-card a {
  color: var(--blue);
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 600;
  text-decoration: none;
}

.contact-form {
  padding: 34px;
  border-radius: var(--radius);
  background: rgba(245, 245, 247, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.74);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(26px) saturate(150%);
  -webkit-backdrop-filter: blur(26px) saturate(150%);
}

.contact-form label {
  display: block;
  margin-bottom: 18px;
}

.contact-form span {
  display: block;
  margin-bottom: 8px;
  color: #424245;
  font-size: 14px;
  font-weight: 600;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  padding: 12px 14px;
  font: inherit;
  font-size: 16px;
  outline: none;
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(0, 102, 204, 0.12);
}

.form-button {
  width: 100%;
  margin-top: 4px;
}

.form-note {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.form-note.success {
  color: #07833f;
}

.site-footer {
  padding: 38px max(22px, calc((100vw - 1180px) / 2));
  display: grid;
  grid-template-columns: 1.3fr auto;
  gap: 24px;
  background: var(--soft);
  color: var(--muted);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  font-size: 13px;
}

.site-footer strong {
  color: var(--ink);
}

.footer-links {
  display: flex;
  gap: 18px;
}

.footer-links a {
  color: #424245;
  text-decoration: none;
}

.copyright {
  grid-column: 1 / -1;
  margin: 0;
}

.detail-page {
  background:
    radial-gradient(circle at 18% 8%, rgba(0, 102, 204, 0.1), transparent 28vw),
    radial-gradient(circle at 82% 20%, rgba(18, 196, 107, 0.1), transparent 28vw),
    var(--soft);
}

.detail-hero {
  min-height: calc(100vh - var(--nav-height));
  padding: 80px 24px 64px;
  display: grid;
  place-items: center;
  text-align: center;
  background:
    radial-gradient(circle at 50% 58%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, color-mix(in srgb, var(--accent) 8%, rgba(245, 245, 247, 0.78)) 100%);
}

.back-link {
  align-self: start;
  justify-self: start;
  max-width: 1180px;
  width: 100%;
  color: var(--blue);
  text-decoration: none;
  font-size: 15px;
}

.back-link::before {
  content: "‹ ";
}

.detail-icon {
  margin: 12px 0 22px;
}

.detail-icon img {
  width: 150px;
  height: 150px;
  border-radius: 34px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.16);
}

.detail-hero > p:not(.eyebrow) {
  max-width: 720px;
  margin: 22px auto 0;
  color: var(--muted);
  font-size: 28px;
  line-height: 1.28;
}

.detail-content {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.detail-panel {
  min-height: 320px;
  padding: clamp(28px, 5vw, 56px);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.74);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
}

.detail-panel h2 {
  font-size: clamp(32px, 4vw, 52px);
  margin-bottom: 18px;
}

.feature-list {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  padding: 16px 0;
  border-top: 1px solid var(--line);
  color: #424245;
  font-size: 21px;
  line-height: 1.42;
}

.download-box {
  display: flex;
  gap: 22px;
  align-items: center;
  margin-top: 26px;
}

.qr-placeholder {
  width: 132px;
  height: 132px;
  flex: 0 0 132px;
  display: grid;
  place-items: center;
  border-radius: 24px;
  background: repeating-linear-gradient(45deg, #111 0 8px, #fff 8px 16px);
  color: #fff;
  font-weight: 800;
  text-shadow: 0 1px 4px #000;
}

.download-box strong {
  display: block;
  color: var(--ink);
  font-size: 24px;
}

.download-box a {
  color: var(--blue);
  text-decoration: none;
}

.promo-panel {
  grid-column: 1 / -1;
  padding: clamp(10px, 3vw, 26px) 0;
}

.promo-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.6vw, 34px);
  align-items: center;
  padding: 34px clamp(18px, 4vw, 54px);
  overflow: visible;
}

.promo-item {
  margin: 0;
  display: flex;
  justify-content: center;
  transform: scale(0.94);
  opacity: 0.86;
  filter: saturate(0.92);
  transition: transform 260ms ease, opacity 260ms ease, filter 260ms ease, z-index 260ms ease;
}

.promo-item img {
  width: min(100%, 390px);
  border-radius: 30px;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.16);
  transition: box-shadow 260ms ease;
}

.promo-gallery:hover .promo-item {
  transform: scale(0.88);
  opacity: 0.54;
  filter: saturate(0.72);
}

.promo-gallery .promo-item:hover {
  z-index: 2;
  transform: scale(1.08) translateY(-10px);
  opacity: 1;
  filter: saturate(1);
}

.promo-gallery .promo-item:hover img {
  box-shadow: 0 42px 100px rgba(0, 0, 0, 0.24);
}

.promo-placeholder {
  min-height: 360px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  border-radius: 28px;
  background: rgba(245, 245, 247, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.74);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
}

.promo-placeholder strong {
  font-size: 34px;
}

.detail-missing {
  min-height: 80vh;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 24px;
  text-align: center;
}

@media (max-width: 820px) {
  .site-nav {
    padding: 0 18px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 22px 20px;
    background: rgba(255, 255, 255, 0.84);
    border-bottom: 1px solid rgba(255, 255, 255, 0.62);
    backdrop-filter: blur(24px) saturate(160%);
    -webkit-backdrop-filter: blur(24px) saturate(160%);
    font-size: 18px;
  }

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

  .nav-links a {
    padding: 14px 0;
  }

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

  .hero-stage {
    height: 280px;
  }

  .hero-card {
    position: relative;
    inset: auto;
    display: inline-block;
    min-width: 0;
    margin: 8px;
    font-size: 15px;
  }

  .contact-section,
  .detail-content,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .products-section,
  .contact-section,
  .detail-content {
    padding-top: 72px;
    padding-bottom: 72px;
  }

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

  .product-card:first-child {
    grid-column: auto;
  }

  .product-card,
  .product-card:first-child {
    min-height: 540px;
  }

  .detail-content {
    gap: 12px;
  }

  .download-box {
    align-items: flex-start;
    flex-direction: column;
  }

  .promo-gallery {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 24px 22px 34px;
    -webkit-overflow-scrolling: touch;
  }

  .promo-gallery:hover .promo-item,
  .promo-gallery .promo-item,
  .promo-gallery .promo-item:hover {
    transform: none;
    opacity: 1;
    filter: none;
  }

  .promo-item {
    flex: 0 0 min(82vw, 390px);
    scroll-snap-align: center;
  }
}

@media (max-width: 560px) {
  .hero h1,
  .detail-hero h1 {
    font-size: 44px;
  }

  .hero-copy,
  .detail-hero > p:not(.eyebrow) {
    font-size: 22px;
  }

  .hero-stage {
    width: 100%;
    height: auto;
    margin-top: 34px;
  }

  .hero-device {
    position: relative;
    width: 100%;
    height: 240px;
  }

  .hero-device img,
  .hero-device > span:first-child,
  .product-card-media img,
  .product-card-media span {
    width: 132px;
    height: 132px;
    border-radius: 30px;
  }

  .hero-device span {
    font-size: 22px;
  }

  .product-card-media {
    min-height: 230px;
    padding-top: 44px;
  }

  .product-card-body {
    padding: 10px 24px 34px;
  }

  .contact-form {
    padding: 24px;
  }
}
