/* ========================================
   山海智营品牌官网 - 响应式补充样式
   ======================================== */

/* Tablet Landscape (768px - 1024px) */
@media screen and (max-width: 1024px) {
    .container {
        max-width: 960px;
    }
    
    /* Navigation */
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        box-shadow: var(--shadow-lg);
        transform: translateY(-150%);
        opacity: 0;
        transition: all var(--transition-base);
        z-index: 999;
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
    }
    
    .nav-actions {
        position: fixed;
        bottom: 2rem;
        left: 50%;
        transform: translateX(-50%);
        display: flex !important;
        gap: 1rem;
    }
    
    /* Hero Section */
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .stat-number {
        font-size: 1.75rem !important;
    }
    
    /* Features */
    .features-grid {
        gap: 1.5rem;
    }
    
    .feature-card {
        padding: 2rem;
    }
    
    /* Products */
    .products-showcase {
        gap: 1.5rem;
    }
    
    /* Pricing */
    .pricing-grid {
        gap: 1.5rem;
    }
    
    .pricing-card {
        padding: 2rem;
    }
}

/* Mobile Portrait (480px - 768px) */
@media screen and (max-width: 768px) {
    .container {
        max-width: 100%;
        padding: 0 1rem;
    }
    
    /* Typography */
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.25rem; }
    
    /* Hero */
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
    
    .floating-card {
        display: none;
    }
    
    /* Sections */
    .section-title {
        font-size: 1.75rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    /* Features */
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
    }
    
    .feature-icon i {
        font-size: 1.5rem;
    }
    
    /* Products */
    .products-showcase {
        grid-template-columns: 1fr;
    }
    
    .product-card {
        padding: 1.5rem;
    }
    
    /* Pricing */
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.featured {
        transform: scale(1);
        border-width: 3px;
    }
    
    /* About */
    .about-content {
        gap: 2rem;
    }
    
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .about-values {
        grid-template-columns: 1fr;
    }
    
    /* Contact */
    .contact-grid {
        gap: 2rem;
    }
    
    .contact-form-wrapper {
        padding: 2rem 1.5rem;
    }
    
    /* Footer */
    .footer-top {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-logo {
        display: flex;
        justify-content: center;
    }
    
    .footer-col ul {
        align-items: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    /* Back to top */
    .back-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 45px;
        height: 45px;
    }
}

/* Small Mobile (below 480px) */
@media screen and (max-width: 480px) {
    /* Base */
    html {
        font-size: 13px;
    }
    
    body {
        overflow-x: hidden;
    }
    
    /* Hero */
    .hero {
        padding: 5rem 0 2rem;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-stats {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 1.5rem !important;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
    
    /* Buttons */
    .btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.9375rem;
    }
    
    .btn-lg {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
    
    /* Sections */
    section {
        padding: 2.5rem 0;
    }
    
    .section-header {
        margin-bottom: 2.5rem;
    }
    
    /* Feature cards */
    .feature-card {
        padding: 1.5rem;
    }
    
    .feature-list li {
        font-size: 0.875rem;
    }
    
    /* Product cards */
    .product-card {
        padding: 1.25rem;
    }
    
    .product-features li {
        font-size: 0.8125rem;
    }
    
    /* Pricing */
    .pricing-card {
        padding: 1.5rem;
    }
    
    .plan-price .amount {
        font-size: 2.5rem;
    }
    
    .plan-features li {
        font-size: 0.875rem;
    }
    
    /* Contact form */
    .contact-form-wrapper {
        padding: 1.5rem 1rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.875rem 1rem;
        font-size: 0.9375rem;
    }
    
    /* Footer */
    .footer {
        padding: 3rem 0 1.5rem;
    }
    
    .footer-top {
        padding-bottom: 2rem;
    }
    
    .footer-col h4 {
        font-size: 1rem;
    }
    
    .footer-col a {
        font-size: 0.875rem;
    }
}

/* Large Desktop (above 1440px) */
@media screen and (min-width: 1440px) {
    .container {
        max-width: 1400px;
    }
    
    .hero-title {
        font-size: 4rem;
    }
    
    .section-title {
        font-size: 3rem;
    }
    
    .features-grid {
        gap: 3rem;
    }
    
    .products-showcase {
        gap: 2.5rem;
    }
    
    .pricing-grid {
        gap: 2.5rem;
    }
}

/* Ultra Wide (above 1920px) */
@media screen and (min-width: 1920px) {
    html {
        font-size: 18px;
    }
    
    .container {
        max-width: 1600px;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .hero-actions,
    .back-to-top,
    .contact-form-wrapper,
    .footer {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
        color: black;
        background: white;
    }
    
    a {
        color: black;
        text-decoration: underline;
    }
    
    .hero {
        padding: 2rem 0;
        background: white;
    }
    
    section {
        page-break-inside: avoid;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #4c1d95;
        --primary-dark: #581c87;
        --text-primary: #000000;
        --text-secondary: #374151;
        --border-color: #000000;
    }
    
    .btn-outline {
        border-width: 3px;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Dark Mode Support (Future Enhancement) */
@media (prefers-color-scheme: dark) {
    /* Uncomment when implementing dark mode */
    /*
    :root {
        --text-primary: #f9fafb;
        --text-secondary: #9ca3af;
        --bg-light: #1f2937;
        --bg-white: #111827;
        --border-color: #374151;
    }
    */
}
