:root {
  --bg: #000000;
  --bg-2: #07070a;
  --panel: rgba(12, 10, 18, 0.78);
  --line: rgba(180, 120, 255, 0.22);
  --purple: #7000ff;
  --magenta: #ff2bd6;
  --coral: #ff4d4d;
  --gradient: linear-gradient(90deg, #7000ff 0%, #ff2bd6 48%, #ff4d4d 100%);
  --accent: #f5e9ff;
  --accent-soft: #d7b8ff;
  --text: #f7f4ff;
  --muted: #a89bb8;
  --white: #ffffff;
  --radius: 18px;
  --font-display: "Syne", "Noto Sans SC", sans-serif;
  --font-body: "Manrope", "Noto Sans SC", "Noto Sans", sans-serif;
  --max: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: var(--font-body);
  background: var(--bg);
  line-height: 1.55;
}

a {
  color: var(--accent-soft);
  text-decoration: none;
}

a:hover {
  color: var(--white);
}

::selection {
  background: rgba(112, 0, 255, 0.45);
  color: var(--white);
}

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

.wrap {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(16px);
  background: rgba(0, 0, 0, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  min-height: 4.25rem;
  width: 100%;
  padding: 0 50px;
  box-sizing: border-box;
}

.brand {
  justify-self: start;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.18em;
  font-size: 1.05rem;
}

.nav-center {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-center a {
  color: var(--muted);
  font-size: 0.92rem;
}

.nav-center a:hover,
.nav-center a[aria-current="page"] {
  color: var(--white);
}

.lang-switch {
  justify-self: end;
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
}

#support {
  scroll-margin-top: 5rem;
}

.spline-toast {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}

.spline-toast[hidden] {
  display: none !important;
}

.spline-toast__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(6px);
}

.spline-toast__card {
  position: relative;
  z-index: 1;
  width: min(100%, 22rem);
  padding: 1.75rem 1.5rem 1.35rem;
  border-radius: 22px;
  text-align: center;
  background: rgba(12, 10, 18, 0.96);
  border: 1px solid rgba(180, 120, 255, 0.35);
  box-shadow: 0 20px 50px rgba(112, 0, 255, 0.25);
}

.spline-toast__text {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.4;
  color: var(--white);
}

.spline-toast__ok {
  min-width: 8rem;
}

body.toast-open {
  overflow: hidden;
}

.lang-switch button {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  padding: 0.35rem 0.65rem;
  cursor: pointer;
}

.lang-switch button[aria-pressed="true"] {
  background: rgba(112, 0, 255, 0.28);
  color: var(--white);
}

.hero-spline {
  position: relative;
  min-height: calc(100vh - 4.25rem);
  display: grid;
  align-items: stretch;
  overflow: hidden;
  background: #000;
}

.hero-spline-stage {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 0;
}

.hero-spline-stage::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 42%;
  pointer-events: none;
  z-index: 1;
  background: linear-gradient(
    to top,
    #000 0%,
    rgba(0, 0, 0, 0.92) 28%,
    rgba(0, 0, 0, 0.45) 62%,
    transparent 100%
  );
}

.hero-spline-stage spline-viewer {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-overlay {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  min-height: calc(100vh - 4.25rem);
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 40px 0 3.5rem 40px;
  pointer-events: none;
}

.hero-overlay .hero-copy,
.hero-overlay .cta-row a,
.hero-overlay a {
  pointer-events: auto;
}

.hero-copy {
  --magl-inset: 1.75rem;
  --magl-stack: 0.35rem;
  width: min(100% - 40px, 32rem);
  max-width: 32rem;
  margin-right: auto;
  padding: var(--magl-inset);
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.35));
  border: 1px solid rgba(180, 120, 255, 0.18);
  backdrop-filter: blur(6px);
  animation: float-in 0.9s ease both;
  overflow: hidden;
}

[data-i18n][hidden] {
  display: none !important;
}

.eyebrow {
  margin: var(--magl-stack) 0 0;
  padding: 0;
  color: var(--accent-soft);
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero h1 {
  margin: 0;
  padding: 0;
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 8vw, 5.4rem);
  line-height: 0.95;
  letter-spacing: 0.08em;
  color: var(--white);
  white-space: nowrap;
}

.tagline {
  margin: var(--magl-inset) 0 0;
  padding: 0;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  letter-spacing: 0.06em;
  color: var(--accent-soft);
}

.lead {
  margin: calc(var(--magl-inset) / 2) 0 0;
  padding: 0;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: none;
}

.cta-row {
  display: flex;
  justify-content: center;
  margin-top: var(--magl-inset);
}

