/* 
 * 未来感电缆行业商城 - 响应式样式表
 * 适配各种设备屏幕尺寸，确保完美显示效果
 */

/* ====== 超大屏幕 (1200px及以上) ====== */
@media (min-width: 1200px) {
    .container {
        max-width: 1400px;
    }
    
    .hero-title {
        font-size: 4rem;
    }
    
    .hero-subtitle {
        font-size: 1.6rem;
    }
    
    .section-title {
        font-size: 3.2rem;
    }
    
    .section-subtitle {
        font-size: 1.4rem;
    }
    
    .logo-main {
        font-size: 1.8rem;
    }
    
    .logo-sub {
        font-size: 1.1rem;
    }
    
    .nav-item {
        padding: 1.2rem 1.8rem;
        font-size: 1.1rem;
    }
    
    .quick-nav-grid {
        grid-template-columns: repeat(6, 1fr);
    }
    
    .products-showcase-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .case-showcase-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .services-showcase-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .hero-fullscreen {
        height: 85vh;
    }
    
    .search-input {
        font-size: 1.2rem;
    }
    
    .cart-title {
        font-size: 1rem;
    }
    
    .cart-total {
        font-size: 1rem;
    }
    
    .profile-greeting {
        font-size: 1rem;
    }
    
    .product-title {
        font-size: 1.3rem;
    }
    
    .product-desc {
        font-size: 1rem;
    }
    
    .case-title {
        font-size: 1.4rem;
    }
    
    .service-title {
        font-size: 1.5rem;
    }
    
    .service-desc {
        font-size: 1.1rem;
    }
    
    .stat-number {
        font-size: 3.5rem;
    }
    
    .stat-label {
        font-size: 1.3rem;
    }
    
    .stat-desc {
        font-size: 1rem;
    }
    
    .nav-icon {
        width: 90px;
        height: 90px;
        font-size: 2.2rem;
    }
    
    .service-icon {
        width: 110px;
        height: 110px;
        font-size: 2.8rem;
    }
    
    .product-actions {
        gap: 0.75rem;
    }
    
    .case-stats {
        gap: 1.5rem;
    }
    
    .feature-tag {
        font-size: 0.8rem;
    }
    
    .price {
        font-size: 1.4rem;
    }
    
    .original-price {
        font-size: 1.1rem;
    }
}

