/* Mobile Responsive Styles - فایل جداگانه برای موبایل */

/* بریک پوینت‌های موبایل */
@media only screen and (max-width: 768px) {
    /* Container */
    .container {
        padding: 0 15px;
    }

    /* Header */
    .navbar {
        padding: 0.8rem 0;
        position: relative;
    }

    .logo {
        font-size: 1.5rem;
    }

    .logo-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    /* Navigation Menu - Mobile */
    .nav-menu {
        position: fixed;
        top: -100%;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: top 0.3s ease;
        z-index: 1001;
    }

    .nav-menu.active {
        top: 0;
    }

    .nav-link {
        font-size: 1.2rem;
    }

    /* Mobile Menu Toggle */
    .mobile-menu-toggle {
        display: block;
        background: none;
        border: none;
        font-size: 1.5rem;
        color: #334155;
        cursor: pointer;
        padding: 0.5rem;
    }

    .header-cta {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }

    /* Hero Section */
    .hero {
        padding: 2rem 0;
        min-height: auto;
        text-align: center;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-text {
        order: 2;
    }

    .hero-visual {
        order: 1;
    }

    .hero-title {
        font-size: 2rem;
        line-height: 1.3;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
        margin-bottom: 2rem;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 280px;
        padding: 0.9rem 1.5rem;
        font-size: 1rem;
        text-align: center;
    }

    .trust-indicators {
        justify-content: center;
        gap: 1rem;
    }

    .trust-item {
        font-size: 0.8rem;
        flex-direction: column;
        text-align: center;
        gap: 0.3rem;
    }

    /* Phone Mockup */
    .phone-mockup {
        width: 250px;
        height: 500px;
        padding: 0.8rem;
        margin: 0 auto;
    }

    .chat-header {
        padding-bottom: 0.8rem;
        margin-bottom: 0.8rem;
    }

    .bot-avatar {
        width: 35px;
        height: 35px;
    }

    .chat-info h4 {
        font-size: 0.9rem;
    }

    .chat-status {
        font-size: 0.75rem;
    }

    .chat-messages {
        height: 320px;
    }

    .message-bubble {
        font-size: 0.85rem;
        padding: 0.6rem 0.8rem;
    }

    /* Floating Elements */
    .floating-stats {
        display: none;
    }

    .success-metrics {
        display: none;
    }

    .floating-element {
        display: none;
    }

    /* Scroll Indicator */
    .scroll-indicator {
        bottom: 1rem;
        font-size: 0.9rem;
    }

    /* Features Section */
    .features-section, .features-page {
        padding: 3rem 0;
    }

    .section-title {
        font-size: 2rem;
        line-height: 1.3;
        margin-bottom: 0.8rem;
    }

    .section-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

    .features-grid, .feature-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 2rem;
    }

    .feature-card, .feature-box {
        padding: 1.5rem;
        border-radius: 15px;
        margin: 0 10px;
    }

    .feature-icon {
        font-size: 2.5rem;
        margin-bottom: 0.8rem;
    }

    .feature-box img {
        width: 50px;
        height: 50px;
        margin-bottom: 0.8rem;
    }

    .feature-card h3, .feature-box h3 {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }

    /* Success Stories */
    .success-stories {
        padding: 3rem 0;
    }

    .testimonials-slider {
        margin: 0 15px;
    }

    .testimonial-card {
        padding: 2rem 1.5rem;
        border-radius: 15px;
    }

    .quote-icon {
        font-size: 3rem;
        margin-bottom: 0.8rem;
    }

    .testimonial-content p {
        font-size: 1.1rem;
        line-height: 1.5;
        margin-bottom: 1.5rem;
    }

    .author-avatar {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }

    .author-info h4 {
        font-size: 1rem;
    }

    .author-info span {
        font-size: 0.85rem;
    }

    .testimonial-stats {
        gap: 1rem;
        flex-direction: column;
        align-items: center;
    }

    .stat {
        text-align: center;
        width: 100%;
    }

    .stat-value {
        font-size: 1.8rem;
    }

    .stat-label {
        font-size: 0.85rem;
    }

    /* Pricing Section */
    .pricing-section {
        padding: 3rem 0;
    }

    .pricing-toggle {
        margin-bottom: 2rem;
        flex-direction: column;
        gap: 0.3rem;
        width: 90%;
        max-width: 300px;
    }

    .toggle-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin: 0 15px;
    }

    .pricing-card {
        padding: 2rem 1.5rem;
        border-radius: 15px;
        margin: 0;
    }

    .pricing-card.featured {
        transform: none;
        border-width: 2px;
    }

    .plan-badge {
        top: -8px;
        right: 15px;
        padding: 0.4rem 0.8rem;
        border-radius: 12px;
        font-size: 0.75rem;
    }

    .pricing-card h3 {
        font-size: 1.3rem;
        margin-bottom: 0.8rem;
    }

    .amount {
        font-size: 2.2rem;
    }

    .currency, .period {
        font-size: 0.9rem;
    }

    .features-list li {
        padding: 0.4rem 0;
        font-size: 0.9rem;
    }

    .plan-btn {
        padding: 0.9rem;
        font-size: 0.95rem;
    }

    /* Feature Comparison */
    .feature-comparison {
        margin: 2rem 0;
    }

    .comparison-boxes {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
        margin-top: 1.5rem;
    }

    .before-box, .after-box {
        width: 90%;
        max-width: 300px;
        padding: 1.5rem;
        min-height: auto;
    }

    .before-box h3, .after-box h3 {
        font-size: 1.3rem;
        margin-bottom: 0.8rem;
    }

    .before-box ul, .after-box ul {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    /* CTA Section */
    .cta-section {
        padding: 3rem 0;
    }

    .cta-content h2 {
        font-size: 2rem;
        line-height: 1.3;
        margin-bottom: 0.8rem;
    }

    .cta-content p {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }

    .btn-primary.large {
        padding: 1rem 2rem;
        font-size: 1.1rem;
        width: 90%;
        max-width: 300px;
    }

    .cta-features {
        flex-direction: column;
        gap: 1rem;
        margin-top: 1.5rem;
        align-items: center;
    }

    .cta-feature {
        font-size: 0.9rem;
    }

    /* Particles */
    .particles {
        display: none;
    }

    /* Animations - تنظیمات بهینه برای موبایل */
    .feature-card:hover, .feature-box:hover {
        transform: translateY(-5px);
    }

    .pricing-card:hover {
        transform: translateY(-3px);
    }

    /* اضافه کردن فاصله بهتر برای محتوا */
    .section-header {
        margin-bottom: 2.5rem;
        padding: 0 15px;
    }

    /* تنظیمات scroll برای موبایل */
    body {
        overflow-x: hidden;
    }
}

