* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #f4f4f4;
}

header {
    background-color: #333;
    color: #fff;
    padding: 20px 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header nav ul {
    list-style: none;
    display: flex;
}

header nav ul li {
    margin-left: 20px;
}

header nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

#hero {
    background: url('https://via.placeholder.com/1500x800') no-repeat center center/cover;
    color: white;
    padding: 100px 0;
    text-align: center;
}

#hero h2 {
    font-size: 3rem;
}

#hero .cta-btn {
    background-color: #4CAF50;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    font-size: 1.2rem;
    border-radius: 5px;
}

#features, #pricing, #about, #contact {
    padding: 40px 0;
    text-align: center;
}

.container {
    width: 80%;
    margin: 0 auto;
}

.feature-item {
    margin: 20px;
}

.pricing-plan {
    display: inline-block;
    margin: 20px;
    padding: 20px;
    border: 2px solid #ddd;
    border-radius: 5px;
    width: 200px;
}

footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 10px;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #f4f4f4;
}

header {
    background-color: #333;
    color: #fff;
    padding: 20px 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header nav ul {
    list-style: none;
    display: flex;
}

header nav ul li {
    margin-left: 20px;
}

header nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

#hero {
    background: url('https://via.placeholder.com/1500x800') no-repeat center center/cover;
    color: white;
    padding: 100px 0;
    text-align: center;
}

#hero h2 {
    font-size: 3rem;
}

#hero .cta-btn {
    background-color: #4CAF50;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    font-size: 1.2rem;
    border-radius: 5px;
}

#features, #pricing, #about, #contact {
    padding: 40px 0;
    text-align: center;
}

.container {
    width: 80%;
    margin: 0 auto;
}

.feature-item {
    margin: 20px;
}

.pricing-plan {
    display: inline-block;
    margin: 20px;
    padding: 20px;
    border: 2px solid #ddd;
    border-radius: 5px;
    width: 200px;
}

footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 10px;
}

footer a {
    color: #1e90ff;  /* 链接的颜色，蓝色 */
    text-decoration: none;  /* 去掉下划线 */
    font-weight: bold;  /* 让链接文字加粗 */
}

footer a:hover {
    text-decoration: underline;  /* 悬停时显示下划线 */
}


/* 整个 section 的背景色 */
#features {
    width: 100%;
    padding-left: 0;
    padding-right: 0;
}

/* 每个版块之间的间隔 */
.feature-item {
    margin-bottom: 40px;  /* 增加版块之间的间距 */
    padding: 20px;
    border-radius: 8px;
    margin-left: 0;
    margin-right: 0;
}

/* 实时反馈版块背景色 */
.real-time-feedback {
    background-color: #f4f4f4;  /* 浅灰色背景 */
    padding-left: 20px;
    padding-right: 20px;
}

/* 数据分析版块背景色 */
.data-analysis {
    background-color: #e0f7fa;  /* 浅蓝色背景 */
    padding-left: 20px;
    padding-right: 20px;
}

/* 个性化训练版块背景色 */
.personalized-training {
    background-color: #3d3c3a;  /* 浅橙色背景 */
    padding-left: 20px;
    padding-right: 20px;
}

/* 图片和文字容器 */
.feature-images {
    display: flex;
    justify-content: space-between;
    gap: 30px;  /* 图片之间的间距 */
    margin-top: 15px;
}

.image-text {
    text-align: center;
    width: 30%;  /* 每个容器宽度占30% */
}

.image-text img {
    width: 100%;  /* 图片宽度为100%，自适应容器 */
    max-width: 400px;  /* 限制最大宽度为400px */
    height: auto;  /* 高度自适应，保持比例 */
    object-fit: cover;  /* 确保图片按比例裁剪 */
    border-radius: 8px;  /* 图片边角圆润 */
    margin-bottom: 15px;  /* 图片与文字之间的间距 */
}

.image-text p {
    font-size: 1rem;
    color: #f7f1f1;  /* 文字颜色 */
    margin-top: 10px;  /* 文字与图片之间的间距 */
}

