/* Tablet Styles */
@media screen and (max-width: 1024px) {
    :root {
        --font-size-h1: 2.5rem;
        --font-size-h2: 2rem;
        --font-size-h3: 1.5rem;
        --spacing-2xl: 4rem;
        --spacing-xl: 3rem;
    }
    
    .container {
        --container-padding: 2rem;
    }
    
    .hero__title {
        font-size: 2.5rem;
    }
    
    .contact__content {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .pricing-card--featured {
        transform: scale(1);
    }
    
    .pricing-card--featured:hover {
        transform: translateY(-10px);
    }
}

/* Mobile Styles */
@media screen and (max-width: 768px) {
    :root {
        --font-size-h1: 2rem;
        --font-size-h2: 1.75rem;
        --font-size-h3: 1.25rem;
        --font-size-h4: 1.125rem;
        --font-size-large: 1rem;
        --spacing-2xl: 3rem;
        --spacing-xl: 2rem;
        --spacing-lg: 1.5rem;
        --spacing-md: 1rem;
    }
    
    .container {
        --container-padding: 1rem;
    }
    
    /* Navigation */
    .nav__menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--color-white);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: var(--spacing-xl);
        gap: var(--spacing-lg);
        transition: var(--transition-base);
        box-shadow: var(--shadow-lg);
    }
    
    .nav__menu.active {
        left: 0;
    }
    
    .nav__link {
        font-size: 1.25rem;
    }
    
    /* Mobile Dropdown Styles */
    .nav__item--dropdown {
        width: 100%;
        text-align: center;
    }
    
    .nav__link--dropdown {
        justify-content: center;
    }
    
    .nav__dropdown {
        position: static;
        display: none;
        background-color: #F3F4F6;
        margin-top: 0.5rem;
        border-radius: 8px;
        padding: 0;
        box-shadow: none;
    }
    
    .nav__item--dropdown.active .nav__dropdown {
        display: block;
        padding: 8px 0;
    }
    
    .nav__dropdown-link {
        padding: 10px 20px;
        font-size: 1rem;
    }
    
    .nav__dropdown-link:hover {
        padding-left: 20px;
    }
    
    .nav__toggle {
        display: flex;
    }
    
    .nav__toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }
    
    .nav__toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav__toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    /* Hero Section */
    .hero {
        min-height: auto;
        padding: 100px 0 var(--spacing-xl);
    }
    
    .hero__title {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .hero__subtitle {
        font-size: 1rem;
    }
    
    .hero__buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero__buttons .btn {
        width: 100%;
    }
    
    /* About Section */
    .about__features {
        grid-template-columns: 1fr;
    }
    
    .about__description {
        font-size: 1rem;
    }
    
    /* Services Section */
    .services__grid {
        grid-template-columns: 1fr;
    }
    
    /* Pricing Section */
    .pricing__grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card {
        max-width: 100%;
    }
    
    /* Contact Section */
    .contact__content {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .contact__info {
        order: 2;
        margin-top: var(--spacing-lg);
    }
    
    .contact__form {
        order: 1;
        padding: var(--spacing-md);
    }
    
    .contact__item {
        flex-direction: row;
        text-align: left;
        align-items: center;
        padding: var(--spacing-sm) 0;
    }
    
    .contact__icon {
        font-size: 1.5rem;
        margin: 0;
        flex-shrink: 0;
    }
    
    .contact__details {
        margin-left: var(--spacing-sm);
    }
    
    .contact__label {
        font-size: 0.875rem;
        margin-bottom: 0.25rem;
    }
    
    .contact__value {
        font-size: 0.875rem;
        word-break: break-word;
    }
    
    .form__group {
        margin-bottom: var(--spacing-sm);
    }
    
    .form__input {
        padding: 0.75rem;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .form__textarea {
        min-height: 100px;
    }
    
    /* Footer */
    .footer__content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer__links {
        align-items: center;
    }
    
    /* Buttons */
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.875rem;
    }
    
    /* Section Spacing */
    .section {
        padding: var(--spacing-xl) 0;
    }
    
    .section__header {
        margin-bottom: var(--spacing-lg);
    }
}

/* Small Mobile Styles */
@media screen and (max-width: 480px) {
    :root {
        --font-size-h1: 1.75rem;
        --font-size-h2: 1.5rem;
        --spacing-2xl: 2rem;
    }
    
    .hero__title {
        font-size: 1.75rem;
    }
    
    .service-card,
    .pricing-card,
    .feature-card {
        padding: var(--spacing-sm);
    }
    
    .contact__form {
        padding: var(--spacing-md);
    }
    
    .contact__info {
        padding: 0;
    }
    
    .contact__item {
        padding: var(--spacing-xs) 0;
    }
    
    .contact__icon {
        font-size: 1.25rem;
    }
    
    .contact__label,
    .contact__value {
        font-size: 0.8125rem;
    }
    
    .form__input {
        padding: 0.625rem;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .form__label {
        font-size: 0.875rem;
    }
}

/* Large Desktop Styles */
@media screen and (min-width: 1440px) {
    :root {
        --container-width: 1400px;
        --font-size-h1: 4rem;
        --font-size-h2: 3rem;
    }
    
    .hero__title {
        font-size: 4rem;
    }
}

/* Landscape Mobile */
@media screen and (max-width: 768px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 80px 0 var(--spacing-lg);
    }
    
    .nav__menu {
        height: calc(100vh - 70px);
        overflow-y: auto;
    }
}

/* Statistics Section Responsive */
@media screen and (max-width: 768px) {
    .stat-number {
        font-size: 2.5rem !important;
    }
}

/* Testimonials Responsive */
@media screen and (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr !important;
    }
}

/* FAQ Responsive */
@media screen and (max-width: 768px) {
    .faq-question {
        font-size: 0.9rem !important;
        padding: 1rem !important;
    }
    
    .faq-answer {
        font-size: 0.875rem !important;
    }
}

/* Print Styles */
@media print {
    .header,
    .nav__toggle,
    .hero__buttons,
    .contact__form,
    .footer {
        display: none;
    }
    
    .section {
        page-break-inside: avoid;
    }
}