/* بریک پوینت برای موبایل‌های کوچک */
@media only screen and (max-width: 480px) {
    .container {
        padding: 0 10px;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .phone-mockup {
        width: 220px;
        height: 440px;
        padding: 0.6rem;
    }

    .chat-messages {
        height: 280px;
    }

    .feature-card, .feature-box {
        margin: 0 5px;
        padding: 1.2rem;
    }

    .testimonial-card {
        padding: 1.5rem 1rem;
    }

    .pricing-card {
        padding: 1.5rem 1rem;
    }

    .before-box, .after-box {
        width: 95%;
        padding: 1.2rem;
    }

    .btn-primary.large {
        width: 95%;
    }
}

/* حالت landscape برای تبلت‌ها و موبایل‌های بزرگ */
@media only screen and (max-width: 1024px) and (min-width: 769px) {
    .hero-content {
        grid-template-columns: 1fr 0.8fr;
        gap: 3rem;
    }

    .features-grid, .feature-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.8rem;
    }

    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.8rem;
    }

    .comparison-boxes {
        gap: 1.5rem;
    }
}

/* تنظیمات اضافی برای دستگاه‌های با DPI بالا */
@media only screen and (-webkit-min-device-pixel-ratio: 2), 
       only screen and (min-device-pixel-ratio: 2) {
    .phone-mockup {
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    }
}