:root {
  color-scheme: light;
  --bg: #ffffff;
  --surface: #ffffff;
  --soft: #f7faff;
  --soft-blue: #eff6ff;
  --text: #0f172a;
  --muted: #526174;
  --line: #dbe6f5;
  --accent: #2563eb;
  --accent-dark: #1e40af;
  --ink: #111827;
  --shadow: 0 24px 70px rgba(37, 99, 235, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    Inter, "Noto Sans SC", "Microsoft YaHei", system-ui, -apple-system, BlinkMacSystemFont,
    sans-serif;
}

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

svg {
  display: block;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1160px;
  margin: 0 auto;
  padding: 18px 24px;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 168px;
}

.brand img {
  display: block;
  width: 100%;
  height: auto;
}

.nav {
  display: flex;
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1fr);
  gap: 56px;
  align-items: center;
  max-width: 1160px;
  min-height: 690px;
  margin: 0 auto;
  padding: 62px 24px 94px;
}

.hero h1 {
  margin: 0;
  max-width: 660px;
  font-size: clamp(52px, 7.2vw, 92px);
  line-height: 0.98;
  font-weight: 900;
  letter-spacing: 0;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.hero-meta span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 11px;
  background: var(--soft-blue);
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 800;
}

.hero p {
  max-width: 620px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.8;
}

.hero-note {
  max-width: 560px !important;
  margin-top: 20px !important;
  color: #64748b !important;
  font-size: 14px !important;
}

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

.primary-button,
.secondary-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 22px;
  font-size: 15px;
  font-weight: 800;
}

.primary-button {
  background: var(--accent);
  color: white;
  box-shadow: 0 16px 38px rgba(37, 99, 235, 0.22);
}

.primary-button.light {
  background: white;
  color: var(--accent-dark);
  box-shadow: none;
}

.secondary-button {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--accent-dark);
}

.hero-stage {
  position: relative;
  min-height: 520px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 20% 20%, rgba(37, 99, 235, 0.2), transparent 28%),
    linear-gradient(145deg, #eef5ff, #ffffff 55%, #eaf2ff);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-stage::before {
  content: "";
  position: absolute;
  inset: 38px;
  border: 1px dashed rgba(37, 99, 235, 0.24);
  border-radius: 24px;
}

.phone-card,
.ai-card,
.desktop-card,
.feature-card,
.mode-card,
.qr-panel {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.08);
}

.phone-card {
  position: absolute;
  left: 46px;
  top: 58px;
  width: 206px;
  min-height: 292px;
  border-radius: 30px;
  padding: 26px 22px;
}

.device-label {
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
}

.voice-wave {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 116px;
  margin: 22px 0;
  border-radius: 22px;
  background: var(--soft-blue);
}

.voice-wave span {
  width: 8px;
  border-radius: 999px;
  background: var(--accent);
}

.voice-wave span:nth-child(1) {
  height: 30px;
}

.voice-wave span:nth-child(2) {
  height: 58px;
}

.voice-wave span:nth-child(3) {
  height: 82px;
}

.voice-wave span:nth-child(4) {
  height: 52px;
}

.voice-wave span:nth-child(5) {
  height: 36px;
}

.phone-card p,
.desktop-card p {
  margin: 0;
  color: var(--text);
  font-size: 14px;
  line-height: 1.7;
}

.ai-card {
  position: absolute;
  left: 210px;
  top: 238px;
  z-index: 2;
  width: 190px;
  border-radius: 18px;
  padding: 18px;
}

.ai-card span {
  color: var(--accent);
  font-weight: 900;
}

.ai-card strong {
  display: block;
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.5;
}

.desktop-card {
  position: absolute;
  right: 44px;
  bottom: 56px;
  width: 338px;
  min-height: 232px;
  border-radius: 20px;
  padding: 24px;
}

.window-dots {
  display: flex;
  gap: 7px;
  margin: 18px 0 32px;
}

.window-dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #bfdbfe;
}

.typing-caret {
  width: 3px;
  height: 32px;
  margin-top: 18px;
  background: var(--accent);
  animation: blink 1.1s steps(2, start) infinite;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

.section {
  max-width: 1160px;
  margin: 0 auto;
  padding: 82px 24px;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.7fr);
  gap: 36px;
  align-items: end;
  margin-bottom: 32px;
}

.section-heading.compact {
  max-width: 760px;
  grid-template-columns: 1fr;
  gap: 12px;
}

.section h2,
.final-cta h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.12;
  font-weight: 900;
}

.section p,
.final-cta p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.feature-grid,
.mode-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.feature-card {
  border-radius: 16px;
  padding: 28px;
}

.icon-circle {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 14px;
  background: var(--soft-blue);
  color: var(--accent);
}

.icon-circle svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-card h3,
.workflow h3,
.mode-card h3,
.qr-panel h3 {
  margin: 22px 0 10px;
  color: var(--ink);
  font-size: 22px;
}