.hero-copy .btn-apps {
  width: 100%;
  max-width: none;
  min-height: 3.1rem;
  padding-inline: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.9rem;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

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

.btn-primary {
  background: var(--gradient);
  color: var(--white);
  box-shadow: 0 10px 30px rgba(112, 0, 255, 0.28);
}

.btn-primary:hover {
  color: var(--white);
  filter: brightness(1.08);
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--white);
  background: rgba(255, 255, 255, 0.04);
}

.btn-ghost:hover {
  border-color: rgba(255, 77, 77, 0.55);
}

.section {
  padding: 4.5rem 0 5rem;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.section-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: 0.04em;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  max-width: 28rem;
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: stretch;
}

.app-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 0;
  min-height: 260px;
  padding: 1.35rem 1.25rem 1.25rem;
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid var(--line);
  color: inherit;
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.app-card:hover {
  border-color: rgba(255, 43, 214, 0.45);
  transform: translateY(-2px);
  color: inherit;
  background: rgba(20, 12, 32, 0.92);
}

.app-card-icon {
  flex: 0 0 auto;
  width: 64px;
  height: 64px;
  border-radius: 16px;
  object-fit: cover;
}

.app-icon {
  display: grid;
  place-items: center;
  border: 1px solid rgba(180, 120, 255, 0.28);
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 43, 214, 0.18), transparent 55%),
    linear-gradient(160deg, rgba(112, 0, 255, 0.22), rgba(12, 10, 18, 0.9));
  color: var(--accent-soft);
}

.app-icon svg {
  width: 40px;
  height: 40px;
}

.app-card-copy {
  flex: 1 1 auto;
  min-width: 0;
}

.app-card-actions {
  margin-top: auto;
  padding-top: 0.35rem;
  min-height: 1.4rem;
}

.status-badge {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 1;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.2;
  white-space: nowrap;
}

.status-badge-live {
  color: #9dffb0;
  background: rgba(22, 140, 62, 0.28);
  border: 1px solid rgba(72, 220, 120, 0.55);
  box-shadow: 0 0 12px rgba(56, 200, 100, 0.22);
}

.status-badge-soon {
  color: var(--accent-soft);
  background: rgba(112, 0, 255, 0.2);
  border: 1px solid rgba(180, 120, 255, 0.4);
}

.app-card h3 {
  margin: 0 0 0.4rem;
  padding-right: 4.75rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.app-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.app-card .tag {
  display: inline-block;
  color: var(--accent-soft);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
}

.app-card .tag:hover {
  color: var(--white);
}

.app-card-muted {
  border-style: dashed;
}

.app-card-muted .app-card-copy {
  padding-bottom: 1.75rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0 2.75rem;
  color: var(--muted);
  font-size: 0.9rem;
  background: var(--bg-2);
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
}

.footer-grid strong {
  color: var(--white);
  font-family: var(--font-display);
  letter-spacing: 0.12em;
}

.icp-beian {
  margin-top: 0.35rem;
  font-size: 0.82rem;
}

.icp-beian a {
  color: var(--muted);
}

.icp-beian a:hover {
  color: var(--white);
}

.gongan-beian a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.gongan-beian img {
  width: 14px;
  height: 15px;
  display: block;
}

.product-shell {
  position: relative;
  min-height: calc(100vh - 4.25rem);
  overflow: hidden;
  background: #000;
}

.product-robot-stage {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: grid;
  place-items: center;
  pointer-events: auto;
}

.product-robot-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    to right,
    #000 0%,
    rgba(0, 0, 0, 0.88) 22%,
    rgba(0, 0, 0, 0.35) 48%,
    rgba(0, 0, 0, 0.15) 68%,
    transparent 100%
  );
}

.product-robot-stage spline-viewer {
  width: 100%;
  height: 100%;
  display: block;
  max-width: 1100px;
  margin: 0 auto;
}

.page-hero.wrap {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding: 3.5rem 50px 2.5rem;
  box-sizing: border-box;
}

.product-hero {
  position: relative;
  z-index: 2;
  max-width: min(36rem, 48vw);
}

.page-hero {
  padding: 3.5rem 0 2rem;
}

.page-hero h1 {
  margin: 0.4rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
}

.page-hero .lead {
  margin-top: 1rem;
}

.story-panel {
  position: relative;
  margin-top: 1.5rem;
  max-width: 40rem;
  padding: 1.25rem 1.35rem 1.25rem 1.45rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(112, 0, 255, 0.12), rgba(255, 43, 214, 0.06) 48%, rgba(255, 77, 77, 0.08)),
    var(--panel);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

