body{font-family:sans-serif;}
.demo-section {
    padding: 4rem 0;
}

.demo-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2.5rem;
    align-items: center;
}

.demo-text h2 {
    margin-bottom: 1rem;
}

.demo-text p {
    color: rgba(20, 90, 50, 0.9);
    margin-bottom: 1.2rem;
}

.demo-points {
    margin: 0 0 1.5rem;
    padding-inline-start: 1.2rem;
}

.demo-points li {
    margin-bottom: .3rem;
}

.demo-frame-wrapper {
    display: flex;
    justify-content: center;
}

.phone-frame {
    width: 320px;
    height: 640px;
    border-radius: 32px;
    border: 8px solid #111;
    box-shadow: 0 24px 60px rgba(0,0,0,0.35);
    overflow: hidden;
    background: #000;
    position: relative;
}

.phone-frame::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 6px;
    background: rgba(255,255,255,0.2);
    border-radius: 999px;
    z-index: 2;
}

.demo-iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ریسپانسیو */
@media (max-width: 900px) {
    .demo-layout {
        grid-template-columns: 1fr;
    }

    .phone-frame {
        width: 260px;
        height: 520px;
    }
}
@import url('https://cdn.fontcdn.ir/Font/Persian/Vazir/Vazir.css');

:root {
    --primary-color: #4a6ee0;
    --primary-dark: #3553b5;
    --secondary-color: #ff6b6b;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Vazir', sans-serif;
    direction: rtl;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- دکمه‌ها --- */
.btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}
.btn-primary {
    background: var(--primary-color);
    color: var(--white);
}
.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(74, 110, 224, 0.2);
}
.btn-secondary {
    background: transparent;
    color: var(--text-dark);
    border-color: #e5e7eb;
}
.btn-large {
    padding: 14px 32px;
    font-size: 1.1rem;
}

/* --- نوار ناوبری --- */
.navbar {
    background: var(--white);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}
.logo-text { font-size: 1.5rem; font-weight: 900; color: var(--text-dark); }
.logo-dot { color: var(--primary-color); font-size: 2rem; }
.logo a { text-decoration: none; display: flex; align-items: baseline; }
.nav-links { display: flex; list-style: none; gap: 30px; }
.nav-links a { text-decoration: none; color: var(--text-dark); font-weight: 500; transition: color 0.3s; }
.nav-links a:hover { color: var(--primary-color); }

/* --- Hero Section --- */
.hero-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f0f4ff 0%, #ffffff 100%);
    overflow: hidden;
}
.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}
.hero-content { flex: 1; }
.badge {
    background: rgba(74, 110, 224, 0.1);
    color: var(--primary-color);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 20px;
}
.hero-title { font-size: 3rem; font-weight: 900; line-height: 1.3; margin-bottom: 20px; }
.highlight { color: var(--primary-color); }
.hero-description { font-size: 1.1rem; color: var(--text-light); margin-bottom: 30px; }
.hero-buttons { display: flex; gap: 15px; margin-bottom: 40px; }

/* --- Phone Frame & Iframe --- */
.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}
.phone-frame-wrapper {
    position: relative;
    animation: float 6s ease-in-out infinite;
}
.phone-frame {
    width: 300px;
    height: 600px;
    border: 12px solid #1f2937;
    border-radius: 40px;
    overflow: hidden;
    position: relative;
    background: #fff;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}
.notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 25px;
    background: #1f2937;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    z-index: 2;
}
.app-demo {
    width: 100%;
    height: 100%;
    border: none;
}

/* --- Floating Elements --- */
.floating-element {
    position: absolute;
    background: var(--white);
    padding: 10px 20px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    font-weight: bold;
    font-size: 0.9rem;
    z-index: 3;
}
.el-1 { top: 10%; right: -40px; animation: floatDelay 5s ease-in-out infinite; }
.el-2 { bottom: 20%; left: -60px; animation: float 7s ease-in-out infinite; }
.el-3 { top: 50%; right: -50px; animation: floatDelay 6s ease-in-out infinite; color: var(--primary-color); }

