:root {
  color-scheme: light;
  --page-bg: #edf3ff;
  --page-bg-deep: #f7f9ff;
  --panel-bg: rgba(255, 255, 255, 0.96);
  --text-primary: #2d3e69;
  --text-secondary: #7688a8;
  --line-soft: rgba(78, 102, 146, 0.08);
  --line-mid: rgba(78, 102, 146, 0.1);
  --nav-active: #111111;
  --nav-idle: #9aa7bf;
  --link-accent: #4c78ff;
  --shadow-soft: 0 14px 34px rgba(110, 128, 167, 0.12);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: linear-gradient(180deg, var(--page-bg) 0%, var(--page-bg-deep) 54%, #f7f9ff 100%);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", sans-serif;
  color: var(--text-primary);
}

body {
  display: flex;
  justify-content: center;
  padding: 0;
}

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

.mobile-shell {
  width: 100%;
  max-width: 430px;
  min-height: 100vh;
  min-height: 100svh;
  padding: max(18px, env(safe-area-inset-top)) 28px 148px;
  background: transparent;
}

.status-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 4px 0;
}

.status-time {
  font-size: 20px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #0e1116;
}

.status-icons {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #0f1319;
  font-size: 21px;
}

.hero-block {
  margin-top: 178px;
  text-align: center;
}

.hero-title {
  margin: 0;
  font-size: 34px;
  line-height: 1.26;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

.hero-subtitle {
  margin: 24px 0 0;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 500;
  color: var(--text-secondary);
}

.service-panel {
  margin-top: 184px;
  background: var(--panel-bg);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 28px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.service-card {
  min-height: 168px;
  padding: 0 22px;
  background: transparent;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  align-content: center;
  gap: 14px;
  border-right: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.service-icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #050608;
}

.service-copy {
  font-size: 19px;
  line-height: 1.4;
  font-weight: 600;
  color: var(--text-primary);
}

.service-card:nth-child(2n) {
  border-right: 0;
}

.service-card:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.purchase-note {
  margin: 48px 0 0;
  text-align: center;
  font-size: 16px;
  line-height: 1.5;
  color: #9aa6bc;
}

.purchase-link {
  color: var(--link-accent);
  font-weight: 600;
}

.bottom-nav {
  position: fixed;
  left: 50%;
  bottom: max(14px, env(safe-area-inset-bottom));
  width: 100%;
  max-width: 430px;
  transform: translateX(-50%);
  padding: 12px 12px 14px;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 28px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  backdrop-filter: blur(18px);
  box-shadow: 0 14px 30px rgba(111, 127, 161, 0.14);
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 70px;
  color: var(--nav-idle);
  font-size: 12px;
  font-weight: 500;
}

.nav-item i {
  font-size: 26px;
}

.nav-item.active {
  color: var(--nav-active);
}

@media (max-width: 390px) {
  .mobile-shell {
    padding-right: 18px;
    padding-left: 18px;
  }

  .hero-block {
    margin-top: 152px;
  }

  .hero-title {
    font-size: 30px;
  }

  .service-panel {
    margin-top: 152px;
  }

  .service-card {
    min-height: 144px;
    padding-inline: 18px;
  }

  .service-copy {
    font-size: 17px;
  }
}
