/* ========================================
   Telegram 纸飞机安全下载站 - 全局样式
   ======================================== */

/* CSS Reset */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --tg-primary: #0088cc;
  --tg-primary-dark: #006699;
  --tg-primary-light: #e0f2f9;
  --tg-secondary: #34b7f1;
  --tg-bg: #ffffff;
  --tg-bg-alt: #f4f4f5;
  --tg-text: #1a1a1a;
  --tg-text-secondary: #6b7280;
  --tg-text-muted: #9ca3af;
  --tg-border: #e5e7eb;
  --tg-success: #22c55e;
  --tg-warning: #f59e0b;
  --tg-radius: 12px;
  --tg-radius-sm: 8px;
  --tg-shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
  --tg-shadow-lg: 0 10px 25px rgba(0,0,0,0.1), 0 4px 10px rgba(0,0,0,0.04);
  --tg-shadow-xl: 0 20px 40px rgba(0,136,204,0.15);
  --max-width: 1200px;
  --nav-height: 64px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--tg-text);
  background: var(--tg-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--tg-primary);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--tg-primary-dark);
}

/* ========================================
   动画
   ======================================== */

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.animate-fadeInUp {
  animation: fadeInUp 0.6s ease-out forwards;
}

.animate-float {
  animation: float 3s ease-in-out infinite;
}

/* ========================================
   导航栏
   ======================================== */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--tg-border);
  z-index: 1000;
  transition: box-shadow 0.3s;
}

.navbar.scrolled {
  box-shadow: var(--tg-shadow);
}

.navbar-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--tg-text);
}

.navbar-brand svg {
  width: 32px;
  height: 32px;
}

.navbar-nav {
  display: flex;
  gap: 4px;
  list-style: none;
}

.nav-link {
  display: block;
  padding: 8px 16px;
  border-radius: var(--tg-radius-sm);
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--tg-text-secondary);
  transition: all 0.2s;
}

.nav-link:hover {
  background: var(--tg-bg-alt);
  color: var(--tg-text);
}

.nav-link.active {
  background: var(--tg-primary);
  color: white;
}

.nav-link.active:hover {
  background: var(--tg-primary-dark);
  color: white;
}

/* 移动端菜单按钮 */
.navbar-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

/* ========================================
   Hero 区域
   ======================================== */

.hero {
  padding: calc(var(--nav-height) + 60px) 24px 80px;
  background: linear-gradient(135deg, #0088cc 0%, #34b7f1 50%, #00a8e8 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(255,255,255,0.12) 0%, transparent 70%);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.15;
  color: white;
  margin-bottom: 20px;
}

.hero-content h1 span {
  color: rgba(255,255,255,0.85);
}

.hero-content p {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.88);
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-badges {
  display: flex;
  gap: 16px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 100px;
  font-size: 0.875rem;
  color: white;
  font-weight: 500;
}

.hero-badge svg {
  width: 16px;
  height: 16px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-visual-inner {
  width: 320px;
  height: 320px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.hero-visual-inner svg {
  width: 160px;
  height: 160px;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.15));
}

/* ========================================
   按钮
   ======================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--tg-radius-sm);
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}

.btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.btn-primary {
  background: white;
  color: var(--tg-primary);
  box-shadow: var(--tg-shadow);
}

.btn-primary:hover {
  background: #f0f9ff;
  transform: translateY(-1px);
  box-shadow: var(--tg-shadow-lg);
}

.btn-secondary {
  background: rgba(255,255,255,0.15);
  color: white;
  border: 1px solid rgba(255,255,255,0.3);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.25);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--tg-primary);
  border: 2px solid var(--tg-primary);
}

.btn-outline:hover {
  background: var(--tg-primary);
  color: white;
  transform: translateY(-1px);
}

.btn-large {
  padding: 14px 36px;
  font-size: 1.0625rem;
}

.btn-block {
  width: 100%;
}

.btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none !important;
}

/* ========================================
   区块通用
   ======================================== */

.section {
  padding: 80px 24px;
}

.section-alt {
  background: var(--tg-bg-alt);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  background: var(--tg-primary-light);
  color: var(--tg-primary);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 100px;
  margin-bottom: 16px;
}

.section-label svg {
  width: 14px;
  height: 14px;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-desc {
  font-size: 1.0625rem;
  color: var(--tg-text-secondary);
  line-height: 1.7;
}

.section-container {
  max-width: var(--max-width);
  margin: 0 auto;
}

/* ========================================
   特性卡片
   ======================================== */

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-card {
  background: white;
  border: 1px solid var(--tg-border);
  border-radius: var(--tg-radius);
  padding: 32px 24px;
  text-align: center;
  transition: all 0.3s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--tg-shadow-lg);
  border-color: var(--tg-primary);
}

.feature-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  background: var(--tg-primary-light);
  border-radius: var(--tg-radius);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon svg {
  width: 28px;
  height: 28px;
  color: var(--tg-primary);
}

.feature-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 0.9375rem;
  color: var(--tg-text-secondary);
  line-height: 1.6;
}

/* ========================================
   下载卡片
   ======================================== */

