/* 平板端适配 */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .container {
        padding: 0 15px;
    }
}

/* 手机端适配 */
@media (max-width: 768px) {
    .nav-menu {
        display: none; /* 需要实现汉堡菜单 */
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        width: 200px;
        text-align: center;
    }
}

/* 大屏幕设备（1200px以上） */
@media (min-width: 1200px) {
    .container {
        max-width: 1200px;
    }
    
    .hero-title {
        font-size: 4rem;
    }
    
    .section-title {
        font-size: 3rem;
    }
    
    /* 产品展示大屏幕优化 */
    .intro-title {
        font-size: 3.5rem;
    }
    
    .intro-subtitle {
        font-size: 1.4rem;
    }
    
    .product-display {
        grid-template-columns: 450px 1fr;
        gap: 8rem;
    }
    
    .fullscreen .image-display {
        height: 60vh;
        min-height: 500px;
        max-height: 700px;
    }
    
    .product-title {
        font-size: 2.2rem;
    }
    
    .product-desc {
        font-size: 1.2rem;
    }
    

    

}

/* 平板设备（768px - 1199px） */
@media (max-width: 1199px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .nav-menu {
        gap: 1.5rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .solutions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 中等屏幕设备（992px - 1199px） */
@media (max-width: 1024px) {
    .navbar .container {
        padding: 0.8rem 15px;
    }
    
    .hero-content {
        max-width: 700px;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .about-content {
        max-width: 700px;
    }
    
    .mission-vision {
        grid-template-columns: 1fr;
    }
}

/* 手机端（768px以下） */
@media (max-width: 768px) {
    /* 导航栏移动端样式 */
    .nav-menu {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: rgba(13, 27, 42, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 2rem 0;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu li {
        margin: 0.5rem 0;
    }
    
    .nav-menu a {
        font-size: 1.1rem;
        padding: 0.5rem 2rem;
        display: block;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-brand {
        font-size: 1.3rem;
    }
    
    .nav-right {
        gap: 0.5rem;
    }
    
    .btn-primary {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    /* Hero区域移动端样式 */
    .hero {
        min-height: 100vh;
        padding: 80px 0 40px;
    }
    
    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-description {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        width: 200px;
        text-align: center;
    }
    
    /* 统计区域移动端样式 */
    .stats-section {
        padding: 60px 0;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .stat-item {
        padding: 1.5rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .stat-label {
        font-size: 1rem;
    }
    
    /* 区域标题移动端样式 */
    .section-header {
        margin-bottom: 3rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
    }
    
    /* 产品展示移动端样式 */
    .products-section {
        padding: 80px 0;
    }
    
    .products-section.fullscreen {
        min-height: 100vh;
        padding: 2rem 0;
    }
    
    .fullscreen-container {
        padding: 0 1rem;
    }
    
    .intro-title {
        font-size: 2.5rem;
    }
    
    .intro-subtitle {
        font-size: 1.1rem;
        padding: 0 1rem;
    }
    
    .product-display {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .fullscreen .product-display {
        height: auto;
        margin-bottom: 3rem;
    }
    
    .fullscreen .image-display {
        height: 50vh;
        min-height: 300px;
    }
    
    .product-summary {
        max-width: 100%;
        order: 2;
    }
    
    .product-title {
        font-size: 1.8rem;
        justify-content: center;
    }
    
    .product-desc {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .key-features {
        gap: 0.6rem;
    }
    

    
    .product-showcase {
        order: 1;
    }
    

    
    .image-display {
        height: 350px;
    }
    
    .image-indicators {
        bottom: 1rem;
        gap: 0.6rem;
    }
    
    .indicator {
        width: 10px;
        height: 10px;
    }
    
    .product-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .fullscreen .product-stats {
        margin-top: 3rem;
        margin-bottom: 1rem;
    }
    
    .stat-item {
        padding: 1.5rem 1rem;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    /* 技术能力移动端样式 */
    .technology-section {
        padding: 60px 0;
    }
    
    .tech-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .tech-card {
        padding: 2rem;
    }
    
    .tech-icon {
        font-size: var(--icon-size-xl);
    }
    
    .tech-card h3 {
        font-size: 1.3rem;
    }
    
    .tech-card p {
        font-size: 0.95rem;
    }
    
    /* 解决方案移动端样式 */
    .solutions-section {
        padding: 60px 0;
    }
    
    .solutions-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .solution-card {
        padding: 2rem;
    }
    
    .solution-icon {
        font-size: var(--icon-size-xl);
    }
    
    .solution-card h3 {
        font-size: 1.3rem;
    }
    
    .solution-card p {
        font-size: 0.95rem;
    }
    
    /* 关于我们移动端样式 */
    .about-section {
        padding: 60px 0;
    }
    
    .about-text h2 {
        font-size: 2rem;
    }
    
    .about-text p {
        font-size: 1rem;
    }
    
    .mission-vision {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .mission, .vision {
        padding: 1.5rem;
    }
    
        .mission h3, .vision h3 {
        font-size: 1.2rem;
    }
    
    .about-cta {
        margin-top: 2rem;
    }
    
    .about-cta .btn-secondary {
        padding: 0.7rem 1.5rem;
        font-size: 0.95rem;
    }

    /* 页脚移动端样式 */
    .footer-main {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding: 40px 0 30px;
    }
    
    .footer-brand-section {
        text-align: center;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .footer-contact-section {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 2.5rem;
    }
    
    .nav-group, .qr-section {
        text-align: center;
    }
    
    .nav-group h4::after,
    .qr-section h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-bottom {
        padding: 1.5rem 0;
    }

    .copyright p {
        font-size: 0.85rem;
    }

    .back-to-top {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
        bottom: 20px;
        right: 20px;
    }
}

/* 超小屏幕（480px以下） */
@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-description {
        font-size: 0.95rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .tech-card, .solution-card {
        padding: 1.5rem;
    }
    
    /* 产品展示超小屏幕样式 */
    .products-section {
        padding: 60px 0;
    }
    
    .intro-title {
        font-size: 2rem;
    }
    
    .intro-subtitle {
        font-size: 1rem;
    }
    
    .product-display {
        gap: 2rem;
    }
    
    .product-title {
        font-size: 1.5rem;
    }
    
    .product-desc {
        font-size: 0.95rem;
    }
    
    .image-display {
        height: 280px;
    }
    
    .fullscreen .image-display {
        height: 40vh;
        min-height: 250px;
    }
    
    .fullscreen .product-stats {
        grid-template-columns: 1fr;
    }
    
    .image-indicators {
        gap: 0.5rem;
        bottom: 0.8rem;
    }
    
    .indicator {
        width: 8px;
        height: 8px;
    }
    
    .product-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 1.6rem;
    }
    
    .tech-icon, .solution-icon {
        font-size: var(--icon-size-lg);
    }
    
    .about-cta .btn-secondary {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }

    .footer-main {
        gap: 2rem;
    }

    .brand-name {
        font-size: 1.5rem;
    }

    .brand-description,
    .brand-slogan {
        font-size: 0.9rem;
    }

    .nav-group h4,
    .qr-section h4 {
        font-size: 1rem;
    }

    .qr-code {
        width: 100px;
        height: 100px;
    }

    .back-to-top {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
}

/* 横向显示优化 */
@media (orientation: landscape) and (max-height: 600px) {
    .hero {
        min-height: 120vh;
        padding: 100px 0 60px;
    }
    
    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 0.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .hero-description {
        margin-bottom: 1.5rem;
    }
    
    .stats-section, .products-section, .technology-section, 
    .solutions-section, .about-section {
        padding: 40px 0;
    }
}

/* 高DPI屏幕优化 */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero-title, .section-title {
        text-rendering: optimizeLegibility;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
}

/* 减少动画效果（节能模式） */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .logo-placeholder {
        animation: none;
    }
}

/* 高对比度模式 */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #000000;
        --secondary-color: #1a1a1a;
        --accent-color: #00FFFF;
        --text-primary: #FFFFFF;
        --text-secondary: #CCCCCC;
    }
    
    .tech-card, .solution-card, .mission, .vision {
        border: 2px solid var(--accent-color);
    }
    
    .qr-code {
        border: 2px solid var(--accent-color);
    }
    
    .nav-group h4::after, .qr-section h4::after {
        background: var(--accent-color);
    }

    .back-to-top {
        border-color: var(--accent-color);
    }
}
