/* ===================================
   Responsive Styles
   =================================== */

/* Tablet landscape — 1024px and below */
@media screen and (max-width: 1024px) {
    /* Reduce section padding */
    .problem-solution-section,
    .value-props-section,
    .services-section,
    .how-it-works-section,
    .case-study-section,
    .trust-section,
    .faq-section,
    .contact-section {
        padding-top: 80px;
        padding-bottom: 80px;
    }

    /* Hero adjustments */
    .hero-section {
        padding: 100px 32px 80px;
    }

    .hero-headline {
        font-size: clamp(2.5rem, 6vw, 4.5rem);
    }

    /* Case study image */
    .case-study-visual img {
        max-height: 280px;
    }
}

/* Tablet portrait / large phone — 768px and below */
@media screen and (max-width: 768px) {
    /* Hide navbar entirely on mobile — keep the clean scroll experience */
    .site-header {
        display: none;
    }

    /* Section padding */
    .problem-solution-section,
    .value-props-section,
    .services-section,
    .how-it-works-section,
    .case-study-section,
    .trust-section,
    .faq-section,
    .contact-section {
        padding-top: 64px;
        padding-bottom: 64px;
        padding-left: 24px;
        padding-right: 24px;
    }

    /* Hero Section */
    .hero-section {
        padding: 60px 24px 0;
    }

    .hero-subheadline {
        margin-bottom: 32px;
    }

    .hero-section .btn-primary {
        width: auto;
        padding: 14px 36px;
        font-size: 1rem;
    }

    .hero-note {
        display: none;
    }

    .hero-proof {
        gap: 20px;
        flex-wrap: wrap;
        padding: 16px 24px;
    }

    .proof-divider {
        display: none;
    }

    .proof-item:not(:last-child) {
        display: none;
    }

    /* Problem/Solution — stack on mobile */
    .problem-split {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .problem-right {
        border-left: none;
        padding-left: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding-top: 40px;
    }

    /* Services — single column */
    .services-grid {
        grid-template-columns: 1fr;
    }

    /* Value headlines — allow wrapping on smaller screens */
    .value-headline {
        white-space: normal;
    }

    /* How It Works */
    .steps-container {
        flex-direction: column;
        gap: var(--spacing-md);
    }

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

    /* Founder Profile */
    .founder-profile {
        flex-direction: column;
        text-align: center;
        padding: var(--spacing-lg);
    }

    .founder-avatar img {
        width: 140px;
        height: 140px;
    }

    /* Case Study */
    .case-study-content {
        padding: var(--spacing-lg);
    }

    .case-study-stats {
        flex-direction: column;
        gap: var(--spacing-md);
    }

    .case-study-visual img {
        max-height: 220px;
    }

    /* Contact form — single column on tablet portrait */
    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 32px 24px;
    }

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

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

/* Mobile — 480px and below */
@media screen and (max-width: 480px) {
    /* Typography */
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    /* Hero */
    .hero-section {
        padding: 48px 20px 0;
    }

    .hero-headline {
        font-size: clamp(2rem, 8vw, 3rem);
        margin-bottom: 20px;
    }

    .hero-subheadline {
        font-size: 0.9375rem;
        margin-bottom: 24px;
    }

    .hero-section .btn-primary {
        padding: 14px 32px;
        font-size: 0.9375rem;
    }

    .hero-proof {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        padding: 16px 20px;
    }

    .proof-num {
        font-size: 1.125rem;
    }

    /* Buttons */
    .btn {
        padding: 12px 24px;
        font-size: 0.9375rem;
    }

    .btn-large {
        padding: 14px 28px;
        font-size: 1rem;
    }

    /* Problem section */
    .problem-list p {
        font-size: 1rem;
    }

    /* Service cards */
    .service-card {
        padding-left: var(--spacing-md);
    }

    /* Steps */
    .step-number {
        width: 48px;
        height: 48px;
        font-size: 1.25rem;
    }

    /* Founder Profile */
    .founder-profile {
        padding: var(--spacing-md);
    }

    .founder-avatar img {
        width: 110px;
        height: 110px;
    }

    /* Case Study */
    .case-study-content {
        padding: var(--spacing-md);
    }

    .case-study-visual img {
        max-height: 180px;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    /* Contact Form */
    .contact-form {
        padding: 24px 20px;
    }

    /* Sections */
    .problem-solution-section,
    .value-props-section,
    .services-section,
    .how-it-works-section,
    .case-study-section,
    .trust-section,
    .faq-section,
    .contact-section {
        padding-top: 48px;
        padding-bottom: 48px;
        padding-left: 20px;
        padding-right: 20px;
    }

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

/* Desktop - Large screens 1440px and above */
@media screen and (min-width: 1440px) {
    .container {
        padding: 0 var(--spacing-2xl);
    }

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

/* Accessibility - Reduce motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Print Styles */
@media print {
    .site-header,
    .mobile-menu-toggle,
    .hero-actions,
    .contact-section,
    .site-footer {
        display: none;
    }

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

    h1, h2, h3 {
        page-break-after: avoid;
    }

    .service-card,
    .step {
        page-break-inside: avoid;
    }
}
