/* Responsive Design - Additional Breakpoints and Adjustments */

/* Large Desktop (1440px+) */
@media (min-width: 1440px) {
    .container {
        max-width: 1400px;
    }

    .hero-logo {
        width: 140px;
        height: 140px;
    }

    .phone-image {
        max-width: 450px;
    }

    .feature-icon {
        width: 90px;
        height: 90px;
    }

    .feature-icon img {
        width: 45px;
        height: 45px;
    }
}

/* Desktop (1024px - 1439px) */
@media (min-width: 1024px) and (max-width: 1439px) {
    .container {
        padding: 0 3rem;
    }
}

/* Tablet (768px - 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
    .container {
        padding: 0 2rem;
    }

    section {
        padding: var(--spacing-lg) 0;
    }

    /* Hero adjustments already in hero.css */

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

/* Small Tablet / Large Phone (600px - 767px) */
@media (min-width: 600px) and (max-width: 767px) {
    .container {
        padding: 0 1.5rem;
    }

    .hero {
        padding: var(--spacing-lg) 0;
    }

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

    .btn-app-store img,
    .btn-google-play img {
        width: 140px;
    }
}

/* Mobile (320px - 599px) */
@media (max-width: 599px) {
    :root {
        --container-padding: 1rem;
        --spacing-xs: 0.25rem;
        --spacing-sm: 0.75rem;
        --spacing-md: 1.5rem;
        --spacing-lg: 2.5rem;
        --spacing-xl: 3rem;
    }

    .container {
        padding: 0 var(--container-padding);
    }

    section {
        padding: var(--spacing-lg) 0;
    }

    /* Typography */
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    .tagline {
        font-size: 1.5rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    /* Buttons */
    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }

    .app-buttons {
        width: 100%;
    }

}

/* Extra Small Mobile (320px - 374px) */
@media (max-width: 374px) {
    .hero-logo {
        width: 70px;
        height: 70px;
    }

    .phone-image {
        max-width: 240px;
    }

    .feature-card {
        padding: 1.25rem;
    }

    .feature-icon {
        width: 50px;
        height: 50px;
    }

    .feature-icon img {
        width: 25px;
        height: 25px;
    }
}

/* Landscape Mode Adjustments */
@media (max-height: 600px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: var(--spacing-md) 0;
    }

    .hero-content {
        gap: var(--spacing-md);
    }

    .phone-image {
        max-width: 250px;
    }
}

/* Print Styles */
@media print {
    .hero-background,
    .hero-mockup,
    .app-buttons,
    .footer {
        display: none;
    }

    body {
        background: white;
        color: black;
    }

    h1, .tagline {
        -webkit-text-fill-color: inherit;
        background: none;
        color: black;
    }
}
