:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --panel: #eef5ff;
  --ink: #0f172a;
  --muted: #526174;
  --line: #dbe5f0;
  --blue: #2563eb;
  --cyan: #0092ff;
  --amber: #f7b41b;
  --shadow: 0 24px 70px rgba(15, 23, 42, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family:
    Inter, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
}

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

svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 7vw;
  background: rgba(248, 250, 252, 0.92);
  border-bottom: 1px solid rgba(219, 229, 240, 0.9);
  backdrop-filter: blur(16px);
}

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

.brand-mark {
  display: inline-grid;
  width: 40px;
  height: 40px;
  place-items: center;
  overflow: hidden;
  background: #fff;
  border: 1px solid #d6e4ff;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.12);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-size: 15px;
}

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

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  gap: 56px;
  align-items: center;
  min-height: calc(100vh - 72px);
  padding: 72px 7vw 58px;
  overflow: hidden;
}

.hero-content {
  max-width: 680px;
}

.eyebrow,
.section-label {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(42px, 6vw, 74px);
  line-height: 1.05;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.2;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 590px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 18px;
}

.hero-actions,
.site-footer div {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
}

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

.button.secondary {
  color: var(--ink);
  border-color: var(--line);
  background: var(--surface);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.hero-stats div {
  min-height: 112px;
  padding: 16px;
  background: #e7f0ff;
  border: 1px solid #c9dcff;
  border-radius: 8px;
}

.hero-stats strong {
  display: block;
  margin-bottom: 6px;
  color: #1e4f99;
  font-size: 22px;
  line-height: 1.1;
}

.hero-stats span {
  color: var(--muted);
  font-size: 14px;
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 680px;
}

.phone-shell {
  width: min(390px, 78vw);
  padding: 16px 16px 20px;
  background: #102a63;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 34px;
  box-shadow: var(--shadow);
}

.phone-status {
  width: 80px;
  height: 6px;
  margin: 4px auto 18px;
  background: #5b7fd1;
  border-radius: 99px;
}

.app-title {
  margin-bottom: 10px;
  color: #f8fafc;
  font-size: 18px;
  font-weight: 800;
}

.app-panel {
  min-height: 560px;
  padding: 22px;
  background: #f8fafc;
  border-radius: 24px;
}

.app-panel h2 {
  margin-bottom: 12px;
  font-size: 22px;
  line-height: 1.25;
}

.app-panel p {
  margin-bottom: 16px;
  color: #475569;
  font-size: 14px;
}

.app-panel img {
  width: 100%;
  height: 245px;
  margin: 14px 0 24px;
  object-fit: contain;
}

.app-button,
.language-pill {
  display: grid;
  min-height: 48px;
  place-items: center;
  margin-top: 10px;
  border-radius: 8px;
  font-weight: 800;
}

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

.app-button.image {
  background: #1d4ed8;
}

.language-pill {
  color: var(--blue);
  background: #e7f0ff;
  border: 1px solid #c9dcff;
}

.result-card {
  position: absolute;
  right: 0;
  bottom: 66px;
  width: min(260px, 54vw);
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.16);
}

.result-card span {
  display: block;
  margin-bottom: 8px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
}

.result-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 22px;
}

.result-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.section {
  padding: 82px 7vw;
}

