:root {
  --ink: #172033;
  --muted: #667085;
  --line: #e5e7eb;
  --panel: #ffffff;
  --soft: #f7f3ff;
  --brand: #6d28d9;
  --brand-dark: #4c1d95;
  --gold: #f59e0b;
  --green: #16a34a;
  --shadow: 0 24px 70px rgba(41, 33, 87, 0.12);
  --page-container: min(90vw, 1340px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, Arial, "Microsoft YaHei", sans-serif;
  background:
    radial-gradient(circle at 18% 4%, rgba(245, 158, 11, 0.12), transparent 28%),
    radial-gradient(circle at 86% 8%, rgba(109, 40, 217, 0.12), transparent 26%),
    #fbfbfd;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: var(--page-container);
  max-width: none;
  margin: 0 auto;
  padding: 18px 24px;
  backdrop-filter: blur(18px);
}

.brand img {
  display: block;
  width: 58px;
  height: 58px;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 12px 28px rgba(0, 86, 82, 0.16);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.brand-mark {
  display: inline-flex;
  flex: 0 0 auto;
}

.brand-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.brand-copy strong {
  color: #075e59;
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
}

.brand-copy small {
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.2;
  text-transform: uppercase;
}

.language-switch {
  display: inline-flex;
  gap: 6px;
  padding: 6px;
  border: 1px solid rgba(109, 40, 217, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 8px 22px rgba(30, 24, 64, 0.06);
}

.lang-button {
  min-width: 52px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  font: 700 13px/1 Inter, Arial, sans-serif;
  background: transparent;
  cursor: pointer;
}

.lang-button.is-active {
  color: #fff;
  background: var(--brand);
}

main {
  overflow: hidden;
}

.hero-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(380px, 0.85fr);
  align-items: center;
  gap: clamp(56px, 7vw, 132px);
  width: var(--page-container);
  max-width: none;
  min-height: calc(100vh - 96px);
  margin: 0 auto;
  padding: 54px 24px 92px;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  z-index: -1;
  width: 100vw;
  height: 100%;
  transform: translateX(-50%);
  background:
    linear-gradient(90deg, rgba(255, 247, 237, 0.72), rgba(245, 243, 255, 0.9)),
    radial-gradient(circle at 78% 38%, rgba(124, 58, 237, 0.12), transparent 34%),
    radial-gradient(circle at 20% 22%, rgba(245, 158, 11, 0.1), transparent 28%);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 820px;
  margin-bottom: 100px;
  font-size: clamp(44px, 5vw, 66px);
  line-height: 1.3;
  letter-spacing: 0;
  white-space: pre-line;
}

.hero-text {
  max-width: 640px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 42px;
}

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 800;
}

.primary-action {
  color: #fff;
  background: linear-gradient(135deg, var(--brand), #8b5cf6 55%, #f97316);
  box-shadow: 0 16px 32px rgba(109, 40, 217, 0.22);
}

.secondary-action {
  color: var(--brand-dark);
  border: 1px solid rgba(109, 40, 217, 0.18);
  background: rgba(255, 255, 255, 0.78);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 760px;
}

.hero-stats div,
.feature-card,
.qr-card {
  border: 1px solid rgba(109, 40, 217, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 14px 36px rgba(42, 31, 80, 0.06);
}

.hero-stats div {
  padding: 18px;
}

.hero-stats strong,
.hero-stats span {
  display: block;
}

.hero-stats strong {
  margin-bottom: 8px;
  font-size: 17px;
}

.hero-stats span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.phone-showcase {
  display: grid;
  justify-items: center;
  gap: 18px;
  perspective: 1200px;
}

.phone-frame {
  position: relative;
  width: min(348px, 78vw);
  aspect-ratio: 9 / 18.9;
  padding: 10px;
  border-radius: 56px;
  /*background:  linear-gradient(145deg, #f8fafc 0%, #cbd5e1 15%, #101522 36%, #020617 67%, #475569 100%);*/
  box-shadow:
    inset 0 0 0 2px rgba(255, 255, 255, 0.42),
    inset 0 0 0 8px rgba(2, 6, 23, 0.92),
    0 34px 90px rgba(15, 23, 42, 0.22),
    0 12px 24px rgba(109, 40, 217, 0.12);
  transform: none;
}

.phone-frame::before {
  content: "";
  position: absolute;
  inset: 5px;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 51px;
  pointer-events: none;
}

/*.phone-frame::after {
  content: "";
  position: absolute;
  inset: 16px;
  z-index: 2;
  border-radius: 39px;
  box-shadow: inset 0 0 0 2px rgba(2, 6, 23, 0.55);
  pointer-events: none;
}
*/
.phone-island {
  display: none;
}

.phone-button {
  position: absolute;
  z-index: 0;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, #94a3b8, #111827);
  box-shadow: 0 3px 7px rgba(15, 23, 42, 0.18);
}

.phone-button-left {
  left: -3px;
  top: 118px;
  height: 74px;
}

.phone-button-right {
  right: -3px;
  top: 166px;
  height: 96px;
}

.screen-track {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 42px;
  background: #f4f4f5;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.16);
}

.screen-shot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 600ms ease, transform 600ms ease;
}

.screen-shot.is-active {
  opacity: 1;
  transform: scale(1);
}

.slide-dots {
  display: flex;
  gap: 8px;
}

.slide-dots span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #d6d3e8;
}

.slide-dots .is-active {
  width: 24px;
  background: var(--brand);
}

.section-block,
.flow-section,
.download-section {
  width: var(--page-container);
  max-width: none;
  margin: 0 auto;
  padding: 80px 24px;
}

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

.section-heading h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.12;
  letter-spacing: 0;
}

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

