/* ====================================
   FutVeri Web - Responsive Styles
   Media Queries and Breakpoints
   ==================================== */

/* Tablet (768px - 1024px) */
@media (max-width: 1024px) {

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

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

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }

    .how-it-works-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-8);
    }

    .how-it-works-visual {
        order: -1;
        height: 300px;
    }

    .download-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .download-text {
        order: 1;
    }

    .store-buttons {
        justify-content: center;
    }

    .download-visual {
        order: 0;
        margin-bottom: var(--spacing-8);
    }
}

/* Mobile (max 768px) */
@media (max-width: 768px) {

    /* Header */
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--color-bg-primary);
        border-bottom: 1px solid var(--glass-border);
        flex-direction: column;
        padding: var(--spacing-6);
        gap: var(--spacing-4);
    }

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

    .nav .btn {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    /* Hero */
    .hero-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .hero-subtitle {
        font-size: var(--font-size-base);
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .hero-scroll {
        display: none;
    }

    /* Features */
    .features-grid {
        grid-template-columns: 1fr;
    }

    /* Platforms */
    .platforms-grid {
        grid-template-columns: 1fr;
    }

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

    .stat-value {
        font-size: var(--font-size-4xl);
    }

    /* Timeline */
    .timeline {
        padding-left: var(--spacing-6);
    }

    /* Footer */
    .footer-top {
        grid-template-columns: 1fr;
        gap: var(--spacing-8);
        text-align: center;
    }

    .footer-brand p {
        max-width: none;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--spacing-4);
        text-align: center;
    }

    .footer-bottom-links {
        gap: var(--spacing-4);
    }

    /* Phone mockup */
    .phone-mockup {
        width: 220px;
        height: 440px;
        border-radius: 32px;
    }

    .phone-screen {
        border-radius: 26px;
        inset: 6px;
    }

    /* Store buttons */
    .store-buttons {
        flex-direction: column;
        align-items: center;
    }

    .store-btn {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
}

/* Small Mobile (max 480px) */
@media (max-width: 480px) {
    .section-title {
        font-size: var(--font-size-2xl);
    }

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

    .glass-card {
        padding: var(--spacing-5);
    }

    .icon-wrapper {
        width: 56px;
        height: 56px;
    }

    .icon-wrapper svg {
        width: 24px;
        height: 24px;
    }

    /* Visual circles */
    .visual-circle:nth-child(1) {
        width: 200px;
        height: 200px;
    }

    .visual-circle:nth-child(2) {
        width: 140px;
        height: 140px;
    }

    .visual-center {
        width: 70px;
        height: 70px;
    }

    .visual-center svg {
        width: 32px;
        height: 32px;
    }
}

/* Large Screens (min 1400px) */
@media (min-width: 1400px) {
    :root {
        --container-max: 1320px;
    }

    .hero-title {
        font-size: 5rem;
    }
}

/* Animation Preferences */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --glass-bg: rgba(28, 30, 38, 0.9);
        --glass-border: rgba(255, 255, 255, 0.3);
    }
}

/* Dark Mode Override (already dark by default) */
@media (prefers-color-scheme: light) {

    /* Keep dark theme regardless of system preference */
    :root {
        --color-bg-primary: #101116;
        --color-bg-secondary: #1C1E26;
    }
}