/* ===== 筋斗云 App Store 风格介绍页 ===== */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300;400;500;700;900&display=swap');

:root {
  --primary: #FF6B00;
  --primary-light: #FF8C35;
  --orange: #E8941A;
  --bg: #F2F2F7;
  --card: #FFFFFF;
  --border: #E5E5EA;
  --text-primary: #1C1C1E;
  --text-secondary: #6C6C70;
  --text-muted: #AEAEB2;
  --blue: #007AFF;
  --green: #34C759;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
  --shadow-md: 0 8px 30px rgba(0,0,0,0.12);
  --font: 'Noto Sans SC', 'PingFang SC', 'SF Pro Display', -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ===== NAV ===== */
.app-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  background: rgba(242,242,247,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
.app-nav.scrolled { border-bottom-color: var(--border); }

.app-nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 700;
  font-size: 1rem;
}
.app-nav-logo img { width: 28px; height: 28px; border-radius: 6px; }

.app-nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}
.app-nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s;
}
.app-nav-links a:hover { color: var(--primary); }

.app-nav-dl {
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 50px;
  padding: 8px 20px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font);
  transition: all 0.2s;
  box-shadow: 0 4px 12px rgba(255,107,0,0.3);
}
.app-nav-dl:hover {
  background: var(--primary-light);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(255,107,0,0.4);
}

/* ===== APP HEADER ===== */
.app-header {
  background: var(--card);
  border-bottom: 1px solid var(--border);
  padding-top: 80px;
}
.app-header-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 32px 5% 0;
}

.app-identity {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  margin-bottom: 32px;
}

.app-icon-wrap {
  flex-shrink: 0;
}
.app-icon {
  width: 120px;
  height: 120px;
  border-radius: 26px;
  box-shadow: var(--shadow-md);
  object-fit: cover;
}

.app-meta { flex: 1; }
.app-name {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--text-primary);
  margin-bottom: 4px;
  line-height: 1.2;
}
.app-maker {
  font-size: 0.95rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 12px;
}

.app-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.badge-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255,107,0,0.08);
  border: 1px solid rgba(255,107,0,0.2);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 50px;
}
.badge-item i { font-size: 0.72rem; }

.btn-dl-main {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 50px;
  padding: 12px 32px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font);
  box-shadow: 0 6px 20px rgba(255,107,0,0.35);
  transition: all 0.25s;
}
.btn-dl-main:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(255,107,0,0.45);
  background: var(--primary-light);
}

/* App Stats */
.app-stats-row {
  display: flex;
  border-top: 1px solid var(--border);
  padding: 16px 0 0;
}
.app-stat {
  flex: 1;
  text-align: center;
  padding: 12px 8px;
}
.stat-val {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.2;
}
.stat-stars {
  color: #FF9500;
  font-size: 0.8rem;
  letter-spacing: 2px;
}
.stat-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
}
.stat-lbl {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 2px;
}
.stat-divider {
  width: 1px;
  background: var(--border);
  margin: 8px 0;
}

/* ===== SCREENSHOTS ===== */
.screenshots-section {
  background: var(--card);
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
}
.screenshots-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 5%;
}
.section-label {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--primary);
  display: inline-block;
}

.screenshots-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.screenshots-track::-webkit-scrollbar { display: none; }

.screenshot-item {
  flex-shrink: 0;
  text-align: center;
}
.screenshot-item img {
  width: 200px;
  height: 444px;
  object-fit: cover;
  object-position: top;
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  display: block;
  border: 1px solid var(--border);
}
.screenshot-item p {
  margin-top: 10px;
  font-size: 0.82rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* ===== BODY SECTIONS ===== */
.app-body {
  max-width: 960px;
  margin: 0 auto;
  padding: 32px 5% 60px;
}
.app-body-inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* Description */
.desc-section {}
.desc-text {
  background: var(--card);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.desc-text p {
  color: var(--text-secondary);
  font-size: 0.93rem;
  line-height: 1.75;
  margin-bottom: 20px;
}
.desc-highlights h3 {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 12px;
}
.desc-highlights ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}
.desc-highlights li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.55;
}
.desc-highlights li i {
  color: var(--green);
  font-size: 0.82rem;
  margin-top: 3px;
  flex-shrink: 0;
}
.desc-note {
  background: rgba(255,107,0,0.06);
  border: 1px solid rgba(255,107,0,0.15);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 0.82rem;
  color: var(--text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 20px;
}
.desc-note i { color: var(--primary); margin-top: 2px; flex-shrink: 0; }

.desc-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.desc-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.2s;
}
.desc-links a:hover { opacity: 0.75; }

/* Platforms */
.platforms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px;
}

.platform-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--card);
  border-radius: var(--radius);
  padding: 18px 20px;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: all 0.25s;
  border: 1px solid var(--border);
}
.platform-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(255,107,0,0.25);
  transform: translateY(-2px);
}

.platform-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.platform-icon img { width: 40px; height: 40px; }
.platform-icon.android { background: rgba(61,220,132,0.1); }
.platform-icon.ios { background: rgba(0,0,0,0.06); }
.platform-icon.windows { background: rgba(0,122,255,0.08); }
.platform-icon.macos { background: rgba(100,100,100,0.08); }

