/* 学生任务打卡APP 响应式样式 */

/* 平板设备 (768px 到 1023px) */
@media screen and (max-width: 1023px) {
  .hero-title {
    font-size: 36px;
  }
  
  .hero-subtitle {
    font-size: 16px;
    max-width: 100%;
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .showcase-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  
  .showcase-content {
    padding-right: 0;
    text-align: center;
  }
  
  .showcase-feature {
    justify-content: center;
  }
  
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

/* 移动设备大屏幕 (425px 到 767px) */
@media screen and (max-width: 767px) {
  .mobile-menu-toggle {
    display: block;
  }
  
  .nav {
    position: fixed;
    top: 74px;
    left: 0;
    width: 100%;
    height: 0;
    background-color: #fff;
    overflow: hidden;
    transition: height 0.3s;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    z-index: 999;
  }
  
  .nav.open {
    height: auto;
  }
  
  .nav ul {
    flex-direction: column;
    gap: 0;
    padding: 20px 0;
  }
  
  .nav-link {
    display: block;
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
  }
  
  .hero-content {
    flex-direction: column-reverse;
    text-align: center;
    gap: 30px;
  }
  
  .hero-title {
    font-size: 32px;
  }
  
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .role-grid {
    grid-template-columns: 1fr;
  }
  
  .role-tabs {
    flex-wrap: wrap;
  }
  
  .role-tab {
    flex: 1;
    min-width: 120px;
    margin-bottom: 10px;
    text-align: center;
  }
  
  .phone-frame.parent,
  .phone-frame.student {
    transform: none;
    width: 200px;
    height: 400px;
    margin: 0 -10px;
  }
  
  .download-buttons {
    flex-direction: column;
    gap: 15px;
  }
  
  .qrcode-wrapper {
    flex-direction: column;
    gap: 20px;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}

/* 移动设备小屏幕 (最大 424px) */
@media screen and (max-width: 424px) {
  .header {
    padding: 10px 0;
  }
  
  .logo img {
    height: 30px;
  }
  
  .logo-text {
    font-size: 18px;
  }
  
  .hero {
    padding-top: 100px;
    padding-bottom: 60px;
  }
  
  .hero-title {
    font-size: 28px;
  }
  
  .hero-subtitle {
    font-size: 14px;
  }
  
  .btn {
    padding: 10px 20px;
    font-size: 14px;
  }
  
  .btn-lg {
    padding: 12px 24px;
    font-size: 16px;
  }
  
  .section-title {
    font-size: 28px;
  }
  
  .section-subtitle {
    font-size: 16px;
  }
  
  .feature-title {
    font-size: 18px;
  }
  
  .feature-text {
    font-size: 14px;
  }
  
  .showcase-title {
    font-size: 26px;
  }
  
  .phone-frame.parent,
  .phone-frame.student {
    width: 150px;
    height: 300px;
    padding: 8px;
  }
  
  .phone-frame img {
    border-radius: 20px;
  }
  
  .download-title {
    font-size: 28px;
  }
  
  .download-text {
    font-size: 16px;
  }
  
  .qrcode img {
    width: 100px;
    height: 100px;
  }
  
  .qrcode-text {
    font-size: 14px;
  }
} 