/* 视频容器 */
.video-container {
    margin-top: 20px;  /* 视频与上方内容的间距 */
    margin-bottom: 20px;  /* 视频与下方内容的间距 */
    border-radius: 8px;  /* 圆润视频容器 */
    overflow: hidden;  /* 确保视频内容不超出容器 */
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);  /* 给视频容器添加阴影 */
}

video {
    width: 100%;  /* 视频宽度占满父容器 */
    height: auto;  /* 高度自适应，保持比例 */
    border-radius: 8px;  /* 视频播放器边角圆润 */
}

/* footer 样式 */
footer {
    text-align: center;
    padding: 20px;
    background-color: #333;
    color: white;
    margin-top: 30px;
}

footer p {
    font-size: 0.9rem;
}

footer p:first-child {
    margin-bottom: 10px;
}

footer p:last-child {
    font-size: 0.8rem;
}

section {
    background-color: #333;
    color: #fff;
    padding: 20px 0;
}

header .feature-item real-time-feedback {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
/* 悬浮窗口的基础样式 */
.floating-window {
    position: fixed; /* 固定在视口位置 */
    width: 200px; /* 窗口宽度 */
    height: 450px; /* 窗口高度 */
    background-color: rgba(0, 0, 0, 0.7); /* 背景颜色 */
    color: white; /* 文字颜色 */
    padding: 15px;
    border-radius: 10px; /* 圆角 */
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3); /* 阴影效果 */
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    z-index: 999; /* 确保悬浮窗口位于其它内容之上 */
}

/* 左侧悬浮窗口 */
.left-window {
    left: 5px; /* 距离左边20px */
    top: 50%; /* 垂直居中 */
    transform: translateY(-50%); /* 精确垂直居中 */
}

/* 右侧悬浮窗口 */
.right-window {
    right: 5px; /* 距离右边20px */
    top: 50%; /* 垂直居中 */
    transform: translateY(-50%); /* 精确垂直居中 */
}

/* footer 样式 */
footer {
    text-align: center;
    padding: 20px;
    background-color: #333;
    color: white;
    margin-top: 30px;
}

footer p {
    font-size: 0.9rem;
}

footer p:first-child {
    margin-bottom: 10px;
}

footer p:last-child {
    font-size: 0.8rem;
}

footer a {
    color: #1e90ff;  /* 链接的颜色，蓝色 */
    text-decoration: none;  /* 去掉下划线 */
    font-weight: bold;  /* 让链接文字加粗 */
}

footer a:hover {
    text-decoration: underline;  /* 悬停时显示下划线 */
}

/* ===== Hero Section 样式 ===== */
#hero {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60px 20px;
}

.hero-text {
  text-align: center;
  background: #f8f9fa;
  border-radius: 16px;
  max-width: 480px;
  width: 100%;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  padding: 40px 24px;
}

.hero-desc {
  color: #555;
  line-height: 1.6;
  font-size: 1.1em;
}

/* ===== 下载按钮 ===== */
.download-buttons {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.btn {
  display: inline-block;
  padding: 16px 36px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background 0.3s ease, transform 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.android-btn {
  background: #007bff;
  color: #fff;
}

.android-btn:hover {
  background: #005ec2;
}

.harmony-btn {
  background: #00b894;
  color: #fff;
}

.harmony-btn:hover {
  background: #009973;
}

/* ===== 安装提示 & 版权信息 ===== */
.install-tip {
  margin-top: 25px;
  font-size: 0.95em;
  color: #888;
  line-height: 1.6;
}

.copyright {
  margin-top: 10px;
  font-size: 0.85em;
  color: #aaa;
}

/* ===== 弹窗样式 ===== */
.popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.popup-content {
  background: #fff;
  padding: 24px 32px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  max-width: 300px;
}

.popup-content p {
  color: #333;
  font-size: 1.05em;
  margin-bottom: 16px;
}

.popup-btn {
  background: #007bff;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px 24px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1em;
  transition: background 0.3s;
}

.popup-btn:hover {
  background: #005ec2;