/* 响应式设计样式 */

/* 大屏幕 (1200px及以上) */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

/* 桌面端 (992px-1199px) */
@media (max-width: 1199px) {
  .container {
    max-width: 960px;
  }
  
  h1 {
    font-size: 3rem;
  }
  
  h2 {
    font-size: 2.2rem;
  }
  
  .hero-text h1 {
    font-size: 3rem;
  }
  
  .hero-text h2 {
    font-size: 1.8rem;
  }
  
  .app-screen {
    max-width: 350px;
  }
}

/* 平板端 (768px-991px) */
@media (max-width: 991px) {
  .container {
    max-width: 720px;
  }
  
  section {
    padding: 80px 0;
  }
  
  h1 {
    font-size: 2.7rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .hero-content {
    flex-direction: column;
    text-align: center;
  }
  
  .hero-text {
    max-width: 100%;
    margin-bottom: 40px;
  }
  
  .hero-text h1 {
    font-size: 2.7rem;
  }
  
  .hero-text h2 {
    font-size: 1.6rem;
  }
  
  .hero-btns {
    justify-content: center;
  }
  
  .app-info {
    justify-content: center;
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .tech-content {
    flex-direction: column;
    text-align: center;
  }
  
  .tech-text {
    margin-bottom: 40px;
  }
  
  .tech-list li {
    justify-content: center;
  }
  
  .download-options {
    gap: 20px;
  }
  
  .download-card {
    max-width: 280px;
  }
}

/* 大型手机 (576px-767px) */
@media (max-width: 767px) {
  .container {
    max-width: 540px;
  }
  
  section {
    padding: 60px 0;
  }
  
  .header {
    padding: 15px 0;
  }
  
  .menu-toggle {
    display: block;
    cursor: pointer;
    height: 20px;
    position: relative;
    z-index: 1001;
  }
  
  .menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px 0;
    transition: var(--transition);
  }
  
  .header.scrolled .menu-toggle span {
    background-color: var(--text-dark);
  }
  
  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 250px;
    height: 100vh;
    background: white;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 80px;
    transition: 0.5s;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    z-index: 1000;
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .nav-menu li {
    margin: 15px 0;
    width: 100%;
    text-align: center;
  }
  
  .nav-menu a {
    display: block;
    color: var(--text-dark);
    padding: 10px;
  }
  
  .nav-menu .download-btn {
    margin: 20px auto 0;
    display: inline-block;
  }
  
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .hero-text h1 {
    font-size: 2.5rem;
  }
  
  .hero-text h2 {
    font-size: 1.5rem;
  }
  
  .hero-text p {
    font-size: 1rem;
  }
  
  .app-screen {
    max-width: 300px;
  }
  
  .app-info {
    flex-direction: column;
    gap: 20px;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .screenshot-item {
    flex: 0 0 90%;
    max-width: 90%;
  }
  
  .testimonials-container {
    grid-template-columns: 1fr;
  }
  
  .download-options {
    flex-direction: column;
    align-items: center;
  }
  
  .download-card {
    max-width: 100%;
  }
  
  .download-card.featured {
    transform: scale(1);
    order: -1;
  }
  
  .download-card.featured:hover {
    transform: translateY(-10px);
  }
}

/* 小型手机 (575px及以下) */
@media (max-width: 575px) {
  .container {
    max-width: none;
    padding: 0 15px;
  }
  
  section {
    padding: 50px 0;
  }
  
  h1 {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 1.6rem;
  }
  
  .hero-text h1 {
    font-size: 2.2rem;
  }
  
  .hero-text h2 {
    font-size: 1.3rem;
  }
  
  .hero-text p {
    font-size: 0.95rem;
  }
  
  .hero-btns {
    flex-direction: column;
    gap: 15px;
  }
  
  .btn {
    width: 100%;
  }
  
  .section-header {
    margin-bottom: 40px;
  }
  
  .section-header h2 {
    font-size: 1.6rem;
  }
  
  .feature-card {
    padding: 20px;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
  
  .back-to-top {
    right: 15px;
    bottom: 15px;
    width: 40px;
    height: 40px;
  }
  
  .app-screen {
    max-width: 250px;
  }
  
  .footer {
    padding: 60px 0 20px;
  }
  
  .download-note {
    padding: 12px 20px;
    text-align: center;
    flex-direction: column;
  }
  
  .download-note i {
    margin-right: 0;
    margin-bottom: 5px;
  }
}