/* 响应式设计 */
/* 平板设备 (768px - 1024px) */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 48px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .overview-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .business-grid {
        grid-template-columns: 1fr;
    }
    
    .solutions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .floating-card {
        width: 120px;
        height: 160px;
    }
    
    .card-icon {
        font-size: 30px;
    }
    
    .card-front h3 {
        font-size: 16px;
    }
}

/* 移动设备 (小于768px) */
@media (max-width: 768px) {
    /* 导航栏 */
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(10, 14, 39, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        border-bottom: 1px solid rgba(0, 212, 255, 0.2);
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .mobile-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    
    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
    
    /* 英雄区域 */
    .hero {
        padding: 120px 0 60px;
    }
    
    .hero-container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-visual {
        flex-direction: column;
        margin-top: 40px;
    }
    
    .floating-card {
        width: 150px;
        height: 200px;
    }
    
    /* 内容区域 */
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .overview-grid {
        grid-template-columns: 1fr;
    }
    
    .solutions-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* 页脚 */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    /* 在线客服 */
    .chat-widget {
        width: 90%;
        height: 60vh;
        right: 5%;
        bottom: 20px;
    }
    
    /* 按钮大小调整 */
    .btn {
        padding: 10px 24px;
        font-size: 14px;
    }
    
    .btn-large {
        padding: 12px 28px;
        font-size: 16px;
    }
}

/* 小屏幕移动设备 (小于480px) */
@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }
    
    .section-title {
        font-size: 26px;
    }
    
    .overview-card, .business-card, .solution-item {
        padding: 20px;
    }
    
    .footer {
        padding: 40px 0 20px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .nav-actions {
        gap: 10px;
    }
    
    .nav-menu {
        top: 60px;
    }
}

/* 超大屏幕 (大于1440px) */
@media (min-width: 1440px) {
    .container {
        max-width: 1400px;
    }
}

/* 横向平板 */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
    .hero-container {
        flex-direction: row;
        gap: 30px;
    }
    
    .hero-content {
        flex: 1;
    }
    
    .hero-visual {
        flex: 1;
        flex-direction: row;
    }
    
    .floating-card {
        width: 120px;
        height: 160px;
    }
}

/* 打印样式 */
@media print {
    .navbar, .chat-widget, .mobile-toggle, .nav-actions, .social-links {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    .hero, .section {
        padding: 30px 0 !important;
    }
    
    .hero-title, .section-title, h1, h2, h3, h4, h5, h6 {
        color: black !important;
    }
    
    .footer {
        background: white !important;
        color: black !important;
        border-top: 1px solid #ddd !important;
    }
    
    .footer-col ul li a, .footer-col ul li {
        color: black !important;
    }
}