/* Animations */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}
@keyframes floatDelay {
    0% { transform: translateY(0px); }
    50% { transform: translateY(15px); }
    100% { transform: translateY(0px); }
}

/* --- Features Section --- */
.features-section { padding: 80px 0; background: var(--white); }
.section-header { margin-bottom: 50px; text-align: center; }
.section-header h2 { font-size: 2.2rem; margin-bottom: 15px; }
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.feature-card {
    padding: 30px;
    background: var(--bg-light);
    border-radius: 20px;
    transition: transform 0.3s;
    text-align: center;
}
.feature-card:hover { transform: translateY(-10px); }
.feature-icon { font-size: 3rem; margin-bottom: 20px; }
.feature-card h3 { margin-bottom: 15px; font-size: 1.3rem; }


    .mch-app-section,
    .mch-app-section * {
        box-sizing: border-box !important;
    }

    .mch-app-section {
        padding: 34px 0 18px !important;
        background: linear-gradient(180deg, rgba(249,250,251,0) 0%, #ffffff 100%) !important;
        direction: rtl !important;
    }

    .mch-app-wrap {
        max-width: 680px !important;
        margin: 0 auto !important;
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 14px !important;
        align-items: stretch !important;
    }

    .mch-app-card {
        width: 100% !important;
        min-height: 84px !important;
        padding: 14px 16px !important;
        border: 1px solid rgba(74, 110, 224, 0.12) !important;
        border-radius: 20px !important;
        background: #ffffff !important;
        box-shadow: 0 14px 36px rgba(31, 41, 55, 0.07) !important;
        color: #1f2937 !important;
        text-decoration: none !important;
        display: flex !important;
        align-items: center !important;
        gap: 12px !important;
        text-align: right !important;
        font-family: inherit !important;
        cursor: pointer !important;
        transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease !important;
        appearance: none !important;
        -webkit-appearance: none !important;
    }

    .mch-app-card:hover {
        transform: translateY(-2px) !important;
        border-color: rgba(74, 110, 224, 0.25) !important;
        box-shadow: 0 18px 42px rgba(31, 41, 55, 0.10) !important;
    }

    .mch-app-icon {
        width: 42px !important;
        height: 42px !important;
        min-width: 42px !important;
        max-width: 42px !important;
        flex: 0 0 42px !important;
        border-radius: 14px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        overflow: hidden !important;
    }

    .mch-app-icon svg,
    .mch-ios-modal svg {
        display: block !important;
        width: 20px !important;
        height: 20px !important;
        min-width: 20px !important;
        min-height: 20px !important;
        max-width: 20px !important;
        max-height: 20px !important;
        flex: none !important;
    }

    .mch-app-android .mch-app-icon {
        color: #16a34a !important;
        background: rgba(22, 163, 74, 0.10) !important;
    }

    .mch-app-ios .mch-app-icon {
        color: #4a6ee0 !important;
        background: rgba(74, 110, 224, 0.10) !important;
    }

    .mch-app-text {
        min-width: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 3px !important;
        line-height: 1.5 !important;
    }

    .mch-app-text strong {
        color: #1f2937 !important;
        font-size: 15px !important;
        font-weight: 800 !important;
        line-height: 1.35 !important;
        white-space: nowrap !important;
    }

    .mch-app-text small {
        color: #6b7280 !important;
        font-size: 12px !important;
        font-weight: 500 !important;
        line-height: 1.5 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .mch-app-badge {
        margin-right: auto !important;
        min-width: 58px !important;
        height: 32px !important;
        padding: 0 12px !important;
        border-radius: 999px !important;
        background: #4a6ee0 !important;
        color: #ffffff !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 12px !important;
        font-weight: 800 !important;
        white-space: nowrap !important;
        flex: 0 0 auto !important;
    }

    .mch-app-ios .mch-app-badge {
        background: #1f2937 !important;
    }

    .mch-ios-open {
        overflow: hidden !important;
    }

    .mch-ios-modal {
        position: fixed !important;
        inset: 0 !important;
        z-index: 999999 !important;
        display: none !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 18px !important;
        direction: rtl !important;
    }

    .mch-ios-modal.is-active {
        display: flex !important;
    }

    .mch-ios-backdrop {
        position: absolute !important;
        inset: 0 !important;
        background: rgba(15, 23, 42, .58) !important;
        backdrop-filter: blur(6px) !important;
    }

    .mch-ios-dialog {
        position: relative !important;
        z-index: 1 !important;
        width: min(100%, 410px) !important;
        background: #ffffff !important;
        border-radius: 24px !important;
        padding: 24px !important;
        text-align: center !important;
        box-shadow: 0 28px 80px rgba(15, 23, 42, .24) !important;
    }

    .mch-ios-close {
        position: absolute !important;
        top: 10px !important;
        left: 10px !important;
        width: 32px !important;
        height: 32px !important;
        border: 0 !important;
        border-radius: 50% !important;
        background: #f3f4f6 !important;
        color: #111827 !important;
        cursor: pointer !important;
        font-size: 20px !important;
        line-height: 1 !important;
    }

    .mch-ios-head-icon {
        width: 48px !important;
        height: 48px !important;
        border-radius: 16px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin: 0 auto 12px !important;
        color: #4a6ee0 !important;
        background: rgba(74, 110, 224, .12) !important;
    }

    .mch-ios-head-icon svg {
        width: 22px !important;
        height: 22px !important;
        max-width: 22px !important;
        max-height: 22px !important;
    }

    .mch-ios-dialog h3 {
        margin: 0 0 8px !important;
        color: #1f2937 !important;
        font-size: 20px !important;
        font-weight: 900 !important;
        line-height: 1.5 !important;
    }

    .mch-ios-dialog p {
        margin: 0 0 16px !important;
        color: #6b7280 !important;
        font-size: 14px !important;
        line-height: 1.9 !important;
    }

    .mch-ios-steps {
        display: grid !important;
        gap: 10px !important;
        margin-bottom: 16px !important;
    }

    .mch-ios-step {
        display: grid !important;
        grid-template-columns: 40px 1fr !important;
        gap: 4px 10px !important;
        align-items: center !important;
        padding: 11px !important;
        border-radius: 16px !important;
        background: #f9fafb !important;
        border: 1px solid #eef2ff !important;
        text-align: right !important;
    }

    .mch-ios-step span {
        grid-row: span 2 !important;
        width: 40px !important;
        height: 40px !important;
        border-radius: 13px !important;
        background: #ffffff !important;
        color: #4a6ee0 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        box-shadow: 0 8px 18px rgba(31, 41, 55, .06) !important;
    }

    .mch-ios-step strong {
        font-size: 13px !important;
        font-weight: 800 !important;
        color: #1f2937 !important;
        line-height: 1.5 !important;
    }

    .mch-ios-step small {
        font-size: 12px !important;
        color: #6b7280 !important;
        line-height: 1.7 !important;
    }

    .mch-ios-enter {
        width: 100% !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        height: 46px !important;
        border-radius: 999px !important;
        background: #4a6ee0 !important;
        color: #ffffff !important;
        text-decoration: none !important;
        font-weight: 800 !important;
        font-size: 14px !important;
    }

    @media (max-width: 640px) {
        .mch-app-section {
            padding: 24px 0 12px !important;
        }

        .mch-app-wrap {
            gap: 10px !important;
        }

        .mch-app-card {
            min-height: 74px !important;
            padding: 11px 10px !important;
            gap: 8px !important;
            border-radius: 16px !important;
        }

        .mch-app-icon {
            width: 34px !important;
            height: 34px !important;
            min-width: 34px !important;
            max-width: 34px !important;
            flex-basis: 34px !important;
            border-radius: 11px !important;
        }

        .mch-app-icon svg {
            width: 16px !important;
            height: 16px !important;
            min-width: 16px !important;
            min-height: 16px !important;
            max-width: 16px !important;
            max-height: 16px !important;
        }

        .mch-app-text strong {
            font-size: 13px !important;
        }

        .mch-app-text small {
            font-size: 10.5px !important;
        }

        .mch-app-badge {
            min-width: 44px !important;
            height: 28px !important;
            padding: 0 8px !important;
            font-size: 10.5px !important;
        }
    }
