/**
 * 响应式样式文件
 * 苏州云启新程网络信息科技有限公司
 */

/* ==================== 平板端 (768px - 1024px) ==================== */
@media screen and (max-width: 1024px) {
    .container {
        max-width: 960px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .banner-title {
        font-size: 40px;
    }
    
    .banner-subtitle {
        font-size: 20px;
    }
    
    .card-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 25px;
    }
}

/* ==================== 移动端 (< 768px) ==================== */
@media screen and (max-width: 768px) {
    .container {
        max-width: 100%;
        padding: 0 15px;
    }
    
    .section {
        padding: 50px 0;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .section-subtitle {
        font-size: 16px;
        margin-bottom: 40px;
    }
    
    /* 导航栏 */
    .hamburger {
        display: flex;
    }
    
    .nav {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        transition: var(--transition);
    }
    
    .nav.active {
        left: 0;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 0;
        padding: 20px;
    }
    
    .nav-item {
        border-bottom: 1px solid var(--border-color);
    }
    
    .nav-item .nav-link {
        display: block;
        padding: 15px 0;
        font-size: 18px;
    }
    
    /* Banner */
    .banner {
        min-height: auto;
        padding: 120px 0 60px;
    }
    
    .banner-title {
        font-size: 28px;
    }
    
    .banner-subtitle {
        font-size: 16px;
    }
    
    .banner-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn {
        width: 100%;
    }
    
    /* 卡片 */
    .card-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .card {
        padding: 20px;
    }
    
    /* 页脚 */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    /* 页面头部 */
    .page-header {
        padding: 120px 0 60px;
    }
    
    .page-header h1 {
        font-size: 32px;
    }
    
    .page-header p {
        font-size: 16px;
    }
    
    /* 返回顶部 */
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

/* ==================== 小屏手机 (< 480px) ==================== */
@media screen and (max-width: 480px) {
    .section-title {
        font-size: 24px;
    }
    
    .banner-title {
        font-size: 24px;
    }
    
    .card-icon {
        width: 50px;
        height: 50px;
    }
    
    .card-icon i {
        font-size: 24px;
    }
    
    .card-title {
        font-size: 20px;
    }
}
