:root {
  color-scheme: dark;
  --bg: #05070b;
  --bg-elevated: #0b1020;
  --surface: rgba(255, 255, 255, 0.06);
  --surface-strong: rgba(17, 23, 38, 0.82);
  --line: rgba(255, 255, 255, 0.1);
  --text: #f5f7fb;
  --muted: #a8b0c2;
  --accent: #4da3ff;
  --accent-soft: #63e6ff;
  --accent-alt: #7c6cff;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --container: min(1180px, calc(100vw - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top, rgba(77, 163, 255, 0.14), transparent 32%),
    radial-gradient(circle at 80% 0%, rgba(124, 108, 255, 0.16), transparent 26%),
    linear-gradient(180deg, #05070b 0%, #08101b 38%, #05070b 100%);
  color: var(--text);
}

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

button {
  font: inherit;
}

.page-shell {
  position: relative;
  overflow: hidden;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  width: var(--container);
  margin: 0 auto;
  padding: 18px 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  display: grid;
  place-items: center;
  gap: 3px;
  padding: 10px 8px;
  box-shadow: inset 0 0 18px rgba(99, 230, 255, 0.08);
}

.brand-mark span {
  display: block;
  width: 100%;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent-soft), var(--accent));
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-copy strong {
  font-size: 1rem;
  letter-spacing: 0;
}

.brand-copy small {
  color: var(--muted);
  font-size: 0.78rem;
}

.topnav {
  justify-self: center;
  display: inline-flex;
  gap: 24px;
  color: var(--muted);
}

.topnav a:hover,
.footer-links a:hover {
  color: var(--text);
}

.locale-switcher {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.locale-switcher button {
  min-width: 40px;
  height: 36px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  cursor: pointer;
  transition: 180ms ease;
}

.locale-switcher button.active,
.locale-switcher button:hover {
  color: var(--text);
  border-color: rgba(99, 230, 255, 0.34);
  background: rgba(77, 163, 255, 0.12);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding: 24px 0 72px;
}

#hero-particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-grid,
.section,
.footer {
  position: relative;
  z-index: 1;
  width: var(--container);
  margin: 0 auto;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 52px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent-soft);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero h1,
.section-heading h2,
.download-copy h2 {
  margin: 0;
  line-height: 1.05;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 12ch;
  font-size: clamp(3.2rem, 7vw, 6.4rem);
}

html[data-locale="zh-CN"] .hero h1,
html[data-locale="zh-TW"] .hero h1,
html[data-locale="ja"] .hero h1,
html[data-locale="ko"] .hero h1 {
  max-width: 8ch;
  font-size: clamp(2.9rem, 6vw, 5.2rem);
  line-height: 1.12;
}

.hero-text,
.intro-grid p,
.feature-card p,
.showcase-card p,
.platform-card p,
.download-copy p,
.contact-intro,
.footer p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-text {
  max-width: 640px;
  margin: 22px 0 0;
  font-size: 1.08rem;
}

.hero-actions,
.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: 180ms ease;
}

.button-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-alt));
  box-shadow: 0 16px 36px rgba(77, 163, 255, 0.22);
}

.button-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 44px rgba(77, 163, 255, 0.26);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line);
}

.button-secondary:hover {
  border-color: rgba(99, 230, 255, 0.3);
  background: rgba(255, 255, 255, 0.07);
}

.hero-points {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: grid;
  gap: 12px;
}

.hero-points li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
}

.hero-points li::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent-soft), var(--accent));
  box-shadow: 0 0 18px rgba(99, 230, 255, 0.4);
  flex: 0 0 auto;
}

.hero-visual {
  display: grid;
  justify-items: center;
}

.device-cluster {
  position: relative;
  width: min(100%, 460px);
  aspect-ratio: 0.96;
}

.device-card {
  position: absolute;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04)),
    rgba(9, 13, 23, 0.84);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.device-card-primary {
  inset: 2% 12% 10% 0;
  padding: 22px;
}

.device-card-secondary {
  right: 0;
  bottom: 0;
  width: 42%;
  height: 34%;
  padding: 18px;
  backdrop-filter: blur(14px);
}

.device-top {
  display: flex;
  gap: 8px;
}