.download-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.download-card {
  background: white;
  border: 2px solid var(--tg-border);
  border-radius: var(--tg-radius);
  padding: 36px 28px;
  text-align: center;
  transition: all 0.3s;
  position: relative;
}

.download-card:hover {
  border-color: var(--tg-primary);
  box-shadow: var(--tg-shadow-xl);
  transform: translateY(-4px);
}

.download-card.featured {
  border-color: var(--tg-primary);
  box-shadow: 0 4px 20px rgba(0,136,204,0.12);
}

.download-card .badge-recommended {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 16px;
  background: var(--tg-primary);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 0 0 var(--tg-radius-sm) var(--tg-radius-sm);
}

.download-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  background: var(--tg-primary-light);
  border-radius: var(--tg-radius);
  display: flex;
  align-items: center;
  justify-content: center;
}

.download-icon svg {
  width: 36px;
  height: 36px;
  color: var(--tg-primary);
}

.download-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.download-card .version {
  font-size: 0.875rem;
  color: var(--tg-text-muted);
  margin-bottom: 16px;
}

.download-card .desc {
  font-size: 0.9375rem;
  color: var(--tg-text-secondary);
  margin-bottom: 24px;
  line-height: 1.6;
}

.download-meta {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 24px;
  font-size: 0.8125rem;
  color: var(--tg-text-muted);
}

.download-meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.download-meta svg {
  width: 14px;
  height: 14px;
}

/* ========================================
   平台网格（小）
   ======================================== */

.platform-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.platform-item {
  background: white;
  border: 1px solid var(--tg-border);
  border-radius: var(--tg-radius-sm);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.2s;
}

.platform-item:hover {
  border-color: var(--tg-primary);
  box-shadow: var(--tg-shadow);
}

.platform-item svg {
  width: 28px;
  height: 28px;
  color: var(--tg-primary);
  flex-shrink: 0;
}

.platform-item span {
  font-weight: 600;
  font-size: 0.9375rem;
}

/* ========================================
   用户评价
   ======================================== */

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.review-card {
  background: white;
  border: 1px solid var(--tg-border);
  border-radius: var(--tg-radius);
  padding: 28px;
  transition: all 0.3s;
}

.review-card:hover {
  box-shadow: var(--tg-shadow-lg);
  transform: translateY(-2px);
}

.review-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 14px;
}

.review-stars svg {
  width: 18px;
  height: 18px;
  color: var(--tg-warning);
  fill: currentColor;
}

.review-text {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--tg-text);
  margin-bottom: 16px;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--tg-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--tg-primary);
  font-size: 0.875rem;
  flex-shrink: 0;
}

.review-author-info {
  display: flex;
  flex-direction: column;
}

.review-author-name {
  font-weight: 700;
  font-size: 0.9375rem;
}

.review-author-role {
  font-size: 0.8125rem;
  color: var(--tg-text-muted);
}

/* ========================================
   FAQ
   ======================================== */

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: white;
  border: 1px solid var(--tg-border);
  border-radius: var(--tg-radius);
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: inherit;
  color: var(--tg-text);
}

.faq-question:hover {
  background: var(--tg-bg-alt);
}

.faq-question svg {
  width: 20px;
  height: 20px;
  color: var(--tg-primary);
  transition: transform 0.3s;
  flex-shrink: 0;
}

.faq-item.active .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 24px 20px;
}

.faq-answer p {
  color: var(--tg-text-secondary);
  line-height: 1.7;
  font-size: 0.9375rem;
}

.faq-answer a {
  color: var(--tg-primary);
  text-decoration: underline;
}

/* ========================================
   CTA 区域
   ======================================== */

.cta-section {
  padding: 80px 24px;
  background: linear-gradient(135deg, var(--tg-primary) 0%, var(--tg-secondary) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-section::after {
  content: '';
  position: absolute;
  bottom: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
}

.cta-section h2 {
  font-size: 2.25rem;
  font-weight: 800;
  color: white;
  margin-bottom: 16px;
}

.cta-section p {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.88);
  margin-bottom: 32px;
}

/* ========================================
   SEO 内容区块
   ======================================== */

.content-section {
  padding: 60px 24px;
}

.content-block {
  max-width: 800px;
  margin: 0 auto 48px;
}

.content-block h2 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.content-block h2 svg {
  width: 28px;
  height: 28px;
  color: var(--tg-primary);
  flex-shrink: 0;
}

.content-block h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 24px 0 12px;
  color: var(--tg-text);
}

.content-block p {
  font-size: 1rem;
  color: var(--tg-text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}

.content-block ul, .content-block ol {
  margin: 0 0 16px 20px;
  color: var(--tg-text-secondary);
  line-height: 1.8;
}

.content-block li {
  margin-bottom: 8px;
}

.content-block strong {
  color: var(--tg-text);
  font-weight: 600;
}

/* 对比表格 */

.compare-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 0.9375rem;
}

.compare-table th,
.compare-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--tg-border);
}

.compare-table th {
  font-weight: 700;
  background: var(--tg-bg-alt);
  color: var(--tg-text);
}

.compare-table td {
  color: var(--tg-text-secondary);
}

