:root {
  --ink: #172033;
  --ink-strong: #0f172a;
  --muted: #64748b;
  --soft: #eef4fb;
  --paper: #ffffff;
  --line: #dbe5f2;
  --blue: #3b82f6;
  --blue-deep: #1d4ed8;
  --green: #16a34a;
  --amber: #d97706;
  --coral: #e25555;
  --night: #111827;
  --radius: 18px;
  --shadow: 0 24px 70px rgba(15, 23, 42, 0.14);
  --shadow-soft: 0 14px 36px rgba(15, 23, 42, 0.08);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: #f7faff;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

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

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

button {
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 14px;
  left: 50%;
  width: min(1120px, calc(100% - 28px));
  min-height: 62px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  padding: 10px 12px 10px 16px;
  color: #f8fafc;
  background: rgba(15, 23, 42, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  box-shadow: 0 18px 50px rgba(2, 6, 23, 0.22);
  backdrop-filter: blur(20px);
  transform: translateX(-50%);
  transition: background 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(219, 229, 242, 0.9);
  box-shadow: var(--shadow-soft);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-mark {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 10px 22px rgba(59, 130, 246, 0.34);
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.1;
}

.brand strong {
  font-size: 15px;
  font-weight: 800;
}

.brand small {
  margin-top: 2px;
  opacity: 0.72;
  font-size: 11px;
  font-weight: 700;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 26px;
  color: inherit;
  font-size: 14px;
  font-weight: 700;
}

.site-nav a {
  opacity: 0.82;
}

.site-nav a:hover {
  opacity: 1;
}

.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.header-cta {
  color: #fff;
  background: var(--blue);
  box-shadow: 0 10px 24px rgba(59, 130, 246, 0.34);
}

.hero {
  position: relative;
  min-height: 88vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 128px 24px 72px;
  color: #f8fafc;
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.92), rgba(23, 32, 51, 0.76)),
    #111827;
}

.hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  background: linear-gradient(180deg, transparent, rgba(17, 24, 39, 0.96));
  z-index: 2;
}

.hero-shot {
  position: absolute;
  width: clamp(210px, 25vw, 360px);
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 36px 90px rgba(2, 6, 23, 0.48);
  transform: rotate(var(--rotate));
  opacity: 0.9;
}

.hero-shot-main {
  --rotate: -7deg;
  top: 13%;
  right: 14%;
}

.hero-shot-side {
  --rotate: 6deg;
  top: 27%;
  right: -2%;
  opacity: 0.72;
}

.hero-shot-back {
  --rotate: 9deg;
  top: 5%;
  right: 35%;
  opacity: 0.45;
  filter: saturate(0.9);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(17, 24, 39, 0.96) 0%, rgba(17, 24, 39, 0.74) 42%, rgba(17, 24, 39, 0.18) 100%),
    radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.24), transparent 30%);
  z-index: 3;
}

.hero-inner {
  position: relative;
  z-index: 4;
  width: min(1120px, 100%);
  margin: 0 auto;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
}

.hero .eyebrow {
  color: #bfdbfe;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(54px, 10vw, 116px);
  line-height: 0.96;
  font-weight: 900;
}

h2 {
  margin-bottom: 0;
  color: var(--ink-strong);
  font-size: clamp(30px, 5vw, 56px);
  line-height: 1.08;
  font-weight: 900;
}

h3 {
  margin-bottom: 10px;
  color: var(--ink-strong);
  font-size: 22px;
  line-height: 1.25;
  font-weight: 850;
}

.hero-subtitle {
  width: min(650px, 100%);
  margin-bottom: 30px;
  color: rgba(248, 250, 252, 0.82);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 26px;
}

.btn-primary {
  color: #fff;
  background: var(--blue);
  box-shadow: 0 14px 36px rgba(59, 130, 246, 0.35);
}

.btn-secondary {
  color: #f8fafc;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.entry-card {
  width: min(430px, 100%);
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 16px;
  align-items: center;
  padding: 14px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  backdrop-filter: blur(18px);
}

.entry-card img {
  width: 86px;
  height: 86px;
  padding: 6px;
  object-fit: contain;
  background: #fff;
  border-radius: 16px;
}

.entry-card span,
.entry-card small {
  display: block;
  color: rgba(248, 250, 252, 0.68);
  font-size: 13px;
  font-weight: 700;
}

.entry-card strong {
  display: block;
  color: #fff;
  font-size: 30px;
  line-height: 1.2;
  font-weight: 900;
}

