/* XPANDSIA Hero Section - Responsive Optimizations */

/* Large Desktop (1400px+) */
@media (min-width: 1400px) {
    .hero-content {
        max-width: 1000px;
    }
    
    .hero-title {
        font-size: 4.5rem !important;
    }
    
    .hero-stats {
        display: flex !important;
        justify-content: center !important;
        align-items: stretch !important;
        gap: var(--space-48) !important;
        flex-wrap: wrap !important;
    }
    
    .hero-stat-card {
        padding: var(--space-20) var(--space-32);
        font-size: var(--font-size-xl);
        flex: 1 !important;
        min-height: 90px !important;
        max-width: 300px !important;
        min-width: 220px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
    }
}

/* Desktop (1200px - 1399px) */
@media (min-width: 1200px) and (max-width: 1399px) {
    .hero-content {
        max-width: 900px;
    }
    
    .hero-stats {
        display: flex !important;
        justify-content: center !important;
        align-items: stretch !important;
        gap: var(--space-32) !important;
        flex-wrap: wrap !important;
    }

    .hero-stat-card {
        flex: 1 !important;
        min-height: 80px !important;
        max-width: 280px !important;
        min-width: 200px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
    }
}

/* Tablet Landscape (992px - 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
    .hero-content {
        max-width: 800px;
    }
    
    .hero-title {
        font-size: 3.5rem !important;
    }
    
    .hero-subtitle {
        font-size: 1.3rem !important;
    }
    
    .hero-stats {
        display: flex !important;
        justify-content: center !important;
        align-items: stretch !important;
        gap: var(--space-24) !important;
        flex-wrap: wrap !important;
    }
    
    .hero-stat-card {
        padding: var(--space-12) var(--space-20);
        font-size: var(--font-size-base);
        flex: 1 !important;
        min-height: 75px !important;
        max-width: 250px !important;
        min-width: 180px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
    }
}

/* Tablet Portrait (768px - 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    #hero {
        padding: var(--space-64) var(--space-24);
    }
    
    .hero-content {
        max-width: 700px;
    }
    
    .hero-title {
        font-size: 3rem !important;
        margin-bottom: var(--space-24);
    }
    
    .hero-subtitle {
        font-size: 1.2rem !important;
        margin-bottom: var(--space-32);
    }
    
    .hero-stats {
        flex-direction: column;
        gap: var(--space-16);
        margin-bottom: var(--space-32);
    }
    
    .hero-stat-card {
        padding: var(--space-12) var(--space-16);
        font-size: var(--font-size-sm);
        max-width: 300px;
        margin: 0 auto;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: var(--space-16);
        align-items: center;
    }
    
    .hero-btn-premium {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
}

/* Mobile Large (576px - 767px) */
@media (min-width: 576px) and (max-width: 767px) {
    #hero {
        padding: var(--space-48) var(--space-16);
        min-height: 90vh;
    }
    
    .hero-content {
        max-width: 500px;
    }
    
    .hero-title {
        font-size: 2.5rem !important;
        margin-bottom: var(--space-20);
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1.1rem !important;
        margin-bottom: var(--space-24);
    }
    
    .hero-stats {
        flex-direction: column;
        gap: var(--space-12);
        margin-bottom: var(--space-24);
    }
    
    .hero-stat-card {
        padding: var(--space-10) var(--space-16);
        font-size: var(--font-size-sm);
        max-width: 250px;
        margin: 0 auto;
    }
    
    .hero-stat-card span:first-child {
        font-size: 1.2em;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: var(--space-12);
    }
    
    .hero-btn-premium {
        width: 100%;
        max-width: 250px;
        padding: var(--space-14) var(--space-24);
        font-size: var(--font-size-sm);
    }
    
    /* Background animation removed - no longer needed */
}

/* Mobile Small (320px - 575px) */
@media (max-width: 575px) {
    #hero {
        padding: var(--space-32) var(--space-12);
        min-height: 85vh;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-title {
        font-size: 2rem !important;
        margin-bottom: var(--space-16);
        line-height: 1.3;
    }
    
    .hero-subtitle {
        font-size: 1rem !important;
        margin-bottom: var(--space-20);
        line-height: 1.5;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: var(--space-8);
        margin-bottom: var(--space-20);
    }
    
    .hero-stat-card {
        padding: var(--space-8) var(--space-12);
        font-size: var(--font-size-xs);
        max-width: 200px;
        margin: 0 auto;
        gap: var(--space-8);
    }
    
    .hero-stat-card span:first-child {
        font-size: 1.1em;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: var(--space-10);
    }
    
    .hero-btn-premium {
        width: 100%;
        max-width: 200px;
        padding: var(--space-12) var(--space-20);
        font-size: var(--font-size-xs);
        gap: var(--space-8);
    }
    
    /* Background animation removed - no longer needed */
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero-bg-premium,
    .hero-bg-office,
    .hero-bg-corporate {
        background-size: cover;
        background-position: center;
    }
}

/* Landscape Mobile */
@media (max-height: 500px) and (orientation: landscape) {
    #hero {
        min-height: 100vh;
        padding: var(--space-24) var(--space-16);
    }
    
    .hero-title {
        font-size: 2.2rem !important;
        margin-bottom: var(--space-12);
    }
    
    .hero-subtitle {
        font-size: 1rem !important;
        margin-bottom: var(--space-16);
    }
    
    .hero-stats {
        flex-direction: row;
        gap: var(--space-12);
        margin-bottom: var(--space-16);
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero-stat-card {
        padding: var(--space-6) var(--space-12);
        font-size: var(--font-size-xs);
        max-width: 150px;
    }
    
    .hero-cta {
        flex-direction: row;
        gap: var(--space-12);
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero-btn-premium {
        max-width: 180px;
        padding: var(--space-10) var(--space-16);
        font-size: var(--font-size-xs);
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .hero-stat-card {
        background: rgba(255, 255, 255, 0.08);
        border-color: rgba(255, 255, 255, 0.15);
    }
    
    .hero-btn-secondary {
        background: rgba(255, 255, 255, 0.08);
        border-color: rgba(255, 255, 255, 0.3);
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .hero-bg-animation > div,
    .hero-stat-card,
    .hero-btn-premium,
    .hero-title,
    .hero-subtitle {
        animation: none !important;
        transition: none !important;
    }
    
    /* Background animation removed - no longer needed */
}

/* Print Styles */
@media print {
    #hero {
        background: white !important;
        color: black !important;
        min-height: auto;
        padding: var(--space-32);
    }
    
    /* Background animation removed - no longer needed */
    
    .hero-title,
    .hero-subtitle {
        color: black !important;
        background: none !important;
        -webkit-text-fill-color: black !important;
    }
}