:root {
  --blue: #059ee3;
  --blue-deep: #0277b8;
  --yellow: #ffde59;
  --pink: #ff7bac;
  --ink: #333333;
  --soft: #666666;
  --white: #ffffff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  min-height: 100vh;
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  background: linear-gradient(135deg, #7fd4fa 0%, #059ee3 100%);
  color: var(--ink);
  display: flex;
  justify-content: center;
  padding: 5vh 24px;
  border: 6px solid var(--yellow);
  outline: 3px solid var(--pink);
  outline-offset: -9px;
  letter-spacing: 0;
}

img,
svg {
  display: block;
}

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

.page {
  width: 100%;
  max-width: 520px;
  margin: auto;
}

.card {
  width: 100%;
  background: rgba(255, 255, 255, 0.98);
  border-radius: 24px;
  padding: 32px 26px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 22px 60px rgba(2, 63, 94, 0.28);
  position: relative;
  z-index: 1;
}

.header {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logo {
  width: 124px;
  height: 124px;
  object-fit: cover;
  border-radius: 22px;
  border: 4px solid var(--blue);
  box-shadow: 0 6px 0 #026fa0;
  background: var(--white);
  margin-bottom: 18px;
}

h1 {
  color: var(--blue);
  font-size: 30px;
  line-height: 1.25;
  text-shadow: 2px 2px 0 var(--yellow);
  margin-bottom: 10px;
  letter-spacing: 0;
}

.tagline {
  color: var(--soft);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 8px;
}

.bubble {
  position: relative;
  width: 100%;
  background: var(--white);
  border: 3px solid var(--blue);
  border-radius: 18px;
  padding: 14px 16px;
  margin: 14px 0 4px;
}

.bubble::after {
  content: "";
  position: absolute;
  bottom: -14px;
  left: 50%;
  transform: translateX(-50%);
  border: 7px solid transparent;
  border-top-color: var(--blue);
}

.bubble p {
  font-size: 14px;
  line-height: 1.8;
  color: #444;
}

.features {
  width: 100%;
  display: flex;
  justify-content: space-around;
  margin-top: 22px;
}

.feature {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 8px 4px;
}

.feature svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: var(--pink);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature span {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}

.buttons {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 8px;
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 64px;
  padding: 12px 18px;
  border-radius: 999px;
  color: var(--white);
  font-weight: 700;
  box-shadow: 0 6px 0 rgba(0, 0, 0, 0.22);
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn:active {
  transform: translateY(3px);
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.22);
}

.btn svg {
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.35;
  min-width: 0;
}

.btn-text strong {
  font-size: 17px;
  white-space: nowrap;
}

.btn-text small {
  font-size: 12px;
  opacity: 0.92;
  white-space: nowrap;
}

.btn-dark {
  background: linear-gradient(to right, #2b2b33, #000000);
}

.btn-green {
  background: linear-gradient(to right, #37d983, #1f9d52);
}

.btn-pink {
  background: linear-gradient(to right, #ff8ab5, #e91e63);
}

.note {
  margin-top: 6px;
  padding: 12px 14px;
  border: 2px dashed var(--yellow);
  border-radius: 14px;
  background: rgba(255, 222, 89, 0.12);
}

.note p {
  font-size: 12px;
  line-height: 1.7;
  color: #777;
}

.footer {
  color: #999;
  font-size: 13px;
  line-height: 1.8;
  padding-top: 16px;
  border-top: 2px dashed var(--yellow);
  margin-top: 12px;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

.footer-links a {
  color: var(--blue);
  font-size: 13px;
  padding: 4px 8px;
}

.footer-links a:hover {
  color: var(--pink);
}

/* 手机端全白背景，和参考站一致 */
@media (max-width: 768px) {
  body {
    background: var(--white);
    border: none;
    outline: none;
    padding: 0;
    display: block;
  }

  .page {
    max-width: none;
  }

  .card {
    min-height: 100vh;
    border-radius: 0;
    box-shadow: none;
    padding: 28px 20px 20px;
  }
}

/* 小屏手机适当收缩 */
@media (max-width: 400px) {
  .logo {
    width: 104px;
    height: 104px;
    border-radius: 18px;
  }

  h1 {
    font-size: 26px;
  }

  .tagline {
    font-size: 14px;
  }

  .btn {
    gap: 10px;
    padding: 12px 14px;
    min-height: 60px;
  }

  .btn svg {
    width: 22px;
    height: 22px;
  }

  .btn-text strong {
    font-size: 15px;
  }

  .btn-text small {
    font-size: 11px;
  }
}