.official-search-strip {
  width: min(520px, 100%);
  margin-top: 14px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  backdrop-filter: blur(18px);
}

.official-search-strip img {
  width: 100%;
  border-radius: 11px;
}

.section {
  padding: 96px 24px;
}

.section-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.section-head {
  width: min(760px, 100%);
  margin-bottom: 38px;
}

.intro-band {
  padding-top: 64px;
  padding-bottom: 64px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 48px;
  align-items: start;
}

.intro-copy {
  color: var(--muted);
  font-size: 18px;
}

.intro-copy p:last-child {
  margin-bottom: 0;
}

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

.feature-card {
  min-height: 238px;
  padding: 26px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.feature-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  color: var(--blue-deep);
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 14px;
  font-weight: 900;
}

.feature-card:nth-child(2) .feature-icon,
.feature-card:nth-child(5) .feature-icon {
  color: var(--green);
  background: #f0fdf4;
  border-color: #bbf7d0;
}

.feature-card:nth-child(3) .feature-icon,
.feature-card:nth-child(6) .feature-icon {
  color: var(--amber);
  background: #fffbeb;
  border-color: #fde68a;
}

.feature-card p,
.screen-copy p,
.timeline p,
.security-copy p,
.faq-list p,
.final-cta p {
  color: var(--muted);
}

.screen-section {
  background: #eaf2fb;
}

.screen-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 54px;
  align-items: center;
}

.phone-stage {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  align-items: start;
}

.screen-tab {
  min-height: 40px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
}

.screen-tab.active {
  color: #fff;
  background: var(--ink-strong);
  border-color: var(--ink-strong);
}

.phone-shell {
  grid-column: 1 / -1;
  width: min(390px, 82vw);
  margin: 18px auto 0;
  padding: 12px;
  background: #111827;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 38px;
  box-shadow: var(--shadow);
}

.phone-shell img {
  width: 100%;
  aspect-ratio: 9 / 19.5;
  object-fit: cover;
  object-position: top center;
  border-radius: 28px;
  background: #eef4fb;
}

.screen-copy {
  padding: 12px 0;
}

.screen-copy h3 {
  font-size: clamp(28px, 4vw, 44px);
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 34px 0 0;
}

.stats-row div {
  padding: 18px 16px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(219, 229, 242, 0.95);
  border-radius: 16px;
}

.stats-row dt {
  color: var(--ink-strong);
  font-size: 22px;
  line-height: 1.1;
  font-weight: 900;
}

.stats-row dd {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.workflow {
  background: var(--paper);
}

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

.timeline article {
  position: relative;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #fff 0%, #f8fbff 100%);
}

.timeline span {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 20px;
  color: #fff;
  background: var(--blue);
  border-radius: 50%;
  font-weight: 900;
}

.audience {
  background:
    linear-gradient(135deg, rgba(23, 32, 51, 0.96), rgba(15, 23, 42, 0.96)),
    var(--night);
}

.audience h2,
.security h2,
.final-cta h2 {
  color: #f8fafc;
}

.audience-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 56px;
  align-items: start;
}

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

.audience-list p {
  margin: 0;
  padding: 18px 20px;
  color: rgba(248, 250, 252, 0.86);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
}

.security {
  background:
    linear-gradient(135deg, rgba(17, 24, 39, 0.96), rgba(30, 41, 59, 0.94)),
    var(--night);
}

.security-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.75fr);
  gap: 56px;
  align-items: center;
}

.security-copy p {
  color: rgba(248, 250, 252, 0.72);
  font-size: 17px;
}

.proof-panel {
  padding: 22px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 24px;
  box-shadow: 0 30px 70px rgba(2, 6, 23, 0.24);
}

.proof-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.proof-row:last-child {
  border-bottom: 0;
}

.proof-row span {
  color: rgba(248, 250, 252, 0.68);
}

.proof-row strong {
  color: #fff;
}

.faq-section {
  background: #f7faff;
}

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

.faq-list details {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
}

.faq-list summary {
  padding: 20px 22px;
  color: var(--ink-strong);
  cursor: pointer;
  font-size: 18px;
  font-weight: 850;
}

.faq-list p {
  margin: 0;
  padding: 0 22px 22px;
}

.final-cta {
  padding: 104px 24px;
  color: #fff;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(29, 78, 216, 0.92), rgba(22, 163, 74, 0.82)),
    var(--blue);
}

.final-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.final-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.78fr);
  gap: 48px;
  align-items: center;
  text-align: left;
}

