/* ========================================
   NEW TEMPLATE RESPONSIVE DESIGN
   ======================================== */

/* Tablet Design */
@media (max-width: 968px) {
    /* Header */
    .nav-links {
        display: none;
    }
    
    .hamburger-btn {
        display: flex !important;
    }


    /* Hero Section */
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 50px;
    }

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

    .iphone-container {
        margin-top: 50px;
        order: 2;
    }

    .hero-content {
        order: 1;
    }

    /* Features Grid */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    /* AI Agents Grid */
    .ai-agents-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        max-width: 600px;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .footer-nav {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

/* Mobile Design */
@media (max-width: 640px) {
    /* Header */
    header {
        padding: 15px 0;
    }
    
    nav {
        padding: 0 20px;
    }

    /* Hero Section */
    .hero {
        padding: 100px 20px 60px;
    }

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

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

    .hero-cta {
        padding: 14px 32px;
        font-size: 14px;
    }

    /* iPhone Mockup */
    .iphone-container {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0 20px;
        margin-top: 30px;
    }
    
    .iphone-mockup {
        width: 260px;
        height: 480px;
        margin: 0 auto;
    }

    .app-content {
        padding: 30px 12px 12px;
    }

    .app-header {
        padding: 8px 8px;
        margin-left: 6px;
        margin-right: 6px;
    }

    .app-logo-icon {
        width: 16px;
        height: 16px;
    }

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

    .app-subtitle {
        font-size: 12px;
    }

    .bot-card, .system-card {
        padding: 10px;
    }

    .bot-avatar, .system-icon {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }

    .bot-name, .system-name {
        font-size: 11px;
    }

    .tag, .tag-system {
        font-size: 8px;
        padding: 1px 6px;
    }

    /* Features Section */
    .features {
        padding: 80px 20px;
    }

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

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

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

    .feature-icon {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }

    .feature-title {
        font-size: 20px;
    }

    .feature-description {
        font-size: 14px;
    }

    /* AI Agents Section */
    .ai-agents-section {
        padding: 80px 20px;
    }

    .ai-agents-title {
        font-size: 32px;
    }

    .ai-agents-subtitle {
        font-size: 16px;
    }

    .ai-agents-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .ai-agent-card {
        padding: 24px;
        min-height: 420px;
    }
    
    .agent-icon {
        width: 50px;
        height: 50px;
        border-radius: 14px;
    }
    
    .agent-icon svg {
        width: 30px;
        height: 30px;
    }
    
    .agent-title {
        font-size: 20px;
    }
    
    .agent-description {
        font-size: 14px;
    }
    
    .agent-cta {
        padding: 14px 20px;
        font-size: 14px;
    }
    
    .demo-link {
        font-size: 13px;
        padding: 8px 14px;
    }

    /* CTA Section */
    .cta-section {
        padding: 80px 20px;
    }

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

    .cta-description {
        font-size: 16px;
    }

    .cta-button {
        padding: 16px 40px;
        font-size: 16px;
    }
    
    /* Automation Info Mobile */
    .automation-info {
        margin-top: 40px;
        padding: 30px 20px;
    }
    
    .automation-title {
        font-size: 20px;
    }
    
    .automation-description {
        font-size: 16px;
    }
    
    .automation-examples {
        gap: 8px;
    }
    
    .automation-tag {
        font-size: 12px;
        padding: 6px 12px;
    }
    
    /* CTA Buttons Mobile */
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .cta-button {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    /* Demo modal responsive */
    .modal.demo-modal {
        max-width: 320px !important;
        width: 320px !important;
    }
    
    .modal.demo-modal .modal-header {
        padding: 16px 16px 12px !important;
    }
    
    .modal.demo-modal .modal-body {
        padding: 16px !important;
    }

    /* Footer Mobile */
    .modern-footer {
        padding: 40px 20px 20px;
    }
    
    .footer-nav {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .footer-nav-section {
        text-align: center;
    }
    
    .footer-nav-section h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
        text-align: center;
    }

    /* WhatsApp Button */
    .whatsapp-btn {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-btn svg {
        width: 24px;
        height: 24px;
    }
}

/* Extra Small Mobile */
@media (max-width: 480px) {
    /* Hero Section */
    .hero {
        padding: 90px 15px 50px;
    }

    .hero-title {
        font-size: 28px;
        line-height: 1.2;
    }

    .hero-description {
        font-size: 15px;
    }

    /* iPhone Mockup */
    .iphone-mockup {
        width: 240px;
        height: 440px;
    }

    /* Features */
    .features {
        padding: 60px 15px;
    }

    .feature-card {
        padding: 25px 15px;
    }

    /* AI Agents */
    .ai-agents-section {
        padding: 60px 15px;
    }

    .ai-agent-card {
        padding: 20px;
        min-height: 380px;
    }

    /* CTA Section */
    .cta-section {
        padding: 60px 15px;
    }

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

    /* Footer */
    footer {
        padding: 30px 15px;
    }
}

/* Landscape Mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 80px 20px 40px;
    }

    .iphone-mockup {
        width: 220px;
        height: 400px;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .iphone-mockup {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .hero::before,
    .iphone-mockup::before,
    .whatsapp-btn {
        animation: none;
    }
}
} 