/* Mobile-First Responsive Design for FoundrFuse Homepage */

/* Base Mobile Styles (320px+) */
@media (max-width: 575px) {
    /* Hide right section on mobile */
    .hero-right-cards {
        display: none;
    }
    
    /* Hero Section Mobile */
    .hero-main {
        min-height: 90vh;
        padding: 4rem 0 1rem 0;
    }
    
    .hero-container {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1rem;
        text-align: center;
        margin-top: 2rem;
    }
    
    .hero-left-content {
        max-width: 100%;
        width: 100%;
    }
    
    /* Typography Mobile */
    .hero-heading {
        font-size: 1.8rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .hero-subtext {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-badge {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
        margin-bottom: 1rem;
    }
    
    /* Buttons Mobile */
    .hero-cta {
        flex-direction: column;
        gap: 0.8rem;
        align-items: center;
        margin-bottom: 1.5rem;
    }
    
    .btn-primary-glow,
    .btn-outline-glow {
        width: 100%;
        max-width: 280px;
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
        justify-content: center;
    }
    
    /* Trust Indicators Mobile */
    .trust-indicators {
        flex-direction: column;
        gap: 0.8rem;
        align-items: center;
    }
    
    .trust-item {
        padding: 0.5rem 0.8rem;
        font-size: 0.8rem;
        width: 100%;
        max-width: 200px;
        justify-content: center;
    }
    
    /* Solar System Mobile */
    .solar-system {
        height: 250px;
    }
    
    .orbit-container {
        width: 220px;
        height: 220px;
    }
    
    .orbit-path {
        width: 180px;
        height: 135px;
    }
    
    .center-placeholder img {
        width: 120px;
    }
    
    .feature-circle {
        width: 50px;
        height: 50px;
        font-size: 0.7rem;
    }
    
    /* Features Section Mobile */
    .features-section .container {
        padding: 0 1rem;
    }
    
    .feature-card {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .feature-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    /* Pricing Section Mobile */
    .pricing-card {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .pricing-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .pricing-price .amount {
        font-size: 2rem;
    }
    
    /* Blog Section Mobile */
    .blog-card-item {
        flex: 0 0 240px;
        width: 240px;
    }
    
    .insight-image {
        height: 100px;
    }
    
    .insight-content {
        padding: 0.8rem;
    }
    
    .insight-title {
        font-size: 0.95rem;
    }
    
    .insight-excerpt {
        font-size: 0.8rem;
    }
}

/* Small Mobile (480px+) */
@media (min-width: 480px) and (max-width: 575px) {
    .hero-heading {
        font-size: 2rem;
    }
    
    .hero-subtext {
        font-size: 1rem;
    }
    
    .solar-system {
        height: 280px;
    }
    
    .orbit-container {
        width: 250px;
        height: 250px;
    }
    
    .center-placeholder img {
        width: 140px;
    }
    
    .blog-card-item {
        flex: 0 0 260px;
        width: 260px;
    }
}

/* Tablet Portrait (576px - 767px) */
@media (min-width: 576px) and (max-width: 767px) {
    .hero-container {
        flex-direction: column;
        gap: 2rem;
        padding: 1.5rem;
    }
    
    .hero-left-content {
        text-align: center;
        order: 2;
    }
    
    .hero-right-cards {
        order: 1;
        max-width: 320px;
        margin: 0 auto;
    }
    
    .hero-heading {
        font-size: 2.2rem;
    }
    
    .hero-cta {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .btn-primary-glow,
    .btn-outline-glow {
        width: auto;
        min-width: 180px;
    }
    
    .trust-indicators {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    
    .trust-item {
        width: auto;
        min-width: 150px;
    }
    
    .solar-system {
        height: 320px;
    }
    
    .orbit-container {
        width: 300px;
        height: 300px;
    }
    
    .feature-circle {
        width: 60px;
        height: 60px;
        font-size: 0.8rem;
    }
}

/* Tablet Landscape (768px - 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    .hero-container {
        flex-direction: row;
        gap: 2rem;
        align-items: center;
    }
    
    .hero-left-content {
        flex: 1.5;
        text-align: left;
    }
    
    .hero-right-cards {
        flex: 1;
        max-width: 350px;
    }
    
    .hero-heading {
        font-size: 2.5rem;
    }
    
    .hero-cta {
        flex-direction: row;
        justify-content: flex-start;
        gap: 1rem;
    }
    
    .trust-indicators {
        flex-direction: row;
        justify-content: flex-start;
        gap: 1.5rem;
    }
    
    .solar-system {
        height: 350px;
    }
    
    .orbit-container {
        width: 350px;
        height: 350px;
    }
    
    .pricing-card {
        height: auto;
        min-height: 500px;
    }
}

/* Small Desktop (992px - 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
    .hero-container {
        gap: 3rem;
        padding: 2rem;
    }
    
    .hero-left-content {
        flex: 1.8;
    }
    
    .hero-right-cards {
        flex: 1.2;
        max-width: 400px;
    }
    
    .hero-heading {
        font-size: 2.8rem;
    }
    
    .solar-system {
        height: 380px;
    }
    
    .orbit-container {
        width: 400px;
        height: 400px;
    }
    
    .feature-circle {
        width: 70px;
        height: 70px;
        font-size: 0.9rem;
    }
}

/* Large Desktop (1200px+) */
@media (min-width: 1200px) {
    .hero-container {
        gap: 4rem;
        max-width: 1400px;
    }
    
    .hero-left-content {
        flex: 2;
        max-width: 700px;
    }
    
    .hero-right-cards {
        flex: 0 0 450px;
    }
    
    .hero-heading {
        font-size: 3.2rem;
    }
    
    .solar-system {
        height: 450px;
    }
    
    .orbit-container {
        width: 500px;
        height: 500px;
    }
    
    .feature-circle {
        width: 80px;
        height: 80px;
        font-size: 1rem;
    }
}

/* Ultra Wide (1400px+) */
@media (min-width: 1400px) {
    .hero-container {
        max-width: 1600px;
        gap: 5rem;
    }
    
    .hero-heading {
        font-size: 3.5rem;
    }
    
    .hero-subtext {
        font-size: 1.2rem;
    }
}

/* Landscape Mobile Fix */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-main {
        min-height: auto;
        padding: 2rem 0;
    }
    
    .hero-container {
        flex-direction: row;
        gap: 2rem;
    }
    
    .hero-left-content {
        flex: 1.5;
        text-align: left;
    }
    
    .hero-right-cards {
        flex: 1;
        max-width: 300px;
    }
    
    .solar-system {
        height: 250px;
    }
    
    .orbit-container {
        width: 250px;
        height: 250px;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero-badge,
    .trust-item,
    .feature-card,
    .pricing-card {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
}

/* Accessibility - Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .feature-circle,
    .stats-card-container,
    .hero-waves svg path,
    .btn-shine,
    .badge-glow {
        animation: none !important;
    }
    
    .hero-badge::before {
        display: none;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .hero-main {
        background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    }
    
    .hero-heading,
    .hero-subtext {
        color: #ffffff;
    }
    
    .feature-card,
    .pricing-card {
        background: linear-gradient(180deg, #2a2a3e, #1a1a2e);
        border-color: #3a3a5e;
        color: #ffffff;
    }
}

/* Print Styles */
@media print {
    .hero-waves,
    .solar-system,
    .btn-shine,
    .badge-glow {
        display: none !important;
    }
    
    .hero-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-heading {
        font-size: 2rem;
        color: #000 !important;
    }
    
    .hero-subtext {
        color: #333 !important;
    }
}