/* ============================================
   LaunchPad - Responsive Stylesheet
   Breakpoints:
   - XL: 1200px (Desktop)
   - LG: 992px  (Small Desktop/Large Tablet)
   - MD: 768px  (Tablet)
   - SM: 576px  (Mobile)
   ============================================ */

/* ============================================
   XL: max-width 1200px
   ============================================ */
@media (max-width: 1200px) {
    :root {
        --text-6xl: 3.25rem;
        --text-5xl: 2.5rem;
        --text-4xl: 2rem;
    }

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

    .hero-title {
        font-size: var(--text-6xl);
    }

    .pricing-card.popular {
        transform: scale(1.02);
    }

    .pricing-card.popular:hover {
        transform: scale(1.02) translateY(-5px);
    }
}

/* ============================================
   LG: max-width 992px
   ============================================ */
@media (max-width: 992px) {
    :root {
        --text-6xl: 2.75rem;
        --text-5xl: 2.25rem;
        --text-4xl: 1.75rem;
        --spacing-5xl: 5rem;
    }

    /* Navigation */
    .navbar-toggler {
        display: flex;
    }

    .navbar-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 5rem 2rem 2rem;
        box-shadow: var(--shadow-2xl);
        transition: right var(--transition-normal);
        gap: 0.25rem;
        z-index: 5;
    }

    .navbar-nav.active {
        right: 0;
    }

    .nav-link {
        width: 100%;
        padding: 0.75rem 1rem;
        font-size: var(--text-base);
    }

    .nav-item-cta {
        margin-top: var(--spacing-md);
        width: 100%;
    }

    .nav-item-cta .nav-link {
        text-align: center;
    }

    /* Mobile overlay */
    .navbar-nav::before {
        content: '';
        position: fixed;
        top: 0;
        left: -100vw;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.5);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-normal);
    }

    .navbar-nav.active::before {
        opacity: 1;
        visibility: visible;
    }

    /* Hero */
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-image {
        max-width: 600px;
        margin: 0 auto;
    }

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

    /* How It Works */
    .steps-grid {
        flex-direction: column;
        align-items: center;
    }

    .step-connector {
        transform: rotate(90deg);
        padding-top: 0;
    }

    /* About */
    .about-content {
        grid-template-columns: 1fr;
    }

    .about-text {
        text-align: center;
    }

    .about-features {
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }

    .stats-grid {
        max-width: 500px;
        margin: 0 auto;
    }

    /* Pricing */
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin-left: auto;
        margin-right: auto;
    }

    .pricing-card.popular {
        transform: none;
    }

    .pricing-card.popular:hover {
        transform: translateY(-5px);
    }

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

    /* Contact */
    .contact-content {
        grid-template-columns: 1fr;
    }

    .contact-info {
        text-align: center;
    }

    .contact-info-item {
        justify-content: center;
    }

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

    /* Footer */
    .footer-top {
        grid-template-columns: 1fr;
        gap: var(--spacing-3xl);
    }

    .footer-brand {
        text-align: center;
    }

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

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

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

/* ============================================
   MD: max-width 768px
   ============================================ */
@media (max-width: 768px) {
    :root {
        --text-6xl: 2.25rem;
        --text-5xl: 2rem;
        --text-4xl: 1.5rem;
        --text-3xl: 1.375rem;
        --spacing-5xl: 4rem;
        --spacing-4xl: 3rem;
    }

    /* Hero */
    .hero-section {
        padding-top: 80px;
    }

    .hero-badge {
        font-size: var(--text-xs);
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .hero-cta .btn {
        width: 100%;
        max-width: 280px;
    }

    .hero-stats {
        flex-direction: column;
        gap: var(--spacing-lg);
    }

    .stat-divider {
        width: 40px;
        height: 1px;
    }

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

    /* Testimonials */
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    /* CTA */
    .cta-title {
        font-size: var(--text-3xl);
    }

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

    .cta-buttons .btn {
        width: 100%;
        max-width: 280px;
    }

    /* Contact Form */
    .form-row {
        grid-template-columns: 1fr;
    }

    /* Footer */
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-lg);
    }

    /* About Features */
    .about-features {
        grid-template-columns: 1fr;
        text-align: left;
    }
}

/* ============================================
   SM: max-width 576px
   ============================================ */
@media (max-width: 576px) {
    :root {
        --text-6xl: 1.875rem;
        --text-5xl: 1.625rem;
        --text-4xl: 1.375rem;
        --text-2xl: 1.25rem;
        --container-padding: 1rem;
        --spacing-5xl: 3rem;
        --spacing-4xl: 2rem;
    }

    /* Section Header */
    .section-header {
        margin-bottom: var(--spacing-2xl);
    }

    /* Pricing Toggle */
    .pricing-toggle {
        flex-wrap: wrap;
    }

    /* Steps */
    .step-card {
        padding: var(--spacing-lg);
    }

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

    /* Footer */
    .footer-links {
        grid-template-columns: 1fr;
    }

    .footer-bottom p {
        font-size: var(--text-xs);
    }

    /* Back to Top */
    .back-to-top {
        width: 40px;
        height: 40px;
        bottom: 1rem;
        right: 1rem;
        font-size: var(--text-sm);
    }

    /* Trusted Logos */
    .trusted-logos {
        gap: var(--spacing-xl);
    }

    .trusted-logo {
        font-size: var(--text-base);
    }

    .trusted-logo i {
        font-size: var(--text-lg);
    }

    /* Contact Form */
    .contact-form-wrapper {
        padding: var(--spacing-lg);
    }
}

/* ============================================
   Print Styles
   ============================================ */
@media print {
    .header,
    .back-to-top,
    .preloader,
    .cta-section,
    .hero-bg-shapes {
        display: none !important;
    }

    body {
        color: #000;
        background: #fff;
    }

    a {
        color: #000;
        text-decoration: underline;
    }

    .section-padding {
        padding: 2rem 0;
    }
}
