:root {
  --primary: #E97A8A;
  --secondary: #050505;
  --accent: #E97A8A;
  --bg: #fffbea;
  --text: #222;
  --muted: #f0f0f0;
  --radius: 18px;
}

/* 全屏背景图片 - 固定在页面底层，不跟随滚动 */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: url('image/bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  z-index: -1;
  opacity: 0.2;
}

* { ß
  box-sizing: border-box; 
}

body {
  margin: 0;
  font-family: 'Nunito', Arial, sans-serif;
  background: transparent; /* 改为透明，让背景图片显示 */
  color: var(--text);
  line-height: 1.6;
  position: relative;
}

header {
  background: linear-gradient(120deg, rgba(233, 122, 138, 0.9) 60px, rgba(233, 122, 138, 0.7) 100%);
  padding: 32px 0 24px 0;
  text-align: center;
  position: relative;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.logo {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.8rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: 2px;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.2);
  margin-bottom: 8px;
}

nav {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-top: 12px;
  flex-wrap: wrap;
}

nav a {
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  font-size: 1.1rem;
  padding: 8px 16px;
  border-radius: var(--radius);
  transition: all 0.3s ease;
}

nav a.active, nav a:hover {
  background: rgba(255,255,255,0.2);
  transform: translateY(-2px);
}

main {
  max-width: 1000px;
  margin: 0 auto;
  padding: 32px 16px 80px 16px;
}

section {
  margin-bottom: 48px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  padding: 32px 24px;
  transition: transform 0.3s ease;
}

section:hover {
  transform: translateY(-5px);
}

.banner {
  background: linear-gradient(120deg, #E97A8A 60%, #E97A8A 100%);
  color: #fff;
  border-radius: var(--radius);
  text-align: center;
  padding: 50px 20px 40px 20px;
  margin-bottom: 32px;
  position: relative;
  overflow: hidden;
}

.banner::before {
  content: "";
  position: absolute;
  left: -60px; 
  top: -60px;
  width: 180px; 
  height: 180px;
  background: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iOTYiIGhlaWdodD0iOTYiIHZpZXdCb3g9IjAgMCA5NiA5NiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTQ4IDg4Qzc0LjUwOTcgODggOTYgNjYuNTA5NyA5NiA0OEM5NiAyMS40OTAzIDc0LjUwOTcgMCA0OCAwQzIxLjQ5MDMgMCAwIDIxLjQ5MDMgMCA0OEMwIDc0LjUwOTcgMjEuNDkwMyA4OCA0OCA4OFoiIGZpbGw9IiNGRkYiIG9wYWNpdHk9IjAuMSIvPgo8L3N2Zz4K') no-repeat center/contain;
  opacity: 0.15;
  z-index: 0;
}

.banner h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.5rem;
  font-weight: 900;
  margin: 0 0 15px 0;
  letter-spacing: 1px;
  z-index: 1;
  position: relative;
}

.banner p {
  font-size: 1.2rem;
  margin-bottom: 20px;
  z-index: 1;
  position: relative;
  opacity: 0.95;
}

.download-btns {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
  z-index: 1;
  position: relative;
  flex-wrap: wrap;
}