.story-panel::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.9rem;
  bottom: 0.9rem;
  width: 3px;
  border-radius: 999px;
  background: var(--gradient);
}

.story-panel p {
  margin: 0;
  color: var(--text);
  font-size: 1.02rem;
  line-height: 1.65;
}

.phone-row {
  display: grid;
  grid-template-columns: 220px auto;
  gap: 1.25rem;
  align-items: center;
  justify-content: start;
  margin-top: 2.25rem;
}

.phone {
  width: 220px;
  aspect-ratio: 9 / 17;
  border-radius: 28px;
  padding: 10px;
  background: linear-gradient(160deg, #222226, #0d0d10);
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  animation: float-in 0.9s ease both;
}

.phone-inner {
  height: 100%;
  border-radius: 22px;
  overflow: hidden;
  background: radial-gradient(circle at 50% 35%, rgba(255, 255, 255, 0.08), transparent 45%), linear-gradient(180deg, #17171a, #0a0a0c);
  display: grid;
  place-items: center;
  padding: 1.5rem;
  text-align: center;
}

.phone-inner-qr {
  position: relative;
  display: block;
  padding: 0;
}

.phone-app-icon {
  position: absolute;
  top: 1.1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 64px;
  height: 64px;
  border-radius: 16px;
  z-index: 1;
}

.fake-qr {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 118px;
  height: 118px;
  padding: 8px;
  border-radius: 14px;
  background: #f4f2ee;
  border: 1px solid rgba(180, 120, 255, 0.35);
  box-shadow: 0 0 0 1px rgba(112, 0, 255, 0.12), 0 10px 28px rgba(0, 0, 0, 0.35);
}

.fake-qr svg {
  display: block;
  width: 100%;
  height: 100%;
  shape-rendering: crispEdges;
}

.phone-inner-qr strong {
  position: absolute;
  left: 50%;
  bottom: 1.15rem;
  transform: translateX(-50%);
  width: max-content;
  font-family: var(--font-display);
  letter-spacing: 0.08em;
  font-size: 0.95rem;
}

.phone-inner strong {
  display: block;
  font-family: var(--font-display);
  letter-spacing: 0.08em;
  font-size: 0.95rem;
}

.phone-inner span {
  display: block;
  margin-top: 0.4rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.phone-side {
  display: flex;
  align-items: center;
}

.phone-side .cta-row {
  margin-top: 0;
}

.privacy-shell {
  padding: 2.5rem 0 4rem;
}

.privacy-panel {
  background: #f4f2ee;
  color: #1a1a1a;
  border-radius: 24px;
  padding: clamp(1.5rem, 4vw, 2.75rem);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
}

.privacy-panel h1 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: #111;
}

.privacy-panel h2 {
  margin: 2rem 0 0.6rem;
  font-size: 1.15rem;
  color: #111;
}

.privacy-panel p,
.privacy-panel li {
  color: #333;
}

.privacy-panel a {
  color: #222;
  text-decoration: underline;
}

.privacy-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.25rem 0 1.75rem;
}

.privacy-nav a {
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  font-size: 0.88rem;
}

.privacy-nav a:hover {
  color: var(--white);
}

#rights {
  scroll-margin-top: 5rem;
  padding: 1rem 1.1rem;
  border-left: 3px solid #222;
  background: rgba(0, 0, 0, 0.04);
  border-radius: 0 12px 12px 0;
}

.privacy-panel #rights + p {
  padding: 0 0 0.25rem 1.1rem;
  margin-top: 0.35rem;
}

@keyframes float-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 980px) {
  .app-grid {
    grid-template-columns: 1fr;
  }

  .product-robot-stage {
    opacity: 0.4;
  }

  .product-robot-stage::before {
    background: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.9) 0%,
      rgba(0, 0, 0, 0.75) 45%,
      rgba(0, 0, 0, 0.6) 100%
    );
  }

  .product-hero {
    max-width: none;
  }
}

@media (max-width: 860px) {
  .phone-row {
    grid-template-columns: 1fr;
  }

  .hero-overlay {
    align-items: flex-start;
    padding: 1rem 20px 1.5rem;
  }

  .hero-copy {
    width: 100%;
    max-width: none;
  }

  .hero h1 {
    white-space: normal;
  }

  .hero-spline-stage {
    left: 0;
    right: 0;
    opacity: 0.95;
  }

  .hero-spline {
    min-height: 85vh;
  }

  .section-head {
    flex-direction: column;
    align-items: start;
  }

  .nav {
    gap: 0.5rem;
  }

  .nav-center {
    gap: 1rem;
  }
}