.platform-info { flex: 1; }
.platform-info h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2px;
}
.platform-info p {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.platform-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 50px;
  background: rgba(255,107,0,0.1);
  color: var(--primary);
}
.platform-tag.coming-soon { background: rgba(108,108,112,0.1); color: var(--text-muted); }
.platform-tag.secondary { background: rgba(0,122,255,0.1); color: var(--blue); }

.platform-dl-btn {
  flex-shrink: 0;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 50px;
  padding: 8px 18px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font);
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}
.platform-dl-btn:hover { background: var(--primary-light); transform: translateY(-1px); }
.platform-dl-btn.secondary {
  background: rgba(255,107,0,0.1);
  color: var(--primary);
  border: 1px solid rgba(255,107,0,0.3);
}
.platform-dl-btn.secondary:hover { background: rgba(255,107,0,0.18); }
.platform-dl-btn.disabled {
  background: var(--border);
  color: var(--text-muted);
  cursor: default;
}

/* Reviews */
.rating-overview {
  background: var(--card);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 32px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.rating-big {
  text-align: center;
  flex-shrink: 0;
}
.rating-num {
  font-size: 4rem;
  font-weight: 900;
  color: var(--text-primary);
  line-height: 1;
}
.rating-max {
  font-size: 1.2rem;
  color: var(--text-muted);
}
.rating-detail { flex-shrink: 0; }
.rating-stars-big {
  color: #FF9500;
  font-size: 1.4rem;
  letter-spacing: 3px;
  margin-bottom: 4px;
}
.rating-count { font-size: 0.82rem; color: var(--text-muted); }

.rating-bars { flex: 1; min-width: 180px; }
.bar-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 5px;
}
.bar-row span {
  font-size: 0.78rem;
  color: var(--text-muted);
  width: 22px;
  text-align: right;
  flex-shrink: 0;
}
.bar {
  flex: 1;
  height: 5px;
  background: var(--border);
  border-radius: 3px;
  overflow: hidden;
}
.bar-fill {
  height: 100%;
  background: #FF9500;
  border-radius: 3px;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
}
.review-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}
.review-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.reviewer-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--orange));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
  flex-shrink: 0;
}
.reviewer-name { font-size: 0.85rem; font-weight: 700; color: var(--text-primary); }
.review-stars { color: #FF9500; font-size: 0.75rem; letter-spacing: 1.5px; }

.review-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}
.review-body {
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 10px;
}
.review-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Back Link */
.back-link-wrap { text-align: center; }
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  padding: 12px 24px;
  background: rgba(255,107,0,0.06);
  border: 1px solid rgba(255,107,0,0.2);
  border-radius: 50px;
  transition: all 0.2s;
}
.back-link:hover {
  background: rgba(255,107,0,0.12);
  transform: translateX(-2px);
}

/* ===== FOOTER ===== */
.app-footer {
  background: var(--card);
  border-top: 1px solid var(--border);
  padding: 24px 5%;
}
.app-footer-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-primary);
}
.footer-logo img { width: 24px; height: 24px; border-radius: 5px; }
.app-footer p { font-size: 0.8rem; color: var(--text-muted); }
.footer-links { display: flex; gap: 16px; }
.footer-links a {
  font-size: 0.8rem;
  color: var(--primary);
  text-decoration: none;
}
.footer-links a:hover { text-decoration: underline; }

/* ===== FIXED DOWNLOAD BAR (mobile) ===== */
.fixed-dl-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border);
  padding: 12px 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 200;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
}
.fixed-dl-bar.visible { transform: translateY(0); }

.fixed-dl-info {
  display: flex;
  align-items: center;
  gap: 12px;
}
.fixed-dl-info img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  box-shadow: var(--shadow);
}
.fixed-dl-info strong { display: block; font-size: 0.9rem; color: var(--text-primary); }
.fixed-dl-info span { font-size: 0.75rem; color: var(--text-muted); }

.fixed-dl-bar button {
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 50px;
  padding: 10px 24px;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font);
  box-shadow: 0 4px 14px rgba(255,107,0,0.35);
  transition: all 0.2s;
  white-space: nowrap;
}
.fixed-dl-bar button:hover {
  background: var(--primary-light);
  transform: translateY(-1px);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 700px) {
  .app-nav-links a { display: none; }
  .app-identity { flex-direction: column; align-items: center; text-align: center; }
  .app-icon { width: 96px; height: 96px; border-radius: 20px; }
  .app-name { font-size: 1.5rem; }
  .app-badges { justify-content: center; }
  .app-stats-row { overflow-x: auto; }
  .app-stat { min-width: 80px; }
  .screenshot-item img { width: 160px; height: 356px; }
  .rating-overview { gap: 16px; }
  .rating-num { font-size: 3rem; }
  .app-footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
}

@media (max-width: 480px) {
  .platform-card { flex-wrap: wrap; }
  .platform-dl-btn { width: 100%; justify-content: center; margin-top: 8px; }
}