.compare-table tr:hover td {
  background: var(--tg-bg-alt);
}

.compare-table .check svg {
  width: 20px;
  height: 20px;
  color: var(--tg-success);
}

.compare-table .cross svg {
  width: 20px;
  height: 20px;
  color: #ef4444;
}

/* 版本日志 */

.changelog-item {
  display: flex;
  gap: 20px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--tg-border);
}

.changelog-item:last-child {
  border-bottom: none;
}

.changelog-version {
  flex-shrink: 0;
  width: 80px;
}

.changelog-version .ver-tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--tg-primary);
  color: white;
  font-weight: 700;
  font-size: 0.875rem;
  border-radius: var(--tg-radius-sm);
}

.changelog-version .ver-date {
  font-size: 0.8125rem;
  color: var(--tg-text-muted);
  margin-top: 4px;
}

.changelog-content h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.changelog-content p {
  font-size: 0.9375rem;
  color: var(--tg-text-secondary);
  line-height: 1.7;
}

.changelog-content ul {
  margin: 8px 0 0 18px;
  color: var(--tg-text-secondary);
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* 技巧网格 */

.tips-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.tip-card {
  background: white;
  border: 1px solid var(--tg-border);
  border-radius: var(--tg-radius);
  padding: 24px;
  transition: all 0.2s;
}

.tip-card:hover {
  border-color: var(--tg-primary);
  box-shadow: var(--tg-shadow);
}

.tip-number {
  width: 36px;
  height: 36px;
  background: var(--tg-primary);
  color: white;
  font-weight: 700;
  border-radius: var(--tg-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  font-size: 0.875rem;
}

.tip-card h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.tip-card p {
  font-size: 0.9375rem;
  color: var(--tg-text-secondary);
  line-height: 1.6;
}

/* ========================================
   页脚
   ======================================== */

.footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 48px 24px 32px;
}

.footer-container {
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.125rem;
  color: white;
  margin-bottom: 12px;
}

.footer-brand svg {
  width: 28px;
  height: 28px;
}

.footer-desc {
  font-size: 0.875rem;
  line-height: 1.7;
  color: #94a3b8;
}

.footer-col h4 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: white;
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #94a3b8;
  font-size: 0.875rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 24px;
  text-align: center;
}

.footer-safe {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: #1e293b;
  border-radius: var(--tg-radius-sm);
  margin-bottom: 16px;
  font-size: 0.875rem;
  color: var(--tg-success);
}

.footer-safe svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.footer-copyright {
  font-size: 0.8125rem;
  color: #64748b;
  line-height: 1.6;
}

/* ========================================
   面包屑
   ======================================== */

.breadcrumb {
  padding: 16px 24px;
  background: var(--tg-bg-alt);
  border-bottom: 1px solid var(--tg-border);
}

.breadcrumb-container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
}

.breadcrumb a {
  color: var(--tg-text-secondary);
}

.breadcrumb a:hover {
  color: var(--tg-primary);
}

.breadcrumb .current {
  color: var(--tg-text-muted);
}

.breadcrumb-separator {
  color: var(--tg-text-muted);
}

/* ========================================
   页面内标题
   ======================================== */

.page-header {
  padding: calc(var(--nav-height) + 40px) 24px 48px;
  background: linear-gradient(135deg, var(--tg-primary) 0%, var(--tg-secondary) 100%);
  text-align: center;
}

.page-header h1 {
  font-size: 2.5rem;
  font-weight: 800;
  color: white;
  margin-bottom: 12px;
}

.page-header p {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.85);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ========================================
   响应式
   ======================================== */

@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --nav-height: 56px;
  }
  
  .navbar-toggle {
    display: block;
  }
  
  .navbar-nav {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: white;
    border-bottom: 1px solid var(--tg-border);
    padding: 12px 24px;
    flex-direction: column;
    gap: 4px;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    box-shadow: var(--tg-shadow-lg);
  }
  
  .navbar-nav.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .nav-link {
    padding: 12px 16px;
  }
  
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  
  .hero-content h1 {
    font-size: 2.25rem;
  }
  
  .hero-badges {
    justify-content: center;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-visual-inner {
    width: 240px;
    height: 240px;
  }
  
  .hero-visual-inner svg {
    width: 120px;
    height: 120px;
  }
  
  .section {
    padding: 60px 20px;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .features-grid,
  .download-grid,
  .reviews-grid,
  .platform-grid,
  .tips-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .page-header h1 {
    font-size: 1.875rem;
  }
  
  .cta-section h2 {
    font-size: 1.75rem;
  }
  
  .content-block h2 {
    font-size: 1.375rem;
  }
  
  .compare-table {
    font-size: 0.8125rem;
  }
  
  .compare-table th,
  .compare-table td {
    padding: 10px 12px;
  }
  
  .changelog-item {
    flex-direction: column;
    gap: 12px;
  }
  
  .tips-grid {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   辅助类
   ======================================== */

.text-center { text-align: center; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mb-24 { margin-bottom: 24px; }
.hidden { display: none; }

/* 加载状态 */
.loading-pulse {
  animation: pulse 1.5s ease-in-out infinite;
}

/* SEO 辅助 */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
