/* Responsive Design System & Media Breakpoints */

/* Mobile Small (320px - 375px) */
@media (max-width: 375px) {
    .container {
        padding-left: 12px;
        padding-right: 12px;
    }
    .hero-content h1 {
        font-size: 1.8rem !important;
    }
    .btn-lg {
        padding: 10px 18px !important;
        font-size: 0.95rem !important;
    }
    .floating-stats-box,
    .floating-stats {
        padding: 15px !important;
    }
    .stat-value {
        font-size: 1.5rem !important;
    }
    .stats-number {
        font-size: 2rem !important;
    }
}

/* Mobile Medium (376px - 425px) */
@media (max-width: 425px) {
    .section-padding {
        padding: 45px 0;
    }
    .page-title {
        font-size: 1.8rem;
    }
    .badge {
        font-size: 0.75rem;
    }
    .values-grid,
    .advantage-grid,
    .teams-grid,
    .features-grid,
    .stats-grid {
        grid-template-columns: 1fr !important;
    }
    .main-image-box img {
        height: 250px !important;
    }
}

/* Mobile Wide (426px - 576px) */
@media (max-width: 576px) {
    .values-grid,
    .advantage-grid,
    .features-grid {
        grid-template-columns: 1fr !important;
    }
    .mv-item {
        flex-direction: column;
        align-items: flex-start;
    }
    .floating-stats-box,
    .floating-stats {
        position: relative !important;
        inset: auto !important;
        margin-top: 20px !important;
        width: 100% !important;
        flex-direction: column !important;
        gap: 15px !important;
        align-items: center !important;
        text-align: center !important;
        box-shadow: var(--shadow-md) !important;
    }
    .stat-group-right {
        padding-left: 0 !important;
        border-left: none !important;
        padding-top: 15px !important;
        border-top: 1px solid var(--border-color) !important;
        width: 100% !important;
    }
    .event-card-horizontal {
        flex-direction: column;
    }
    .event-img {
        flex: 0 0 200px;
        width: 100%;
    }
}

/* Tablet (577px - 768px) */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.3s;
        box-shadow: var(--shadow-md);
        z-index: 999;
    }
    .nav-links.active {
        left: 0;
    }
    .mobile-menu-toggle {
        display: block;
    }
    .hero-content h1 {
        font-size: 2.2rem;
    }
    .stats-grid,
    .features-grid,
    .teams-grid,
    .footer-grid {
        grid-template-columns: 1fr !important;
    }
    .bottom-flex {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    .btn-lg {
        width: 100%;
    }
    .premium-grid {
        grid-template-columns: 1fr !important;
    }
    .auth-container {
        border-radius: 16px;
        margin: 10px;
    }
    .auth-form-container {
        padding: 35px 25px;
    }
}

/* Tablet Large / Small Laptop (769px - 992px) */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }
    .event-card {
        flex-direction: column;
    }
    .process-steps {
        grid-template-columns: 1fr;
    }
    .membership-flex, .app-flex {
        flex-direction: column;
        text-align: center;
    }
    .pricing-card {
        margin: 0 auto;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .advantage-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .ai-spotlight-card {
        padding: 30px 24px;
    }
}

/* Laptop Standard (993px - 1200px) */
@media (min-width: 993px) and (max-width: 1200px) {
    .container {
        max-width: 960px;
    }
    .features-grid, .teams-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Laptop Large / Desktop (1201px - 1440px) */
@media (min-width: 1201px) and (max-width: 1440px) {
    .container {
        max-width: 1140px;
    }
}

/* Ultra Wide Display (1441px - 1920px+) */
@media (min-width: 1441px) {
    .container {
        max-width: 1320px;
    }
    .hero-content h1 {
        font-size: 3.5rem;
    }
    .section-padding {
        padding: 100px 0;
    }
}