.efficiency-section {
  padding-top: 34px;
}

.efficiency-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.metric-card {
  min-height: 220px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff, #f7fbff);
  padding: 28px;
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.06);
}

.metric-card span {
  display: block;
  color: var(--accent);
  font-size: 42px;
  line-height: 1;
  font-weight: 900;
}

.metric-card h3 {
  margin: 22px 0 10px;
  color: var(--ink);
  font-size: 22px;
}

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

.before-after div {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  padding: 26px;
}

.before-after div:last-child {
  border-color: rgba(37, 99, 235, 0.34);
  background: var(--soft-blue);
}

.before-after span {
  display: block;
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
}

.app-preview-section {
  padding-top: 42px;
}

.app-screen-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.app-screen {
  min-width: 0;
}

.phone-shell {
  min-height: 430px;
  border: 10px solid #0f172a;
  border-radius: 34px;
  background: #fff;
  padding: 20px 16px;
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.1);
}

.phone-topbar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.phone-topbar span {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background:
    radial-gradient(circle at center, transparent 42%, #2563eb 44%, #2563eb 58%, transparent 60%),
    #eff6ff;
}

.phone-topbar strong {
  color: var(--ink);
  font-size: 16px;
}

.phone-shell label {
  display: block;
  margin: 14px 0 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.input-line,
.select-line,
.textarea-line,
.result-box {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f8fafc;
  padding: 11px 12px;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.55;
}

.textarea-line {
  min-height: 86px;
}

.textarea-line.large {
  min-height: 116px;
}

.select-line::after {
  content: "⌄";
  float: right;
  color: var(--accent);
  font-weight: 900;
}

.phone-shell button {
  width: 100%;
  min-height: 42px;
  margin-top: 14px;
  border: 0;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 900;
}

.screen-status {
  margin: 12px 0 0 !important;
  border-radius: 10px;
  padding: 10px;
  font-size: 12px;
  line-height: 1.5 !important;
}

.screen-status.success {
  background: #ecfdf5;
  color: #047857 !important;
}

.mini-desktop {
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f8fafc;
  padding: 13px;
}

.mini-desktop i {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 5px;
  border-radius: 50%;
  background: #bfdbfe;
}

.mini-desktop p {
  margin: 14px 0 0 !important;
  color: var(--ink) !important;
  font-size: 13px !important;
  line-height: 1.6 !important;
}

.app-screen h3 {
  margin: 18px 0 8px;
  color: var(--ink);
  font-size: 20px;
}

.app-screen > p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.workflow-section {
  max-width: none;
  background: var(--soft);
}

.workflow-section > * {
  max-width: 1160px;
  margin-left: auto;
  margin-right: auto;
}

.workflow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
  overflow: hidden;
}

.workflow article {
  min-height: 220px;
  padding: 30px;
  border-right: 1px solid var(--line);
}

.workflow article:last-child {
  border-right: 0;
}

.workflow span {
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
}

.workflow h3 {
  margin-top: 18px;
}

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

.mode-card {
  border-radius: 18px;
  padding: 30px;
}

.mode-card.accent {
  border-color: rgba(37, 99, 235, 0.32);
  background: linear-gradient(180deg, #ffffff, #eff6ff);
}

.mode-label {
  margin-top: 22px !important;
  color: var(--accent) !important;
  font-size: 13px;
  font-weight: 900;
}

blockquote {
  margin: 8px 0 0;
  padding: 18px;
  border-radius: 12px;
  background: #f8fafc;
  color: #334155;
  line-height: 1.8;
}

blockquote.output {
  background: var(--soft-blue);
  color: var(--ink);
}

.beta-section {
  max-width: none;
  background: #f8fbff;
}

.beta-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(340px, 0.7fr);
  gap: 34px;
  align-items: center;
  max-width: 1160px;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  padding: 38px;
  box-shadow: 0 20px 56px rgba(15, 23, 42, 0.07);
}

.beta-kicker {
  display: inline-flex;
  margin-bottom: 14px;
  border-radius: 999px;
  background: var(--soft-blue);
  padding: 7px 12px;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 900;
}

.beta-panel h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.12;
  font-weight: 900;
}

.beta-panel p {
  margin: 18px 0 0;
  color: var(--muted);
  line-height: 1.8;
}

.registration-form {
  margin-top: 26px;
}

.registration-form label {
  display: block;
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 900;
}

.registration-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 116px;
  gap: 10px;
}

.registration-code-row {
  margin-top: 10px;
}

.registration-row input {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  color: var(--ink);
  font: inherit;
  font-size: 15px;
}

.registration-row input:focus {
  outline: 3px solid rgba(37, 99, 235, 0.18);
  border-color: var(--accent);
}

