/* ========================================
   想真官网 - 响应式样式文件
   ======================================== */

/* 大屏幕 - 1200px 以下 */
@media (max-width: 1200px) {
    .wrapper {
        max-width: 960px;
    }

    .hero-title {
        font-size: 60px;
    }

    .section-title {
        font-size: 36px;
    }

    .about-content,
    .products-content {
        gap: 40px;
    }

    .industrial-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-nav {
        flex-wrap: wrap;
    }

    .nav-column {
        flex: 0 0 30%;
    }
}

/* 平板设备 - 992px 以下 */
@media (max-width: 992px) {
    .wrapper {
        max-width: 720px;
    }

    /* 显示移动端导航 */
    .mobile-header {
        display: block;
    }

    /* 隐藏桌面端导航 */
    .top-header {
        display: none;
    }

    .hero-title {
        font-size: 48px;
    }

    .hero-content {
        left: 5%;
        right: 5%;
    }

    .section-title {
        font-size: 32px;
    }

    .about-content {
        flex-direction: column;
    }

    .about-stats {
        flex-wrap: wrap;
        justify-content: center;
    }

    .products-content {
        flex-direction: column;
    }

    .brand-story {
        flex-direction: column;
        padding: 40px;
    }

    .story-image {
        width: 100%;
    }

    .footer-content {
        flex-direction: column;
    }

    .footer-left {
        text-align: center;
    }

    .qr-codes {
        justify-content: center;
    }

    .footer-bottom .wrapper {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

/* 手机设备 - 768px 以下 */
@media (max-width: 768px) {
    .wrapper {
        max-width: 100%;
        padding: 0 15px;
    }

    .hero-section {
        min-height: 500px;
    }

    .hero-title {
        font-size: 36px;
        letter-spacing: 2px;
    }

    .hero-badges {
        gap: 10px;
    }

    .badge {
        font-size: 12px;
        padding: 6px 15px;
    }

    .section-title {
        font-size: 28px;
    }

    .section-subtitle {
        font-size: 16px;
    }

    .about-section,
    .industrial-section,
    .products-section,
    .news-section {
        padding: 60px 0;
    }

    .stat-num {
        font-size: 36px;
    }

    .stat-item {
        flex: 0 0 45%;
    }

    .industrial-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .industrial-item {
        padding: 30px 20px;
    }

    .item-icon {
        width: 60px;
        height: 60px;
    }

    .item-icon img {
        width: 30px;
        height: 30px;
    }

    .industrial-item h3 {
        font-size: 18px;
    }

    .product-tabs {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .tab-btn {
        flex: 1;
        min-width: 120px;
        text-align: center;
        font-size: 14px;
        padding: 12px 15px;
    }

    .product-detail h3 {
        font-size: 20px;
    }

    .product-thumbs {
        justify-content: center;
    }

    .product-thumbs .thumb {
        width: 60px;
        height: 60px;
    }

    .brand-story {
        padding: 30px 20px;
        gap: 25px;
    }

    .story-content h3 {
        font-size: 22px;
    }

    .story-content p {
        font-size: 14px;
    }

    .news-tabs {
        flex-wrap: wrap;
    }

    .news-tab-btn {
        padding: 8px 20px;
        font-size: 14px;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .news-image {
        height: 180px;
    }

    .footer-section {
        padding: 60px 0 0;
    }

    .footer-logo img {
        height: 50px;
    }

    .nav-column {
        flex: 0 0 50%;
        margin-bottom: 25px;
    }

    .nav-column h4 {
        font-size: 16px;
        margin-bottom: 15px;
    }

    .nav-column a {
        font-size: 13px;
        margin-bottom: 8px;
    }

    .qr-item img {
        width: 80px;
        height: 80px;
    }

    .qr-item p {
        font-size: 12px;
    }

    .footer-bottom p,
    .footer-links a {
        font-size: 12px;
    }

    .back-to-top {
        width: 44px;
        height: 44px;
        bottom: 20px;
        right: 20px;
    }
}

/* 小屏手机 - 576px 以下 */
@media (max-width: 576px) {
    .hero-title {
        font-size: 28px;
    }

    .section-title {
        font-size: 24px;
    }

    .stat-num {
        font-size: 32px;
    }

    .stat-item {
        flex: 0 0 100%;
    }

    .about-stats {
        gap: 20px;
    }

    .tab-btn {
        min-width: 100px;
        padding: 10px 12px;
        font-size: 13px;
    }

    .product-info li {
        font-size: 14px;
    }

    .news-info {
        padding: 20px;
    }

    .news-title {
        font-size: 16px;
    }

    .news-desc {
        font-size: 13px;
    }

    .nav-column {
        flex: 0 0 100%;
        text-align: center;
    }

    .platform-links {
        justify-content: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 8px;
    }
}

/* 横屏手机优化 */
@media (max-width: 768px) and (orientation: landscape) {
    .hero-section {
        min-height: 100vh;
    }

    .hero-content {
        top: 55%;
    }

    .scroll-hint {
        display: none;
    }
}

/* 超高分辨率屏幕优化 */
@media (min-width: 1920px) {
    .wrapper {
        max-width: 1600px;
    }

    .hero-title {
        font-size: 100px;
    }

    .section-title {
        font-size: 52px;
    }

    .section-subtitle {
        font-size: 20px;
    }

    .stat-num {
        font-size: 56px;
    }
}

/* 打印样式 */
@media print {
    .mobile-header,
    .mobileNav,
    .mobile-overlay,
    .back-to-top,
    .scroll-hint {
        display: none !important;
    }

    .top-header {
        position: relative;
        background: #fff;
        box-shadow: none;
    }

    .top-header .nav-item {
        color: #333;
    }

    a {
        text-decoration: underline;
    }

    .industrial-item,
    .news-card,
    .main-product {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }
}

/* 减少动画用户偏好 */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .scroll-hint .scroll-arrow {
        animation: none;
    }
}

/* 高对比度模式支持 */
@media (prefers-contrast: high) {
    .industrial-item,
    .news-card,
    .main-product {
        border: 2px solid currentColor;
    }

    .badge {
        border: 2px solid #fff;
    }
}