.final-copy {
  width: min(720px, 100%);
}

.final-cta .section-kicker,
.final-cta p {
  color: rgba(255, 255, 255, 0.82);
}

.final-cta .btn {
  margin-top: 16px;
  width: auto;
  color: var(--blue-deep);
  background: #fff;
  box-shadow: 0 18px 40px rgba(2, 6, 23, 0.18);
}

.entry-panel {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 14px;
  align-items: stretch;
  padding: 14px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 26px;
  box-shadow: 0 24px 60px rgba(2, 6, 23, 0.18);
  backdrop-filter: blur(18px);
}

.official-combo-card {
  grid-column: 1 / -1;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.54);
  border-radius: 18px;
}

.official-combo-card img {
  width: 100%;
}

.code-card,
.search-shot-card {
  overflow: hidden;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.54);
  border-radius: 18px;
  color: var(--ink-strong);
}

.code-card {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  padding: 18px 14px;
  text-align: center;
}

.code-card img {
  width: min(158px, 100%);
  aspect-ratio: 1;
  object-fit: contain;
}

.code-card strong {
  font-size: 16px;
  line-height: 1.2;
  font-weight: 900;
}

.code-card span,
.search-shot-card span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.search-shot-card {
  display: grid;
}

.search-shot-card img {
  width: 100%;
  height: 100%;
  min-height: 230px;
  object-fit: cover;
  object-position: top center;
}

.search-shot-card span {
  padding: 10px 12px 12px;
  background: #fff;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 16px;
  padding: 28px max(24px, calc((100% - 1120px) / 2));
  color: var(--muted);
  background: #fff;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: inherit;
}

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

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .site-nav {
    display: none;
  }

  .hero {
    min-height: 86vh;
    padding-top: 116px;
  }

  .hero-shot-main {
    right: -18px;
    top: 20%;
  }

  .hero-shot-side,
  .hero-shot-back {
    opacity: 0.34;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(17, 24, 39, 0.96), rgba(17, 24, 39, 0.68)),
      radial-gradient(circle at 20% 18%, rgba(59, 130, 246, 0.24), transparent 30%);
  }

  .intro-grid,
  .screen-layout,
  .audience-grid,
  .security-grid,
  .final-grid {
    grid-template-columns: 1fr;
  }

  .final-grid {
    text-align: center;
  }

  .final-copy {
    margin: 0 auto;
  }

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

@media (max-width: 640px) {
  body {
    font-size: 15px;
  }

  .site-header {
    top: 10px;
    width: calc(100% - 20px);
    min-height: 56px;
    padding: 8px 10px;
    gap: 10px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }

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

  .brand small {
    display: none;
  }

  .header-cta {
    min-height: 36px;
    padding: 0 12px;
    font-size: 12px;
  }

  .hero {
    min-height: 84vh;
    padding: 104px 18px 54px;
  }

  .hero-shot {
    width: 225px;
  }

  .hero-shot-main {
    top: 18%;
    right: -92px;
  }

  .hero-shot-side {
    top: 38%;
    right: -120px;
  }

  .hero-shot-back {
    display: none;
  }

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

  .btn {
    width: 100%;
  }

  .entry-card {
    grid-template-columns: 72px 1fr;
    gap: 12px;
  }

  .entry-card img {
    width: 72px;
    height: 72px;
    border-radius: 14px;
  }

  .entry-card strong {
    font-size: 26px;
  }

  .official-search-strip {
    width: 100%;
    margin-top: 12px;
  }

  .section {
    padding: 70px 18px;
  }

  .intro-band {
    padding-top: 52px;
    padding-bottom: 52px;
  }

  .section-head {
    margin-bottom: 26px;
  }

  .feature-grid,
  .timeline,
  .stats-row {
    grid-template-columns: 1fr;
  }

  .feature-card,
  .timeline article {
    min-height: auto;
    padding: 22px;
  }

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

  .screen-tab {
    font-size: 13px;
  }

  .phone-shell {
    width: min(330px, 100%);
    border-radius: 32px;
  }

  .phone-shell img {
    border-radius: 22px;
  }

  .security-grid,
  .audience-grid {
    gap: 28px;
  }

  .entry-panel {
    grid-template-columns: 1fr;
    padding: 10px;
  }

  .code-card img {
    width: 150px;
  }

  .search-shot-card img {
    max-height: 360px;
    min-height: 0;
  }

  .site-footer {
    display: grid;
    grid-template-columns: 1fr;
    padding: 24px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
