/* ========================================
   Mankuca Landing Page - Responsive Styles
   Mobile-First Approach
   ======================================== */

/* Tablet Styles (768px - 1199px) */
@media screen and (max-width: 1199px) {
    .container {
        padding: 0 1.5rem;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hero-title {
        font-size: 2.75rem;
    }

    .hero-content {
        gap: 3rem;
    }

    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .pricing-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .steps-container {
        justify-content: center;
    }

    .step-arrow {
        display: none;
    }

    .step-item {
        margin-bottom: 2rem;
    }

    .benefit-item {
        gap: 3rem;
    }
}

/* Mobile Styles (≤767px) */
@media screen and (max-width: 767px) {
    /* Typography Adjustments */
    html {
        font-size: 14px;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    .container {
        padding: 0 1rem;
    }

    /* Header & Navigation */
    .navbar {
        padding: 1rem;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background-color: var(--color-white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-md);
        padding: 2rem 0;
        gap: 1.5rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-cta {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    /* Hero Section */
    .hero {
        padding: 6rem 0 4rem;
        margin-top: 70px;
        background-attachment: scroll;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-cta {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-cta .btn-primary,
    .hero-cta .btn-secondary {
        width: 100%;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .hero-trust {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }

    .cta-group {
        width: 100%;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .value-tabs {
        flex-direction: column;
        width: 100%;
    }

    .value-tab {
        width: 100%;
    }

    .value-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .value-cta {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .value-cta .btn-primary,
    .value-cta .btn-secondary {
        width: 100%;
        margin: 0;
    }

    /* Sections */
    section {
        padding: 4rem 0;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .section-header {
        margin-bottom: 3rem;
    }

    /* Features Grid */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .feature-card {
        padding: 1.5rem;
    }

    /* Vendor Tabs */
    .vendor-tabs {
        flex-direction: column;
        gap: 0.75rem;
    }

    .vendor-tab {
        width: 100%;
        text-align: center;
    }

    .vendor-content {
        min-height: 250px;
    }

    .vendor-panel {
        padding: 1.5rem;
    }

    .vendor-info h3 {
        font-size: 1.5rem;
    }

    .vendor-info p {
        font-size: 1rem;
    }

    /* How It Works */
    .steps-container {
        flex-direction: column;
        gap: 2rem;
    }

    .step-item {
        width: 100%;
        margin-bottom: 0;
    }

    .step-arrow {
        transform: rotate(90deg);
        margin: -1rem 0;
    }

    /* Benefits */
    .benefit-item {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .benefit-item.reverse {
        direction: ltr;
    }

    .benefit-content h3 {
        font-size: 1.5rem;
    }

    .benefit-content p {
        font-size: 1rem;
    }

    .benefit-icon-large {
        width: 120px;
        height: 120px;
    }

    /* Testimonials */
    .testimonials-carousel {
        min-height: 350px;
    }

    .testimonial-content {
        padding: 1.5rem;
    }

    .testimonial-text {
        font-size: 1rem;
    }

    .testimonial-author {
        flex-direction: column;
        gap: 0.75rem;
    }

    /* Pricing */
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .pricing-card {
        padding: 2rem;
    }

    .pricing-card.featured {
        transform: scale(1);
        margin: 0;
    }

    .plan-price {
        flex-wrap: wrap;
    }

    .amount {
        font-size: 2.5rem;
    }

    /* CTA Section */
    .cta {
        padding: 4rem 0;
    }

    .cta-title {
        font-size: 1.75rem;
    }

    .cta-subtitle {
        font-size: 1rem;
    }

    .cta .btn-primary {
        width: 100%;
    }

    /* Footer */
    .footer {
        padding: 3rem 0 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-logo {
        justify-content: center;
    }

    .footer-title {
        text-align: center;
    }

    .footer-links,
    .footer-contact {
        text-align: center;
    }

    .social-icons {
        justify-content: center;
    }

    /* Buttons */
    .btn-primary,
    .btn-secondary {
        padding: 0.75rem 1.5rem;
        font-size: 0.875rem;
    }

    .btn-large {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}

/* Small Mobile (≤480px) */
@media screen and (max-width: 480px) {
    html {
        font-size: 13px;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .mockup-stats {
        grid-template-columns: 1fr;
    }

    .benefit-icon-large {
        width: 100px;
        height: 100px;
    }

    .step-number {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

/* Landscape Orientation Adjustments */
@media screen and (max-width: 767px) and (orientation: landscape) {
    .hero {
        padding: 5rem 0 3rem;
        background-attachment: scroll;
    }

    .hero-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
        text-align: left;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .hero-cta {
        flex-direction: row;
    }

    section {
        padding: 3rem 0;
    }
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .btn-primary,
    .btn-secondary,
    .hamburger,
    .carousel-indicators {
        display: none;
    }

    .hero {
        margin-top: 0;
        padding: 2rem 0;
    }

    section {
        page-break-inside: avoid;
        padding: 2rem 0;
    }
}

/* High DPI Displays */
@media screen and (-webkit-min-device-pixel-ratio: 2),
       screen and (min-resolution: 192dpi) {
    .feature-icon svg,
    .benefit-icon-large svg {
        shape-rendering: geometricPrecision;
    }
}
