:root {
  color-scheme: light;
  --bg: #f7f8fc;
  --card: rgba(255, 255, 255, 0.82);
  --text: #111827;
  --muted: #667085;
  --line: rgba(17, 24, 39, 0.1);
  --blue: #2563eb;
  --purple: #7c3aed;
  --orange: #f97316;
  --green: #16a34a;
  --shadow: 0 24px 70px rgba(37, 99, 235, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 10%, rgba(37, 99, 235, 0.18), transparent 26rem),
    radial-gradient(circle at 88% 18%, rgba(124, 58, 237, 0.18), transparent 24rem),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 48%, #ffffff 100%);
}

body.lang-en .zh,
body.lang-zh .en {
  display: none;
}

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

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

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

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 0;
}

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

.logo {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  box-shadow: 0 14px 32px rgba(37, 99, 235, 0.28);
}

.logo svg {
  width: 24px;
  height: 24px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

.nav-links a:hover {
  color: var(--blue);
}

.lang-switch {
  display: inline-flex;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
}

.lang-switch a {
  padding: 8px 12px;
  font-size: 13px;
  color: var(--muted);
}

body.lang-en .lang-switch .en-link,
body.lang-zh .lang-switch .zh-link {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--purple));
}

.hero {
  padding: 86px 0 72px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 56px;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  margin-bottom: 22px;
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: 999px;
  color: var(--blue);
  background: rgba(37, 99, 235, 0.08);
  font-size: 14px;
  font-weight: 700;
}

h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(44px, 7vw, 78px);
  line-height: 0.95;
  letter-spacing: -0.065em;
}

.gradient-text {
  color: transparent;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  -webkit-background-clip: text;
  background-clip: text;
}

.hero p {
  max-width: 650px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2.4vw, 22px);
  line-height: 1.55;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 34px;
}

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

.button.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  box-shadow: 0 16px 36px rgba(37, 99, 235, 0.28);
}

.button.secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.72);
  border-color: var(--line);
}

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

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

.stat {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--card);
  box-shadow: 0 12px 30px rgba(17, 24, 39, 0.04);
}

.stat strong {
  display: block;
  font-size: 26px;
  letter-spacing: -0.04em;
}

.stat span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.screenshots-showcase {
  position: relative;
  min-height: 650px;
}

.phone-glow {
  position: absolute;
  inset: 8% 2% auto auto;
  width: 86%;
  height: 72%;
  border-radius: 999px;
  filter: blur(42px);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.2), rgba(124, 58, 237, 0.2));
}

.screenshot-shot {
  position: absolute;
  display: block;
  width: min(250px, 58vw);
  border-radius: 34px;
  box-shadow: var(--shadow), 0 30px 70px rgba(17, 24, 39, 0.24);
}

.main-shot {
  left: 8%;
  top: 0%;
  z-index: 4;
  width: min(300px, 66vw);
}

.side-shot {
  right: 0;
  z-index: 2;
  width: min(230px, 48vw);
  opacity: 0.94;
}

.top-shot {
  top: 8%;
}

.bottom-shot {
  bottom: 7%;
}

.mini-shot {
  right: 18%;
  bottom: -3%;
  z-index: 5;
  width: min(190px, 42vw);
}

section {
  padding: 76px 0;
}

.section-head {
  max-width: 740px;
  margin-bottom: 32px;
}

.kicker {
  color: var(--blue);
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

h2 {
  margin: 10px 0 0;
  font-size: clamp(32px, 4.4vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.055em;
}

.section-head p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

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

.feature-card,
.privacy-card,
.step,
.price-card {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--card);
  box-shadow: 0 18px 50px rgba(17, 24, 39, 0.06);
}

.feature-card {
  padding: 24px;
}

.feature-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  font-size: 24px;
}

.feature-card h3,
.privacy-card h3,
.step h3,
.price-card h3 {
  margin: 0;
  font-size: 20px;
  letter-spacing: -0.03em;
}

.feature-card p,
.privacy-card p,
.step p,
.price-card p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

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

.step {
  padding: 26px;
  position: relative;
}

.step-number {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--orange), var(--purple));
  font-weight: 900;
}

.privacy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.privacy-card {
  padding: 28px;
}

.privacy-card strong {
  color: var(--green);
}

.pricing {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: stretch;
}

.price-card {
  padding: 30px;
}

.price-card.highlight {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  border: 0;
  box-shadow: 0 24px 70px rgba(37, 99, 235, 0.28);
}

.price-card.highlight p,
.price-card.highlight li {
  color: rgba(255, 255, 255, 0.82);
}

.price {
  margin: 18px 0;
  font-size: 44px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.05em;
}

ul {
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}

li {
  display: flex;
  gap: 10px;
  margin: 12px 0;
  color: var(--muted);
}

li::before {
  content: "✓";
  color: var(--green);
  font-weight: 900;
}

.price-card.highlight li::before {
  color: #fff;
}

.footer {
  padding: 42px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

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

@media (max-width: 900px) {
  .hero-grid,
  .privacy-grid,
  .pricing {
    grid-template-columns: 1fr;
  }

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

  .screenshots-showcase {
    min-height: 620px;
    max-width: 560px;
    margin: 0 auto;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .nav-links a:not(.keep) {
    display: none;
  }

  .hero {
    padding-top: 58px;
  }

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

  .screenshots-showcase {
    min-height: 900px;
  }

  .screenshot-shot,
  .main-shot,
  .side-shot,
  .mini-shot {
    position: relative;
    inset: auto;
    width: min(290px, 82vw);
    margin: -28px auto 0;
  }

  .main-shot {
    margin-top: 0;
  }
}
