:root {
  --bg: #f4f8fc;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-strong: #ffffff;
  --line: rgba(24, 43, 84, 0.1);
  --ink: #111d33;
  --muted: #5e6c84;
  --accent: #4174fb;
  --accent-strong: #244fcf;
  --accent-soft: rgba(65, 116, 251, 0.14);
  --shadow: 0 24px 80px rgba(24, 43, 84, 0.08);
  --radius-xl: 36px;
  --radius-lg: 28px;
  --radius-md: 22px;
  --radius-sm: 16px;
  --content-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at top left, rgba(65, 116, 251, 0.12), transparent 32%),
    linear-gradient(180deg, #f8fbff 0%, var(--bg) 100%);
  color: var(--ink);
  font-family:
    Inter,
    "SF Pro Display",
    "SF Pro Text",
    "Segoe UI",
    Roboto,
    "Helvetica Neue",
    Arial,
    "PingFang SC",
    "Hiragino Sans GB",
    "Microsoft YaHei",
    "Noto Sans CJK SC",
    sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
}

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

button {
  font: inherit;
}

.page-shell {
  width: min(calc(100% - 32px), var(--content-width));
  max-width: 100%;
  margin: 0 auto;
  padding: 24px 0 56px;
  overflow: visible;
}

.hero {
  padding: 8px 0 32px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-logo {
  width: 52px;
  height: 52px;
  filter: drop-shadow(0 14px 30px rgba(36, 79, 207, 0.16));
}

.brand-name {
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.language-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  border-radius: 999px;
  padding: 12px 16px;
  min-width: 66px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.language-toggle:hover {
  transform: translateY(-1px);
  border-color: rgba(65, 116, 251, 0.28);
  background: rgba(255, 255, 255, 0.94);
}

.hero-copy {
  margin: 72px auto 0;
  max-width: 880px;
  text-align: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent-strong);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

h1 {
  margin: 0;
  font-size: clamp(2.75rem, 6vw, 5.3rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.hero-subtitle {
  margin: 22px auto 0;
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(1.02rem, 2vw, 1.22rem);
  line-height: 1.72;
}

.hero-actions {
  margin-top: 34px;
}

.appstore-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 26px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
  color: #fff;
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  box-shadow: 0 16px 34px rgba(36, 79, 207, 0.22);
  transition: transform 180ms ease, box-shadow 180ms ease;
  white-space: nowrap;
}

.appstore-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 38px rgba(36, 79, 207, 0.28);
}

.appstore-button.secondary {
  background: #0f1728;
  box-shadow: none;
}

main {
  display: grid;
  gap: 50px;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 28px;
  min-width: 0;
}

.section-heading.subtle {
  max-width: 520px;
  margin-bottom: 20px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.06;
  letter-spacing: -0.05em;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.68;
}

.screenshots-section {
  max-width: 100%;
  min-width: 0;
}

.screenshots-viewport {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 8px 0 12px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}

.screenshots-viewport::-webkit-scrollbar {
  display: none;
}

.screenshots-strip {
  display: inline-flex;
  flex-wrap: nowrap;
  gap: 22px;
  min-width: max-content;
  width: max-content;
  scroll-snap-type: x proximity;
}

.phone-shot {
  min-width: 248px;
  flex: 0 0 min(248px, 100%);
  scroll-snap-align: start;
}

.screenshot-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 30px;
  object-fit: cover;
  background: #edf3fb;
  box-shadow: var(--shadow);
  aspect-ratio: 1290 / 2796;
}

.screenshot-error {
  display: grid;
  place-items: center;
}

.screenshot-error-card {
  width: 100%;
  min-height: 520px;
  padding: 28px;
  border-radius: 32px;
  border: 1px dashed rgba(179, 47, 47, 0.28);
  background: linear-gradient(180deg, rgba(255, 248, 248, 0.96), rgba(255, 241, 241, 0.92));
  color: #7b2d2d;
  box-shadow: var(--shadow);
}

.screenshot-error-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 88px;
  height: 34px;
  border-radius: 999px;
  background: rgba(179, 47, 47, 0.12);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.screenshot-error-card h3 {
  margin: 18px 0 10px;
  font-size: 1.5rem;
  letter-spacing: -0.04em;
}

.screenshot-error-card p {
  margin: 0;
  max-width: 280px;
  color: rgba(123, 45, 45, 0.84);
  line-height: 1.7;
}

.screenshot-error-lines {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.screenshot-error-lines span {
  display: block;
  height: 16px;
  border-radius: 999px;
  background: rgba(179, 47, 47, 0.12);
}

.screenshot-error-lines span:nth-child(1) {
  width: 72%;
}

.screenshot-error-lines span:nth-child(2) {
  width: 88%;
}

.screenshot-error-lines span:nth-child(3) {
  width: 64%;
}

.features-section {
  padding-top: 6px;
  min-width: 0;
}

.feature-detail {
  max-width: 860px;
  min-width: 0;
  overflow-wrap: anywhere;
}

.feature-intro {
  margin: 0;
  color: var(--ink);
  font-size: 1.02rem;
  line-height: 1.78;
}

.feature-intro + .feature-intro {
  margin-top: 14px;
}

.feature-detail-section {
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid rgba(24, 43, 84, 0.08);
}

.feature-detail-section h3 {
  margin: 0 0 14px;
  font-size: 1.18rem;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.feature-detail-section p {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

.feature-detail-section p + p {
  margin-top: 12px;
}

.feature-bullets {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.feature-bullets li {
  display: grid;
  gap: 4px;
  padding-left: 18px;
  position: relative;
}

.feature-bullets li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent);
}

.feature-bullets strong {
  font-size: 0.98rem;
  line-height: 1.45;
}

.feature-bullets span {
  color: var(--muted);
  line-height: 1.68;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 72px;
  padding-top: 30px;
  border-top: 1px solid rgba(24, 43, 84, 0.08);
  min-width: 0;
}

.footer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-meta {
  display: grid;
  gap: 6px;
  justify-items: end;
}

.footer-contact {
  font-size: 0.9rem;
}

.footer-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  font-size: 0.9rem;
  min-width: 0;
  overflow-wrap: anywhere;
}

.footer-contact a,
.footer-line a {
  color: var(--ink);
}

.footer-separator {
  color: rgba(94, 108, 132, 0.72);
}

@media (max-width: 980px) {
  .page-shell {
    width: min(calc(100% - 24px), var(--content-width));
  }

  .hero {
    padding-bottom: 26px;
  }

  .hero-copy {
    margin-top: 56px;
  }

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

  .footer-meta {
    justify-items: start;
  }

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

@media (max-width: 720px) {
  .page-shell {
    width: min(calc(100% - 20px), var(--content-width));
    padding-top: 16px;
    padding-bottom: 36px;
  }

  .hero {
    padding-top: 4px;
    padding-bottom: 20px;
  }

  .topbar {
    align-items: center;
  }

  .brand-logo {
    width: 44px;
    height: 44px;
  }

  .brand {
    gap: 12px;
  }

  .brand-name {
    font-size: 1rem;
  }

  .language-toggle {
    min-width: 60px;
    padding: 10px 14px;
  }

  .hero-copy {
    margin-top: 32px;
    text-align: left;
  }

  .eyebrow {
    margin-bottom: 10px;
    font-size: 0.76rem;
    letter-spacing: 0.12em;
  }

  h1 {
    font-size: clamp(2rem, 11vw, 3rem);
    line-height: 1.02;
  }

  .hero-subtitle {
    margin-top: 16px;
    margin-left: 0;
    max-width: none;
    font-size: 0.98rem;
    line-height: 1.62;
  }

  .hero-actions {
    display: flex;
    justify-content: flex-start;
    margin-top: 26px;
  }

  .appstore-button {
    width: 100%;
    min-height: 54px;
    padding: 0 20px;
    font-size: 0.96rem;
    box-shadow: 0 12px 24px rgba(36, 79, 207, 0.2);
  }

  .section-heading {
    margin-bottom: 16px;
  }

  .section-heading p {
    font-size: 0.92rem;
    line-height: 1.55;
  }

  .screenshots-strip {
    gap: 14px;
  }

  .screenshots-viewport {
    width: calc(100% + 20px);
    max-width: none;
    margin-left: -10px;
    margin-right: -10px;
    padding: 4px 0 8px;
    scroll-padding-inline: 10px;
  }

  .screenshots-strip {
    padding-inline: 10px;
  }

  .phone-shot {
    min-width: 78vw;
    flex-basis: 78vw;
  }

  .screenshot-image {
    border-radius: 22px;
    box-shadow: 0 14px 32px rgba(24, 43, 84, 0.12);
  }

  .feature-detail {
    max-width: 100%;
  }

  .feature-intro {
    font-size: 0.97rem;
    line-height: 1.68;
  }

  .feature-detail-section {
    margin-top: 22px;
    padding-top: 20px;
  }

  .feature-detail-section h3 {
    font-size: 1.08rem;
  }

  .footer {
    margin-top: 48px;
    padding-top: 22px;
    gap: 14px;
  }

  .footer .appstore-button {
    width: 100%;
  }

  .footer p {
    font-size: 0.84rem;
    line-height: 1.5;
  }
}

@media (max-width: 420px) {
  .page-shell {
    width: min(calc(100% - 16px), var(--content-width));
  }

  .topbar {
    gap: 10px;
  }

  .hero {
    padding-bottom: 24px;
  }

  .hero-copy {
    margin-top: 26px;
  }

  h1 {
    font-size: clamp(1.8rem, 10vw, 2.55rem);
  }

  .hero-subtitle {
    font-size: 0.94rem;
    line-height: 1.56;
  }

  .appstore-button {
    min-height: 52px;
    font-size: 0.93rem;
  }

  .screenshots-strip {
    gap: 12px;
  }

  .phone-shot {
    min-width: 84vw;
    flex-basis: 84vw;
  }

  .screenshot-image {
    border-radius: 20px;
  }

  .feature-detail {
    max-width: 100%;
  }

  .feature-intro {
    font-size: 0.93rem;
    line-height: 1.62;
  }

  .feature-detail-section h3 {
    font-size: 1rem;
  }

  .feature-detail-section p,
  .feature-bullets span,
  .feature-bullets strong {
    font-size: 0.9rem;
    line-height: 1.56;
  }
}

@media (max-width: 360px) {
  .page-shell {
    width: min(calc(100% - 14px), var(--content-width));
    padding-bottom: 28px;
  }

  .brand-logo {
    width: 40px;
    height: 40px;
  }

  .brand-name {
    font-size: 0.96rem;
  }

  .language-toggle {
    min-width: 56px;
    padding: 9px 12px;
    font-size: 0.88rem;
  }

  .hero-copy {
    margin-top: 22px;
  }

  h1 {
    font-size: 1.68rem;
    letter-spacing: -0.05em;
  }

  .eyebrow {
    font-size: 0.72rem;
  }

  .screenshots-strip {
    gap: 12px;
  }

  .phone-shot {
    min-width: 86vw;
    flex-basis: 86vw;
  }
}
