:root {
  --ink: #172033;
  --muted: #647084;
  --line: #e7ebf2;
  --brand: #ff6a3d;
  --brand-dark: #e54826;
  --violet: #7658ff;
  --mint: #25c99a;
  --sky: #2f8bff;
  --paper: #fff8f4;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(35, 48, 76, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family:
    "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  background: #ffffff;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 72px;
  padding: 0 clamp(20px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 22px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--violet));
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(255, 106, 61, 0.25);
}

.nav-links {
  display: flex;
  gap: 24px;
  margin-left: auto;
  color: #38445a;
  font-size: 15px;
}

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

.header-cta,
.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 8px;
  font-weight: 700;
}

.header-cta,
.primary-button {
  color: #fff;
  background: var(--brand);
  box-shadow: 0 12px 24px rgba(255, 106, 61, 0.22);
}

.secondary-button {
  color: var(--brand-dark);
  background: #fff;
  border: 1px solid rgba(255, 106, 61, 0.24);
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.menu-button span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.9fr);
  gap: clamp(36px, 6vw, 84px);
  align-items: center;
  min-height: calc(100vh - 72px);
  padding: clamp(56px, 8vw, 104px) clamp(20px, 6vw, 88px) clamp(40px, 7vw, 72px);
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 22%, rgba(117, 88, 255, 0.22), transparent 30%),
    radial-gradient(circle at 18% 82%, rgba(37, 201, 154, 0.18), transparent 28%),
    linear-gradient(135deg, #fff, var(--paper));
}

.hero::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 58%;
  height: 46%;
  background: linear-gradient(135deg, transparent, rgba(255, 106, 61, 0.11));
  clip-path: polygon(28% 0, 100% 0, 100% 100%, 0 100%);
  pointer-events: none;
}

.hero-content,
.hero-visual {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--brand-dark);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
}

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

h1 {
  max-width: 720px;
  margin-bottom: 24px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.05;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.18;
  letter-spacing: 0;
}

h3 {
  font-size: 22px;
}

.hero-copy {
  max-width: 620px;
  margin-bottom: 30px;
  color: #465269;
  font-size: 18px;
  line-height: 1.8;
}

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

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
  color: #344058;
  font-size: 14px;
}

.trust-row span {
  padding: 9px 13px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.hero-visual {
  min-height: 540px;
}

.phone-shell {
  position: absolute;
  width: 275px;
  min-height: 560px;
  padding: 22px;
  background: #141825;
  border: 10px solid #202636;
  border-radius: 34px;
  box-shadow: var(--shadow);
}

.phone-shell::before {
  content: "";
  position: absolute;
  inset: 10px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.92), rgba(255, 248, 244, 0.94)),
    radial-gradient(circle at 25% 15%, rgba(255, 106, 61, 0.22), transparent 36%);
  border-radius: 24px;
}

.phone-shell > * {
  position: relative;
  z-index: 1;
}

.phone-speaker {
  width: 68px;
  height: 5px;
  margin: 0 auto 20px;
  background: #4c556a;
  border-radius: 999px;
}

.phone-main {
  right: 128px;
  top: 4px;
  transform: rotate(-4deg);
}

.phone-side {
  right: 6px;
  top: 92px;
  width: 214px;
  min-height: 445px;
  transform: rotate(8deg);
  opacity: 0.95;
}

.app-topbar {
  display: flex;
  justify-content: space-between;
  margin-bottom: 18px;
  color: #2b3448;
  font-size: 13px;
  font-weight: 700;
}

.profile-card {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 12px;
  align-items: center;
  min-height: 116px;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.profile-card span,
.chat-bubble,
.story-lines span,
.security-list span {
  color: var(--muted);
}

.portrait {
  width: 70px;
  height: 88px;
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 28%, #ffd7c8 0 16%, transparent 17%),
    linear-gradient(155deg, var(--violet), var(--brand) 62%, var(--mint));
}

.chat-bubble {
  width: fit-content;
  max-width: 88%;
  margin-top: 16px;
  padding: 12px 14px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(23, 32, 51, 0.08);
}

.chat-bubble.right {
  margin-left: auto;
  color: #fff;
  background: var(--brand);
}

.mini-feed {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 20px;
}

.mini-feed span {
  height: 78px;
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(47, 139, 255, 0.88), rgba(37, 201, 154, 0.8));
}

