/* ========================================
   RESPONSIVE STYLES
======================================== */

/* Tablet Landscape */
@media (max-width: 1200px) {
    .hero-container {
        gap: 40px;
    }

    .hero-title {
        font-size: 48px;
    }
}

/* Tablet & Small Desktop - UPDATED to 1024px thanks to compact navbar */
@media (max-width: 1024px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--dark);
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 32px 40px;
        gap: 20px;
        transition: right 0.3s ease;
        z-index: 998;
        overflow-y: auto;
        border-left: 1px solid rgba(212, 160, 23, 0.15);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    }

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

    .nav-toggle {
        display: flex;
        z-index: 999;
    }

    .nav-buttons {
        display: none;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    /* ... rest of styles ... */
    .hero-content {
        max-width: 600px;
        margin: 0 auto;
    }

    .hero-subtitle {
        margin: 0 auto 36px;
    }

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

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

    .hero-visual {
        display: none;
    }

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

    .steps-container-new {
        grid-template-columns: 1fr;
        gap: 32px;
        max-width: 450px;
    }

    .step-arrow {
        transform: rotate(90deg);
        padding: 8px 0;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

    .pricing-domain {
        flex-direction: column;
        gap: 16px;
    }

    .domain-option {
        width: 100%;
    }

    .includes-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    :root {
        --section-padding: 80px;
    }

    .container {
        padding: 0 16px;
    }

    .navbar {
        padding: 16px 0;
    }

    .navbar.scrolled {
        padding: 10px 0;
    }

    .nav-container {
        padding: 0 16px;
    }

    .logo-text {
        font-size: 16px;
    }

    .logo-accent {
        display: none;
    }

    .logo-icon {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }

    .hero {
        min-height: auto;
        padding: 120px 0 60px;
    }

    .hero-badge {
        font-size: 12px;
        padding: 8px 16px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

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

    .btn-lg {
        width: 100%;
        justify-content: center;
    }

    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }

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

    .hero-scroll {
        display: none;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .section-title {
        font-size: 28px;
    }

    .section-subtitle {
        font-size: 16px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .feature-card {
        padding: 24px;
    }

    .step-card-new {
        padding: 24px 20px;
    }

    .step-icon-new {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }

    .step-card-new h3 {
        font-size: 18px;
    }

    .pricing-card-single {
        padding: 24px 16px;
    }

    .pricing-header h3 {
        font-size: 22px;
    }

    .price-tag {
        font-size: 40px;
    }

    .price-tag .currency {
        font-size: 22px;
    }

    /* Plans responsive - fix scale overflow */
    .plans-container {
        grid-template-columns: 1fr !important;
        max-width: 400px !important;
        margin: 0 auto !important;
    }

    .plan-card.featured {
        transform: scale(1) !important;
    }

    /* Demos grid responsive */
    .demos-grid {
        grid-template-columns: 1fr !important;
    }

    .faq-question {
        padding: 20px 16px;
    }

    .faq-question span {
        font-size: 15px;
    }

    .faq-answer p {
        padding: 0 16px 20px;
        font-size: 14px;
    }

    .cta-section {
        padding: 60px 0;
    }

    .cta-content h2 {
        font-size: 24px;
    }

    .cta-content p {
        font-size: 16px;
    }

    .btn-whatsapp {
        padding: 16px 32px;
        font-size: 16px;
    }

    /* CTA buttons stack on mobile */
    .cta-buttons-row {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons-row .btn {
        width: 100%;
    }

    .btn-xl {
        padding: 16px 32px;
        font-size: 16px;
    }

    .cta-trust-badges {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand p {
        max-width: none;
    }

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

    .footer-links ul {
        margin-bottom: 24px;
    }

    .footer-links a {
        justify-content: center;
    }

    .whatsapp-btn {
        width: 52px;
        height: 52px;
        font-size: 24px;
        bottom: 16px;
        right: 16px;
        z-index: 9990;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }

    .section-title {
        font-size: 24px;
    }

    .stat-number {
        font-size: 28px;
    }

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

    .price-tag {
        font-size: 36px;
    }

    .include-item {
        padding: 10px 12px;
    }

    .include-item span {
        font-size: 13px;
    }

    .bonus-badge {
        font-size: 13px;
        padding: 12px 16px;
    }
}

/* Comparison table responsive */
@media (max-width: 768px) {
    .comparison-table-wrap {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .comparison-table {
        min-width: 600px;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 12px 16px;
        font-size: 13px;
    }
}

/* Results section responsive */
@media (max-width: 992px) {
    .results-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .results-grid {
        grid-template-columns: 1fr;
        max-width: 280px;
        margin: 0 auto;
    }

    .result-card {
        padding: 30px 20px;
    }

    .result-number {
        font-size: 36px;
    }

    .result-suffix {
        font-size: 24px;
    }
}

/* Guarantee section responsive */
@media (max-width: 992px) {
    .guarantee-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .guarantee-grid {
        grid-template-columns: 1fr;
        max-width: 360px;
        margin: 0 auto;
    }
}

/* Sticky CTA responsive */
@media (max-width: 768px) {
    .sticky-cta-inner {
        flex-direction: column;
        text-align: center;
        gap: 10px;
        padding: 0 16px;
    }

    .sticky-cta-text strong {
        font-size: 14px;
    }

    .sticky-cta-text span {
        font-size: 12px;
    }

    .sticky-cta-buttons {
        width: 100%;
    }

    .sticky-cta-buttons .btn-sm,
    .sticky-cta-buttons .btn-whatsapp {
        flex: 1;
        padding: 10px 14px;
        font-size: 13px;
        justify-content: center;
    }
}

/* Social proof responsive */
@media (max-width: 480px) {
    .social-proof-popup {
        left: 12px;
        right: 12px;
        max-width: none;
        bottom: 80px;
    }
}

/* Whatsapp btn adjust for sticky bar */
.sticky-cta-bar.visible ~ .whatsapp-btn {
    bottom: 80px;
    transition: bottom 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Chatbot adjust for sticky bar */
.sticky-cta-bar.visible ~ .dp-chatbot-widget {
    bottom: 80px !important;
    transition: bottom 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (max-width: 768px) {
    .sticky-cta-bar.visible ~ .whatsapp-btn {
        bottom: 110px;
    }

    .sticky-cta-bar.visible ~ .dp-chatbot-widget {
        bottom: 110px !important;
    }

    .sticky-cta-bar.visible ~ .social-proof-popup {
        bottom: 130px;
    }
}

/* Animation for mobile menu */
.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* High contrast mode */
@media (prefers-contrast: high) {

    .feature-card,
    .step-card-new,
    .pricing-card-single,
    .testimonial-card,
    .faq-item {
        border-width: 2px;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}