* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: #f5f7fa;
  color: #333;
  line-height: 1.6;
}

.container {
  max-width: 480px;
  margin: 0 auto;
  background: #fff;
  min-height: 100vh;
  overflow-x: hidden;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 18px;
  color: #1677ff;
}

.logo-wrapper {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-left svg {
  width: 44px;
  height: 44px;
}

.custom-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.nav-right {
  display: flex;
  gap: 12px;
  font-size: 14px;
}

.nav-link {
  color: #666;
  text-decoration: none;
}

.nav-link.active {
  color: #1677ff;
  font-weight: 600;
}

.hero {
  padding: 24px 16px;
  text-align: center;
  background: linear-gradient(180deg, #e6f4ff 0%, #ffffff 100%);
}

.hero-title {
  font-size: 32px;
  color: #1677ff;
  margin-bottom: 8px;
}

.hero-subtitle {
  color: #666;
  font-size: 15px;
  margin-bottom: 20px;
}

.hero-tags {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.hero-tags span {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: #666;
}

.hero-tags svg {
  width: 16px;
  height: 16px;
}

.notice {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f0f6ff;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 12px;
  color: #666;
}

.notice svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.section-title {
  font-size: 18px;
  color: #333;
  margin-bottom: 16px;
  text-align: center;
}

.features, .screenshots, .scenarios, .app-info, .download-section, .install-guide, .faq, .footer {
  padding: 24px 16px;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.feature-card {
  text-align: center;
  background: #fff;
  border-radius: 12px;
  padding: 16px 8px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.feature-icon svg {
  width: 30px;
  height: 30px;
}

.feature-card h3 {
  font-size: 14px;
  margin-bottom: 6px;
}

.feature-card p {
  font-size: 12px;
  color: #888;
}

.screenshot-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.screenshot-card {
  background: linear-gradient(180deg, #1677ff 0%, #0958d9 100%);
  border-radius: 12px;
  padding: 8px;
  color: #fff;
}

.screenshot-mock {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
}

.mock-header {
  background: #e6f4ff;
  padding: 8px;
  font-size: 12px;
  font-weight: 600;
  color: #1677ff;
}

.mock-body {
  padding: 20px 10px;
  font-size: 11px;
  color: #666;
}

.scenario-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.scenario-card {
  background: #fff;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.scenario-info h3 {
  font-size: 15px;
  margin-bottom: 6px;
}

.scenario-info p {
  font-size: 12px;
  color: #888;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}

.info-item {
  background: #f5f7fa;
  border-radius: 8px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.info-item .label {
  font-size: 12px;
  color: #888;
}

.info-item .value {
  font-size: 14px;
  font-weight: 600;
  color: #333;
}

.update-log h3 {
  font-size: 14px;
  margin-bottom: 8px;
}

.update-log-text {
  font-size: 13px;
  color: #666;
  white-space: pre-line;
}

.download-section {
  text-align: center;
}

.download-tip {
  font-size: 12px;
  color: #888;
}

/* 折叠面板样式 */
.accordion-section {
  padding: 24px 16px;
}

.accordion-item {
  background: #fff;
  border-radius: 12px;
  margin-bottom: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  overflow: hidden;
}

.accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  cursor: pointer;
  user-select: none;
}

.accordion-header:active {
  background: #f5f7fa;
}

.accordion-arrow {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
}

.accordion-item.active .accordion-arrow {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 16px;
}

.accordion-item.active .accordion-content {
  padding: 0 16px 16px 16px;
}

/* 固定悬浮下载按钮 */
.fixed-download-wrapper {
  position: fixed;
  bottom: env(safe-area-inset-bottom, 16px);
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  padding: 0 16px 16px 16px;
  z-index: 1000;
}

.download-btn.fixed {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(135deg, #1677ff, #0958d9);
  color: #fff;
  border-radius: 12px;
  padding: 14px 32px;
  text-decoration: none;
  font-size: 18px;
  font-weight: 700;
  width: 100%;
  max-width: 448px;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(22, 119, 255, 0.4);
  transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.download-btn.fixed:active {
  transform: scale(0.98);
  box-shadow: 0 2px 8px rgba(22, 119, 255, 0.3);
}

.download-btn.fixed svg {
  width: 28px;
  height: 28px;
}

.download-btn.fixed small {
  display: block;
  font-size: 12px;
  font-weight: 400;
  opacity: 0.85;
}

/* 增加底部安全间距，避免内容被固定按钮遮挡 */
.footer {
  padding-bottom: 120px !important;
}

.guide-card {
  background: #fff7e6;
  border-radius: 12px;
  padding: 16px;
  border: 1px solid #ffe58f;
}

.guide-card h3 {
  font-size: 15px;
  margin-bottom: 12px;
  color: #874d00;
}

.guide-card ol {
  padding-left: 20px;
  font-size: 13px;
  color: #666;
}

.guide-card li {
  margin-bottom: 8px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: #fff;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.faq-q {
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 8px;
}

.faq-a {
  font-size: 13px;
  color: #666;
}

.footer {
  text-align: center;
  padding-bottom: 40px;
}

.footer-links {
  font-size: 12px;
  margin-bottom: 8px;
}

.footer-links a {
  color: #1677ff;
  text-decoration: none;
}

.footer-links .sep {
  margin: 0 6px;
  color: #999;
}

.copyright {
  font-size: 12px;
  color: #999;
}