/* ====== 大屏幕 (992px - 1199px) ====== */
@media (min-width: 992px) and (max-width: 1199px) {
    .container {
        max-width: 960px;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.4rem;
    }
    
    .section-title {
        font-size: 2.8rem;
    }
    
    .section-subtitle {
        font-size: 1.3rem;
    }
    
    .logo-main {
        font-size: 1.6rem;
    }
    
    .logo-sub {
        font-size: 1rem;
    }
    
    .nav-item {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
    
    .quick-nav-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .products-showcase-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .case-showcase-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-showcase-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-fullscreen {
        height: 80vh;
    }
    
    .search-input {
        font-size: 1.1rem;
    }
    
    .product-title {
        font-size: 1.2rem;
    }
    
    .product-desc {
        font-size: 0.95rem;
    }
    
    .case-title {
        font-size: 1.3rem;
    }
    
    .service-title {
        font-size: 1.4rem;
    }
    
    .service-desc {
        font-size: 1rem;
    }
    
    .stat-number {
        font-size: 3rem;
    }
    
    .stat-label {
        font-size: 1.2rem;
    }
    
    .nav-icon {
        width: 85px;
        height: 85px;
        font-size: 2.1rem;
    }
    
    .service-icon {
        width: 95px;
        height: 95px;
        font-size: 2.6rem;
    }
    
    .hero-buttons {
        gap: 1.5rem;
    }
    
    .hero-features {
        gap: 1.5rem;
    }
    
    .case-stats {
        gap: 1.2rem;
    }
    
    .product-actions {
        gap: 0.6rem;
    }
}

/* ====== 中等屏幕 (768px - 991px) ====== */
@media (min-width: 768px) and (max-width: 991px) {
    .container {
        max-width: 720px;
    }
    
    .header-content {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .header-search {
        width: 100%;
        max-width: none;
    }
    
    .search-box {
        flex-direction: column;
    }
    
    .search-input {
        padding: 0.9rem 0.9rem 0.9rem 3rem;
    }
    
    .search-btn {
        padding: 0.9rem 1.5rem;
    }
    
    .header-user {
        width: 100%;
        justify-content: space-between;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .section-subtitle {
        font-size: 1.2rem;
    }
    
    .quick-nav-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .products-showcase-grid {
        grid-template-columns: repeat(1, 1fr);
    }
    
    .case-showcase-grid {
        grid-template-columns: repeat(1, 1fr);
    }
    
    .services-showcase-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-fullscreen {
        height: 70vh;
    }
    
    .logo-main {
        font-size: 1.5rem;
    }
    
    .logo-sub {
        font-size: 0.9rem;
    }
    
    .nav-item {
        padding: 0.8rem 1.2rem;
        font-size: 0.95rem;
    }
    
    .product-title {
        font-size: 1.1rem;
    }
    
    .product-desc {
        font-size: 0.9rem;
    }
    
    .case-title {
        font-size: 1.2rem;
    }
    
    .service-title {
        font-size: 1.3rem;
    }
    
    .service-desc {
        font-size: 0.95rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .stat-label {
        font-size: 1.1rem;
    }
    
    .nav-icon {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }
    
    .service-icon {
        width: 90px;
        height: 90px;
        font-size: 2.4rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .hero-features {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }
    
    .product-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .case-stats {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.8rem;
    }
    
    .stat-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.3rem;
    }
    
    .dropdown-menu {
        min-width: 350px;
    }
    
    .footer-links-bottom {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.8rem;
    }
    
    .back-to-top {
        bottom: 2rem;
        right: 2rem;
        width: 55px;
        height: 55px;
    }
    
    .page-loader {
        position: fixed;
    }
    
    .loader-icon {
        width: 70px;
        height: 70px;
    }
    
    .loader-icon i {
        font-size: 1.8rem;
    }
    
    .loader-text {
        font-size: 1.1rem;
    }
}

/* ====== 小屏幕 (576px - 767px) ====== */
@media (min-width: 576px) and (max-width: 767px) {
    .container {
        max-width: 540px;
        padding: 0 1.2rem;
    }
    
    .header-content {
        flex-direction: column;
        align-items: stretch;
        gap: 1.2rem;
    }
    
    .header-logo {
        text-align: center;
    }
    
    .logo-text {
        align-items: center;
    }
    
    .header-search {
        width: 100%;
        max-width: none;
    }
    
    .search-box {
        flex-direction: column;
    }
    
    .search-input {
        padding: 0.8rem 0.8rem 0.8rem 2.8rem;
    }
    
    .search-btn {
        padding: 0.8rem;
    }
    
    .header-user {
        flex-direction: column;
        align-items: center;
        gap: 1.2rem;
    }
    
    .user-cart {
        justify-content: center;
    }
    
    .user-profile {
        justify-content: center;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
    }
    
    .quick-nav-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }
    
    .products-showcase-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 1.2rem;
    }
    
    .case-showcase-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 1.2rem;
    }
    
    .services-showcase-grid {
        grid-template-columns: repeat(1, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(1, 1fr);
    }
    
    .hero-fullscreen {
        height: 65vh;
    }
    
    .logo-main {
        font-size: 1.4rem;
    }
    
    .logo-sub {
        font-size: 0.85rem;
    }
    
    .nav-item {
        padding: 0.7rem 1rem;
        font-size: 0.9rem;
    }
    
    .product-title {
        font-size: 1rem;
    }
    
    .product-desc {
        font-size: 0.85rem;
    }
    
    .case-title {
        font-size: 1.1rem;
    }
    
    .service-title {
        font-size: 1.2rem;
    }
    
    .service-desc {
        font-size: 0.9rem;
    }
    
    .stat-number {
        font-size: 2.2rem;
    }
    
    .stat-label {
        font-size: 1rem;
    }
    
    .nav-icon {
        width: 75px;
        height: 75px;
        font-size: 1.8rem;
    }
    
    .service-icon {
        width: 85px;
        height: 85px;
        font-size: 2.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }
    
    .hero-features {
        flex-direction: column;
        align-items: center;
        gap: 0.6rem;
    }
    
    .feature-item {
        font-size: 1rem;
    }
    
    .product-actions {
        flex-direction: column;
        align-items: center;
        gap: 0.6rem;
    }
    
    .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .case-stats {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.6rem;
    }
    
    .stat-item {
        font-size: 0.85rem;
    }
    
    .dropdown-menu {
        min-width: 300px;
        padding: 1rem;
    }
    
    .dropdown-column {
        padding: 0 0.8rem;
    }
    
    .dropdown-column h4 {
        font-size: 0.95rem;
    }
    
    .dropdown-menu a {
        font-size: 0.9rem;
        padding: 0.5rem 0.8rem;
    }
    
    .footer-top .row > .col-3,
    .footer-top .row > .col-2 {
        flex: 0 0 50%;
        max-width: 50%;
    }
    
    .footer-bottom {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        text-align: center;
    }
    
    .copyright {
        order: 2;
    }
    
    .footer-links-bottom {
        order: 1;
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.6rem;
    }
    
    .back-to-top {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 50px;
        height: 50px;
        font-size: 1.1rem;
    }
    
    .page-loader {
        position: fixed;
    }
    
    .loader-icon {
        width: 65px;
        height: 65px;
    }
    
    .loader-icon i {
        font-size: 1.6rem;
    }
    
    .loader-text {
        font-size: 1rem;
    }
    
    .profile-actions {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero-image {
        background: linear-gradient(135deg, #2563eb, #1d4ed8);
    }
    
    .hero-overlay {
        background: rgba(0, 0, 0, 0.5);
    }
    
    .hero-content {
        padding: 0 1rem;
    }
}

/* ====== 超小屏幕 (575px及以下) ====== */
@media (max-width: 575px) {
    .container {
        max-width: 100%;
        padding: 0 0.8rem;
    }
    
    .header-content {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    
    .header-logo {
        text-align: center;
    }
    
    .logo-icon {
        width: 60px;
        height: 60px;
        font-size: 1.4rem;
        margin-right: 1rem;
    }
    
    .logo-main {
        font-size: 1.3rem;
    }
    
    .logo-sub {
        font-size: 0.8rem;
    }
    
    .header-search {
        width: 100%;
        max-width: none;
    }
    
    .search-box {
        flex-direction: column;
    }
    
    .search-input {
        padding: 0.7rem 0.7rem 0.7rem 2.5rem;
        font-size: 1rem;
    }
    
    .search-btn {
        padding: 0.7rem;
        font-size: 0.95rem;
    }
    
    .header-user {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .user-cart {
        justify-content: center;
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .cart-info {
        text-align: center;
    }
    
    .user-profile {
        justify-content: center;
        text-align: center;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .profile-actions {
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.3rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .quick-nav-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 0.8rem;
    }
    
    .products-showcase-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 1rem;
    }
    
    .case-showcase-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 1rem;
    }
    
    .services-showcase-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 1rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 1.5rem;
    }
    
    .hero-fullscreen {
        height: 60vh;
    }
    
    .nav-item {
        padding: 0.6rem 0.8rem;
        font-size: 0.85rem;
    }
    
    .product-title {
        font-size: 0.95rem;
    }
    
    .product-desc {
        font-size: 0.8rem;
    }
    
    .case-title {
        font-size: 1rem;
    }
    
    .service-title {
        font-size: 1.1rem;
    }
    
    .service-desc {
        font-size: 0.85rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.95rem;
    }
    
    .stat-desc {
        font-size: 0.8rem;
    }
    
    .nav-icon {
        width: 70px;
        height: 70px;
        font-size: 1.6rem;
        margin-bottom: 0.8rem;
    }
    
    .service-icon {
        width: 80px;
        height: 80px;
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.6rem;
    }
    
    .btn {
        width: 100%;
        margin-bottom: 0.4rem;
        padding: 0.75rem 1.5rem;
    }
    
    .hero-features {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    
    .feature-item {
        font-size: 0.9rem;
    }
    
    .product-actions {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    
    .case-stats {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
    }
    
    .stat-item {
        font-size: 0.8rem;
        gap: 0.2rem;
    }
    
    .dropdown-menu {
        min-width: 280px;
        padding: 0.8rem;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .dropdown-column {
        padding: 0 0.5rem;
        flex: 100%;
        margin-bottom: 0.8rem;
    }
    
    .dropdown-column h4 {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
    
    .dropdown-menu a {
        font-size: 0.85rem;
        padding: 0.4rem 0.6rem;
    }
    
    .footer-top .row > .col-3,
    .footer-top .row > .col-2 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .footer-bottom {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
        text-align: center;
    }
    
    .copyright {
        font-size: 0.8rem;
        order: 2;
    }
    
    .footer-links-bottom {
        order: 1;
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
    }
    
    .back-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
    
    .page-loader {
        position: fixed;
    }
    
    .loader-icon {
        width: 60px;
        height: 60px;
    }
    
    .loader-icon i {
        font-size: 1.4rem;
    }
    
    .loader-text {
        font-size: 0.9rem;
    }
    
    .cart-title {
        font-size: 0.9rem;
    }
    
    .cart-total {
        font-size: 0.9rem;
    }
    
    .profile-greeting {
        font-size: 0.9rem;
    }
    
    .product-badge {
        font-size: 0.7rem;
        padding: 0.2rem 0.5rem;
    }
    
    .feature-tag {
        font-size: 0.7rem;
        padding: 0.2rem 0.4rem;
    }
    
    .price {
        font-size: 1.1rem;
    }
    
    .original-price {
        font-size: 0.9rem;
    }
    
    .service-features li {
        font-size: 0.85rem;
    }
    
    .nav-container {
        padding: 0 0.5rem;
    }
    
    .nav-item {
        padding: 0.5rem 0.6rem;
        font-size: 0.8rem;
    }
    
    .hero-image {
        background: linear-gradient(135deg, #2563eb, #1d4ed8);
    }
    
    .hero-overlay {
        background: rgba(0, 0, 0, 0.6);
    }
    
    .hero-content {
        padding: 0 0.8rem;
    }
    
    .quick-nav-section {
        padding: 2rem 0;
    }
    
    .products-showcase-section {
        padding: 3rem 0;
    }
    
    .case-studies-showcase-section {
        padding: 3rem 0;
    }
    
    .services-showcase-section {
        padding: 3rem 0;
    }
    
    .stats-section {
        padding: 2rem 0;
    }
}

/* ====== 超窄屏幕优化 ====== */
@media (max-width: 414px) {
    .container {
        padding: 0 0.6rem;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .section-subtitle {
        font-size: 0.95rem;
    }
    
    .logo-main {
        font-size: 1.2rem;
    }
    
    .logo-sub {
        font-size: 0.75rem;
    }
    
    .nav-item {
        font-size: 0.8rem;
        padding: 0.5rem 0.5rem;
    }
    
    .product-title {
        font-size: 0.9rem;
    }
    
    .case-title {
        font-size: 0.95rem;
    }
    
    .service-title {
        font-size: 1rem;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .stat-label {
        font-size: 0.9rem;
    }
    
    .nav-icon {
        width: 65px;
        height: 65px;
        font-size: 1.5rem;
    }
    
    .service-icon {
        width: 75px;
        height: 75px;
        font-size: 1.8rem;
    }
    
    .hero-fullscreen {
        height: 55vh;
    }
    
    .search-input {
        padding: 0.6rem 0.6rem 0.6rem 2.2rem;
        font-size: 0.9rem;
    }
    
    .search-btn {
        padding: 0.6rem;
        font-size: 0.9rem;
    }
    
    .btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.95rem;
    }
    
    .product-actions {
        gap: 0.4rem;
    }
    
    .case-stats {
        gap: 0.4rem;
    }
    
    .stat-item {
        font-size: 0.75rem;
    }
    
    .dropdown-menu {
        min-width: 250px;
        padding: 0.6rem;
    }
    
    .dropdown-menu a {
        font-size: 0.8rem;
        padding: 0.3rem 0.5rem;
    }
    
    .footer-links-bottom {
        gap: 0.4rem;
    }
    
    .back-to-top {
        bottom: 0.8rem;
        right: 0.8rem;
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
    
    .page-loader {
        position: fixed;
    }
    
    .loader-icon {
        width: 55px;
        height: 55px;
    }
    
    .loader-icon i {
        font-size: 1.2rem;
    }
    
    .loader-text {
        font-size: 0.85rem;
    }
    
    .cart-title {
        font-size: 0.85rem;
    }
    
    .profile-greeting {
        font-size: 0.85rem;
    }
    
    .feature-item {
        font-size: 0.85rem;
        gap: 0.1rem;
    }
    
    .hero-features {
        gap: 0.4rem;
    }
    
    .hero-buttons {
        gap: 0.5rem;
    }
    
    .quick-nav-grid {
        gap: 0.6rem;
    }
    
    .nav-item-card {
        padding: 1rem;
    }
    
    .product-showcase-card {
        margin-bottom: 1rem;
    }
    
    .case-showcase-card {
        margin-bottom: 1rem;
    }
    
    .service-showcase-card {
        margin-bottom: 1rem;
    }
    
    .stats-section {
        padding: 1.5rem 0;
    }
    
    .stat-item {
        padding: 1rem;
    }
}

/* ====== 超小屏幕优化 ====== */
@media (max-width: 375px) {
    .container {
        padding: 0 0.5rem;
    }
    
    .hero-title {
        font-size: 1.6rem;
    }
    
    .hero-subtitle {
        font-size: 0.85rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .section-subtitle {
        font-size: 0.9rem;
    }
    
    .logo-main {
        font-size: 1.1rem;
    }
    
    .logo-sub {
        font-size: 0.7rem;
    }
    
    .nav-item {
        font-size: 0.75rem;
        padding: 0.4rem 0.4rem;
    }
    
    .product-title {
        font-size: 0.85rem;
    }
    
    .case-title {
        font-size: 0.9rem;
    }
    
    .service-title {
        font-size: 0.95rem;
    }
    
    .stat-number {
        font-size: 1.6rem;
    }
    
    .stat-label {
        font-size: 0.85rem;
    }
    
    .nav-icon {
        width: 60px;
        height: 60px;
        font-size: 1.4rem;
    }
    
    .service-icon {
        width: 70px;
        height: 70px;
        font-size: 1.7rem;
    }
    
    .hero-fullscreen {
        height: 50vh;
    }
    
    .search-input {
        padding: 0.5rem 0.5rem 0.5rem 2rem;
        font-size: 0.85rem;
    }
    
    .search-btn {
        padding: 0.5rem;
        font-size: 0.85rem;
    }
    
    .btn {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
    
    .product-actions {
        gap: 0.3rem;
    }
    
    .case-stats {
        gap: 0.3rem;
    }
    
    .stat-item {
        font-size: 0.7rem;
    }
    
    .dropdown-menu {
        min-width: 230px;
        padding: 0.5rem;
    }
    
    .dropdown-menu a {
        font-size: 0.75rem;
        padding: 0.25rem 0.4rem;
    }
    
    .footer-links-bottom {
        gap: 0.3rem;
    }
    
    .back-to-top {
        bottom: 0.6rem;
        right: 0.6rem;
        width: 38px;
        height: 38px;
        font-size: 0.8rem;
    }
    
    .page-loader {
        position: fixed;
    }
    
    .loader-icon {
        width: 50px;
        height: 50px;
    }
    
    .loader-icon i {
        font-size: 1.1rem;
    }
    
    .loader-text {
        font-size: 0.8rem;
    }
    
    .cart-title {
        font-size: 0.8rem;
    }
    
    .profile-greeting {
        font-size: 0.8rem;
    }
    
    .feature-item {
        font-size: 0.8rem;
        gap: 0.05rem;
    }
    
    .hero-features {
        gap: 0.3rem;
    }
    
    .hero-buttons {
        gap: 0.4rem;
    }
    
    .quick-nav-grid {
        gap: 0.5rem;
    }
    
    .nav-item-card {
        padding: 0.8rem;
    }
    
    .product-info {
        padding: 1rem;
    }
    
    .case-info {
        padding: 1rem;
    }
    
    .service-showcase-card {
        padding: 1rem;
    }
    
    .feature-tag {
        font-size: 0.65rem;
    }
    
    .price {
        font-size: 1rem;
    }
    
    .original-price {
        font-size: 0.8rem;
    }
    
    .service-features li {
        font-size: 0.8rem;
    }
    
    .stat-desc {
        font-size: 0.75rem;
    }
}

/* ====== 高分辨率屏幕优化 ====== */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .logo-icon,
    .service-icon,
    .nav-icon,
    .cart-icon,
    .profile-icon {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
    
    .hero-image {
        background-size: cover;
        background-attachment: fixed;
    }
    
    .product-image img,
    .case-image img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* ====== 触摸设备优化 ====== */
@media (hover: none) and (pointer: coarse) {
    .nav-item.dropdown.show .dropdown-menu {
        display: block;
        opacity: 1;
        transform: translateY(0);
    }
    
    .product-showcase-card,
    .case-showcase-card,
    .service-showcase-card,
    .nav-item-card {
        transform: none !important;
    }
    
    .product-showcase-card:hover,
    .case-showcase-card:hover,
    .service-showcase-card:hover,
    .nav-item-card:hover {
        transform: none !important;
    }
    
    .btn:hover {
        transform: none !important;
    }
    
    .back-to-top:hover {
        transform: none !important;
    }
    
    .social-link:hover {
        transform: none !important;
    }
    
    .logo-link:hover {
        transform: none !important;
    }
    
    .search-btn:hover {
        transform: none !important;
    }
    
    .cart-link:hover {
        color: initial !important;
    }
    
    .profile-actions a:hover {
        background: initial !important;
    }
    
    .dropdown-menu a:hover {
        background: initial !important;
        padding-left: initial !important;
    }
    
    .footer-links a:hover {
        padding-left: initial !important;
    }
    
    .footer-links-bottom a:hover {
        color: initial !important;
    }
}

/* ====== 高对比度模式支持 ====== */
@media (prefers-contrast: high) {
    :root {
        --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.3);
        --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.4);
        --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.5);
        --shadow-tech: 0 0 20px rgba(0, 204, 255, 0.5);
    }
    
    .nav-item {
        border: 1px solid transparent;
    }
    
    .nav-item:hover,
    .nav-item.active {
        border: 1px solid var(--tech-blue);
    }
    
    .btn {
        border: 2px solid currentColor;
    }
    
    .product-showcase-card,
    .case-showcase-card,
    .service-showcase-card {
        border: 1px solid var(--medium-gray);
    }
    
    .nav-item-card {
        border: 1px solid var(--medium-gray);
    }
    
    .search-box {
        border: 2px solid var(--medium-gray);
    }
    
    .search-box:focus-within {
        border-color: var(--tech-blue);
    }
}

/* ====== 减少动画偏好支持 ====== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .logo-link:hover {
        transform: none;
    }
    
    .search-btn:hover {
        transform: none;
    }
    
    .product-showcase-card:hover {
        transform: none;
    }
    
    .case-showcase-card:hover {
        transform: none;
    }
    
    .service-showcase-card:hover {
        transform: none;
    }
    
    .nav-item-card:hover {
        transform: none;
    }
    
    .back-to-top:hover {
        transform: none;
    }
    
    .social-link:hover {
        transform: none;
    }
    
    .btn:hover {
        transform: none;
    }
    
    .hero-image {
        animation: none;
    }
    
    .loader-icon {
        animation: none;
    }
    
    .logo-icon::before {
        transition: none;
    }
    
    .search-box::before {
        transition: none;
    }
    
    .search-btn::before {
        transition: none;
    }
    
    .nav-item::before {
        transition: none;
    }
    
    .dropdown-menu a::before {
        transition: none;
    }
    
    .back-to-top::before {
        transition: none;
    }
    
    .social-link::before {
        transition: none;
    }
    
    .service-showcase-card::before {
        transition: none;
    }
    
    .nav-item-card::before {
        transition: none;
    }
    
    .product-showcase-card::before {
        transition: none;
    }
    
    @keyframes pulse {
        0% { transform: scale(1); }
        70% { transform: scale(1.05); }
        100% { transform: scale(1); }
    }
    
    @keyframes glow {
        from { box-shadow: 0 0 5px var(--tech-blue); }
        to { box-shadow: 0 0 20px var(--tech-blue); }
    }
}

/* ====== 深色模式支持 ====== */
@media (prefers-color-scheme: dark) {
    :root {
        --light-gray: #1a1a1a;
        --medium-gray: #a0a0a0;
        --dark-gray: #f0f0f0;
        --black: #ffffff;
    }
    
    body {
        background: var(--light-gray);
        color: var(--dark-gray);
    }
    
    .futuristic-header,
    .futuristic-nav,
    .nav-item-card,
    .product-showcase-card,
    .case-showcase-card,
    .service-showcase-card,
    .quick-nav-section,
    .products-showcase-section,
    .case-studies-showcase-section,
    .services-showcase-section {
        background: var(--dark-gray);
        color: var(--light-gray);
    }
    
    .futuristic-top-bar {
        background: var(--black);
        color: var(--light-gray);
    }
    
    .search-input {
        background: var(--light-gray);
        color: var(--dark-gray);
    }
    
    .dropdown-menu {
        background: var(--dark-gray);
        color: var(--light-gray);
    }
    
    .nav-item:hover,
    .nav-item.active {
        background: rgba(0, 204, 255, 0.1);
    }
    
    .dropdown-menu a:hover {
        background: rgba(0, 204, 255, 0.1);
    }
    
    .footer-top {
        background: var(--black);
    }
    
    .hero-overlay {
        background: rgba(0, 0, 0, 0.6);
    }
    
    .hero-content {
        color: var(--white);
    }
    
    .section-title {
        color: var(--dark-gray);
    }
    
    .section-subtitle {
        color: var(--medium-gray);
    }
    
    .product-title {
        color: var(--dark-gray);
    }
    
    .product-desc {
        color: var(--medium-gray);
    }
    
    .case-title {
        color: var(--dark-gray);
    }
    
    .service-title {
        color: var(--dark-gray);
    }
    
    .service-desc {
        color: var(--medium-gray);
    }
    
    .stat-item {
        color: var(--medium-gray);
    }
    
    .feature-tag {
        background: rgba(255, 255, 255, 0.1);
        color: var(--dark-gray);
    }
    
    .price {
        color: var(--danger-red);
    }
    
    .original-price {
        color: var(--medium-gray);
    }
    
    .service-features li {
        color: var(--medium-gray);
    }
    
    .cart-title {
        color: var(--dark-gray);
    }
    
    .cart-total {
        color: var(--danger-red);
    }
    
    .profile-greeting {
        color: var(--dark-gray);
    }
    
    .profile-actions a {
        color: var(--tech-blue);
    }
    
    .footer-links a {
        color: var(--medium-gray);
    }
    
    .footer-links-bottom a {
        color: var(--medium-gray);
    }
    
    .logo-main {
        background: var(--gradient-tech);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }
    
    .logo-sub {
        color: var(--medium-gray);
    }
    
    .nav-icon.high-voltage {
        background: var(--gradient-power);
    }
    
    .nav-icon.low-voltage {
        background: linear-gradient(135deg, var(--success-green), var(--success-dark));
    }
    
    .nav-icon.fire-resistant {
        background: var(--gradient-fire);
    }
    
    .nav-icon.special-cable {
        background: linear-gradient(135deg, var(--tech-purple), #6633cc);
    }
    
    .nav-icon.procurement {
        background: linear-gradient(135deg, #ff6b35, #f7931e);
    }
    
    .nav-icon.wiki {
        background: linear-gradient(135deg, #667eea, #764ba2);
    }
    
    .service-icon {
        background: var(--light-gray);
        color: var(--tech-blue);
    }
    
    .service-showcase-card:hover .service-icon {
        background: var(--gradient-tech);
        color: var(--white);
    }
    
    .product-image img {
        filter: brightness(0.8);
    }
    
    .case-image img {
        filter: brightness(0.8);
    }
    
    .hero-image {
        background: linear-gradient(135deg, #2563eb, #1d4ed8);
    }
    
    .stats-section {
        background: var(--gradient-tech);
    }
    
    .stat-number,
    .stat-label,
    .stat-desc {
        color: var(--white);
    }
    
    .nav-item {
        color: var(--dark-gray);
    }
    
    .nav-item:hover,
    .nav-item.active {
        color: var(--tech-blue);
    }
    
    .dropdown-column h4 {
        color: var(--tech-blue);
    }
    
    .dropdown-menu a {
        color: var(--dark-gray);
    }
    
    .feature-item {
        color: var(--medium-gray);
    }
    
    .feature-item i {
        color: var(--tech-green);
    }
    
    .stat-item i {
        color: var(--tech-blue);
    }
    
    .case-category-badge {
        background: rgba(0, 0, 0, 0.7);
        color: var(--white);
    }
    
    .case-category-badge.power-grid {
        background: linear-gradient(135deg, var(--primary-blue), var(--primary-dark));
    }
    
    .case-category-badge.building {
        background: linear-gradient(135deg, var(--success-green), var(--success-dark));
    }
    
    .case-category-badge.industrial {
        background: linear-gradient(135deg, var(--tech-purple), #6633cc);
    }
    
    .product-badge {
        background: var(--tech-blue);
        color: var(--white);
    }
    
    .product-badge.new {
        background: var(--success-green);
    }
    
    .product-badge.popular {
        background: var(--warning-orange);
    }
    
    .product-badge.special {
        background: var(--danger-red);
    }
    
    .product-badge.custom {
        background: var(--tech-purple);
    }
    
    .contact-item {
        color: var(--medium-gray);
    }
    
    .contact-item i {
        color: var(--tech-blue);
    }
    
    .logo-desc {
        color: var(--medium-gray);
    }
    
    .qr-text {
        color: var(--medium-gray);
    }
    
    .social-link {
        background: rgba(255, 255, 255, 0.1);
        color: var(--white);
    }
    
    .social-link:hover {
        background: var(--tech-blue);
    }
    
    .copyright {
        color: var(--medium-gray);
    }
    
    .btn-outline-light {
        background: transparent;
        border: 2px solid var(--white);
        color: var(--white);
    }
    
    .btn-outline-primary {
        background: transparent;
        border: 2px solid var(--tech-blue);
        color: var(--tech-blue);
    }
    
    .btn-primary {
        background: var(--gradient-tech);
        color: var(--white);
    }
    
    .text-blue { color: var(--primary-blue); }
    .text-green { color: var(--success-green); }
    .text-orange { color: var(--warning-orange); }
    .text-red { color: var(--danger-red); }
    .text-gray { color: var(--medium-gray); }
    .text-dark { color: var(--dark-gray); }
    .text-black { color: var(--black); }
    .text-tech-blue { color: var(--tech-blue); }
    .text-tech-purple { color: var(--tech-purple); }
    .text-tech-green { color: var(--tech-green); }
    
    .bg-blue { background: var(--primary-blue); }
    .bg-green { background: var(--success-green); }
    .bg-orange { background: var(--warning-orange); }
    .bg-red { background: var(--danger-red); }
    .bg-gray { background: var(--medium-gray); }
    .bg-dark { background: var(--dark-gray); }
    .bg-light { background: var(--light-gray); }
    .bg-tech { background: var(--gradient-tech); }
    .bg-cable { background: var(--gradient-cable); }
    
    .page-loader {
        background: var(--white);
    }
    
    .loader-content {
        color: var(--dark-gray);
    }
    
    .loader-icon {
        background: var(--gradient-tech);
    }
    
    .loader-icon i {
        color: var(--white);
    }
    
    .loader-text {
        color: var(--dark-gray);
    }
    
    .back-to-top {
        background: var(--gradient-tech);
        color: var(--white);
    }
    
    .back-to-top:hover {
        box-shadow: 0 0 30px rgba(0, 204, 255, 0.5);
    }
    
    .futuristic-top-bar {
        background: var(--dark-gray);
        color: var(--white);
    }
    
    .futuristic-header {
        background: var(--white);
    }
    
    .futuristic-nav {
        background: var(--white);
    }
    
    .hero-fullscreen {
        background: var(--light-gray);
    }
    
    .quick-nav-section {
        background: var(--light-gray);
    }
    
    .case-studies-showcase-section {
        background: var(--light-gray);
    }
    
    .stats-section {
        background: var(--gradient-tech);
    }
}

/* ====== 横屏模式优化 ====== */
@media (orientation: landscape) and (max-height: 500px) {
    .hero-fullscreen {
        height: 100vh;
    }
    
    .hero-content {
        transform: scale(0.8);
        transform-origin: top center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-buttons {
        gap: 1rem;
    }
    
    .quick-nav-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .products-showcase-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .case-showcase-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-showcase-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ====== 打印样式优化 ====== */
@media print {
    .futuristic-top-bar,
    .futuristic-header,
    .futuristic-nav,
    .back-to-top,
    .page-loader {
        display: none;
    }
    
    .hero-fullscreen {
        height: auto;
        page-break-inside: avoid;
    }
    
    .product-showcase-card,
    .case-showcase-card,
    .service-showcase-card {
        page-break-inside: avoid;
        break-inside: avoid;
    }
    
    .nav-item-card {
        page-break-inside: avoid;
        break-inside: avoid;
    }
    
    .stats-section {
        background: none !important;
        color: black !important;
    }
    
    .stat-number,
    .stat-label,
    .stat-desc {
        color: black !important;
    }
    
    .hero-image {
        background: none !important;
    }
    
    .hero-overlay {
        background: none !important;
    }
    
    .hero-content {
        color: black !important;
    }
    
    .section-title {
        color: black !important;
    }
    
    .section-subtitle {
        color: black !important;
    }
    
    .product-title {
        color: black !important;
    }
    
    .case-title {
        color: black !important;
    }
    
    .service-title {
        color: black !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    .futuristic-content {
        background: white !important;
    }
    
    .quick-nav-section,
    .products-showcase-section,
    .case-studies-showcase-section,
    .services-showcase-section {
        background: white !important;
    }
    
    .dropdown-menu {
        display: none !important;
    }
    
    .btn {
        color: black !important;
        border: 1px solid black !important;
    }
    
    .btn-primary {
        background: none !important;
        color: black !important;
        border: 1px solid black !important;
    }
    
    .btn-outline-primary {
        background: none !important;
        border: 1px solid black !important;
        color: black !important;
    }
    
    .btn-outline-light {
        background: none !important;
        border: 1px solid black !important;
        color: black !important;
    }
    
    .product-showcase-card,
    .case-showcase-card,
    .service-showcase-card,
    .nav-item-card {
        border: 1px solid black !important;
    }
    
    .hero-features {
        color: black !important;
    }
    
    .feature-item {
        color: black !important;
    }
    
    .feature-item i {
        color: black !important;
    }
    
    .stat-item i {
        color: black !important;
    }
    
    .case-category-badge {
        background: black !important;
        color: white !important;
    }
    
    .product-badge {
        background: black !important;
        color: white !important;
    }
    
    .feature-tag {
        background: black !important;
        color: white !important;
    }
    
    .price {
        color: black !important;
    }
    
    .original-price {
        color: black !important;
    }
    
    .service-features li {
        color: black !important;
    }
    
    .product-desc,
    .case-desc,
    .service-desc,
    .section-subtitle,
    .stat-desc {
        color: black !important;
    }
    
    .dropdown-column h4 {
        color: black !important;
    }
    
    .dropdown-menu a {
        color: black !important;
    }
    
    .nav-item {
        color: black !important;
    }
    
    .logo-main {
        background: none !important;
        -webkit-background-clip: initial;
        -webkit-text-fill-color: black;
        background-clip: initial;
        color: black !important;
    }
    
    .logo-sub {
        color: black !important;
    }
    
    .cart-title {
        color: black !important;
    }
    
    .cart-total {
        color: black !important;
    }
    
    .profile-greeting {
        color: black !important;
    }
    
    .profile-actions a {
        color: black !important;
    }
    
    .contact-item {
        color: black !important;
    }
    
    .contact-item i {
        color: black !important;
    }
    
    .logo-desc {
        color: black !important;
    }
    
    .qr-text {
        color: black !important;
    }
    
    .copyright {
        color: black !important;
    }
    
    .footer-links a {
        color: black !important;
    }
    
    .footer-links-bottom a {
        color: black !important;
    }
    
    .social-link {
        background: black !important;
        color: white !important;
    }
    
    .service-icon {
        background: black !important;
        color: white !important;
    }
    
    .nav-icon {
        background: black !important;
        color: white !important;
    }
    
    .cart-icon {
        color: black !important;
    }
    
    .profile-icon {
        color: black !important;
    }
    
    .search-icon {
        color: black !important;
    }
    
    .product-image img,
    .case-image img {
        filter: none !important;
    }
}

/* ====== 系统字体支持 ====== */
@media screen and (-webkit-min-device-pixel-ratio: 0) {
    body {
        font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    }
}

/* ====== 旧版浏览器兼容 ====== */
@supports not (backdrop-filter: blur(10px)) {
    .dropdown-menu {
        background: rgba(255, 255, 255, 0.98) !important;
    }
}

@supports not (grid-template-columns: repeat(auto-fit, minmax(300px, 1fr))) {
    .quick-nav-grid,
    .products-showcase-grid,
    .case-showcase-grid,
    .services-showcase-grid,
    .stats-grid {
        display: flex !important;
        flex-wrap: wrap !important;
    }
    
    .quick-nav-grid > *,
    .products-showcase-grid > *,
    .case-showcase-grid > *,
    .services-showcase-grid > *,
    .stats-grid > * {
        flex: 0 0 calc(50% - 1rem) !important;
        margin: 0.5rem !important;
    }
    
    @media (min-width: 768px) {
        .quick-nav-grid > *,
        .products-showcase-grid > *,
        .case-showcase-grid > *,
        .services-showcase-grid > *,
        .stats-grid > * {
            flex: 0 0 calc(33.333% - 1rem) !important;
        }
    }
    
    @media (min-width: 992px) {
        .quick-nav-grid > *,
        .products-showcase-grid > *,
        .case-showcase-grid > *,
        .services-showcase-grid > *,
        .stats-grid > * {
            flex: 0 0 calc(25% - 1rem) !important;
        }
    }
    
    @media (min-width: 1200px) {
        .quick-nav-grid > *,
        .products-showcase-grid > *,
        .case-showcase-grid > *,
        .services-showcase-grid > *,
        .stats-grid > * {
            flex: 0 0 calc(16.666% - 1rem) !important;
        }
        
        .products-showcase-grid > *,
        .services-showcase-grid > * {
            flex: 0 0 calc(25% - 1rem) !important;
        }
        
        .case-showcase-grid > * {
            flex: 0 0 calc(33.333% - 1rem) !important;
        }
        
        .stats-grid > * {
            flex: 0 0 calc(25% - 1rem) !important;
        }
    }
}

/* ====== 无障碍访问优化 ====== */
@media screen and (prefers-reduced-motion: no-preference) {
    .focusable:focus {
        outline: 2px solid var(--tech-blue);
        outline-offset: 2px;
    }
}

/* ====== 高DPI屏幕优化 ====== */
@media (-webkit-min-device-pixel-ratio: 1.5), (min-resolution: 144dpi) {
    .logo-icon,
    .service-icon,
    .nav-icon,
    .cart-icon,
    .profile-icon {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* ====== 移动设备横屏优化 ====== */
@media (max-height: 400px) and (orientation: landscape) {
    .hero-fullscreen {
        height: 100vh;
        min-height: 400px;
    }
    
    .hero-content {
        transform: scale(0.7);
        transform-origin: top center;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: row;
        gap: 0.5rem;
    }
    
    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .quick-nav-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .products-showcase-grid {
        grid-template-columns: repeat(1, 1fr);
    }
    
    .case-showcase-grid {
        grid-template-columns: repeat(1, 1fr);
    }
    
    .services-showcase-grid {
        grid-template-columns: repeat(1, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}