:root {
  --green: #19c663;
  --green-dark: #0c9b59;
  --blue: #0797d8;
  --ink: #142033;
  --muted: #647084;
  --line: #e5edf4;
  --bg: #f6fafc;
  --white: #ffffff;
  --orange: #ff8a22;
  --shadow: 0 18px 42px rgba(17, 49, 75, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Microsoft YaHei", Arial, sans-serif;
  background: var(--bg);
  line-height: 1.7;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.nav-wrap,
.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 10px 24px rgba(7, 151, 216, 0.2);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-text span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav a {
  border-radius: 6px;
  color: #344256;
  font-size: 15px;
  padding: 9px 13px;
}

.nav a:hover,
.nav a.active {
  color: var(--green-dark);
  background: #eaf9f2;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font-size: 22px;
}

.hero {
  background:
    radial-gradient(circle at 78% 14%, rgba(25, 198, 99, 0.16), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #eef9fb 100%);
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
  gap: 52px;
  align-items: center;
  min-height: 640px;
  padding: 58px 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green-dark);
  background: #e8f8f0;
  border: 1px solid #cdeede;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  padding: 6px 12px;
}

h1,
h2,
h3 {
  line-height: 1.25;
  margin: 0;
}

h1 {
  margin-top: 22px;
  font-size: clamp(36px, 5vw, 62px);
  letter-spacing: 0;
}

.hero p {
  max-width: 670px;
  margin: 22px 0 0;
  color: #425067;
  font-size: 18px;
}

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

.download-panel {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 610px;
  margin-top: 28px;
  padding: 16px;
  background: var(--white);
  border: 1px solid #d7efe5;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.download-icon {
  width: 74px;
  height: 74px;
  border-radius: 16px;
  flex: 0 0 auto;
  box-shadow: 0 12px 28px rgba(7, 151, 216, 0.18);
}

.download-panel h2 {
  margin-bottom: 10px;
  font-size: 20px;
}

.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.download-btn {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  min-width: 116px;
  min-height: 54px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbfd;
}

.download-btn span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.2;
}

.download-btn strong {
  color: var(--ink);
  font-size: 16px;
  line-height: 1.45;
}

.download-btn.available {
  border-color: transparent;
  background: linear-gradient(135deg, var(--blue), var(--green));
}

.download-btn.available span,
.download-btn.available strong {
  color: var(--white);
}

.download-btn.disabled {
  cursor: not-allowed;
  opacity: 0.72;
}

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

.btn-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--green));
  box-shadow: 0 14px 30px rgba(25, 198, 99, 0.22);
}

.btn-secondary {
  color: var(--ink);
  background: var(--white);
  border-color: var(--line);
}

.audit-note {
  margin-top: 18px;
  color: var(--muted);
  font-size: 14px;
}

.phone-stage {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: center;
}

.phone-shot {
  overflow: hidden;
  border: 8px solid #111827;
  border-radius: 28px;
  background: #111827;
  box-shadow: var(--shadow);
}

.phone-shot.small {
  transform: translateY(46px);
}

.phone-shot img {
  width: 100%;
  aspect-ratio: 400 / 770;
  object-fit: cover;
  border-radius: 18px;
}

.section {
  padding: 76px 0;
}

.section.white {
  background: var(--white);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}

.section-head p {
  max-width: 620px;
  margin: 10px 0 0;
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 18px;
}

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

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

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 12px 28px rgba(20, 32, 51, 0.05);
}

.white .card {
  background: #fbfdfe;
}

.icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--green));
  border-radius: 8px;
  font-weight: 900;
}

.card h3 {
  margin-top: 18px;
  font-size: 20px;
}

.card p,
.card li {
  color: var(--muted);
}

.card ul,
.article ul {
  padding-left: 20px;
  margin: 12px 0 0;
}

.showcase {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 42px;
  align-items: center;
}

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

.screenshot-row img {
  aspect-ratio: 400 / 770;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.process {
  counter-reset: step;
}

.process .card {
  position: relative;
  padding-left: 72px;
}

.process .card::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 24px;
  top: 24px;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--orange);
  font-weight: 800;
}

.page-hero {
  padding: 70px 0 48px;
  background: linear-gradient(135deg, #ffffff 0%, #eef9fb 100%);
  border-bottom: 1px solid var(--line);
}

.page-hero p {
  max-width: 780px;
  color: var(--muted);
  font-size: 18px;
}

.article {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 34px;
}

.article h2 {
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  font-size: 24px;
}

.article h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.article h3 {
  margin-top: 22px;
  font-size: 18px;
}

.article p,
.article li {
  color: #3f4b5e;
}

.meta-box {
  display: grid;
  gap: 10px;
  padding: 18px;
  margin: 22px 0;
  background: #f4fbf8;
  border: 1px solid #d8f0e4;
  border-radius: 8px;
  color: #345043;
}

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

.contact-item {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}

.contact-item span:first-child {
  color: var(--muted);
}

.site-footer {
  padding: 34px 0;
  color: #d8e3ef;
  background: #152235;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links a {
  color: #f7fbff;
}

.footer-meta {
  margin-top: 8px;
  color: #aebed0;
  font-size: 14px;
}

.back-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 8px;
  color: var(--white);
  background: var(--green-dark);
  font-size: 18px;
  box-shadow: var(--shadow);
}

.back-top.show {
  display: grid;
  place-items: center;
}

@media (max-width: 900px) {
  .menu-toggle {
    display: block;
  }

  .nav {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 72px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .nav.open {
    display: flex;
  }

  .hero-grid,
  .showcase,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: auto;
    padding: 46px 0 58px;
  }

  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .section-head {
    display: block;
  }
}

@media (max-width: 620px) {
  .nav-wrap,
  .container {
    width: min(100% - 24px, 1120px);
  }

  .brand-text span {
    display: none;
  }

  h1 {
    font-size: 38px;
  }

  .hero p,
  .page-hero p {
    font-size: 16px;
  }

  .download-panel {
    align-items: flex-start;
  }

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

  .phone-stage,
  .screenshot-row {
    grid-template-columns: 1fr 1fr;
  }

  .phone-shot.small {
    transform: translateY(22px);
  }

  .section {
    padding: 54px 0;
  }

  .article {
    padding: 22px;
  }

  .contact-item {
    display: block;
  }
}
