/* assets/css/responsive.css - Responsive Design Styles */

/* ==========================================
   LARGE SCREENS (1400px+)
   ========================================== */
@media (min-width: 1400px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
        max-width: 1200px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* ==========================================
   TABLET & MOBILE (768px and below)
   ========================================== */
@media (max-width: 768px) {
    /* Navigation */
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(13, 25, 43, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 1rem 0;
    }

    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    /* Logo adjustments */
    .logo-text {
        font-size: 1.2rem;
    }

    .logo-icon {
        width: 30px;
        height: 30px;
    }

    .logo-dot {
        width: 8px;
        height: 8px;
    }

    /* Hero section */
    .hero-logo {
        width: 90px;
        height: 90px;
        gap: 9px;
    }

    .hero-logo-dot {
        width: 24px;
        height: 24px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero {
        padding: 4rem 0;
    }

    /* General layout */
    section {
        padding: 2rem 0;
    }

    .container {
        padding: 0 1rem;
    }

    /* Buttons */
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    /* Grids */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .product-features {
        grid-template-columns: 1fr;
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .recognition-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Feature cards adjustments */
    .feature-card {
        padding: 1.5rem;
    }

    .feature-highlights {
        font-size: 0.85rem;
    }

    .highlight-item {
        gap: 0.5rem;
        padding: 0.2rem 0;
    }

    .highlight-text {
        font-size: 0.8rem;
    }

    .feature-metrics {
        margin: 0.8rem 0 0.3rem 0;
        padding: 0.8rem 0 0.3rem 0;
    }

    .metric-number {
        font-size: 1.1rem;
    }

    .metric-label {
        font-size: 0.7rem;
    }

    .feature-cta {
        margin-top: 0.3rem;
        padding-top: 0.3rem;
    }

    /* Typography */
    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    /* Service cards */
    .service-card {
        padding: 2rem;
    }

    /* Stats */
    .stat-item h3 {
        font-size: 2.5rem;
    }

    .stat-item p {
        font-size: 1rem;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
    }

    .footer-section {
        margin-bottom: 1rem;
    }
}

/* ==========================================
   SMALL MOBILE (480px and below)
   ========================================== */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
        line-height: 1.2;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .feature-card {
        padding: 1.2rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .recognition-grid {
        grid-template-columns: 1fr;
    }

    /* Reduce spacing on small screens */
    .hero {
        padding: 3rem 0;
    }

    section {
        padding: 1.5rem 0;
    }

    .feature-metrics {
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
    }

    .metric {
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .metric-number {
        font-size: 1.2rem;
        margin-bottom: 0;
    }

    .metric-label {
        font-size: 0.8rem;
    }
}

/* ==========================================
   PRINT STYLES
   ========================================== */
@media print {
    /* Hide interactive elements */
    .menu-toggle,
    .cta-buttons,
    .btn,
    .network-canvas,
    .bokeh-particle {
        display: none !important;
    }

    /* Adjust colors for print */
    .hero,
    .stats {
        background: white !important;
        color: black !important;
    }

    .hero h1,
    .hero p,
    .stats .section-title {
        color: black !important;
        text-shadow: none !important;
    }

    /* Improve contrast */
    .feature-card,
    .service-card {
        border: 2px solid #ddd;
        box-shadow: none !important;
    }
}

/* ==========================================
   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;
    }

    .bokeh-particle {
        display: none;
    }
}

/* ==========================================
   HIGH CONTRAST MODE
   ========================================== */
@media (prefers-contrast: high) {
    .btn {
        border-width: 3px;
    }

    .feature-card,
    .service-card {
        border: 2px solid #333;
    }

    .hero {
        background: #000 !important;
    }

    .hero::before,
    .hero::after,
    .stats::before {
        display: none;
    }
}