.device-pill {
  width: 40px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.device-body {
  display: grid;
  place-items: center;
  min-height: 420px;
  position: relative;
}

.device-ring {
  width: min(72%, 260px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, rgba(99, 230, 255, 0.32) 0%, rgba(77, 163, 255, 0.06) 42%, transparent 64%),
    conic-gradient(from 180deg, rgba(99, 230, 255, 0.1), rgba(124, 108, 255, 0.9), rgba(77, 163, 255, 0.85), rgba(99, 230, 255, 0.1));
  box-shadow:
    0 0 120px rgba(99, 230, 255, 0.12),
    inset 0 0 40px rgba(255, 255, 255, 0.12);
  position: relative;
}

.device-ring::after {
  content: "";
  position: absolute;
  inset: 16%;
  border-radius: 50%;
  background: rgba(4, 7, 12, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.device-lines {
  position: absolute;
  inset: auto 15% 18%;
  display: grid;
  gap: 12px;
}

.device-lines span {
  display: block;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(99, 230, 255, 0.22), rgba(77, 163, 255, 0.68));
}

.device-lines span:nth-child(1) {
  width: 180px;
}

.device-lines span:nth-child(2) {
  width: 224px;
}

.device-lines span:nth-child(3) {
  width: 148px;
}

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

.mini-stat {
  display: grid;
  gap: 6px;
}

.mini-stat strong {
  font-size: 1rem;
}

.mini-stat span {
  color: var(--muted);
}

.mini-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.mini-grid span {
  display: block;
  aspect-ratio: 1;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(77, 163, 255, 0.12), rgba(124, 108, 255, 0.24));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.section {
  padding: 112px 0 0;
}

.section-heading {
  max-width: 740px;
}

.section-heading h2,
.download-copy h2 {
  font-size: clamp(2rem, 4.4vw, 3.6rem);
}

.intro-band {
  padding-top: 32px;
}

.intro-grid {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}

.feature-grid,
.showcase-grid,
.platform-grid {
  margin-top: 34px;
  display: grid;
  gap: 18px;
}

.feature-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

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

.platform-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card,
.showcase-card,
.platform-card,
.download-panel,
.qr-placeholder {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
  box-shadow: var(--shadow);
}

.feature-card,
.showcase-card,
.platform-card {
  min-height: 240px;
  padding: 24px;
  border-radius: 24px;
}

.feature-card h3,
.showcase-card h3,
.platform-card h3 {
  margin: 0 0 14px;
  font-size: 1.16rem;
}

.showcase-card {
  display: grid;
  align-content: end;
  min-height: 300px;
  background:
    radial-gradient(circle at top right, rgba(99, 230, 255, 0.12), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
}

.showcase-tag {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  margin-bottom: 14px;
  color: var(--accent-soft);
  background: rgba(99, 230, 255, 0.08);
  border: 1px solid rgba(99, 230, 255, 0.18);
}

.download-section {
  padding-bottom: 110px;
}

.contact-section {
  padding-bottom: 110px;
}

.download-panel {
  border-radius: 28px;
  padding: 28px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 24px;
  align-items: center;
}

.qr-placeholder {
  border-radius: 24px;
  padding: 22px;
  min-height: 260px;
  display: grid;
  place-items: center;
}

.qr-grid {
  width: min(100%, 180px);
  aspect-ratio: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.qr-grid span {
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(99, 230, 255, 0.3), rgba(124, 108, 255, 0.7));
}

.footer {
  padding: 0 0 40px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-end;
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  color: var(--muted);
}

.contact-layout {
  margin-top: 34px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 22px;
  align-items: start;
}

.contact-copy,
.contact-form {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
  box-shadow: var(--shadow);
  border-radius: 24px;
}

.contact-copy {
  padding: 24px;
}

.contact-type-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.contact-type {
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  cursor: pointer;
  transition: 180ms ease;
}

.contact-type:hover,
.contact-type.active {
  border-color: rgba(99, 230, 255, 0.34);
  background: rgba(77, 163, 255, 0.14);
  color: var(--text);
}

.contact-points {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: grid;
  gap: 12px;
}

.contact-points li {
  display: flex;
  gap: 12px;
  color: var(--muted);
  line-height: 1.7;
}

.contact-points li::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-top: 8px;
  background: linear-gradient(135deg, var(--accent-soft), var(--accent));
  flex: 0 0 auto;
}

.contact-form {
  padding: 24px;
  display: grid;
  gap: 18px;
}

.form-field {
  display: grid;
  gap: 10px;
}

.form-field span {
  font-size: 0.95rem;
}

.form-field input,
.form-field textarea {
  width: 100%;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  padding: 14px 16px;
  font: inherit;
  resize: vertical;
}

.form-field input::placeholder,
.form-field textarea::placeholder,
.form-status {
  color: var(--muted);
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: rgba(99, 230, 255, 0.36);
  box-shadow: 0 0 0 4px rgba(77, 163, 255, 0.12);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.form-status {
  margin: 0;
  min-height: 24px;
}

.form-status.success {
  color: #7ce9a4;
}

.form-status.error {
  color: #ff8b8b;
}

@media (max-width: 1080px) {
  .topbar,
  .hero-grid,
  .feature-grid,
  .platform-grid,
  .download-panel,
  .contact-layout,
  .intro-grid,
  .showcase-grid,
  .footer {
    grid-template-columns: 1fr;
  }

  .topbar {
    position: relative;
    padding-bottom: 0;
  }

  .topnav {
    justify-self: start;
    flex-wrap: wrap;
  }

  .locale-switcher {
    justify-content: flex-start;
  }

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

  .hero h1 {
    max-width: none;
  }

  .device-cluster {
    max-width: 520px;
    justify-self: center;
  }
}

@media (max-width: 760px) {
  :root {
    --container: min(100vw - 28px, 100%);
  }

  .topbar {
    gap: 14px;
  }

  .brand {
    align-items: flex-start;
  }

  .topnav {
    gap: 16px;
    font-size: 0.95rem;
  }

  .hero-grid,
  .section,
  .footer {
    width: var(--container);
  }

  .hero-text,
  .intro-grid p,
  .feature-card p,
  .showcase-card p,
  .platform-card p,
  .download-copy p,
  .footer p {
    font-size: 0.98rem;
  }

  .device-card-primary {
    inset: 0 5% 8% 0;
    padding: 18px;
  }

  .device-card-secondary {
    width: 48%;
    height: 36%;
    padding: 14px;
  }

  .device-body {
    min-height: 330px;
  }

  .device-lines {
    inset: auto 10% 14%;
  }

  .device-lines span:nth-child(1) {
    width: 112px;
  }

  .device-lines span:nth-child(2) {
    width: 150px;
  }

  .device-lines span:nth-child(3) {
    width: 98px;
  }

  .feature-card,
  .showcase-card,
  .platform-card {
    min-height: auto;
  }

  .download-panel {
    padding: 22px;
  }

  .footer {
    align-items: flex-start;
  }
}
