:root {
  --bg-main: #f5f6fa;
  --bg-panel: #ffffff;
  --text-main: #1f2329;
  --text-muted: #646a73;
  --brand: #ff6b00;
  --brand-light: #fff0e6;
  --blue: #2b5aed;
  --blue-light: #eef2ff;
  --green: #00b578;
  --green-light: #e6f7f0;
  --purple: #7a44ff;
  --purple-light: #f3eeff;
  --border: #e4e6eb;
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --shadow: 0 4px 16px rgba(0,0,0,0.06);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 70px;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; }

/* Header & Nav */
.site-header {
  background: var(--bg-panel);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 18px;
  color: var(--text-main);
}
.brand-logo img { height: 32px; width: auto; border-radius: 6px; }
.nav-desktop {
  display: flex;
  gap: 20px;
}
.nav-desktop a {
  font-size: 15px;
  color: var(--text-muted);
  font-weight: 500;
  padding: 4px 0;
  transition: color 0.2s;
  position: relative;
}
.nav-desktop a:hover { color: var(--brand); }
.nav-desktop a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--brand);
  transition: width 0.2s;
  border-radius: 2px;
}
.nav-desktop a:hover::after { width: 100%; }

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  width: 32px;
  height: 32px;
  position: relative;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-main);
  position: absolute;
  left: 4px;
  transition: all 0.3s;
}
.nav-toggle span:nth-child(1) { top: 8px; }
.nav-toggle span:nth-child(2) { top: 15px; }
.nav-toggle span:nth-child(3) { top: 22px; }
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg); top: 15px; }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg); top: 15px; }

.nav-mobile {
  display: none;
  background: var(--bg-panel);
  border-top: 1px solid var(--border);
  padding: 8px 16px 16px;
}
.nav-mobile.active { display: block; }
.nav-mobile a {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
  color: var(--text-main);
}
.nav-mobile a:last-child { border-bottom: none; }

/* Hero Section */
.hero {
  padding: 32px 16px 16px;
  max-width: 1200px;
  margin: 0 auto;
}
.hero-layout {
  display: flex;
  gap: 32px;
  align-items: center;
  justify-content: center;
}
.hero-content { flex: 1; }
.hero-tag {
  display: inline-block;
  background: var(--brand-light);
  color: var(--brand);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
}
.hero h1 {
  font-size: 32px;
  line-height: 1.3;
  margin-bottom: 16px;
  color: var(--text-main);
}
.hero h1 span { color: var(--brand); }
.hero-desc {
  color: var(--text-muted);
  font-size: 16px;
  margin-bottom: 24px;
  line-height: 1.8;
}
.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s;
}
.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 4px 12px rgba(255, 107, 0, 0.3);
}
.btn-primary:hover { background: #e66000; transform: translateY(-1px); }
.btn-outline {
  background: #fff;
  color: var(--text-main);
  border: 1px solid var(--border);
}
.btn-outline:hover { border-color: var(--brand); color: var(--brand); }
.hero-imgs {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
  max-width: 480px;
}
.hero-imgs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
}
.hero-imgs img:nth-child(1) { grid-row: span 2; height: 100%; }
.hero-imgs img:nth-child(2) { height: 100%; }
.hero-imgs img:nth-child(3) { height: 100%; }

