/* ===================================
   Responsive Design - Mobile First
   =================================== */

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

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

    .section-title {
        font-size: 3.5rem;
    }
}

/* Desktop (1024px - 1439px) */
@media (max-width: 1439px) {
    .container {
        max-width: 1200px;
    }
}

/* Tablet Landscape (768px - 1023px) */
@media (max-width: 1023px) {
    /* Typography */
    .hero-title {
        font-size: 3rem;
    }

    .section-title {
        font-size: 2rem;
    }

    /* Navbar */
    .nav-menu {
        display: none;
    }

    .nav-actions {
        display: none;
    }

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

    .nav-menu.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--color-white);
        border-top: 1px solid #e5e5e5;
        box-shadow: var(--shadow-lg);
        padding: 1rem;
        gap: 0;
    }

    .nav-menu.active .nav-link {
        padding: 1rem;
        border-radius: var(--radius-md);
    }

    .nav-menu.active .nav-link:hover {
        background: var(--color-bg-green);
    }

    /* Hero */
    .hero {
        padding: 5rem 0 8rem;
    }

    .hero-content {
        flex-direction: column;
        gap: 3rem;
    }

    .hero-text {
        text-align: center;
        max-width: 100%;
    }

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

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

    /* Comparison */
    .comparison {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Steps */
    .steps {
        grid-template-columns: 1fr;
    }

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

    /* Target Grid */
    .target-grid {
        grid-template-columns: 1fr;
    }

    /* Pricing Grid */
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    .pricing-card.featured:hover {
        transform: translateY(-4px);
    }

    /* Contact */
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .footer-column.brand {
        grid-column: 1 / -1;
        max-width: 100%;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* Tablet Portrait (640px - 767px) */
@media (max-width: 767px) {
    /* Typography */
    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

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

    /* Navbar */
    .nav-content {
        height: 70px;
    }

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

    /* Hero */
    .hero {
        padding: 3rem 0 6rem;
    }

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

    .hero-cta {
        flex-direction: column;
        width: 100%;
    }

    .hero-cta .btn-large {
        width: 100%;
        justify-content: center;
    }

    .floating-card {
        left: 50%;
        transform: translateX(-50%);
        bottom: -1rem;
    }

    /* Sections Padding */
    .problem-solution,
    .how-it-works,
    .features,
    .target-audience,
    .pricing,
    .contact,
    .faq {
        padding: 3rem 0;
    }

    .section-header {
        margin-bottom: 2rem;
    }

    /* Comparison */
    .comparison-column {
        padding: 1.5rem;
    }

    .column-title {
        font-size: var(--font-size-xl);
    }

    /* Steps */
    .step {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }

    .step-number {
        margin: 0 auto;
    }

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

    .feature-banner {
        padding: 2rem;
    }

    .banner-title {
        font-size: var(--font-size-2xl);
    }

    .banner-description {
        font-size: var(--font-size-base);
    }

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

    .contact-form-wrapper {
        padding: 1.5rem;
    }

    /* Footer */
    .footer {
        padding: 3rem 0 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Mobile (480px - 639px) */
@media (max-width: 639px) {
    /* Container */
    .container {
        padding: 0 1rem;
    }

    /* Typography */
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    /* Buttons */
    .btn-large {
        padding: 0.875rem 1.5rem;
        font-size: var(--font-size-base);
    }

    /* Navbar */
    .logo-icon {
        width: 32px;
        height: 32px;
    }

    .logo-icon svg {
        width: 18px;
        height: 18px;
    }

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

    /* Hero */
    .hero-image {
        transform: rotate(0deg);
    }

    .badge {
        font-size: 0.75rem;
        padding: 0.375rem 0.75rem;
    }

    .hero-features {
        flex-direction: column;
        gap: 0.75rem;
    }

    .wave-divider svg {
        height: 50px;
    }

    /* Step */
    .step-number {
        width: 50px;
        height: 50px;
        font-size: var(--font-size-2xl);
    }

    .step-title {
        font-size: var(--font-size-lg);
    }

    /* Feature Card */
    .feature-card {
        padding: 1.5rem;
    }

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

    .feature-title {
        font-size: var(--font-size-lg);
    }

    /* Target Card */
    .target-icon {
        width: 60px;
        height: 60px;
    }

    .target-icon svg {
        width: 32px;
        height: 32px;
    }

    .target-title {
        font-size: var(--font-size-xl);
    }

    /* Pricing */
    .pricing-card {
        padding: 2rem 1.5rem;
    }

    .plan-price .price {
        font-size: var(--font-size-4xl);
    }

    /* Contact */
    .contact-method {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .method-icon {
        margin-bottom: 0.5rem;
    }

    /* FAQ */
    .faq-question {
        font-size: var(--font-size-base);
        padding: 1rem;
    }

    .faq-answer p {
        padding: 0 1rem 1rem;
        font-size: var(--font-size-sm);
    }
}

/* Small Mobile (up to 479px) */
@media (max-width: 479px) {
    /* Typography */
    .hero-title {
        font-size: 1.75rem;
    }

    .section-title {
        font-size: 1.375rem;
    }

    /* Container */
    .container {
        padding: 0 0.75rem;
    }

    /* Navbar */
    .nav-content {
        height: 60px;
    }

    /* Hero */
    .hero {
        padding: 2rem 0 4rem;
    }

    /* Sections */
    .problem-solution,
    .how-it-works,
    .features,
    .target-audience,
    .pricing,
    .contact,
    .faq {
        padding: 2rem 0;
    }

    /* Comparison */
    .comparison-column {
        padding: 1rem;
    }

    .comparison-item {
        padding: 0.75rem;
        font-size: var(--font-size-sm);
    }

    /* Steps */
    .step {
        padding: 1rem;
    }

    /* Feature Banner */
    .feature-banner {
        padding: 1.5rem;
    }

    .banner-title {
        font-size: var(--font-size-xl);
    }

    /* Pricing */
    .plan-price .price {
        font-size: var(--font-size-3xl);
    }

    /* Contact */
    .contact-form-wrapper {
        padding: 1rem;
    }

    .form-title {
        font-size: var(--font-size-xl);
    }

    /* Footer */
    .footer {
        padding: 2rem 0 1rem;
    }
}

/* Landscape Orientation */
@media (max-height: 600px) and (orientation: landscape) {
    .hero {
        padding: 2rem 0 4rem;
    }

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

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

    .floating-card {
        display: none;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .mobile-menu-btn,
    .hero-cta,
    .feature-banner,
    .contact-form,
    .footer {
        display: none;
    }

    body {
        font-size: 12pt;
        line-height: 1.5;
    }

    .section-title {
        page-break-after: avoid;
    }

    .step,
    .feature-card,
    .pricing-card,
    .faq-item {
        page-break-inside: avoid;
    }
}

/* Accessibility - Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .floating-card {
        animation: none;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --color-primary: #2E7D32;
        --color-gray: #000000;
    }

    .btn-primary,
    .btn-outline {
        border-width: 3px;
    }

    .feature-card,
    .pricing-card,
    .target-card {
        border-width: 3px;
    }
}

/* Dark Mode Support (for future implementation) */
@media (prefers-color-scheme: dark) {
    /* This is prepared for future dark mode implementation */
    /* Currently not active, but can be enabled by uncommenting and adjusting colors */
    /*
    :root {
        --color-dark: #ffffff;
        --color-white: #1a1a1a;
        --color-bg-light: #2d2d2d;
        --color-gray: #b0b0b0;
    }

    body {
        background-color: #1a1a1a;
        color: #ffffff;
    }

    .navbar {
        background: rgba(26, 26, 26, 0.95);
    }
    */
}
