/* ── Animal Password · Landing Page ── */
body {
  background: rgb(125, 195, 149);
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
}

.bg-scroll {
  position: fixed;
  inset: 0;
  background: url('https://animalpassword.s3.bitiful.net/assets/light-green-wallpaper.svg') center center/cover no-repeat, rgb(125, 195, 149);
  z-index: 0;
}

.hero {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  min-height: 100dvh;
  padding: max(60px, calc(40px + env(safe-area-inset-top))) max(40px, env(safe-area-inset-right)) max(60px, calc(40px + env(safe-area-inset-bottom))) max(40px, env(safe-area-inset-left));
  text-align: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  max-width: 700px;
}

.hero h1 {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  font-size: 60px;
  font-weight: 800;
  line-height: 1.1;
  color: rgb(255, 249, 230);
  text-shadow: rgba(0, 0, 0, 0.4) 0px 4px 1px;
  margin: 0;
  text-align: center;
}

.hero h1 > span {
  display: block;
  width: 100%;
  text-align: center;
}

.hero h1 .version {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  padding: 2px 10px;
  border-radius: 10px;
  background: rgb(230, 249, 246);
  color: rgb(25, 200, 185);
  margin-left: 8px;
  vertical-align: middle;
  text-shadow: none;
}

.hero p {
  font-size: 18px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  max-width: 520px;
}

.hero .btn-start {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 48px;
  font-size: 18px;
  font-weight: 700;
  color: rgb(121, 79, 39);
  background: rgb(255, 249, 230);
  border: none;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 6px 0 0 #bdaea0;
  transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  letter-spacing: 0.02em;
  font-family: inherit;
}

.hero .btn-start:hover {
  box-shadow: 0 8px 0 0 #bdaea0;
  transform: translateY(-2px);
}

.hero .btn-start:active {
  box-shadow: 0 2px 0 0 #bdaea0;
  transform: translateY(2px);
}

.hero .features {
  display: grid;
  grid-template-columns: repeat(4, minmax(136px, 1fr));
  gap: 16px;
  margin-top: 20px;
  width: min(760px, 100%);
}

.security-panel {
  width: min(760px, 100%);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: -18px;
  text-align: left;
}

.security-panel div {
  min-height: 92px;
  padding: 14px 16px;
  border: 1.5px solid rgba(255, 255, 255, 0.62);
  border-radius: 16px;
  background: rgba(255, 249, 230, 0.9);
  box-shadow: 0 4px 16px rgba(61, 52, 40, 0.1);
}

.security-panel strong,
.security-panel span {
  display: block;
}

.security-panel strong {
  color: rgb(121, 79, 39);
  font-size: 14px;
  font-weight: 900;
  margin-bottom: 6px;
}

.security-panel span {
  color: rgb(114, 93, 66);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.55;
}

.hero .feat {
  background:
    radial-gradient(circle, rgba(236, 223, 82, 0.18) 1.5px, transparent 1.5px),
    radial-gradient(circle, rgba(255, 245, 140, 0.12) 1px, transparent 1px),
    #fffde8;
  background-size: 28px 28px, 14px 14px;
  background-position: 0 0, 7px 7px;
  border: 1.5px solid #ecdf52;
  border-radius: 20px;
  padding: 18px 20px;
  min-height: 124px;
  color: #6a5a28;
  text-align: center;
  box-shadow: 0 3px 10px rgba(61, 52, 40, 0.1);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.hero .feat:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(61, 52, 40, 0.14);
}

.hero .feat .f-icon {
  width: 36px;
  height: 36px;
  margin: 0 auto 10px;
  color: #6fba2c;
}

.hero .feat .label {
  font-size: 14px;
  font-weight: 800;
  color: #6a5a28;
}

@media (max-width: 600px) {
  .hero h1 { font-size: 36px; }
  .hero p  { font-size: 15px; }
  .hero .features { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .hero .feat { min-height: 108px; padding: 14px 16px; }
  .security-panel { grid-template-columns: 1fr; margin-top: -16px; }
  .security-panel div { min-height: 0; }
  .hero {
    padding: max(40px, calc(24px + env(safe-area-inset-top))) max(20px, env(safe-area-inset-right)) max(40px, calc(24px + env(safe-area-inset-bottom))) max(20px, env(safe-area-inset-left));
  }
}