.registration-row button {
  min-height: 48px;
  border: 0;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.registration-row button:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

.registration-message {
  min-height: 24px;
  margin-top: 10px !important;
  color: var(--muted) !important;
  font-size: 13px;
  line-height: 1.6 !important;
}

.registration-message.success {
  color: #047857 !important;
}

.registration-message.error {
  color: #b91c1c !important;
}

.beta-rules {
  display: grid;
  gap: 12px;
}

.beta-rules article {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 14px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #f8fafc;
  padding: 18px;
}

.beta-rules strong {
  color: var(--accent);
  font-size: 24px;
}

.beta-rules span {
  color: var(--muted);
  line-height: 1.6;
}

.download-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 48px;
  align-items: center;
}

.section-logo {
  width: 56px;
  height: 56px;
  margin-bottom: 20px;
}

.download-copy p {
  margin: 18px 0 28px;
  max-width: 660px;
}

.download-copy .download-note {
  margin: 14px 0 0;
  padding: 12px 14px;
  border: 1px solid rgba(37, 99, 235, 0.22);
  border-radius: 10px;
  background: rgba(37, 99, 235, 0.06);
  color: var(--accent-dark);
  font-size: 15px;
}

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

.download-copy strong {
  color: var(--accent-dark);
}

.relay-code {
  display: inline-flex;
  padding: 13px 15px;
  border-radius: 10px;
  background: var(--ink);
  color: white;
  font-size: 16px;
}

.qr-panel {
  border-radius: 18px;
  padding: 26px;
  text-align: center;
}

.qr-panel img {
  width: min(100%, 260px);
  height: auto;
  border-radius: 14px;
  border: 1px solid var(--line);
}

.qr-panel h3 {
  margin-top: 20px;
}

.qr-panel p {
  margin-bottom: 16px;
}

.qr-panel a {
  color: var(--accent);
  font-size: 14px;
  font-weight: 800;
}

.install-section {
  padding-top: 36px;
}

.install-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.install-grid article {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  padding: 24px;
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.06);
}

.install-grid strong {
  display: block;
  color: var(--ink);
  font-size: 18px;
  margin-bottom: 10px;
}

.final-cta {
  max-width: 1160px;
  margin: 36px auto 0;
  border-radius: 24px;
  background: var(--ink);
  color: white;
  padding: 56px 24px;
  text-align: center;
}

.final-cta h2,
.final-cta p {
  color: white;
}

.final-cta p {
  margin: 16px auto 28px;
  max-width: 620px;
  opacity: 0.82;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  max-width: 1160px;
  margin: 24px auto 0;
  border-top: 1px solid var(--line);
  padding: 34px 24px 48px;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.site-footer .footer-brand {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 7px;
}

.beian-link {
  color: var(--muted);
  font-size: 13px;
}

.beian-link:hover {
  color: var(--accent);
}

.footer-links a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  padding: 0 14px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.footer-links a:hover {
  border-color: rgba(37, 99, 235, 0.32);
  background: var(--soft-blue);
  color: var(--accent-dark);
}

.status-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 96px 24px;
}

.status-page h1 {
  margin: 0 0 24px;
  font-size: 48px;
}

.status-page code {
  display: inline-flex;
  margin-top: 20px;
  padding: 14px 16px;
  border-radius: 8px;
  background: var(--ink);
  color: white;
  font-size: 16px;
}

.status-note {
  margin-top: 26px;
  color: var(--muted);
}

@media (max-width: 920px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .nav {
    width: 100%;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 12px;
  }

  .brand {
    width: 152px;
  }

  .hero,
  .section-heading,
  .download-section,
  .feature-grid,
  .efficiency-grid,
  .before-after,
  .app-screen-grid,
  .beta-panel,
  .workflow,
  .mode-grid,
  .install-grid {
    grid-template-columns: 1fr;
  }

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

  .hero-stage {
    min-height: 640px;
  }

  .phone-card {
    left: 28px;
    top: 34px;
  }

  .ai-card {
    left: 88px;
    top: 300px;
  }

  .desktop-card {
    right: 28px;
    bottom: 34px;
    width: min(338px, calc(100% - 56px));
  }

  .workflow article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .workflow article:last-child {
    border-bottom: 0;
  }

  .beta-panel {
    padding: 28px;
  }

  .beta-rules article {
    grid-template-columns: 1fr;
  }

  .registration-row {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 560px) {
  .site-header,
  .hero,
  .section,
  .site-footer {
    padding-left: 18px;
    padding-right: 18px;
  }

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

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

  .hero-stage {
    min-height: 590px;
  }

  .phone-card {
    width: calc(100% - 56px);
  }

  .app-screen-grid {
    grid-template-columns: 1fr;
  }

  .ai-card {
    left: 42px;
    width: calc(100% - 84px);
  }

  .final-cta {
    margin-left: 18px;
    margin-right: 18px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }
}