.story-cover {
  height: 225px;
  border-radius: 12px;
  background:
    radial-gradient(circle at 50% 23%, #ffd3c5 0 15%, transparent 16%),
    linear-gradient(145deg, #2f8bff, #7658ff 55%, #ff6a3d);
}

.story-lines {
  margin-top: 18px;
}

.story-lines span {
  display: block;
  height: 12px;
  margin-bottom: 11px;
  background: #edf1f6;
  border-radius: 999px;
}

.story-lines span:nth-child(2) {
  width: 72%;
}

.story-lines span:nth-child(3) {
  width: 52%;
}

.orbit-card {
  position: absolute;
  z-index: 3;
  width: 178px;
  padding: 15px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 45px rgba(23, 32, 51, 0.12);
}

.orbit-card strong {
  display: block;
  margin-bottom: 4px;
  color: var(--violet);
  font-size: 24px;
}

.orbit-card span {
  color: var(--muted);
  font-size: 13px;
}

.card-a {
  left: 10px;
  top: 72px;
}

.card-b {
  right: 34px;
  bottom: 34px;
}

.feature-band,
.news-section,
.faq-section {
  padding: clamp(60px, 8vw, 108px) clamp(20px, 6vw, 88px);
}

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

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

.feature-card {
  min-height: 238px;
  padding: 30px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 46px rgba(23, 32, 51, 0.07);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
  color: #fff;
  font-weight: 800;
  background: linear-gradient(135deg, var(--sky), var(--mint));
  border-radius: 8px;
}

.feature-card p,
.trust-copy p,
.download-section p,
.faq-list p {
  color: var(--muted);
  line-height: 1.8;
}

.trust-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
  padding: clamp(60px, 8vw, 108px) clamp(20px, 6vw, 88px);
  background:
    linear-gradient(135deg, rgba(47, 139, 255, 0.08), transparent),
    #f8fbff;
}

.phone-showcase {
  position: relative;
  min-height: 560px;
}

.showcase-phone {
  left: 50%;
  top: 0;
  transform: translateX(-50%);
}

.verify-panel {
  margin-top: 38px;
  padding: 22px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.check {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin: 0 auto 16px;
  color: #fff;
  font-size: 28px;
  background: var(--mint);
  border-radius: 50%;
}

.security-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.security-list span {
  padding: 13px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.check-list {
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  margin-bottom: 12px;
  padding-left: 28px;
  color: #344058;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--mint);
  font-weight: 900;
}

.download-section {
  display: flex;
  justify-content: space-between;
  gap: 34px;
  align-items: center;
  padding: clamp(46px, 7vw, 84px) clamp(20px, 6vw, 88px);
  color: #fff;
  background:
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.18), transparent 28%),
    linear-gradient(135deg, #172033, #3d315f 58%, #8f3f36);
}

.download-section .eyebrow,
.download-section p {
  color: rgba(255, 255, 255, 0.78);
}

.qr-card {
  width: 190px;
  padding: 16px;
  text-align: center;
  color: #172033;
  background: #fff;
  border-radius: 8px;
}

.qr-pattern {
  width: 144px;
  height: 144px;
  margin: 0 auto 10px;
  background:
    linear-gradient(90deg, #172033 10px, transparent 10px) 0 0 / 24px 24px,
    linear-gradient(#172033 10px, transparent 10px) 0 0 / 24px 24px,
    #fff;
  border: 12px solid #fff;
  outline: 1px solid var(--line);
}

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

.news-list a {
  min-height: 118px;
  padding: 24px;
  color: #263247;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.news-list a:hover {
  border-color: rgba(255, 106, 61, 0.4);
  box-shadow: 0 16px 38px rgba(23, 32, 51, 0.08);
}

.faq-section {
  background: #f9fbfe;
}

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

.faq-list details {
  padding: 20px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 800;
}

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

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(20px, 6vw, 88px);
  color: rgba(255, 255, 255, 0.72);
  background: #172033;
}

.site-footer div,
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.site-footer strong {
  color: #fff;
}

.site-footer a:hover {
  color: #fff;
}

@media (max-width: 980px) {
  .site-header {
    gap: 14px;
  }

  .menu-button {
    display: block;
    margin-left: auto;
  }

  .nav-links {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 78px;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 10px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 14px;
  }

  .header-cta {
    display: none;
  }

  .hero,
  .trust-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    min-height: 520px;
  }

  .phone-main {
    left: 50%;
    right: auto;
    transform: translateX(-54%) rotate(-4deg);
  }

  .phone-side {
    right: 5%;
  }

  .feature-grid,
  .news-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .site-header {
    min-height: 64px;
    padding: 0 16px;
  }

  .brand-text {
    font-size: 19px;
  }

  .hero,
  .feature-band,
  .trust-section,
  .news-section,
  .faq-section,
  .download-section {
    padding-left: 18px;
    padding-right: 18px;
  }

  h1 {
    font-size: 42px;
  }

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

  .hero-visual {
    min-height: 455px;
    transform: scale(0.82);
    transform-origin: top center;
  }

  .phone-main {
    left: 46%;
  }

  .phone-side,
  .orbit-card {
    display: none;
  }

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

  .phone-showcase {
    min-height: 480px;
    transform: scale(0.82);
    transform-origin: top center;
  }
}
