/* 
 * 高山云科技 - 公司官网响应式样式
 * 版本: 1.0.0
 */

/* 大型显示屏 (大于等于1200px) */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

/* 桌面显示屏 (992px-1199px) */
@media (max-width: 1199px) {
    .container {
        max-width: 960px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .product-features {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .team-grid, .tech-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* 平板电脑 (768px-991px) */
@media (max-width: 991px) {
    .container {
        max-width: 720px;
    }
    
    .header {
        padding: 10px 0;
    }
    
    .hero {
        padding: 120px 0 80px;
    }
    
    .hero-content {
        flex-direction: column;
    }
    
    .hero-text {
        padding-right: 0;
        margin-bottom: 40px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .hero-image {
        width: 80%;
        margin: 0 auto;
    }
    
    .about-content, .product-content, .contact-content {
        flex-direction: column;
    }
    
    .about-image, .about-text, .product-image, .product-info, .contact-info, .contact-form {
        width: 100%;
    }
    
    .about-image, .product-image {
        margin-bottom: 30px;
    }
    
    .about-text, .product-info {
        padding: 0;
    }
    
    .team-grid, .tech-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

/* 手机端 (小于等于767px) */
@media (max-width: 767px) {
    .container {
        max-width: 100%;
        padding: 0 20px;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 80%;
        height: calc(100vh - 70px);
        background-color: var(--white);
        padding: 20px;
        transition: all 0.3s ease;
        box-shadow: var(--shadow);
        z-index: 999;
    }
    
    .nav.active {
        left: 0;
    }
    
    .nav ul {
        flex-direction: column;
    }
    
    .nav-link {
        margin: 10px 0;
        display: block;
        padding: 10px;
        border-bottom: 1px solid var(--border-color);
    }
    
    .nav-link::after {
        display: none;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn {
        margin: 10px 0;
        width: 100%;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .section-subtitle {
        font-size: 14px;
    }
    
    .about-stats {
        flex-direction: column;
    }
    
    .stat-item {
        margin: 10px 0;
    }
    
    .tab-nav {
        flex-direction: column;
    }
    
    .tab-btn {
        width: 100%;
        margin: 5px 0;
    }
    
    .product-features {
        grid-template-columns: 1fr;
    }
    
    .team-grid, .tech-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-bottom p {
        margin-bottom: 10px;
    }
}

/* 小型手机端 (小于等于480px) */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 24px;
    }
    
    .section {
        padding: 40px 0;
    }
    
    .product-actions {
        flex-direction: column;
    }
    
    .product-actions .btn {
        width: 100%;
        margin: 5px 0;
    }
} 