  /* Reset */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    background: #000;
    color: #fff;
    overflow-x: hidden;
    font-family: "Segoe UI", sans-serif;
}
a { color: inherit; text-decoration: none; }

/* Header */
header {
    position: fixed; top: 0; left: 0; width: 100%;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(8px);
    padding: 15px 30px;
    display: flex; justify-content: space-between; align-items: center;
    z-index: 3;
}
.logo {
    font-size: 1.6rem; font-weight: bold; color: #fff;
    opacity: 0;
}
.logo.in-view {
    animation: logoFadeIn 1.2s ease-in-out forwards;
}
nav a {
    margin: 0 15px; font-weight: 500; position: relative;
    transition: color .3s;
}
nav a::after {
    content: ""; position: absolute; left: 0; bottom: -4px;
    width: 0; height: 2px; background: #C1EE01;
    transition: width .3s;
}
nav a:hover::after { width: 100%; }

/* Hero Section */
.hero {
    position: relative; height: 100vh;
    display: flex; align-items: center; justify-content: center;
    text-align: center; background: url('https://modelcycling.oss-cn-shenzhen.aliyuncs.com/tmcycling%E5%AE%98%E7%BD%91/cycling-2686733.jpg') center/cover no-repeat;
    animation: backgroundFade 15s infinite alternate;
    overflow: hidden;
}
.hero::after {
    content: ''; position: absolute; top: 0; left: 0;
    width: 100%; height: 100%; background: rgba(0,0,0,0.6);
}
.hero-content { position: relative; z-index: 2;  padding: 0 20px; }
.hero h1 {
    font-size: 3rem; margin-bottom: 20px;
    opacity: 0; transform: translateX(-50px);
}
.hero h1.in-view {
    animation: slideInLeft 1s ease-out forwards;
}
.hero p {
    font-size: 1.2rem; margin-bottom: 30px;
    opacity: 0; transform: translateX(50px);
}
.hero p.in-view {
    animation: slideInRight 1s ease-out forwards;
}
.btn {
    display: inline-block; padding: 14px 32px;
    background: #C1EE01; color: #000; font-weight: bold;
    border-radius: 50px; transform: scale(0.9);
}

  .btn1 {
      width: 180px;
      height: 60px;
      border-radius: 0;
      background: url("https://modelcycling.oss-cn-shenzhen.aliyuncs.com/tmcycling%E5%AE%98%E7%BD%91/23.svg") no-repeat center;
      background-size: cover;
  }
  .btn2 {
      width: 201px;
      height: 60px;
      border-radius: 0;
      background: url("https://modelcycling.oss-cn-shenzhen.aliyuncs.com/tmcycling%E5%AE%98%E7%BD%91/google-play-en.png") no-repeat center;
      background-size: cover;
  }
.btn.in-view {
    animation: btnPulse 2s infinite;
}
.btn:hover { transform: scale(1); }


/* Features */
.features {
    padding: 100px 20px; background: #111;
    display: flex; flex-wrap: wrap; justify-content: center; gap: 30px;
}
.feature-card {
    flex: 1 1 280px; background: #222; border-radius: 12px;
    padding: 50px 30px; box-shadow: 0 4px 12px rgba(0,0,0,0.5);
    text-align: center; opacity: 0; transform: translateY(40px);
}
.feature-card.in-view {
    animation: cardIn 1s forwards;
}
.feature-card:nth-child(1).in-view { animation-delay: 0.3s; }
.feature-card:nth-child(2).in-view { animation-delay: 0.6s; }
.feature-card:nth-child(3).in-view { animation-delay: 0.9s; }
.feature-card h3 { margin-bottom: 10px; font-size: 1.4rem; color: #fff; }
.feature-card p  { font-size: 1rem; color: #ccc; }

/* Screenshots */
.screenshots {
    padding: 80px 20px; text-align: center; background: #111;
}
.screenshots h2 {
    font-size: 2rem; margin-bottom: 20px; color: #fff;
}
.screenshots img {
    width: 200px; margin: 10px;
    border-radius: 12px; opacity: 0; transform: scale(0.8);
}
.screenshots img.in-view {
    animation: imgIn 0.8s forwards;
}
.screenshots img:nth-child(2).in-view { animation-delay: 0.3s; }
.screenshots img:nth-child(3).in-view { animation-delay: 0.6s; }
.screenshots img:nth-child(4).in-view { animation-delay: 0.9s; }
.screenshots img:nth-child(5).in-view { animation-delay: 1.2s; }

/* Download Section */
.download {
    padding: 100px 20px; text-align: center; background: #111;
}
.download h2 {
    font-size: 2.4rem; margin-bottom: 15px;
    opacity: 0; transform: translateY(30px);
}
.download h2.in-view {
    animation: slideInUp 1s ease-out forwards;
}
.download p {
    font-size: 1.1rem; margin-bottom: 25px;
    opacity: 0; transform: translateY(30px);
}
.download p.in-view {
    animation: slideInUp 1s ease-out forwards .5s;
}
.download .btn { margin: 0 10px; animation: none; transition: all 0.3s}

/* Footer */
footer {
    background: #000; color: #555; text-align: center;
    padding: 20px 10px; font-size: 0.7rem;
}
footer a { margin: 0 8px; color: #555; transition: all 0.3s }
footer a:hover{
    color: #fff;
}
  #wechatTip{
      display: none;
      position: fixed;
      width: 100%;
      height: 100%;
      top: 0;
      left: 0;
      background-color: rgba(0,0,0,0.6);
      z-index: 3;
  }
  #wechatTip img{
      position: absolute;
      top: 20px;
      right: 30px;
      width: 50%;
  }
  @media screen and (max-width: 1000px) {
      /* 当屏幕宽度 ≤ 800px 时应用的样式 */
      header nav{
          display: none;
      }
      .logo.in-view{
          width: 100%;
          text-align: center;
      }
      .hero-content h1{
          font-size: 26px;
      }

  }
/* Keyframes */
@keyframes slideInLeft   { from { opacity:0;   transform:translateX(-50px); } to { opacity:1; transform:translateX(0); } }
@keyframes slideInRight  { from { opacity:0;   transform:translateX(50px);  } to { opacity:1; transform:translateX(0); } }
@keyframes slideInUp     { from { opacity:0;   transform:translateY(30px); } to { opacity:1; transform:translateY(0); } }
@keyframes btnPulse      { 0%,100% { transform:scale(0.9); } 50% { transform:scale(1); } }
@keyframes ride          { 0% { left:-15%; } 100% { left:105%; } }
@keyframes backgroundFade{ 0% { background-position:0 0; } 100% { background-position:100% 100%; } }
@keyframes cardIn        { to { opacity:1; transform:translateY(0); } }
@keyframes imgIn         { to { opacity:1; transform:scale(1); } }
@keyframes logoFadeIn    { from { opacity:0; } to { opacity:1; } }