/* Marquee */
.marquee-wrap {
  background: #1a1a1a;
  padding: 10px 0;
  overflow: hidden;
  white-space: nowrap;
  margin-top: 24px;
  border-radius: var(--radius-sm);
}
.marquee-text {
  display: inline-block;
  animation: marquee 20s linear infinite;
  font-size: 14px;
  font-weight: 600;
  background: linear-gradient(90deg, #ff6b00, #ff00cc, #00e5ff, #ff6b00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 300% 100%;
  padding-left: 100%;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* Section Common */
.section {
  padding: 40px 16px;
  max-width: 1200px;
  margin: 0 auto;
}
.section-header {
  text-align: center;
  margin-bottom: 32px;
}
.section-header h2 {
  font-size: 26px;
  color: var(--text-main);
  margin-bottom: 8px;
}
.section-header p {
  color: var(--text-muted);
  font-size: 15px;
}

/* Section 1: 每日大赛 */
.daily-bg { background: var(--bg-panel); border-radius: var(--radius-lg); padding: 32px 24px; box-shadow: var(--shadow); }
.daily-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.daily-card {
  background: var(--bg-main);
  padding: 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  transition: transform 0.2s;
}
.daily-card:hover { transform: translateY(-2px); border-color: var(--brand); }
.daily-card h3 { font-size: 16px; margin-bottom: 8px; color: var(--blue); }
.daily-card p { font-size: 13px; color: var(--text-muted); line-height: 1.5; }

/* Section 2: 骑乘挑战大赛 */
.ride-bg { background: var(--blue-light); border-radius: var(--radius-lg); padding: 32px 24px; }
.ride-layout {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}
.ride-img-wrap {
  flex: 0 0 300px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.ride-img-wrap img { width: 100%; height: auto; object-fit: cover; }
.ride-content { flex: 1; }
.ride-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.ride-list li {
  background: #fff;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--text-main);
  border-left: 4px solid var(--blue);
  display: flex;
  align-items: center;
  gap: 8px;
}
.ride-list li::before {
  content: '•';
  color: var(--blue);
  font-weight: bold;
  font-size: 18px;
}

/* Section 3: 校园反差 */
.school-bg { background: var(--green-light); border-radius: var(--radius-lg); padding: 32px 24px; }
.school-layout {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}
.school-content { flex: 1; }
.school-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.school-list li {
  background: #fff;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--text-main);
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.03);
}
.school-list li span:first-child { color: var(--green); font-weight: 600; }
.school-img-wrap {
  flex: 0 0 280px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.school-img-wrap img { width: 100%; height: auto; object-fit: cover; }

/* Section 4: 热门吃瓜 */
.gossip-bg { background: var(--purple-light); border-radius: var(--radius-lg); padding: 32px 24px; }
.gossip-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.gossip-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  gap: 16px;
  box-shadow: var(--shadow);
  border: 1px solid transparent;
  transition: border-color 0.2s;
}
.gossip-card:hover { border-color: var(--purple); }
.gossip-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  flex-shrink: 0;
  object-fit: cover;
  background: var(--purple-light);
}
.gossip-info h3 { font-size: 15px; margin-bottom: 4px; color: var(--text-main); }
.gossip-info p { font-size: 13px; color: var(--text-muted); }
.gossip-info .tag { font-size: 11px; color: var(--purple); font-weight: 600; margin-top: 4px; display: inline-block; }

/* Section 5: 隐私安全 */
.privacy-bg { background: var(--bg-panel); border-radius: var(--radius-lg); padding: 32px 24px; box-shadow: var(--shadow); }
.qa-list { display: flex; flex-direction: column; gap: 12px; }
.qa-item {
  background: var(--bg-main);
  border-radius: var(--radius-sm);
  padding: 16px;
}
.qa-q { font-size: 15px; font-weight: 600; color: var(--text-main); margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.qa-q::before { content: 'Q'; background: var(--brand); color: #fff; font-size: 12px; padding: 2px 6px; border-radius: 4px; }
.qa-a { font-size: 14px; color: var(--text-muted); padding-left: 24px; }

/* Section 6: 意见反馈 */
.feedback-bg { background: #fff3e0; border-radius: var(--radius-lg); padding: 32px 24px; }
.feedback-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.feedback-item {
  background: #fff;
  padding: 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--text-main);
  border-left: 3px solid var(--brand);
}

/* Section 7: 常见问题 */
.faq-bg { background: var(--blue-light); border-radius: var(--radius-lg); padding: 32px 24px; }
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-list li {
  background: #fff;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  display: flex;
  gap: 12px;
}
.faq-list li strong { color: var(--blue); flex-shrink: 0; }

/* Section 8: 下载专区 */
.download-bg {
  background: linear-gradient(135deg, #1f2329 0%, #2d333b 100%);
  border-radius: var(--radius-lg);
  padding: 40px 24px;
  color: #fff;
  text-align: center;
}
.download-bg h2 { font-size: 28px; margin-bottom: 12px; color: #fff; }
.download-bg p { color: #a0a5b0; margin-bottom: 32px; font-size: 15px; }
.download-btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
}
.btn-dark {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 8px;
}
.btn-dark:hover { background: var(--brand); border-color: var(--brand); }
.install-steps {
  display: flex;
  justify-content: center;
  gap: 32px;
  text-align: left;
  max-width: 900px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.step {
  flex: 1;
  min-width: 200px;
  background: rgba(255,255,255,0.05);
  padding: 20px;
  border-radius: var(--radius-md);
}
.step h3 { font-size: 16px; color: var(--brand); margin-bottom: 8px; }
.step p { font-size: 13px; color: #a0a5b0; line-height: 1.5; }

/* Floating Download */
.floating-download {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  border-radius: 30px;
  padding: 8px 20px 8px 8px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 999;
  max-width: 90%;
  border: 1px solid var(--border);
}
.floating-download img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}
.floating-text { flex: 1; overflow: hidden; }
.floating-text .title { font-size: 13px; font-weight: 700; color: var(--text-main); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.floating-text .desc { font-size: 11px; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.floating-download .btn-small {
  background: var(--brand);
  color: #fff;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

/* Footer */
.site-footer {
  background: #1f2329;
  color: #8c929c;
  padding: 32px 16px 24px;
  font-size: 13px;
  margin-top: 40px;
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 24px; margin-bottom: 24px; }
.footer-brand p { margin-top: 8px; max-width: 300px; line-height: 1.6; }
.footer-nav h3 { color: #fff; font-size: 14px; margin-bottom: 12px; }
.footer-nav ul { display: flex; flex-direction: column; gap: 8px; }
.footer-nav a { color: #8c929c; transition: color 0.2s; }
.footer-nav a:hover { color: var(--brand); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  text-align: center;
}
.footer-bottom a { color: #8c929c; }
.footer-bottom time { font-size: 12px; color: #5c626e; }
.about-details {
  margin: 12px 0;
  font-size: 12px;
}
.about-details summary { cursor: pointer; color: #8c929c; outline: none; list-style: none; }
.about-details summary::-webkit-details-marker { display: none; }
.about-content {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.about-content a { color: #8c929c; text-decoration: underline; font-size: 12px; }
.about-content a:hover { color: var(--brand); }

/* Modal */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.modal-overlay.active { display: flex; }
.modal-box {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 24px;
  max-width: 400px;
  width: 100%;
  text-align: center;
}
.modal-box p { font-size: 15px; color: var(--text-main); margin-bottom: 16px; line-height: 1.6; }
.modal-box .copy-link {
  background: var(--bg-main);
  padding: 12px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--blue);
  word-break: break-all;
  margin-bottom: 16px;
  user-select: all;
}
.modal-box button {
  background: var(--brand);
  color: #fff;
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  width: 100%;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero h1 { font-size: 28px; }
  .daily-grid { grid-template-columns: repeat(2, 1fr); }
  .ride-layout { flex-direction: column; }
  .ride-img-wrap { flex: none; width: 100%; max-width: 400px; margin: 0 auto; }
  .school-layout { flex-direction: column; }
  .school-img-wrap { flex: none; width: 100%; max-width: 400px; margin: 0 auto; }
}
@media (max-width: 768px) {
  .nav-desktop { display: none; }
  .nav-toggle { display: block; }
  .hero-layout { flex-direction: column; }
  .hero-imgs { max-width: 100%; }
  .hero-btns { justify-content: center; }
  .hero h1 { font-size: 24px; text-align: center; }
  .hero-tag { display: block; text-align: center; }
  .hero-desc { text-align: center; }
  .daily-grid { grid-template-columns: 1fr; }
  .ride-list { grid-template-columns: 1fr; }
  .gossip-grid { grid-template-columns: 1fr; }
  .feedback-grid { grid-template-columns: 1fr; }
  .footer-top { flex-direction: column; align-items: center; text-align: center; }
  .footer-brand p { margin: 8px auto 0; }
  .footer-nav ul { align-items: center; }
  .install-steps { flex-direction: column; gap: 16px; }
  .floating-download { left: 50%; transform: translateX(-50%); width: calc(100% - 32px); max-width: 400px; }
}