.intro,
.split-section,
.cta-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.intro {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.intro p:last-child,
.split-section p,
.cta-section p {
  color: var(--muted);
  font-size: 17px;
}

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

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

.feature-card,
.privacy-grid article {
  min-height: 230px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.feature-card p,
.privacy-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.feature-icon {
  display: inline-grid;
  position: relative;
  width: 46px;
  height: 46px;
  margin-bottom: 28px;
  place-items: center;
  color: var(--blue);
  background: #e7f0ff;
  border: 1px solid #c9dcff;
  border-radius: 8px;
  font-weight: 800;
}

.feature-icon::before,
.mini-icon::before {
  content: "";
  display: block;
  width: 22px;
  height: 22px;
  background: currentColor;
}

.icon-camera::before {
  clip-path: path("M3 7 H7 L9 4 H15 L17 7 H21 V18 H3 Z M12 16 A4 4 0 1 0 12 8 A4 4 0 0 0 12 16 Z");
}

.icon-scan::before {
  clip-path: polygon(0 0, 35% 0, 35% 12%, 12% 12%, 12% 35%, 0 35%, 0 0, 65% 0, 100% 0, 100% 35%, 88% 35%, 88% 12%, 65% 12%, 65% 0, 0 65%, 12% 65%, 12% 88%, 35% 88%, 35% 100%, 0 100%, 0 65%, 65% 88%, 88% 88%, 88% 65%, 100% 65%, 100% 100%, 65% 100%);
}

.icon-translate::before {
  clip-path: polygon(8% 10%, 55% 10%, 55% 24%, 42% 24%, 42% 42%, 55% 42%, 55% 56%, 35% 56%, 35% 82%, 20% 82%, 20% 56%, 8% 56%, 8% 42%, 20% 42%, 20% 24%, 8% 24%);
}

.icon-volume::before {
  clip-path: polygon(4% 38%, 24% 38%, 48% 18%, 48% 82%, 24% 62%, 4% 62%, 4% 38%, 62% 32%, 74% 44%, 74% 56%, 62% 68%, 58% 58%, 64% 50%, 58% 42%);
}

.icon-copy::before {
  clip-path: polygon(22% 0, 92% 0, 92% 70%, 72% 70%, 72% 22%, 22% 22%, 22% 0, 8% 30%, 64% 30%, 64% 100%, 8% 100%);
}

.icon-star::before {
  clip-path: polygon(50% 0, 62% 35%, 100% 35%, 69% 57%, 82% 96%, 50% 72%, 18% 96%, 31% 57%, 0 35%, 38% 35%);
}

.icon-download::before {
  clip-path: polygon(42% 0, 58% 0, 58% 45%, 74% 30%, 86% 42%, 50% 78%, 14% 42%, 26% 30%, 42% 45%, 42% 0, 10% 86%, 90% 86%, 90% 100%, 10% 100%);
}

.icon-folder::before {
  clip-path: polygon(0 22%, 35% 22%, 45% 34%, 100% 34%, 100% 88%, 0 88%);
}

.workflow-section {
  background: var(--surface);
}

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

.workflow div {
  display: grid;
  gap: 10px;
  min-height: 176px;
  padding: 24px;
  background: var(--panel);
  border: 1px solid #c9dcff;
  border-radius: 8px;
}

.step-number {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #fff;
  background: var(--blue);
  border-radius: 8px;
  font-weight: 800;
}

.workflow span,
.scene-list span {
  color: var(--muted);
}

.result-section {
  background: #f8fafc;
}

.result-preview,
.language-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 42px;
  align-items: center;
}

.preview-image {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background:
    linear-gradient(rgba(37, 99, 235, 0.12), rgba(37, 99, 235, 0.02)),
    url("../images/hero-product.png") center / cover;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.scan-box {
  position: absolute;
  padding: 10px 12px;
  color: #0b2f74;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  font-weight: 800;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.14);
}

.scan-box.one {
  top: 25%;
  left: 13%;
}

.scan-box.two {
  top: 48%;
  right: 12%;
}

.scan-box.three {
  bottom: 18%;
  left: 28%;
}

.preview-panel {
  padding: 34px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.preview-panel p,
.language-section p {
  color: var(--muted);
}

.mini-label {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
}

.preview-actions,
.language-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.preview-actions span,
.language-cloud span {
  padding: 9px 12px;
  color: #1e4f99;
  background: #e7f0ff;
  border: 1px solid #c9dcff;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 800;
}

.language-section {
  background: var(--surface);
}

.language-cloud {
  margin-top: 0;
}

.split-section {
  background: #eef5ff;
}

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

.scene-list span {
  display: grid;
  min-height: 58px;
  place-items: center;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(201, 220, 255, 0.95);
  border-radius: 8px;
  font-weight: 800;
}

.privacy-section {
  background: #f8fafc;
}

.privacy-grid article {
  min-height: 170px;
}

.mini-icon {
  display: inline-grid;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  place-items: center;
  color: var(--blue);
  background: #e7f0ff;
  border: 1px solid #c9dcff;
  border-radius: 8px;
}

.mini-icon::before {
  width: 19px;
  height: 19px;
}

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

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

details {
  padding: 20px 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

summary {
  cursor: pointer;
  font-weight: 800;
}

details p {
  margin: 12px 0 0;
  color: var(--muted);
}

.cta-section {
  align-items: center;
  background: var(--ink);
  color: #fff;
}

.cta-section .section-label {
  color: #93c5fd;
}

.cta-section p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.72);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 7vw;
  color: var(--muted);
  background: var(--surface);
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.site-footer a:hover {
  color: var(--blue);
}

.legal-page {
  padding: 58px 7vw 90px;
}

.legal-hero {
  max-width: 920px;
  padding: 40px 0 34px;
}

.legal-hero h1 {
  margin-bottom: 12px;
}

.legal-hero p:last-child {
  color: var(--muted);
}

.legal-content {
  max-width: 960px;
  padding: 42px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.legal-content h2 {
  margin: 34px 0 12px;
  font-size: 24px;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p {
  color: var(--muted);
}

.legal-content a {
  color: var(--blue);
  font-weight: 800;
}

@media (max-width: 1080px) {
  .feature-grid.rich-grid,
  .privacy-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .hero,
  .intro,
  .split-section,
  .cta-section,
  .result-preview,
  .language-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    min-height: 690px;
  }

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

  .hero-stats {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .site-header {
    min-height: 64px;
    padding: 0 20px;
  }

  .brand {
    max-width: calc(100vw - 90px);
  }

  .brand span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 64px;
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.14);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 12px 10px;
  }

  .hero,
  .section,
  .legal-page {
    padding-right: 20px;
    padding-left: 20px;
  }

  .hero {
    padding-top: 48px;
  }

  h1 {
    font-size: 42px;
  }

  .hero-visual {
    min-height: 650px;
  }

  .phone-shell {
    width: min(350px, 88vw);
  }

  .app-panel {
    min-height: 520px;
  }

  .app-panel img {
    height: 210px;
  }

  .result-card {
    right: 0;
    bottom: 0;
    left: 0;
    width: auto;
    margin: auto;
  }

  .feature-grid.rich-grid,
  .privacy-grid,
  .scene-list {
    grid-template-columns: 1fr;
  }

  .preview-image {
    min-height: 340px;
  }

  .preview-panel {
    padding: 24px 20px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    padding-right: 20px;
    padding-left: 20px;
  }

  .legal-content {
    padding: 26px 20px;
  }
}
