:root {
  --bg: #f6f7f8;
  --panel: rgba(255, 255, 255, 0.78);
  --ink: #17191d;
  --muted: #656d78;
  --line: rgba(17, 24, 39, 0.08);
  --blue: #1663f3;
  --blue-soft: rgba(22, 99, 243, 0.12);
  --shadow: 0 24px 80px rgba(15, 23, 42, 0.12);
  --shadow-soft: 0 18px 50px rgba(15, 23, 42, 0.08);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top center, rgba(22, 99, 243, 0.08), transparent 28rem),
    linear-gradient(180deg, #fbfbfb 0%, var(--bg) 48%, #f3f5f7 100%);
  font-family: "PingFang SC", "Microsoft YaHei", "HarmonyOS Sans SC", Inter, sans-serif;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  width: min(1200px, calc(100% - 48px));
  margin: 18px auto 0;
  min-height: 64px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 650;
}

.brand img {
  width: 28px;
  height: 28px;
}

.desktop-nav {
  display: flex;
  gap: 28px;
  color: var(--muted);
  font-size: 14px;
}

.desktop-nav a:hover {
  color: var(--ink);
}

.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  transition: 180ms ease;
}

.header-cta,
.btn-primary {
  color: #fff;
  background: var(--ink);
  border-color: var(--ink);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.72);
}

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

.hero {
  position: relative;
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
  min-height: calc(100vh - 92px);
  padding: 76px 0 96px;
  display: grid;
  align-items: center;
  gap: 48px;
}

.hero-glow {
  position: absolute;
  inset: 10% auto auto 50%;
  width: min(720px, 70vw);
  height: min(720px, 70vw);
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(22, 99, 243, 0.12), transparent 68%);
  filter: blur(16px);
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.logo-lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  padding: 8px 12px 8px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.64);
  box-shadow: var(--shadow-soft);
}

.logo-lockup img {
  width: 24px;
  height: 24px;
}

.logo-lockup span {
  font-size: 14px;
  font-weight: 650;
}

.eyebrow,
.section-heading span,
.android-card span,
.beta-panel span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 18px 0 0;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.hero p {
  max-width: 720px;
  margin: 20px auto 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.9;
}

.status-line {
  height: 28px;
  margin-top: 28px;
  position: relative;
  overflow: hidden;
  color: var(--muted);
  font-size: 14px;
}

.status-line span {
  position: absolute;
  inset: 0;
  opacity: 0;
  animation: rotateStatus 9s infinite;
}

.status-line span:nth-child(2) { animation-delay: 3s; }
.status-line span:nth-child(3) { animation-delay: 6s; }

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 26px;
}

.hero-meta {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 13px;
}

.hero-meta span::before {
  content: "·";
  margin-right: 14px;
  color: rgba(22, 99, 243, 0.55);
}

.hero-meta span:first-child::before {
  display: none;
}

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

.window-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
}

.hero-card {
  max-width: 1080px;
  margin: 0 auto;
  position: relative;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(22, 99, 243, 0.24), transparent 32%, transparent 68%, rgba(22, 99, 243, 0.14));
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.section-shell {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
  padding: 88px 0;
}

.section-heading {
  max-width: 680px;
  margin-bottom: 34px;
}

.section-heading.narrow {
  text-align: center;
  margin: 0 auto 38px;
}

.section-heading h2,
.android-card h2,
.beta-panel h2,
.final-cta h2 {
  margin: 12px 0 0;
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.18;
  letter-spacing: -0.04em;
}

.section-heading p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.gallery {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.82fr);
  gap: 18px;
  align-items: end;
}

.gallery-main {
  transform: translateY(-10px);
}

.gallery-side {
  transform: translateY(34px);
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.18);
}

.features {
  padding-top: 120px;
}

.feature-row {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: 42px;
  align-items: center;
  margin-top: 72px;
}

.feature-row.reverse {
  grid-template-columns: minmax(0, 1.28fr) minmax(280px, 0.72fr);
}

.feature-row.reverse .feature-copy {
  order: 2;
}

.feature-copy span {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.feature-copy h3 {
  margin: 0;
  font-size: clamp(24px, 2.5vw, 32px);
  line-height: 1.25;
  letter-spacing: -0.03em;
}

.feature-copy p {
  color: var(--muted);
  line-height: 1.9;
  margin: 16px 0 0;
}

.android-card,
.beta-panel {
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 34px;
  background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(238,244,255,0.86));
}

.android-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.65fr);
  gap: 28px;
  align-items: end;
  position: relative;
  overflow: hidden;
}

.android-card::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -90px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(22, 99, 243, 0.14), transparent 70%);
}

.android-card p,
.beta-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.9;
}

.pill-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.pill-grid div {
  padding: 22px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.65);
}

.beta-panel {
  text-align: center;
}

.beta-panel p {
  max-width: 720px;
  margin: 18px auto 24px;
}

.download-stack {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.download-stack small {
  color: var(--muted);
}

.faq-list {
  display: grid;
  gap: 12px;
}

details {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 0 20px;
  background: rgba(255, 255, 255, 0.72);
}

details[open] {
  border-color: rgba(22, 99, 243, 0.2);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.06);
}

summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 0;
  font-weight: 600;
}

summary::-webkit-details-marker {
  display: none;
}

details p {
  margin: 0 0 20px;
  color: var(--muted);
  line-height: 1.8;
}

.final-cta {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
  padding: 44px 0 104px;
  text-align: center;
}

.final-cta .btn {
  margin-top: 24px;
}

.site-footer {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
  padding: 0 0 36px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
}

.error-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
}

.error-page img {
  width: 44px;
  height: 44px;
}

.error-page h1 {
  margin: 20px 0 0;
  font-size: clamp(28px, 4vw, 42px);
}

.error-page p {
  margin: 12px 0 24px;
  color: var(--muted);
}

@keyframes rotateStatus {
  0%, 8% { opacity: 0; transform: translateY(12px); }
  12%, 28% { opacity: 1; transform: translateY(0); }
  32%, 100% { opacity: 0; transform: translateY(-12px); }
}

@media (max-width: 900px) {
  .site-header {
    width: calc(100% - 24px);
    margin-top: 12px;
  }

  .desktop-nav {
    display: none;
  }

  .hero,
  .section-shell,
  .final-cta,
  .site-footer {
    width: calc(100% - 24px);
  }

  .hero {
    min-height: auto;
    padding: 56px 0 72px;
  }

  .gallery,
  .feature-row,
  .feature-row.reverse,
  .android-card {
    grid-template-columns: 1fr;
  }

  .gallery-side {
    transform: none;
  }

  .gallery-main {
    transform: none;
  }

  .feature-row.reverse .feature-copy {
    order: 0;
  }

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

  .site-footer {
    display: grid;
    gap: 10px;
    justify-items: start;
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 58px;
    padding: 0 10px 0 12px;
  }

  .brand span {
    font-size: 14px;
  }

  .header-cta {
    min-height: 38px;
    padding-inline: 14px;
    font-size: 14px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero p {
    font-size: 15px;
  }

  .hero-actions,
  .hero-meta {
    flex-direction: column;
    align-items: center;
  }

  .hero-meta {
    gap: 8px;
  }

  .hero-meta span::before {
    display: none;
  }

  .btn {
    width: 100%;
  }

  .section-shell {
    padding: 64px 0;
  }

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

  .android-card,
  .beta-panel {
    padding: 24px;
  }
}