.feature-card {
  padding: 28px;
}

.feature-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 24px;
  border-radius: 999px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 800;
  background: var(--soft);
}

.feature-card h3,
.qr-card h3 {
  margin-bottom: 12px;
  font-size: 20px;
  line-height: 1.35;
}

.feature-card p,
.qr-card p,
.site-footer p {
  color: var(--muted);
  line-height: 1.7;
}

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

.flow-list {
  display: grid;
  gap: 14px;
  justify-items: start;
}

.flow-list div {
  display: grid;
  grid-template-columns: 46px auto;
  align-items: center;
  gap: 16px;
  width: fit-content;
  min-width: min(100%, 620px);
  max-width: 100%;
  min-height: 78px;
  padding: 18px 28px 18px 18px;
  border: 1px solid rgba(23, 32, 51, 0.08);
  border-radius: 8px;
  background: #fff;
  text-align: center;
}

.flow-list b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  color: #fff;
  background: var(--ink);
}

.flow-list span {
  color: #334155;
  line-height: 1.6;
}

.download-section {
  padding-bottom: 96px;
}

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

.qr-card {
  padding: 26px;
  text-align: center;
}

.qr-card img {
  display: block;
  width: min(220px, 78%);
  margin: 0 auto 22px;
  border-radius: 8px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: var(--page-container);
  max-width: none;
  margin: 0 auto;
  padding: 34px 24px 42px;
  border-top: 1px solid var(--line);
}

.footer-brand .brand-mark img {
  width: 58px;
  height: 58px;
  border-radius: 16px;
}

.footer-brand .brand-copy strong {
  font-size: 22px;
}

.site-footer p {
  max-width: 560px;
  margin-bottom: 0;
  text-align: right;
}

@media (max-width: 980px) {
  .hero-section,
  .flow-section {
    grid-template-columns: 1fr;
  }

  .hero-section {
    gap: 44px;
    min-height: auto;
    padding-top: 36px;
  }

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

@media (max-width: 680px) {
  .site-header {
    padding: 14px 16px;
  }

  .brand img {
    width: 42px;
    height: 42px;
    border-radius: 12px;
  }

  .brand {
    gap: 8px;
  }

  .brand-copy strong {
    font-size: 20px;
  }

  .brand-copy small {
    font-size: 9px;
  }

  .language-switch {
    gap: 2px;
    padding: 4px;
  }

  .lang-button {
    min-width: 42px;
    height: 30px;
    font-size: 12px;
  }

  .hero-section,
  .section-block,
  .flow-section,
  .download-section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-section {
    padding-bottom: 64px;
  }

  h1 {
    font-size: 42px;
  }

  .hero-text {
    font-size: 16px;
  }

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

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

  .flow-list {
    justify-items: stretch;
  }

  .flow-list div {
    width: 100%;
    min-width: 0;
    grid-template-columns: 46px minmax(0, 1fr);
  }

  .phone-frame {
    width: min(306px, 86vw);
    border-radius: 48px;
    transform: none;
  }

  .section-block,
  .flow-section,
  .download-section {
    padding-top: 58px;
    padding-bottom: 58px;
  }

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

  .site-footer p {
    text-align: left;
  }
}
