*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, sans-serif;
  background-color: #020b15;
  color: #ffffff;
}

.page {
  position: relative;
  min-height: 100vh;
  margin: 0 auto;
  padding: 40px 0 60px;
  background-image: url("images/background.png");
  /* background-size: cover; */
  background-size: 100% 100%;
  background-position: top center;
  overflow: hidden;
}

.bg-gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, rgba(0, 194, 255, 0.3), transparent 60%);
  opacity: 0.8;
  pointer-events: none;
}

.hero {
  position: relative;
  text-align: center;
  z-index: 1;
}

.hero-user {
  margin-bottom: 16px;
}

.hero-avatar {
  width: 120px;
}

.hero-subtitle {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 8px;
}

.green {
  color: #00ff00;
}

.typewriter {
  border-right: 2px solid #00ff00;
  padding-right: 2px;
  white-space: nowrap;
  overflow: hidden;
}

.hero-title {
  font-size: 32px;
  line-height: 1.3;
  font-weight: 800;
  margin-bottom: 24px;
  background: linear-gradient(
    to right,
    #f66f3e 0%,
    #fbc14e 23%,
    #81dbf4 49%,
    #0055ca 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.btn-primary,
.btn-secondary {
  border: none;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  border-radius: 999px;
  transition: transform 0.2s ease, background-color 0.2s ease,
    box-shadow 0.2s ease;
}

.btn-primary {
  padding: 14px 40px;
  background: linear-gradient(90deg, #00c853, #00e676);
  color: #ffffff;
  box-shadow: 0 10px 25px rgba(0, 230, 118, 0.4);
}

.btn-secondary {
  padding: 14px 40px;
  background: #f39800;
  color: #ffffff;
  box-shadow: 0 10px 25px rgba(0, 119, 255, 0.4);
}

.btn-primary:hover,
.btn-secondary:hover {
  background: #ff3b30;
  box-shadow: 0 12px 30px rgba(255, 59, 48, 0.6);
  animation: pulse-button 0.8s ease-in-out infinite;
}

.hero-cta {
  margin-top: 4px;
}

.whatsapp-floating {
  position: fixed;
  right: 60px;
  top: 160px;
  z-index: 5;
  cursor: pointer;
}

.whatsapp-floating img {
  width: 100px;
  height: auto;
  animation: float-whatsapp 2.4s ease-in-out infinite;
}

.tags-section {
  position: relative;
  z-index: 1;
  margin-top: 32px;
}

/* .divider {
  width: 80%;
  height: 2px;
  margin: 0 auto 18px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
} */

.tags {
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.tag {
  text-align: center;
  justify-content: center;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  font-size: 16px;
  font-weight: bold;
  border-bottom: 1px solid #dddddb;
  margin: 0 auto;
  width: 80%;
}

.tag:last-child {
  border-bottom: none;
}

.tag img {
  width: 18px;
  height: 18px;
}

.analysis-section {
  position: relative;
  z-index: 1;
  margin-top: 26px;
  text-align: center;
}

.analysis-title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 18px;
}

.yellow {
  color: #e4e55b;
}

.list-section {
  position: relative;
  z-index: 1;
  width: 820px;
  margin: 32px auto 0;
  font-size: 13px;
  line-height: 1.6;
  color: #5ad9ff;
}

.list-title {
  font-size: 14px;
  font-weight: normal;
  margin-bottom: 10px;
}

.list {
  list-style: disc;
  padding-left: 20px;
  opacity: 0.88;
  list-style-type: none;
  padding-left: 0;
}

.list li {
  font-weight: bold;
  font-size: 16px;
}

.list li .seq {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 18px;
  height: 18px;
  background: #5ad9ff;
  color: #fff;
}

.chart-section {
  position: relative;
  z-index: 1;
  margin-top: 32px;
  display: flex;
  justify-content: center;
}

.chart-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 18px;
  width: 800px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6);
}

.chart-card img {
  width: 100%;
  border-radius: 8px;
}

.join-section {
  position: relative;
  z-index: 1;
  margin-top: 26px;
  text-align: center;
}

.join-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-inline: 32px;
}

.join-cta img {
  width: 22px;
  height: 22px;
}

.stocks-section {
  position: relative;
  z-index: 1;
  width: 820px;
  margin: 28px auto 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.stock-row {
  display: flex;
  gap: 14px;
}

.stock-card {
  flex: 1;
  border-radius: 10px;
  padding: 16px 12px;
  text-align: center;
  background: #1f2b3d;
  border: 1px solid #324055;
}

.stock-name {
  font-size: 16px;
  margin-bottom: 4px;
}

.stock-change {
  font-size: 22px;
  font-weight: 700;
}

.positive .stock-change {
  color: #27d861;
}

.negative .stock-change {
  color: #ff5252;
}

.alert {
  background: #2b0910;
  border-color: rgba(255, 82, 82, 0.5);
}

.alert .stock-name,
.alert .stock-change {
  color: #ff5252;
}

.small {
  font-size: 14px;
}

.bottom-section {
  position: relative;
  z-index: 1;
  margin-top: 30px;
  text-align: center;
}

.bottom-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.bottom-cta img {
  width: 25px;
  margin-right: 14px;
}

/* 移动端适配 */
@media (max-width: 768px) {
  body {
    overflow-x: hidden;
  }

  .page {
    padding: 24px 12px 36px;
    background-size: cover;
  }

  .hero-user {
    margin-bottom: 12px;
  }

  .hero-avatar {
    width: 80px;
  }

  .hero-subtitle {
    font-size: 18px;
  }

  .hero-title {
    font-size: 24px;
    line-height: 1.35;
    padding: 0 8px;
  }

  .btn-primary,
  .btn-secondary {
    font-size: 14px;
    padding: 10px 22px;
  }

  .hero-cta {
    margin-top: 8px;
  }

  .whatsapp-floating {
    right: 16px;
    bottom: 24px;
    top: auto;
  }

  .whatsapp-floating img {
    width: 80px;
  }

  .tags-section {
    margin-top: 20px;
  }

  .tag {
    width: 100%;
    font-size: 14px;
    padding: 10px 8px;
  }

  .analysis-title {
    font-size: 18px;
    padding: 0 16px;
  }

  .list-section {
    width: 100%;
    margin-top: 24px;
    padding: 0 4px;
  }

  .list-title {
    font-size: 13px;
  }

  .list li {
    font-size: 14px;
  }

  .chart-section {
    margin-top: 24px;
  }

  .chart-card {
    width: 100%;
    padding: 12px;
  }

  .stocks-section {
    width: 100%;
    margin-top: 24px;
  }

  .stock-row {
    flex-direction: column;
  }

  .stock-card {
    padding: 14px 10px;
  }

  .stock-name {
    font-size: 14px;
  }

  .stock-change {
    font-size: 18px;
  }

  .bottom-section {
    margin-top: 24px;
  }

  .bottom-cta {
    width: 100%;
    max-width: 360px;
  }
}

/* 按钮持续缩放动画 */
@keyframes pulse-button {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

/* 上下浮动动画 */
@keyframes float-whatsapp {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0);
  }
}