.download-btns a {
  background: #fff;
  color: var(--primary);
  font-weight: 700;
  padding: 12px 24px;
  border-radius: var(--radius);
  text-decoration: none;
  font-size: 1rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.download-btns a:hover {
  background: var(--secondary);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.features, .advantages {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.feature, .advantage {
  background: var(--muted);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.feature:hover, .advantage:hover {
  background: #fff;
  border-color: var(--primary);
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.feature img, .advantage img {
  width: 48px; 
  height: 48px; 
  margin-bottom: 12px;
}

.feature h3, .advantage h3 {
  margin: 0 0 10px 0;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--secondary);
}

.feature p, .advantage p {
  margin: 0;
  color: #666;
  line-height: 1.5;
}

/* App Screenshots Section */
.app-screenshots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.screenshot-item {
  text-align: center;
}

.phone-mockup {
  background: linear-gradient(145deg, #f0f0f0, #ffffff);
  border-radius: 25px;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  margin-bottom: 15px;
  position: relative;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-mockup::before {
  content: "📱";
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.5rem;
}

.screen-content {
  text-align: center;
  padding: 20px;
}

.screen-content h4 {
  color: var(--secondary);
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.screen-content p {
  color: #666;
  font-size: 0.9rem;
  line-height: 1.4;
}

.testimonials {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 24px;
}

.testimonial {
  background: var(--muted);
  border-radius: var(--radius);
  padding: 20px 18px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: all 0.3s ease;
}

.testimonial:hover {
  background: #fff;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  transform: translateX(5px);
}

.testimonial-avatar {
  width: 50px; 
  height: 50px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-weight: 900;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.testimonial-content {
  flex: 1;
}

.stars {
  color: #f7b731;
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.testimonial-content p {
  margin: 0 0 8px 0;
  font-style: italic;
  color: #555;
}

.testimonial-content strong {
  color: var(--secondary);
  font-size: 0.9rem;
}

.guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.guide-step {
  background: var(--muted);
  border-radius: var(--radius);
  padding: 20px 16px;
  text-align: center;
  transition: all 0.3s ease;
}

.guide-step:hover {
  background: #fff;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  transform: translateY(-5px);
}

.guide-step img {
  width: 36px; 
  height: 36px; 
  margin-bottom: 12px;
}

.guide-step h4 {
  color: var(--secondary);
  margin: 0 0 8px 0;
  font-size: 1.1rem;
}

.guide-step p {
  margin: 0;
  color: #666;
  font-size: 0.9rem;
  line-height: 1.4;
}

.bottom-nav {
  position: fixed;
  left: 0; 
  right: 0; 
  bottom: 0;
  background: #fff;
  border-top: 1px solid #eee;
  display: flex;
  justify-content: center;
  gap: 32px;
  padding: 12px 0;
  z-index: 100;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

.bottom-nav a {
  color: var(--secondary);
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  padding: 8px 12px;
  border-radius: var(--radius);
  transition: all 0.3s ease;
}

.bottom-nav a.active, .bottom-nav a:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 500px;
  margin: 24px auto 0;
}

.contact-form input, .contact-form textarea, .contact-form select {
  padding: 12px 16px;
  border-radius: var(--radius);
  border: 2px solid #ddd;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.3s ease;
}

.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus {
  outline: none;
  border-color: var(--primary);
}

.contact-form button {
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  border: none;
  border-radius: var(--radius);
  padding: 12px 0;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.contact-form button:hover {
  background: var(--secondary);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.agreement-text {
  max-height: 400px;
  overflow-y: auto;
  background: var(--muted);
  padding: 24px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  margin-top: 20px;
  line-height: 1.6;
  border: 1px solid #e0e0e0;
}

.agreement-text strong {
  color: var(--secondary);
  display: block;
  margin-top: 16px;
}

.agreement-text:first-child strong {
  margin-top: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .logo {
    font-size: 2.2rem;
  }
  
  nav {
    gap: 16px;
  }
  
  nav a {
    gap: 16px;
    font-size: 1rem;
    padding: 6px 12px;
  }
  
  main { 
    padding: 20px 12px 80px 12px; 
  }
  
  section { 
    padding: 24px 16px; 
  }
  
  .banner h1 {
    font-size: 2rem;
  }
  
  .banner p {
    font-size: 1.1rem;
  }
  
  .download-btns {
    flex-direction: column;
    align-items: center;
  }
  
  .download-btns a {
    width: 100%;
    max-width: 250px;
    justify-content: center;
  }
  
  .features, .advantages {
    grid-template-columns: 1fr;
  }
  
  .app-screenshots {
    grid-template-columns: 1fr;
  }
  
  .guide-steps {
    grid-template-columns: 1fr;
  }
  
  .bottom-nav {
    gap: 16px;
    padding: 10px 8px;
  }
  
  .bottom-nav a {
    font-size: 0.9rem;
    padding: 6px 8px;
  }
}

@media (max-width: 480px) {
  .logo {
    font-size: 1.8rem;
  }
  
  nav {
    gap: 12px;
  }
  
  nav a {
    font-size: 0.9rem;
    padding: 4px 8px;
  }
  
  .banner h1 {
    font-size: 1.7rem;
  }
  
  .banner p {
    font-size: 1rem;
  }
  
  .bottom-nav {
    gap: 8px;
  }
  
  .bottom-nav a {
    font-size: 0.8rem;
    padding: 4px 6px;
  }
}