/* ========================================
   花良AI代聊 - 响应式适配
   ======================================== */

/* Tablet: <= 1024px */
@media (max-width: 1024px) {
  .hero .container { flex-direction: column; text-align: center; padding-top: 40px; }
  .hero-content { order: 1; }
  .hero-content h1 { font-size: 40px; }
  .hero-content p { margin: 0 auto 36px; }
  .hero-buttons { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { order: 2; flex: none; margin-top: 40px; }
  .hero-qr { right: 0; bottom: -10px; }

  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .how-it-works-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }

  .showcase-item, .showcase-item.reverse { flex-direction: column; gap: 40px; }
  .showcase-visual { flex: none; width: 100%; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }

  .cta-box { flex-direction: column; text-align: center; gap: 32px; padding: 40px 32px; }
  .cta-buttons { justify-content: center; }
  .cta-qr-group { justify-content: center; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }

  /* Features page */
  .feature-detail, .feature-detail.reverse { flex-direction: column; gap: 40px; }
  .feature-detail-visual { flex: none; width: 100%; }

  /* Download page */
  .download-qr-area { gap: 32px; }

  /* About page */
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* Mobile: <= 768px */
@media (max-width: 768px) {
  section { padding: 60px 0; }
  .section-header h2 { font-size: 28px; }
  .section-header p { font-size: 16px; }

  /* Navbar */
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.active {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(15,23,42,0.98); backdrop-filter: blur(12px);
    padding: 20px; gap: 16px; border-top: 1px solid rgba(255,255,255,0.1);
  }
  .nav-links.active a { padding: 10px 0; font-size: 16px; }

  /* Hero */
  .hero { min-height: auto; padding: 120px 0 60px; }
  .hero-content h1 { font-size: 32px; }
  .hero-content p { font-size: 16px; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .hero-stats { flex-wrap: wrap; gap: 24px; }
  .hero-stats .stat-num { font-size: 24px; }
  .hero-visual { width: 100%; }
  .hero-phone { width: 220px; height: 440px; }

  /* Features */
  .features-grid { grid-template-columns: 1fr; gap: 16px; }
  .feature-card { padding: 28px 20px; }

  /* How it works */
  .how-it-works-grid { grid-template-columns: 1fr; gap: 32px; }

  /* Stats */
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stats-item .num { font-size: 36px; }

  /* Download CTA */
  .cta-box { padding: 32px 20px; }
  .cta-content h2 { font-size: 24px; }
  .cta-qr-group { flex-direction: column; align-items: center; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }

  /* Page hero */
  .page-hero { padding: 120px 0 60px; }
  .page-hero h1 { font-size: 32px; }

  /* Download page */
  .download-hero { min-height: auto; padding: 120px 0 60px; }
  .download-center h1 { font-size: 32px; }
  .download-qr-area { flex-direction: column; align-items: center; gap: 24px; }
  .download-buttons { flex-direction: column; align-items: center; }
  .screenshots-scroll { gap: 16px; }
  .screenshot-item { flex: 0 0 180px; height: 320px; }
  .req-grid { flex-direction: column; gap: 24px; }

  /* About */
  .values-grid { grid-template-columns: 1fr; gap: 16px; }
}

/* Small Mobile: <= 480px */
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-content h1 { font-size: 28px; }
  .hero-phone { width: 200px; height: 400px; }
  .stats-grid { grid-template-columns: 1fr; }
  .btn { padding: 12px 24px; font-size: 14px; }
}
