:root {
  color-scheme: light;
  --ink: #0f171a;
  --muted: #768083;
  --line: rgba(255, 255, 255, 0.72);
  --panel: rgba(255, 255, 255, 0.48);
  --panel-strong: rgba(255, 255, 255, 0.72);
  --cyan: #43b9d0;
  --orange: #f39a3c;
  --green: #62bb7b;
  --purple: #9b70cf;
  --shadow: 0 24px 70px rgba(54, 68, 68, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 78% 18%, rgba(72, 193, 215, 0.18), transparent 28rem),
    radial-gradient(circle at 18% 88%, rgba(249, 174, 82, 0.22), transparent 28rem),
    linear-gradient(180deg, #dff4f7 0%, #f8f4e8 76%);
}

a {
  color: inherit;
}

.site-header,
.site-footer {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.site-header {
  padding: 24px 0 10px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 900;
  letter-spacing: 0;
}

.brand img {
  border-radius: 12px;
  box-shadow: 0 10px 26px rgba(46, 95, 108, 0.18);
}

nav,
.site-footer div {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

nav a,
.site-footer a {
  text-decoration: none;
  color: rgba(15, 23, 26, 0.72);
  font-weight: 700;
}

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

.hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: center;
  gap: 52px;
  padding: 52px 0 72px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--cyan);
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 22px;
  font-size: clamp(3.1rem, 8vw, 6.6rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.28rem;
}

.lead {
  max-width: 650px;
  color: rgba(15, 23, 26, 0.68);
  font-size: clamp(1.12rem, 2vw, 1.38rem);
  line-height: 1.75;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 900;
  border: 1px solid var(--line);
}

.button.primary {
  color: white;
  background: linear-gradient(135deg, var(--cyan), #438ede);
  box-shadow: 0 14px 30px rgba(62, 157, 204, 0.28);
}

.button.secondary {
  background: var(--panel-strong);
  backdrop-filter: blur(18px);
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.phone-card,
.card,
.split,
.compliance,
.document {
  border: 1px solid var(--line);
  background: var(--panel);
  backdrop-filter: blur(22px);
  box-shadow: var(--shadow);
}

.phone-card {
  position: relative;
  width: min(100%, 410px);
  min-height: 560px;
  border-radius: 36px;
  padding: 28px;
  overflow: hidden;
}

.app-icon-large {
  width: 122px;
  height: 122px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 20px 52px rgba(72, 133, 145, 0.22);
}

.app-icon-large img {
  width: 100%;
  height: 100%;
  display: block;
}

.game-orb {
  position: absolute;
  right: 26px;
  bottom: 108px;
  width: 295px;
  height: 295px;
  border-radius: 50%;
  border: 12px solid rgba(174, 219, 226, 0.62);
  background: radial-gradient(circle at 34% 22%, rgba(255, 255, 255, 0.82), rgba(190, 235, 233, 0.26) 45%, rgba(255, 255, 255, 0.18));
}

.game-orb span {
  position: absolute;
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  color: white;
  font-size: 1.55rem;
  font-weight: 900;
  box-shadow: inset 0 -8px 0 rgba(0, 0, 0, 0.12), 0 12px 24px rgba(39, 71, 74, 0.18);
}

.game-orb span:nth-child(1) { left: 86px; top: 38px; background: #456bd7; }
.game-orb span:nth-child(2) { left: 150px; top: 84px; background: #43a86b; }
.game-orb span:nth-child(3) { left: 54px; top: 134px; background: #c64545; }
.game-orb span:nth-child(4) { left: 168px; top: 164px; background: #a36ad8; }
.game-orb span:nth-child(5) { left: 92px; top: 206px; background: #d87a36; }
.game-orb span:nth-child(6) { left: 202px; top: 224px; background: #4a9fb2; }

.phone-card p {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 26px;
  color: rgba(15, 23, 26, 0.66);
  font-weight: 800;
}

.section {
  padding: 72px 0;
}

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

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

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

.mode-card {
  min-height: 220px;
  border-radius: 28px;
  padding: 26px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.78), transparent 12rem),
    rgba(255, 255, 255, 0.50);
  backdrop-filter: blur(22px);
  box-shadow: var(--shadow);
}

.mode-card p {
  color: rgba(15, 23, 26, 0.68);
  line-height: 1.76;
}

.mode-tag {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  margin-bottom: 18px;
  padding: 0 12px;
  border-radius: 999px;
  color: rgba(15, 23, 26, 0.68);
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.82);
  font-size: 0.82rem;
  font-weight: 900;
}

.card {
  min-height: 250px;
  border-radius: 26px;
  padding: 26px;
}

.card p,
.split p,
.compliance p,
.document p,
.document li {
  color: rgba(15, 23, 26, 0.68);
  line-height: 1.76;
}

.card-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 22px;
  border-radius: 18px;
  color: white;
  background: linear-gradient(135deg, var(--orange), var(--purple));
  font-weight: 900;
}

.split,
.compliance {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.75fr);
  align-items: center;
  gap: 34px;
  border-radius: 30px;
  padding: 34px;
}

.split {
  margin-bottom: 36px;
}

.artifact-list {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.artifact-list span {
  padding: 11px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.78);
  color: rgba(15, 23, 26, 0.72);
  font-weight: 800;
}

.compliance {
  margin-top: 36px;
  margin-bottom: 58px;
  background: rgba(255, 255, 255, 0.58);
}

.site-footer {
  padding: 26px 0 38px;
  color: rgba(15, 23, 26, 0.58);
  font-weight: 700;
}

.document {
  max-width: 860px;
  margin: 52px auto 72px;
  border-radius: 28px;
  padding: clamp(24px, 5vw, 46px);
}

.document h1 {
  font-size: clamp(2.4rem, 6vw, 4.4rem);
}

.document h2 {
  margin-top: 34px;
  font-size: 1.5rem;
}

.document h3 {
  margin-top: 22px;
}

.document ul {
  padding-left: 1.2rem;
}

.not-found {
  text-align: center;
}

@media (max-width: 840px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero,
  .split,
  .compliance,
  .mode-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 38px;
    gap: 28px;
  }

  .phone-card {
    min-height: 470px;
  }

  .game-orb {
    right: 18px;
    bottom: 88px;
    transform: scale(0.82);
    transform-origin: bottom right;
  }
}

@media (max-width: 520px) {
  main,
  .site-header,
  .site-footer {
    width: min(100% - 28px, 1120px);
  }

  nav,
  .site-footer div {
    gap: 12px;
  }

  .hero {
    padding-bottom: 48px;
  }

  .button {
    width: 100%;
  }
}
