/* Responsive Design for QuantRisk.AI */

/* Tablet Styles */
@media (max-width: 1024px) {
    .nav-container {
        padding: 0 1rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .about-content,
    .contact-content {
        gap: 3rem;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        margin-bottom: 0.5rem;
    }

    .hero {
        padding: 2rem 1rem;
        min-height: 90vh;
    }

    .hero h1 {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

    .hero p {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }

    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }

    .section {
        padding: 3rem 1rem;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 0.75rem;
    }

    .section-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .feature-item {
        padding: 1rem;
    }

    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .values-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .stats {
        justify-content: space-around;
        gap: 1rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .risk-meter {
        width: 150px;
        height: 150px;
    }

    .meter-inner {
        width: 110px;
        height: 110px;
    }

    .meter-value {
        font-size: 1.5rem;
    }

    .slider {
        max-width: 250px;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Small Mobile Styles */
@media (max-width: 480px) {
    .navbar {
        padding: 0.75rem 1rem;
    }

    .logo {
        font-size: 1.25rem;
    }

    .hero h1 {
        font-size: 2rem;
        line-height: 1.3;
    }

    .hero p {
        font-size: 1rem;
    }

    .section {
        padding: 2rem 0.75rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .service-card,
    .contact-form {
        padding: 1.25rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .feature-item {
        padding: 0.75rem;
    }

    .interactive-demo {
        padding: 1.5rem;
    }

    .risk-meter {
        width: 120px;
        height: 120px;
    }

    .meter-inner {
        width: 90px;
        height: 90px;
    }

    .meter-value {
        font-size: 1.25rem;
    }

    .meter-label {
        font-size: 0.8rem;
    }

    .control-group label {
        font-size: 0.9rem;
    }

    .slider {
        max-width: 200px;
    }
}

/* Large Desktop Styles */
@media (min-width: 1400px) {
    .container {
        max-width: 1400px;
    }
    
    .hero h1 {
        font-size: 4rem;
    }
    
    .hero p {
        font-size: 1.4rem;
    }
    
    .section-title {
        font-size: 3rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Print Styles */
@media print {
    .navbar,
    .particles,
    .interactive-demo,
    .contact-form {
        display: none;
    }
    
    .hero {
        min-height: auto;
        padding: 2rem;
        background: white;
        color: black;
    }
    
    .section {
        padding: 2rem 0;
    }
    
    .service-card,
    .feature-item {
        break-inside: avoid;
    }
}